vue-data-ui 3.22.2 → 3.22.4
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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -0,0 +1,924 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, Wt as s, i as c, jt as ee, q as te, r as ne, t as re, ut as ie } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as ae } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as oe } from "./usePrinter-C0wAS8yc.js";
|
|
5
|
+
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as le } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as ue } from "./useNestedProp-BjkuFaz1.js";
|
|
8
|
+
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as fe } from "./img-B29J8tV5.js";
|
|
10
|
+
import { n as pe } from "./Title-DDEEO-Nr.js";
|
|
11
|
+
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as he } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as ge } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as _e } from "./A11yDataTable-DdRsVULz.js";
|
|
15
|
+
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as be } from "./useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js";
|
|
18
|
+
import { t as xe } from "./vue_ui_relation_circle-D0p4mXmv.js";
|
|
19
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as Te, guardReactiveProps as h, mergeProps as Ee, nextTick as De, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Oe, onMounted as ke, openBlock as y, ref as b, renderList as x, renderSlot as S, shallowRef as Ae, toDisplayString as C, toRefs as je, unref as w, useCssVars as Me, watch as Ne, withCtx as T } from "vue";
|
|
20
|
+
//#region src/components/vue-ui-relation-circle.vue
|
|
21
|
+
var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le = { style: { position: "relative" } }, Re = [
|
|
22
|
+
"xmlns",
|
|
23
|
+
"viewBox",
|
|
24
|
+
"aria-describedby"
|
|
25
|
+
], ze = ["width", "height"], Be = [
|
|
26
|
+
"cx",
|
|
27
|
+
"cy",
|
|
28
|
+
"r",
|
|
29
|
+
"stroke",
|
|
30
|
+
"stroke-width"
|
|
31
|
+
], Ve = { key: 1 }, He = [
|
|
32
|
+
"stroke",
|
|
33
|
+
"d",
|
|
34
|
+
"stroke-width"
|
|
35
|
+
], Ue = { style: { "pointer-events": "none" } }, We = [
|
|
36
|
+
"cx",
|
|
37
|
+
"cy",
|
|
38
|
+
"fill",
|
|
39
|
+
"r",
|
|
40
|
+
"stroke"
|
|
41
|
+
], Ge = [
|
|
42
|
+
"x",
|
|
43
|
+
"y",
|
|
44
|
+
"fill",
|
|
45
|
+
"font-size"
|
|
46
|
+
], Ke = { key: 2 }, qe = [
|
|
47
|
+
"stroke",
|
|
48
|
+
"stroke-width",
|
|
49
|
+
"x1",
|
|
50
|
+
"x2",
|
|
51
|
+
"y1",
|
|
52
|
+
"y2"
|
|
53
|
+
], Je = { style: { "pointer-events": "none" } }, Ye = [
|
|
54
|
+
"cx",
|
|
55
|
+
"cy",
|
|
56
|
+
"fill",
|
|
57
|
+
"r",
|
|
58
|
+
"stroke"
|
|
59
|
+
], Xe = [
|
|
60
|
+
"x",
|
|
61
|
+
"y",
|
|
62
|
+
"fill",
|
|
63
|
+
"font-size"
|
|
64
|
+
], Ze = [
|
|
65
|
+
"text-anchor",
|
|
66
|
+
"transform",
|
|
67
|
+
"x",
|
|
68
|
+
"y",
|
|
69
|
+
"font-weight",
|
|
70
|
+
"font-size",
|
|
71
|
+
"fill",
|
|
72
|
+
"text-decoration",
|
|
73
|
+
"onClick",
|
|
74
|
+
"onMouseenter",
|
|
75
|
+
"onMouseleave"
|
|
76
|
+
], Qe = [
|
|
77
|
+
"cx",
|
|
78
|
+
"cy",
|
|
79
|
+
"fill",
|
|
80
|
+
"stroke",
|
|
81
|
+
"r",
|
|
82
|
+
"onClick",
|
|
83
|
+
"onMouseenter",
|
|
84
|
+
"onMouseleave"
|
|
85
|
+
], $e = {
|
|
86
|
+
key: 0,
|
|
87
|
+
style: {
|
|
88
|
+
position: "absolute",
|
|
89
|
+
top: "100%",
|
|
90
|
+
left: "0",
|
|
91
|
+
width: "100%"
|
|
92
|
+
},
|
|
93
|
+
"data-dom-to-png-ignore": "",
|
|
94
|
+
"aria-hidden": "true"
|
|
95
|
+
}, et = {
|
|
96
|
+
key: 5,
|
|
97
|
+
class: "vue-data-ui-watermark"
|
|
98
|
+
}, tt = /*#__PURE__*/ me({
|
|
99
|
+
__name: "vue-ui-relation-circle",
|
|
100
|
+
props: {
|
|
101
|
+
dataset: {
|
|
102
|
+
type: Array,
|
|
103
|
+
default() {
|
|
104
|
+
return [];
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
config: {
|
|
108
|
+
type: Object,
|
|
109
|
+
default() {
|
|
110
|
+
return {};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
emits: ["copyAlt"],
|
|
115
|
+
setup(e, { expose: me, emit: Pe }) {
|
|
116
|
+
Me((e) => ({
|
|
117
|
+
ab5e8c6c: jt.value,
|
|
118
|
+
v309156a9: At.value,
|
|
119
|
+
v6c0f80cb: Mt.value
|
|
120
|
+
}));
|
|
121
|
+
let tt = Te(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), nt = Te(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), rt = Te(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), { vue_ui_relation_circle: it } = ae(), { isThemeValid: at, warnInvalidTheme: ot } = de(), E = e, st = Pe, ct = u(() => !!E.dataset && Object.keys(E.dataset).length), D = b(o()), lt = b(0), O = b(null), ut = b(null), dt = b(null), ft = b(null), pt = b(0), k = b(!1), A = b(!1), j = b(null), M = b(!1), N = b(xt()), P = u(() => N.value.userOptions.useCursorPointer), mt = u(() => t({
|
|
122
|
+
defaultConfig: {
|
|
123
|
+
userOptions: { show: !1 },
|
|
124
|
+
customPalette: Array(7).fill("#CACACA"),
|
|
125
|
+
style: {
|
|
126
|
+
backgroundColor: "#99999930",
|
|
127
|
+
labels: { color: "#6A6A6A" },
|
|
128
|
+
circle: { stroke: "#6A6A6A" },
|
|
129
|
+
plot: {
|
|
130
|
+
color: "#6A6A6A",
|
|
131
|
+
useSerieColor: !0
|
|
132
|
+
},
|
|
133
|
+
links: { maxWidth: 2 }
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
userConfig: N.value.skeletonConfig ?? {}
|
|
137
|
+
})), { loading: ht, FINAL_DATASET: gt, manualLoading: _t } = se({
|
|
138
|
+
...je(E),
|
|
139
|
+
FINAL_CONFIG: N,
|
|
140
|
+
prepareConfig: xt,
|
|
141
|
+
skeletonDataset: E.config?.skeletonDataset ?? [
|
|
142
|
+
{
|
|
143
|
+
id: "A",
|
|
144
|
+
label: "_",
|
|
145
|
+
relations: [
|
|
146
|
+
"B",
|
|
147
|
+
"C",
|
|
148
|
+
"D",
|
|
149
|
+
"E",
|
|
150
|
+
"F",
|
|
151
|
+
"G"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: "B",
|
|
156
|
+
label: "_",
|
|
157
|
+
relations: ["A"]
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
id: "C",
|
|
161
|
+
label: "_",
|
|
162
|
+
relations: ["A"]
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
id: "D",
|
|
166
|
+
label: "_",
|
|
167
|
+
relations: ["A"]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
id: "E",
|
|
171
|
+
label: "_",
|
|
172
|
+
relations: ["A"]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "F",
|
|
176
|
+
label: "_",
|
|
177
|
+
relations: ["A"]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: "G",
|
|
181
|
+
label: "_",
|
|
182
|
+
relations: ["A"]
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
skeletonConfig: t({
|
|
186
|
+
defaultConfig: N.value,
|
|
187
|
+
userConfig: mt.value
|
|
188
|
+
})
|
|
189
|
+
}), { userOptionsVisible: vt, setUserOptionsVisibility: yt, keepUserOptionState: bt } = ve({ config: N.value }), { svgRef: F } = ye({ config: N.value.style.title });
|
|
190
|
+
function xt() {
|
|
191
|
+
let e = ue({
|
|
192
|
+
userConfig: E.config,
|
|
193
|
+
defaultConfig: it
|
|
194
|
+
}), t = e.theme;
|
|
195
|
+
if (!t) return e;
|
|
196
|
+
if (!at.value(e)) return ot(e), e;
|
|
197
|
+
let n = ue({
|
|
198
|
+
userConfig: xe[t] || E.config,
|
|
199
|
+
defaultConfig: e
|
|
200
|
+
}), r = ue({
|
|
201
|
+
userConfig: E.config,
|
|
202
|
+
defaultConfig: n
|
|
203
|
+
});
|
|
204
|
+
return {
|
|
205
|
+
...r,
|
|
206
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || ee
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
Ne(() => E.config, (e) => {
|
|
210
|
+
N.value = xt(), vt.value = !N.value.userOptions.showOnChartHover, V.value = N.value.style.size, H.value = N.value.style.weightLabels.size, U.value = N.value.style.plot.radius, W.value = N.value.style.labels.fontSize, G.value.height = N.value.style.size, G.value.width = N.value.style.size, Pt(), pt.value += 1;
|
|
211
|
+
}, { deep: !0 }), Ne(() => E.dataset, (e) => {
|
|
212
|
+
Array.isArray(e) && e.length > 0 && (_t.value = !1);
|
|
213
|
+
}, { deep: !0 });
|
|
214
|
+
let { isPrinting: St, isImaging: Ct, generatePdf: wt, generateImage: Tt } = oe({
|
|
215
|
+
elementId: `relation_circle_${D.value}`,
|
|
216
|
+
fileName: N.value.style.title.text || "vue-ui-relation-circle",
|
|
217
|
+
options: N.value.userOptions.print
|
|
218
|
+
}), Et = u(() => N.value.userOptions.show && !N.value.style.title.text), Dt = u(() => i(N.value.customPalette)), I = b([]), L = b([]), R = b({}), z = b([]), Ot = b(0), B = u(() => gt.value.slice(0, N.value.style.limit).map((e) => {
|
|
219
|
+
let t = Array.isArray(e.relations) ? e.relations : [];
|
|
220
|
+
return {
|
|
221
|
+
...e,
|
|
222
|
+
weights: Array.isArray(e.weights) ? e.weights : Array(t.length).fill(1),
|
|
223
|
+
relations: t
|
|
224
|
+
};
|
|
225
|
+
}));
|
|
226
|
+
Ne(B, () => {
|
|
227
|
+
I.value = [], L.value = [], Lt(), zt();
|
|
228
|
+
});
|
|
229
|
+
let V = b(N.value.style.size), H = b(N.value.style.weightLabels.size), U = b(N.value.style.plot.radius), W = b(N.value.style.labels.fontSize), G = b({
|
|
230
|
+
height: N.value.style.size,
|
|
231
|
+
width: N.value.style.size
|
|
232
|
+
}), K = u({
|
|
233
|
+
get() {
|
|
234
|
+
return V.value * N.value.style.circle.radiusProportion;
|
|
235
|
+
},
|
|
236
|
+
set(e) {
|
|
237
|
+
return e;
|
|
238
|
+
}
|
|
239
|
+
}), kt = u(() => N.value.style.links.curved), At = u(() => `${N.value.style.animation.speedMs}ms`), jt = u(() => K.value * 2), Mt = u(() => K.value * 4), q = Ae(null), J = Ae(null);
|
|
240
|
+
ke(() => {
|
|
241
|
+
Pt(), document.getElementById(`relation_circle_${D.value}`).addEventListener("click", It);
|
|
242
|
+
});
|
|
243
|
+
let Nt = u(() => N.value.debug);
|
|
244
|
+
function Pt() {
|
|
245
|
+
if (n(E.dataset) ? (r({
|
|
246
|
+
componentName: "VueUiRelationCircle",
|
|
247
|
+
type: "dataset",
|
|
248
|
+
debug: Nt.value
|
|
249
|
+
}), _t.value = !0) : E.dataset.forEach((e, t) => {
|
|
250
|
+
ie({
|
|
251
|
+
datasetObject: e,
|
|
252
|
+
requiredAttributes: [
|
|
253
|
+
"id",
|
|
254
|
+
"label",
|
|
255
|
+
"relations",
|
|
256
|
+
"weights"
|
|
257
|
+
]
|
|
258
|
+
}).forEach((e) => {
|
|
259
|
+
r({
|
|
260
|
+
componentName: "VueUiRelationCircle",
|
|
261
|
+
type: "datasetSerieAttribute",
|
|
262
|
+
property: e,
|
|
263
|
+
index: t,
|
|
264
|
+
debug: Nt.value
|
|
265
|
+
});
|
|
266
|
+
});
|
|
267
|
+
}), n(E.dataset) || (_t.value = N.value.loading), N.value.responsive) {
|
|
268
|
+
let e = he(() => {
|
|
269
|
+
let { width: e, height: t } = ge({
|
|
270
|
+
chart: O.value,
|
|
271
|
+
title: N.value.style.title.text ? ut.value : null,
|
|
272
|
+
source: dt.value,
|
|
273
|
+
noTitle: ft.value
|
|
274
|
+
});
|
|
275
|
+
requestAnimationFrame(() => {
|
|
276
|
+
V.value = Math.min(e, t), G.value.width = Math.max(.1, e), G.value.height = Math.max(.1, t - 12), K.value = V.value * N.value.style.circle.radiusProportion, I.value = [], L.value = [], Lt(), zt(), Ft(), N.value.responsiveProportionalSizing ? (H.value = s({
|
|
277
|
+
relator: V.value,
|
|
278
|
+
adjuster: N.value.style.size,
|
|
279
|
+
source: N.value.style.weightLabels.size,
|
|
280
|
+
threshold: 6,
|
|
281
|
+
fallback: 6
|
|
282
|
+
}), U.value = s({
|
|
283
|
+
relator: V.value,
|
|
284
|
+
adjuster: N.value.style.size,
|
|
285
|
+
source: N.value.style.plot.radius,
|
|
286
|
+
threshold: 1,
|
|
287
|
+
fallback: 1
|
|
288
|
+
}), W.value = s({
|
|
289
|
+
relator: V.value,
|
|
290
|
+
adjuster: N.value.style.size,
|
|
291
|
+
source: N.value.style.labels.fontSize,
|
|
292
|
+
threshold: 6,
|
|
293
|
+
fallback: 6
|
|
294
|
+
})) : (H.value = N.value.style.weightLabels.size, U.value = N.value.style.plot.radius, W.value = N.value.style.labels.fontSize);
|
|
295
|
+
});
|
|
296
|
+
});
|
|
297
|
+
q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect()), q.value = new ResizeObserver(e), J.value = O.value.parentNode, q.value.observe(J.value);
|
|
298
|
+
} else I.value = [], L.value = [], Lt(), zt();
|
|
299
|
+
Ft();
|
|
300
|
+
}
|
|
301
|
+
Oe(() => {
|
|
302
|
+
document.getElementById(`relation_circle_${D.value}`).removeEventListener("click", It), q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect());
|
|
303
|
+
});
|
|
304
|
+
let { autoSizeLabels: Ft } = be({
|
|
305
|
+
svgRef: F,
|
|
306
|
+
fontSize: N.value.style.labels.fontSize,
|
|
307
|
+
minFontSize: N.value.style.labels.minFontSize,
|
|
308
|
+
sizeRef: W,
|
|
309
|
+
labelClass: ".vue-ui-relation-circle-legend"
|
|
310
|
+
});
|
|
311
|
+
function It(e) {
|
|
312
|
+
let t = e.target;
|
|
313
|
+
t && Array.from(t.classList).includes("vue-ui-user-options") || t && Array.from(t.classList).includes("vue-ui-user-options-summary") || t && Array.from(t.classList).includes("vue-data-ui-button") || t && Array.from(t.classList).includes("vue-ui-relation-circle-legend") || (R.value = {}, z.value = []);
|
|
314
|
+
}
|
|
315
|
+
function Lt() {
|
|
316
|
+
let e = 6.28319 / B.value.length, t = 360 / B.value.length, n = 0, r = 0;
|
|
317
|
+
B.value.forEach((i, a) => {
|
|
318
|
+
let o = i.weights.reduce((e, t) => e + t, 0), s = K.value * Math.cos(n) + G.value.width / 2, c = K.value * Math.sin(n) + G.value.height / 2 + N.value.style.circle.offsetY;
|
|
319
|
+
I.value.push({
|
|
320
|
+
x: s,
|
|
321
|
+
y: c,
|
|
322
|
+
...i,
|
|
323
|
+
color: i.color ? i.color : Dt.value[a] ? Dt.value[a] : ee[a],
|
|
324
|
+
regAngle: r,
|
|
325
|
+
totalWeight: o
|
|
326
|
+
}), n += e, r += t;
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
function Rt(e, t) {
|
|
330
|
+
return {
|
|
331
|
+
x: (e.x + t.x) / 2,
|
|
332
|
+
y: (e.y + t.y) / 2
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
function zt() {
|
|
336
|
+
L.value = [], I.value.forEach((e) => {
|
|
337
|
+
I.value.filter((t) => t.relations.includes(e.id)).forEach((t, n) => {
|
|
338
|
+
let r = t.relations.indexOf(e.id);
|
|
339
|
+
L.value.push({
|
|
340
|
+
weight: t.weights[r] ? t.weights[r] : 0,
|
|
341
|
+
relationId: `${e.id}_${t.id}`,
|
|
342
|
+
x1: e.x,
|
|
343
|
+
y1: e.y,
|
|
344
|
+
x2: t.x,
|
|
345
|
+
y2: t.y,
|
|
346
|
+
colorSource: e.color,
|
|
347
|
+
colorTarget: t.color,
|
|
348
|
+
midPointLine: Rt({
|
|
349
|
+
x: e.x,
|
|
350
|
+
y: e.y
|
|
351
|
+
}, {
|
|
352
|
+
x: t.x,
|
|
353
|
+
y: t.y
|
|
354
|
+
}),
|
|
355
|
+
midPointBezier: Bt({
|
|
356
|
+
x1: e.x,
|
|
357
|
+
x2: t.x,
|
|
358
|
+
y1: e.y,
|
|
359
|
+
y2: t.y
|
|
360
|
+
}),
|
|
361
|
+
...e
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
function Bt(e) {
|
|
367
|
+
let t = {
|
|
368
|
+
x: e.x1,
|
|
369
|
+
y: e.y1
|
|
370
|
+
}, n = {
|
|
371
|
+
x: e.x2,
|
|
372
|
+
y: e.y2
|
|
373
|
+
}, r = {
|
|
374
|
+
x: e.x1,
|
|
375
|
+
y: e.y1
|
|
376
|
+
}, i = {
|
|
377
|
+
x: G.value.width / 2,
|
|
378
|
+
y: G.value.height / 2 + N.value.style.circle.offsetY
|
|
379
|
+
}, a = .5;
|
|
380
|
+
return {
|
|
381
|
+
x: (1 - a) ** 3 * t.x + 3 * (1 - a) ** 2 * a * r.x + 3 * (1 - a) * a ** 2 * i.x + a ** 3 * n.x,
|
|
382
|
+
y: (1 - a) ** 3 * t.y + 3 * (1 - a) ** 2 * a * r.y + 3 * (1 - a) * a ** 2 * i.y + a ** 3 * n.y
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
let Vt = u(() => Math.max(...L.value.map((e) => e.weight)));
|
|
386
|
+
function Ht(e) {
|
|
387
|
+
return Object.hasOwn(R.value, "x") ? z.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
388
|
+
}
|
|
389
|
+
function Y(e) {
|
|
390
|
+
return e.colorSource;
|
|
391
|
+
}
|
|
392
|
+
function Ut(e) {
|
|
393
|
+
return Object.hasOwn(R.value, "x") ? z.value.includes(e.id) && e.relationId === `${e.id}_${R.value.id}` || e.relationId === `${R.value.id}_${e.id}` ? `opacity:1;stroke-width:${Qt(e)}` : "opacity: 0" : "opacity: 1";
|
|
394
|
+
}
|
|
395
|
+
function X(e) {
|
|
396
|
+
return Object.hasOwn(R.value, "x") ? !!(z.value.includes(e.id) && e.relationId === `${e.id}_${R.value.id}` || e.relationId === `${R.value.id}_${e.id}`) : !1;
|
|
397
|
+
}
|
|
398
|
+
function Wt(e) {
|
|
399
|
+
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
400
|
+
}
|
|
401
|
+
function Gt(e) {
|
|
402
|
+
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
403
|
+
}
|
|
404
|
+
function Kt(e) {
|
|
405
|
+
return Object.hasOwn(R.value, "x") ? R.value.id === e.id || z.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
406
|
+
}
|
|
407
|
+
function qt(e) {
|
|
408
|
+
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
409
|
+
}
|
|
410
|
+
let Z = b(null);
|
|
411
|
+
function Jt(e, t) {
|
|
412
|
+
Z.value = t, j.value = t, N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
413
|
+
datapoint: e,
|
|
414
|
+
seriesIndex: t
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
function Yt(e, t) {
|
|
418
|
+
Z.value = null, M.value || (j.value = null), N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
419
|
+
datapoint: e,
|
|
420
|
+
seriesIndex: t
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
function Xt(e, t) {
|
|
424
|
+
e && (N.value.events.datapointClick && N.value.events.datapointClick({
|
|
425
|
+
datapoint: e,
|
|
426
|
+
seriesIndex: t
|
|
427
|
+
}), Ot.value = 360 - e.regAngle, R.value.id && e.id === R.value.id ? (R.value = {}, z.value = []) : (R.value = e, z.value = [...e.relations]));
|
|
428
|
+
}
|
|
429
|
+
function Zt(e, t) {
|
|
430
|
+
j.value = t, Xt(e, t);
|
|
431
|
+
}
|
|
432
|
+
function Qt(e) {
|
|
433
|
+
let t = e.weight / Vt.value * N.value.style.links.maxWidth;
|
|
434
|
+
return Math.max(.3, t);
|
|
435
|
+
}
|
|
436
|
+
let Q = b(!1);
|
|
437
|
+
function $t(e) {
|
|
438
|
+
Q.value = e, lt.value += 1;
|
|
439
|
+
}
|
|
440
|
+
let $ = b(!1);
|
|
441
|
+
function en() {
|
|
442
|
+
$.value = !$.value;
|
|
443
|
+
}
|
|
444
|
+
async function tn({ scale: e = 2 } = {}) {
|
|
445
|
+
if (!O.value) return;
|
|
446
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
|
|
447
|
+
domElement: O.value,
|
|
448
|
+
base64: !0,
|
|
449
|
+
img: !0,
|
|
450
|
+
scale: e
|
|
451
|
+
});
|
|
452
|
+
return {
|
|
453
|
+
imageUri: i,
|
|
454
|
+
base64: a,
|
|
455
|
+
title: N.value.style.title.text,
|
|
456
|
+
width: t,
|
|
457
|
+
height: n,
|
|
458
|
+
aspectRatio: r
|
|
459
|
+
};
|
|
460
|
+
}
|
|
461
|
+
let nn = u(() => N.value.style.backgroundColor), { exportSvg: rn, getSvg: an } = le({
|
|
462
|
+
svg: F,
|
|
463
|
+
title: u(() => N.value.style.title),
|
|
464
|
+
backgroundColor: nn
|
|
465
|
+
});
|
|
466
|
+
async function on({ isCb: e }) {
|
|
467
|
+
A.value = !0, await De();
|
|
468
|
+
try {
|
|
469
|
+
if (e) {
|
|
470
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await an();
|
|
471
|
+
await Promise.resolve(N.value.userOptions.callbacks.svg({
|
|
472
|
+
blob: e,
|
|
473
|
+
url: t,
|
|
474
|
+
text: n,
|
|
475
|
+
dataUrl: r
|
|
476
|
+
}));
|
|
477
|
+
} else await Promise.resolve(rn());
|
|
478
|
+
} finally {
|
|
479
|
+
A.value = !1;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
function sn(e) {
|
|
483
|
+
if (e?.stage === "start") {
|
|
484
|
+
k.value = !0;
|
|
485
|
+
return;
|
|
486
|
+
}
|
|
487
|
+
if (e?.stage === "end") {
|
|
488
|
+
k.value = !1;
|
|
489
|
+
return;
|
|
490
|
+
}
|
|
491
|
+
Tt();
|
|
492
|
+
}
|
|
493
|
+
async function cn() {
|
|
494
|
+
if (st("copyAlt", {
|
|
495
|
+
config: N.value,
|
|
496
|
+
dataset: B.value
|
|
497
|
+
}), !N.value.userOptions.callbacks.altCopy) {
|
|
498
|
+
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
499
|
+
return;
|
|
500
|
+
}
|
|
501
|
+
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
502
|
+
config: N.value,
|
|
503
|
+
dataset: B.value
|
|
504
|
+
}));
|
|
505
|
+
}
|
|
506
|
+
function ln() {
|
|
507
|
+
M.value = !0, I.value.length && j.value === null && (j.value = 0);
|
|
508
|
+
}
|
|
509
|
+
function un() {
|
|
510
|
+
M.value = !1, j.value = null;
|
|
511
|
+
}
|
|
512
|
+
function dn(e) {
|
|
513
|
+
if (!F.value || $.value || document.activeElement !== F.value || !I.value.length) return;
|
|
514
|
+
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
515
|
+
if (!t && !n && !r && !i) return;
|
|
516
|
+
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
517
|
+
j.value = null, R.value = {}, z.value = [];
|
|
518
|
+
return;
|
|
519
|
+
}
|
|
520
|
+
if (r) {
|
|
521
|
+
if (j.value === null) return;
|
|
522
|
+
let e = I.value[j.value];
|
|
523
|
+
if (!e) return;
|
|
524
|
+
Xt(e, j.value);
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
let a = j.value;
|
|
528
|
+
a === null || a < 0 || a >= I.value.length ? a = n ? 0 : I.value.length - 1 : n ? (a += 1, a >= I.value.length && (a = 0)) : t && (--a, a < 0 && (a = I.value.length - 1)), j.value = a, Z.value = a;
|
|
529
|
+
let o = I.value[a];
|
|
530
|
+
o && N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
531
|
+
datapoint: o,
|
|
532
|
+
seriesIndex: a
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
let fn = u(() => ({
|
|
536
|
+
headers: [
|
|
537
|
+
"ID",
|
|
538
|
+
"Label",
|
|
539
|
+
"Total weight",
|
|
540
|
+
"Relations count",
|
|
541
|
+
"Relations"
|
|
542
|
+
],
|
|
543
|
+
rows: B.value.map((e) => {
|
|
544
|
+
let t = e.relations.map((e) => B.value.find((t) => t.id === e)?.label || e).join(", "), n = (e.weights || []).reduce((e, t) => e + Number(t || 0), 0);
|
|
545
|
+
return [
|
|
546
|
+
e.id,
|
|
547
|
+
e.label,
|
|
548
|
+
n,
|
|
549
|
+
e.relations.length,
|
|
550
|
+
t
|
|
551
|
+
];
|
|
552
|
+
})
|
|
553
|
+
}));
|
|
554
|
+
return me({
|
|
555
|
+
getImage: tn,
|
|
556
|
+
generatePdf: wt,
|
|
557
|
+
generateSvg: on,
|
|
558
|
+
generateImage: Tt,
|
|
559
|
+
toggleAnnotator: en,
|
|
560
|
+
toggleFullscreen: $t,
|
|
561
|
+
copyAlt: cn
|
|
562
|
+
}), (e, t) => (y(), p("div", {
|
|
563
|
+
ref_key: "relationCircleChart",
|
|
564
|
+
ref: O,
|
|
565
|
+
class: "vue-data-ui-component vue-ui-relation-circle",
|
|
566
|
+
style: v(`width:100%;background:${N.value.style.backgroundColor};text-align:center;${N.value.responsive ? "height: 100%" : ""}`),
|
|
567
|
+
id: `relation_circle_${D.value}`,
|
|
568
|
+
onMouseenter: t[0] ||= () => w(yt)(!0),
|
|
569
|
+
onMouseleave: t[1] ||= () => w(yt)(!1)
|
|
570
|
+
}, [
|
|
571
|
+
m("div", {
|
|
572
|
+
id: `chart-instructions-${D.value}`,
|
|
573
|
+
class: "sr-only"
|
|
574
|
+
}, [m("p", null, C(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ie),
|
|
575
|
+
fn.value?.rows?.length ? (y(), d(_e, {
|
|
576
|
+
key: 0,
|
|
577
|
+
uid: D.value,
|
|
578
|
+
head: fn.value.headers,
|
|
579
|
+
body: fn.value.rows,
|
|
580
|
+
notice: N.value.a11y.translations.tableAvailable,
|
|
581
|
+
caption: N.value.a11y.translations.tableCaption
|
|
582
|
+
}, null, 8, [
|
|
583
|
+
"uid",
|
|
584
|
+
"head",
|
|
585
|
+
"body",
|
|
586
|
+
"notice",
|
|
587
|
+
"caption"
|
|
588
|
+
])) : f("", !0),
|
|
589
|
+
N.value.userOptions.buttons.annotator ? (y(), d(w(tt), {
|
|
590
|
+
key: 1,
|
|
591
|
+
svgRef: w(F),
|
|
592
|
+
backgroundColor: N.value.style.backgroundColor,
|
|
593
|
+
color: N.value.style.color,
|
|
594
|
+
active: $.value,
|
|
595
|
+
isCursorPointer: P.value,
|
|
596
|
+
onClose: en
|
|
597
|
+
}, {
|
|
598
|
+
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
599
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
600
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
601
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
602
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
603
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
604
|
+
_: 3
|
|
605
|
+
}, 8, [
|
|
606
|
+
"svgRef",
|
|
607
|
+
"backgroundColor",
|
|
608
|
+
"color",
|
|
609
|
+
"active",
|
|
610
|
+
"isCursorPointer"
|
|
611
|
+
])) : f("", !0),
|
|
612
|
+
Et.value ? (y(), p("div", {
|
|
613
|
+
key: 2,
|
|
614
|
+
ref_key: "noTitle",
|
|
615
|
+
ref: ft,
|
|
616
|
+
class: "vue-data-ui-no-title-space",
|
|
617
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
618
|
+
}, null, 512)) : f("", !0),
|
|
619
|
+
N.value.style.title.text ? (y(), p("div", {
|
|
620
|
+
key: 3,
|
|
621
|
+
ref_key: "chartTitle",
|
|
622
|
+
ref: ut,
|
|
623
|
+
style: "width:100%;background:transparent"
|
|
624
|
+
}, [(y(), d(pe, {
|
|
625
|
+
key: `title_${pt.value}`,
|
|
626
|
+
config: {
|
|
627
|
+
title: {
|
|
628
|
+
cy: "relation-div-title",
|
|
629
|
+
...N.value.style.title
|
|
630
|
+
},
|
|
631
|
+
subtitle: {
|
|
632
|
+
cy: "relation-div-subtitle",
|
|
633
|
+
...N.value.style.title.subtitle
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
637
|
+
N.value.userOptions.show && ct.value && (w(bt) || w(vt)) ? (y(), d(w(nt), {
|
|
638
|
+
ref: "details",
|
|
639
|
+
key: `user_options_${lt.value}`,
|
|
640
|
+
backgroundColor: N.value.style.backgroundColor,
|
|
641
|
+
color: N.value.style.color,
|
|
642
|
+
isPrinting: w(St),
|
|
643
|
+
isImaging: w(Ct),
|
|
644
|
+
uid: D.value,
|
|
645
|
+
hasPdf: N.value.userOptions.buttons.pdf,
|
|
646
|
+
hasImg: N.value.userOptions.buttons.img,
|
|
647
|
+
hasSvg: N.value.userOptions.buttons.svg,
|
|
648
|
+
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
649
|
+
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
650
|
+
hasXls: !1,
|
|
651
|
+
isFullscreen: Q.value,
|
|
652
|
+
titles: { ...N.value.userOptions.buttonTitles },
|
|
653
|
+
chartElement: O.value,
|
|
654
|
+
position: N.value.userOptions.position,
|
|
655
|
+
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
656
|
+
isAnnotation: $.value,
|
|
657
|
+
callbacks: N.value.userOptions.callbacks,
|
|
658
|
+
printScale: N.value.userOptions.print.scale,
|
|
659
|
+
isCursorPointer: P.value,
|
|
660
|
+
onToggleFullscreen: $t,
|
|
661
|
+
onGeneratePdf: w(wt),
|
|
662
|
+
onGenerateImage: sn,
|
|
663
|
+
onGenerateSvg: on,
|
|
664
|
+
onToggleAnnotator: en,
|
|
665
|
+
onCopyAlt: cn,
|
|
666
|
+
style: v({ visibility: w(bt) ? w(vt) ? "visible" : "hidden" : "visible" })
|
|
667
|
+
}, Se({ _: 2 }, [
|
|
668
|
+
e.$slots.menuIcon ? {
|
|
669
|
+
name: "menuIcon",
|
|
670
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
|
|
671
|
+
isOpen: t,
|
|
672
|
+
color: n
|
|
673
|
+
})), void 0, !0)]),
|
|
674
|
+
key: "0"
|
|
675
|
+
} : void 0,
|
|
676
|
+
e.$slots.optionPdf ? {
|
|
677
|
+
name: "optionPdf",
|
|
678
|
+
fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
679
|
+
key: "1"
|
|
680
|
+
} : void 0,
|
|
681
|
+
e.$slots.optionImg ? {
|
|
682
|
+
name: "optionImg",
|
|
683
|
+
fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
684
|
+
key: "2"
|
|
685
|
+
} : void 0,
|
|
686
|
+
e.$slots.optionSvg ? {
|
|
687
|
+
name: "optionSvg",
|
|
688
|
+
fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
689
|
+
key: "3"
|
|
690
|
+
} : void 0,
|
|
691
|
+
e.$slots.optionFullscreen ? {
|
|
692
|
+
name: "optionFullscreen",
|
|
693
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
|
|
694
|
+
toggleFullscreen: t,
|
|
695
|
+
isFullscreen: n
|
|
696
|
+
})), void 0, !0)]),
|
|
697
|
+
key: "4"
|
|
698
|
+
} : void 0,
|
|
699
|
+
e.$slots.optionAnnotator ? {
|
|
700
|
+
name: "optionAnnotator",
|
|
701
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
|
|
702
|
+
toggleAnnotator: t,
|
|
703
|
+
isAnnotator: n
|
|
704
|
+
})), void 0, !0)]),
|
|
705
|
+
key: "5"
|
|
706
|
+
} : void 0,
|
|
707
|
+
e.$slots.optionAltCopy ? {
|
|
708
|
+
name: "optionAltCopy",
|
|
709
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
710
|
+
key: "6"
|
|
711
|
+
} : void 0,
|
|
712
|
+
e.$slots["custom-menu-before"] ? {
|
|
713
|
+
name: "custom-menu-before",
|
|
714
|
+
fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
715
|
+
key: "7"
|
|
716
|
+
} : void 0,
|
|
717
|
+
e.$slots["custom-menu-after"] ? {
|
|
718
|
+
name: "custom-menu-after",
|
|
719
|
+
fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
720
|
+
key: "8"
|
|
721
|
+
} : void 0
|
|
722
|
+
]), 1032, [
|
|
723
|
+
"backgroundColor",
|
|
724
|
+
"color",
|
|
725
|
+
"isPrinting",
|
|
726
|
+
"isImaging",
|
|
727
|
+
"uid",
|
|
728
|
+
"hasPdf",
|
|
729
|
+
"hasImg",
|
|
730
|
+
"hasSvg",
|
|
731
|
+
"hasFullscreen",
|
|
732
|
+
"hasAltCopy",
|
|
733
|
+
"isFullscreen",
|
|
734
|
+
"titles",
|
|
735
|
+
"chartElement",
|
|
736
|
+
"position",
|
|
737
|
+
"hasAnnotator",
|
|
738
|
+
"isAnnotation",
|
|
739
|
+
"callbacks",
|
|
740
|
+
"printScale",
|
|
741
|
+
"isCursorPointer",
|
|
742
|
+
"onGeneratePdf",
|
|
743
|
+
"style"
|
|
744
|
+
])) : f("", !0),
|
|
745
|
+
m("div", Le, [(y(), p("svg", {
|
|
746
|
+
ref_key: "svgRef",
|
|
747
|
+
ref: F,
|
|
748
|
+
xmlns: w(re),
|
|
749
|
+
class: g([{
|
|
750
|
+
"vue-data-ui-fullscreen--on": Q.value,
|
|
751
|
+
"vue-data-ui-fulscreen--off": !Q.value
|
|
752
|
+
}, "relation-circle"]),
|
|
753
|
+
viewBox: `0 0 ${G.value.width <= 0 ? 10 : G.value.width} ${G.value.height <= 0 ? 10 : G.value.height}`,
|
|
754
|
+
width: "100%",
|
|
755
|
+
style: "user-select:none; background:transparent",
|
|
756
|
+
"aria-describedby": `chart-instructions-${D.value}`,
|
|
757
|
+
tabindex: "0",
|
|
758
|
+
onFocus: ln,
|
|
759
|
+
onBlur: un,
|
|
760
|
+
onKeydown: dn
|
|
761
|
+
}, [
|
|
762
|
+
we(w(rt)),
|
|
763
|
+
e.$slots["chart-background"] ? (y(), p("foreignObject", {
|
|
764
|
+
key: 0,
|
|
765
|
+
x: 0,
|
|
766
|
+
y: 0,
|
|
767
|
+
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
768
|
+
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
769
|
+
style: { pointerEvents: "none" }
|
|
770
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ze)) : f("", !0),
|
|
771
|
+
m("circle", {
|
|
772
|
+
cx: (G.value.width <= 0 ? 1e-4 : G.value.width) / 2,
|
|
773
|
+
cy: (G.value.height <= 0 ? 1e-4 : G.value.height) / 2 + N.value.style.circle.offsetY,
|
|
774
|
+
r: K.value <= 0 ? 1e-4 : K.value,
|
|
775
|
+
stroke: N.value.style.circle.stroke,
|
|
776
|
+
"stroke-width": N.value.style.circle.strokeWidth,
|
|
777
|
+
fill: "transparent",
|
|
778
|
+
class: "main-circle"
|
|
779
|
+
}, null, 8, Be),
|
|
780
|
+
kt.value ? (y(), p("g", Ve, [(y(!0), p(l, null, x(L.value, (e, t) => (y(), p("path", {
|
|
781
|
+
key: `relation_${t}`,
|
|
782
|
+
style: v(Ut(e)),
|
|
783
|
+
stroke: Y(e),
|
|
784
|
+
class: g(["relation", { "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }]),
|
|
785
|
+
d: `M${e.x1},${e.y1} C${e.x1},${e.y1} ${G.value.width / 2},${G.value.height / 2 + N.value.style.circle.offsetY} ${e.x2},${e.y2}`,
|
|
786
|
+
fill: "none",
|
|
787
|
+
"stroke-width": Qt(e),
|
|
788
|
+
"stroke-linecap": "round"
|
|
789
|
+
}, null, 14, He))), 128)), (y(!0), p(l, null, x(L.value, (t, n) => (y(), p("g", Ue, [
|
|
790
|
+
X(t) ? S(e.$slots, "dataLabel", Ee({
|
|
791
|
+
key: 0,
|
|
792
|
+
ref_for: !0
|
|
793
|
+
}, {
|
|
794
|
+
x: t.midPointBezier.x,
|
|
795
|
+
y: t.midPointBezier.y,
|
|
796
|
+
color: Y(t),
|
|
797
|
+
weight: t.weight,
|
|
798
|
+
fontSize: H.value
|
|
799
|
+
}), void 0, !0) : f("", !0),
|
|
800
|
+
X(t) && !e.$slots.dataLabel ? (y(), p("circle", {
|
|
801
|
+
key: 1,
|
|
802
|
+
cx: t.midPointBezier.x,
|
|
803
|
+
cy: t.midPointBezier.y,
|
|
804
|
+
fill: Y(t),
|
|
805
|
+
r: H.value,
|
|
806
|
+
stroke: N.value.style.backgroundColor,
|
|
807
|
+
"stroke-width": "1"
|
|
808
|
+
}, null, 8, We)) : f("", !0),
|
|
809
|
+
X(t) && !e.$slots.dataLabel ? (y(), p("text", {
|
|
810
|
+
key: 2,
|
|
811
|
+
x: t.midPointBezier.x,
|
|
812
|
+
y: t.midPointBezier.y + H.value / 3,
|
|
813
|
+
fill: w(ne)(Y(t)),
|
|
814
|
+
"text-anchor": "middle",
|
|
815
|
+
"font-size": H.value
|
|
816
|
+
}, C(w(c)(N.value.style.weightLabels.formatter, t.weight, w(te)({
|
|
817
|
+
p: N.value.style.weightLabels.prefix,
|
|
818
|
+
v: t.weight,
|
|
819
|
+
s: N.value.style.weightLabels.suffix,
|
|
820
|
+
r: N.value.style.weightLabels.rounding
|
|
821
|
+
}), { ...t })), 9, Ge)) : f("", !0)
|
|
822
|
+
]))), 256))])) : (y(), p("g", Ke, [(y(!0), p(l, null, x(L.value, (e, t) => (y(), p("line", {
|
|
823
|
+
key: `relation_${t}`,
|
|
824
|
+
stroke: Y(e),
|
|
825
|
+
"stroke-width": Qt(e),
|
|
826
|
+
style: v(Ut(e)),
|
|
827
|
+
x1: e.x1,
|
|
828
|
+
x2: e.x2,
|
|
829
|
+
y1: e.y1,
|
|
830
|
+
y2: e.y2,
|
|
831
|
+
class: g({ "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }),
|
|
832
|
+
"stroke-linecap": "round"
|
|
833
|
+
}, null, 14, qe))), 128)), (y(!0), p(l, null, x(L.value, (t, n) => (y(), p("g", Je, [
|
|
834
|
+
X(t) ? S(e.$slots, "dataLabel", Ee({
|
|
835
|
+
key: 0,
|
|
836
|
+
ref_for: !0
|
|
837
|
+
}, {
|
|
838
|
+
x: t.midPointLine.x,
|
|
839
|
+
y: t.midPointLine.y,
|
|
840
|
+
color: Y(t),
|
|
841
|
+
weight: t.weight,
|
|
842
|
+
fontSize: H.value
|
|
843
|
+
}), void 0, !0) : f("", !0),
|
|
844
|
+
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (y(), p("circle", {
|
|
845
|
+
key: 1,
|
|
846
|
+
cx: t.midPointLine.x,
|
|
847
|
+
cy: t.midPointLine.y,
|
|
848
|
+
fill: Y(t),
|
|
849
|
+
r: H.value,
|
|
850
|
+
stroke: N.value.style.backgroundColor,
|
|
851
|
+
"stroke-width": "1"
|
|
852
|
+
}, null, 8, Ye)) : f("", !0),
|
|
853
|
+
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (y(), p("text", {
|
|
854
|
+
key: 2,
|
|
855
|
+
x: t.midPointLine.x,
|
|
856
|
+
y: t.midPointLine.y + H.value / 3,
|
|
857
|
+
fill: w(ne)(Y(t)),
|
|
858
|
+
"text-anchor": "middle",
|
|
859
|
+
"font-size": H.value
|
|
860
|
+
}, C(w(c)(N.value.style.weightLabels.formatter, t.weight, w(te)({
|
|
861
|
+
p: N.value.style.weightLabels.prefix,
|
|
862
|
+
v: t.weight,
|
|
863
|
+
s: N.value.style.weightLabels.suffix,
|
|
864
|
+
r: N.value.style.weightLabels.rounding
|
|
865
|
+
}), { ...t })), 9, Xe)) : f("", !0)
|
|
866
|
+
]))), 256))])),
|
|
867
|
+
(y(!0), p(l, null, x(I.value, (e, t) => (y(), p("text", {
|
|
868
|
+
key: `plot_text_${t}`,
|
|
869
|
+
"text-anchor": Wt(e),
|
|
870
|
+
transform: qt(e),
|
|
871
|
+
x: Gt(e),
|
|
872
|
+
y: e.y + 5,
|
|
873
|
+
class: "vue-ui-relation-circle-legend",
|
|
874
|
+
"transform-origin": "start",
|
|
875
|
+
"font-weight": R.value.id === e.id ? "900" : "400",
|
|
876
|
+
style: v(`font-family:${N.value.style.fontFamily};${Kt(e)};cursor:${P.value ? "pointer" : "default"}`),
|
|
877
|
+
"font-size": W.value,
|
|
878
|
+
fill: N.value.style.labels.color,
|
|
879
|
+
"text-decoration": t === Z.value || t === j.value ? "underline" : void 0,
|
|
880
|
+
onClick: (n) => Zt(e, t),
|
|
881
|
+
onMouseenter: (n) => Jt(e, t),
|
|
882
|
+
onMouseleave: (n) => Yt(e, t)
|
|
883
|
+
}, [w(ht) ? (y(), p(l, { key: 0 }, [Ce("--------")], 64)) : (y(), p(l, { key: 1 }, [Ce(C(e.label) + " (" + C(w(c)(N.value.style.weightLabels.formatter, e.totalWeight, w(te)({
|
|
884
|
+
p: N.value.style.weightLabels.prefix,
|
|
885
|
+
v: e.totalWeight,
|
|
886
|
+
s: N.value.style.weightLabels.suffix,
|
|
887
|
+
r: N.value.style.weightLabels.rounding
|
|
888
|
+
}), { ...e })) + ") ", 1)], 64))], 44, Ze))), 128)),
|
|
889
|
+
(y(!0), p(l, null, x(I.value, (e, t) => (y(), p("circle", {
|
|
890
|
+
cx: e.x,
|
|
891
|
+
cy: e.y,
|
|
892
|
+
key: `plot_${t}`,
|
|
893
|
+
style: v(`${Ht(e)}; transition: r 0.2s ease-in-out; cursor:${P.value ? "pointer" : "default"}`),
|
|
894
|
+
class: "vue-ui-relation-circle-plot",
|
|
895
|
+
fill: N.value.style.plot.useSerieColor ? e.color : N.value.style.plot.color,
|
|
896
|
+
stroke: N.value.style.backgroundColor,
|
|
897
|
+
"stroke-width": "1",
|
|
898
|
+
r: U.value * (t === Z.value || t === j.value ? 2 : 1),
|
|
899
|
+
onClick: (n) => Zt(e, t),
|
|
900
|
+
onMouseenter: (n) => Jt(e, t),
|
|
901
|
+
onMouseleave: (n) => Yt(e, t)
|
|
902
|
+
}, null, 44, Qe))), 128)),
|
|
903
|
+
S(e.$slots, "svg", { svg: {
|
|
904
|
+
...G.value,
|
|
905
|
+
isPrintingImg: w(St) || w(Ct) || k.value,
|
|
906
|
+
isPrintingSvg: A.value
|
|
907
|
+
} }, void 0, !0)
|
|
908
|
+
], 42, Re)), e.$slots.hint ? (y(), p("div", $e, [S(e.$slots, "hint", _(h({
|
|
909
|
+
hint: N.value.a11y.translations.keyboardNavigation,
|
|
910
|
+
isVisible: M.value
|
|
911
|
+
})), void 0, !0)])) : f("", !0)]),
|
|
912
|
+
e.$slots.watermark ? (y(), p("div", et, [S(e.$slots, "watermark", _(h({ isPrinting: w(St) || w(Ct) || k.value || A.value })), void 0, !0)])) : f("", !0),
|
|
913
|
+
e.$slots.source ? (y(), p("div", {
|
|
914
|
+
key: 6,
|
|
915
|
+
ref_key: "source",
|
|
916
|
+
ref: dt,
|
|
917
|
+
dir: "auto"
|
|
918
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
919
|
+
S(e.$slots, "skeleton", {}, () => [w(ht) ? (y(), d(ce, { key: 0 })) : f("", !0)], !0)
|
|
920
|
+
], 44, Fe));
|
|
921
|
+
}
|
|
922
|
+
}, [["__scopeId", "data-v-dc8435a4"]]);
|
|
923
|
+
//#endregion
|
|
924
|
+
export { Pe as n, tt as t };
|