vue-data-ui 3.23.0 → 3.23.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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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-hill.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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
- 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 +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,925 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Jt as t, Kt as n, Pt as r, X as i, i as a, jt as o, pt as ee, q as te, qt as s, r as ne, t as re, tt as ie, w as ae } from "./lib-BuMGJ_a0.js";
|
|
3
|
-
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-BilxnBNr.js";
|
|
5
|
-
import { t as le } from "./usePrinter-BFvi4jVy.js";
|
|
6
|
-
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
-
import { t as pe } from "./useNestedProp--NSEmhOH.js";
|
|
9
|
-
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as he } from "./img-DIQG5q8T.js";
|
|
11
|
-
import { n as ge } from "./Title-BODtwViI.js";
|
|
12
|
-
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
-
import { t as be } from "./A11yDataTable-DdRsVULz.js";
|
|
15
|
-
import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
-
import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as Ce } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
|
|
18
|
-
import { t as we } from "./vue_ui_relation_circle-D0p4mXmv.js";
|
|
19
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as Oe, guardReactiveProps as m, mergeProps as ke, nextTick as Ae, normalizeClass as je, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as Me, onMounted as Ne, openBlock as _, ref as v, renderList as y, renderSlot as b, shallowRef as Pe, toDisplayString as x, toRefs as Fe, unref as S, useCssVars as Ie, watch as Le, withCtx as C } from "vue";
|
|
20
|
-
//#region src/components/vue-ui-relation-circle.vue
|
|
21
|
-
var Re = /* @__PURE__ */ e({ default: () => at }), ze = ["id"], Be = ["id"], Ve = { style: { position: "relative" } }, He = [
|
|
22
|
-
"xmlns",
|
|
23
|
-
"viewBox",
|
|
24
|
-
"aria-describedby"
|
|
25
|
-
], Ue = ["width", "height"], We = [
|
|
26
|
-
"cx",
|
|
27
|
-
"cy",
|
|
28
|
-
"r",
|
|
29
|
-
"stroke",
|
|
30
|
-
"stroke-width"
|
|
31
|
-
], Ge = { key: 1 }, Ke = [
|
|
32
|
-
"stroke",
|
|
33
|
-
"d",
|
|
34
|
-
"stroke-width"
|
|
35
|
-
], qe = { style: { "pointer-events": "none" } }, Je = [
|
|
36
|
-
"cx",
|
|
37
|
-
"cy",
|
|
38
|
-
"fill",
|
|
39
|
-
"r",
|
|
40
|
-
"stroke"
|
|
41
|
-
], Ye = [
|
|
42
|
-
"x",
|
|
43
|
-
"y",
|
|
44
|
-
"fill",
|
|
45
|
-
"font-size"
|
|
46
|
-
], Xe = { key: 2 }, Ze = [
|
|
47
|
-
"stroke",
|
|
48
|
-
"stroke-width",
|
|
49
|
-
"x1",
|
|
50
|
-
"x2",
|
|
51
|
-
"y1",
|
|
52
|
-
"y2"
|
|
53
|
-
], Qe = { style: { "pointer-events": "none" } }, $e = [
|
|
54
|
-
"cx",
|
|
55
|
-
"cy",
|
|
56
|
-
"fill",
|
|
57
|
-
"r",
|
|
58
|
-
"stroke"
|
|
59
|
-
], et = [
|
|
60
|
-
"x",
|
|
61
|
-
"y",
|
|
62
|
-
"fill",
|
|
63
|
-
"font-size"
|
|
64
|
-
], tt = [
|
|
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
|
-
], nt = [
|
|
77
|
-
"cx",
|
|
78
|
-
"cy",
|
|
79
|
-
"fill",
|
|
80
|
-
"stroke",
|
|
81
|
-
"r",
|
|
82
|
-
"onClick",
|
|
83
|
-
"onMouseenter",
|
|
84
|
-
"onMouseleave"
|
|
85
|
-
], rt = {
|
|
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
|
-
}, it = {
|
|
96
|
-
key: 5,
|
|
97
|
-
class: "vue-data-ui-watermark"
|
|
98
|
-
}, at = /*#__PURE__*/ _e({
|
|
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: _e, emit: Re }) {
|
|
116
|
-
Ie((e) => ({
|
|
117
|
-
v6c3b5fda: Nt.value,
|
|
118
|
-
v119a74b9: Mt.value,
|
|
119
|
-
v5de8e2db: Pt.value
|
|
120
|
-
}));
|
|
121
|
-
let at = Oe(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), ot = Oe(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), st = Oe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_relation_circle: ct } = ce(), { isThemeValid: lt, warnInvalidTheme: ut } = me(), w = e, dt = Re, ft = l(() => !!w.dataset && Object.keys(w.dataset).length), T = v(te()), pt = v(0), E = v(null), mt = v(null), ht = v(null), gt = v(null), _t = v(0), D = v(!1), O = v(!1), k = v(null), A = v(!1), j = v(Ct());
|
|
122
|
-
oe({
|
|
123
|
-
config: () => j.value,
|
|
124
|
-
dataset: () => w.dataset,
|
|
125
|
-
component: "VueUiRelationCircle",
|
|
126
|
-
rules: [se.noHint]
|
|
127
|
-
});
|
|
128
|
-
let M = l(() => j.value.userOptions.useCursorPointer), vt = l(() => t({
|
|
129
|
-
defaultConfig: {
|
|
130
|
-
userOptions: { show: !1 },
|
|
131
|
-
customPalette: Array(7).fill("#CACACA"),
|
|
132
|
-
style: {
|
|
133
|
-
backgroundColor: "#99999930",
|
|
134
|
-
labels: { color: "#6A6A6A" },
|
|
135
|
-
circle: { stroke: "#6A6A6A" },
|
|
136
|
-
plot: {
|
|
137
|
-
color: "#6A6A6A",
|
|
138
|
-
useSerieColor: !0
|
|
139
|
-
},
|
|
140
|
-
links: { maxWidth: 2 }
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
userConfig: j.value.skeletonConfig ?? {}
|
|
144
|
-
})), { loading: yt, FINAL_DATASET: bt, manualLoading: N } = ue({
|
|
145
|
-
...Fe(w),
|
|
146
|
-
FINAL_CONFIG: j,
|
|
147
|
-
prepareConfig: Ct,
|
|
148
|
-
skeletonDataset: w.config?.skeletonDataset ?? [
|
|
149
|
-
{
|
|
150
|
-
id: "A",
|
|
151
|
-
label: "_",
|
|
152
|
-
relations: [
|
|
153
|
-
"B",
|
|
154
|
-
"C",
|
|
155
|
-
"D",
|
|
156
|
-
"E",
|
|
157
|
-
"F",
|
|
158
|
-
"G"
|
|
159
|
-
]
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: "B",
|
|
163
|
-
label: "_",
|
|
164
|
-
relations: ["A"]
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
id: "C",
|
|
168
|
-
label: "_",
|
|
169
|
-
relations: ["A"]
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
id: "D",
|
|
173
|
-
label: "_",
|
|
174
|
-
relations: ["A"]
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
id: "E",
|
|
178
|
-
label: "_",
|
|
179
|
-
relations: ["A"]
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
id: "F",
|
|
183
|
-
label: "_",
|
|
184
|
-
relations: ["A"]
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
id: "G",
|
|
188
|
-
label: "_",
|
|
189
|
-
relations: ["A"]
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
|
-
skeletonConfig: t({
|
|
193
|
-
defaultConfig: j.value,
|
|
194
|
-
userConfig: vt.value
|
|
195
|
-
})
|
|
196
|
-
}), { userOptionsVisible: P, setUserOptionsVisibility: xt, keepUserOptionState: St } = xe({ config: j.value }), { svgRef: F } = Se({ config: j.value.style.title });
|
|
197
|
-
function Ct() {
|
|
198
|
-
let e = pe({
|
|
199
|
-
userConfig: w.config,
|
|
200
|
-
defaultConfig: ct
|
|
201
|
-
}), t = e.theme;
|
|
202
|
-
if (!t) return e;
|
|
203
|
-
if (!lt.value(e)) return ut(e), e;
|
|
204
|
-
let i = pe({
|
|
205
|
-
userConfig: we[t] || w.config,
|
|
206
|
-
defaultConfig: e
|
|
207
|
-
}), a = pe({
|
|
208
|
-
userConfig: w.config,
|
|
209
|
-
defaultConfig: i
|
|
210
|
-
});
|
|
211
|
-
return {
|
|
212
|
-
...a,
|
|
213
|
-
customPalette: a.customPalette.length ? a.customPalette : n[t] || r
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
Le(() => w.config, (e) => {
|
|
217
|
-
j.value = Ct(), P.value = !j.value.userOptions.showOnChartHover, V.value = j.value.style.size, H.value = j.value.style.weightLabels.size, U.value = j.value.style.plot.radius, W.value = j.value.style.labels.fontSize, G.value.height = j.value.style.size, G.value.width = j.value.style.size, It(), _t.value += 1;
|
|
218
|
-
}, { deep: !0 }), Le(() => w.dataset, (e) => {
|
|
219
|
-
Array.isArray(e) && e.length > 0 && (N.value = !1);
|
|
220
|
-
}, { deep: !0 });
|
|
221
|
-
let { isPrinting: wt, isImaging: Tt, generatePdf: Et, generateImage: Dt } = le({
|
|
222
|
-
elementId: `relation_circle_${T.value}`,
|
|
223
|
-
fileName: j.value.style.title.text || "vue-ui-relation-circle",
|
|
224
|
-
options: j.value.userOptions.print
|
|
225
|
-
}), Ot = l(() => j.value.userOptions.show && !j.value.style.title.text), kt = l(() => ae(j.value.customPalette)), I = v([]), L = v([]), R = v({}), z = v([]), At = v(0), B = l(() => bt.value.slice(0, j.value.style.limit).map((e) => {
|
|
226
|
-
let t = Array.isArray(e.relations) ? e.relations : [];
|
|
227
|
-
return {
|
|
228
|
-
...e,
|
|
229
|
-
weights: Array.isArray(e.weights) ? e.weights : Array(t.length).fill(1),
|
|
230
|
-
relations: t
|
|
231
|
-
};
|
|
232
|
-
}));
|
|
233
|
-
Le(B, () => {
|
|
234
|
-
I.value = [], L.value = [], zt(), Vt();
|
|
235
|
-
});
|
|
236
|
-
let V = v(j.value.style.size), H = v(j.value.style.weightLabels.size), U = v(j.value.style.plot.radius), W = v(j.value.style.labels.fontSize), G = v({
|
|
237
|
-
height: j.value.style.size,
|
|
238
|
-
width: j.value.style.size
|
|
239
|
-
}), K = l({
|
|
240
|
-
get() {
|
|
241
|
-
return V.value * j.value.style.circle.radiusProportion;
|
|
242
|
-
},
|
|
243
|
-
set(e) {
|
|
244
|
-
return e;
|
|
245
|
-
}
|
|
246
|
-
}), jt = l(() => j.value.style.links.curved), Mt = l(() => `${j.value.style.animation.speedMs}ms`), Nt = l(() => K.value * 2), Pt = l(() => K.value * 4), q = Pe(null), J = Pe(null);
|
|
247
|
-
Ne(() => {
|
|
248
|
-
It(), document.getElementById(`relation_circle_${T.value}`).addEventListener("click", Rt);
|
|
249
|
-
});
|
|
250
|
-
let Ft = l(() => j.value.debug);
|
|
251
|
-
function It() {
|
|
252
|
-
if (o(w.dataset) ? (ie({
|
|
253
|
-
componentName: "VueUiRelationCircle",
|
|
254
|
-
type: "dataset",
|
|
255
|
-
debug: Ft.value
|
|
256
|
-
}), N.value = !0) : w.dataset.forEach((e, t) => {
|
|
257
|
-
ee({
|
|
258
|
-
datasetObject: e,
|
|
259
|
-
requiredAttributes: [
|
|
260
|
-
"id",
|
|
261
|
-
"label",
|
|
262
|
-
"relations",
|
|
263
|
-
"weights"
|
|
264
|
-
]
|
|
265
|
-
}).forEach((e) => {
|
|
266
|
-
ie({
|
|
267
|
-
componentName: "VueUiRelationCircle",
|
|
268
|
-
type: "datasetSerieAttribute",
|
|
269
|
-
property: e,
|
|
270
|
-
index: t,
|
|
271
|
-
debug: Ft.value
|
|
272
|
-
});
|
|
273
|
-
});
|
|
274
|
-
}), o(w.dataset) || (N.value = j.value.loading), j.value.responsive) {
|
|
275
|
-
let e = ve(() => {
|
|
276
|
-
let { width: e, height: t } = ye({
|
|
277
|
-
chart: E.value,
|
|
278
|
-
title: j.value.style.title.text ? mt.value : null,
|
|
279
|
-
source: ht.value,
|
|
280
|
-
noTitle: gt.value
|
|
281
|
-
});
|
|
282
|
-
requestAnimationFrame(() => {
|
|
283
|
-
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 * j.value.style.circle.radiusProportion, I.value = [], L.value = [], zt(), Vt(), Lt(), j.value.responsiveProportionalSizing ? (H.value = s({
|
|
284
|
-
relator: V.value,
|
|
285
|
-
adjuster: j.value.style.size,
|
|
286
|
-
source: j.value.style.weightLabels.size,
|
|
287
|
-
threshold: 6,
|
|
288
|
-
fallback: 6
|
|
289
|
-
}), U.value = s({
|
|
290
|
-
relator: V.value,
|
|
291
|
-
adjuster: j.value.style.size,
|
|
292
|
-
source: j.value.style.plot.radius,
|
|
293
|
-
threshold: 1,
|
|
294
|
-
fallback: 1
|
|
295
|
-
}), W.value = s({
|
|
296
|
-
relator: V.value,
|
|
297
|
-
adjuster: j.value.style.size,
|
|
298
|
-
source: j.value.style.labels.fontSize,
|
|
299
|
-
threshold: 6,
|
|
300
|
-
fallback: 6
|
|
301
|
-
})) : (H.value = j.value.style.weightLabels.size, U.value = j.value.style.plot.radius, W.value = j.value.style.labels.fontSize);
|
|
302
|
-
});
|
|
303
|
-
});
|
|
304
|
-
q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect()), q.value = new ResizeObserver(e), J.value = E.value.parentNode, q.value.observe(J.value);
|
|
305
|
-
} else I.value = [], L.value = [], zt(), Vt();
|
|
306
|
-
Lt();
|
|
307
|
-
}
|
|
308
|
-
Me(() => {
|
|
309
|
-
document.getElementById(`relation_circle_${T.value}`).removeEventListener("click", Rt), q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect());
|
|
310
|
-
});
|
|
311
|
-
let { autoSizeLabels: Lt } = Ce({
|
|
312
|
-
svgRef: F,
|
|
313
|
-
fontSize: j.value.style.labels.fontSize,
|
|
314
|
-
minFontSize: j.value.style.labels.minFontSize,
|
|
315
|
-
sizeRef: W,
|
|
316
|
-
labelClass: ".vue-ui-relation-circle-legend"
|
|
317
|
-
});
|
|
318
|
-
function Rt(e) {
|
|
319
|
-
let t = e.target;
|
|
320
|
-
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 = []);
|
|
321
|
-
}
|
|
322
|
-
function zt() {
|
|
323
|
-
let e = 6.28319 / B.value.length, t = 360 / B.value.length, n = 0, i = 0;
|
|
324
|
-
B.value.forEach((a, o) => {
|
|
325
|
-
let ee = a.weights.reduce((e, t) => e + t, 0), te = K.value * Math.cos(n) + G.value.width / 2, s = K.value * Math.sin(n) + G.value.height / 2 + j.value.style.circle.offsetY;
|
|
326
|
-
I.value.push({
|
|
327
|
-
x: te,
|
|
328
|
-
y: s,
|
|
329
|
-
...a,
|
|
330
|
-
color: a.color ? a.color : kt.value[o] ? kt.value[o] : r[o],
|
|
331
|
-
regAngle: i,
|
|
332
|
-
totalWeight: ee
|
|
333
|
-
}), n += e, i += t;
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
function Bt(e, t) {
|
|
337
|
-
return {
|
|
338
|
-
x: (e.x + t.x) / 2,
|
|
339
|
-
y: (e.y + t.y) / 2
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
function Vt() {
|
|
343
|
-
L.value = [], I.value.forEach((e) => {
|
|
344
|
-
I.value.filter((t) => t.relations.includes(e.id)).forEach((t, n) => {
|
|
345
|
-
let r = t.relations.indexOf(e.id);
|
|
346
|
-
L.value.push({
|
|
347
|
-
weight: t.weights[r] ? t.weights[r] : 0,
|
|
348
|
-
relationId: `${e.id}_${t.id}`,
|
|
349
|
-
x1: e.x,
|
|
350
|
-
y1: e.y,
|
|
351
|
-
x2: t.x,
|
|
352
|
-
y2: t.y,
|
|
353
|
-
colorSource: e.color,
|
|
354
|
-
colorTarget: t.color,
|
|
355
|
-
midPointLine: Bt({
|
|
356
|
-
x: e.x,
|
|
357
|
-
y: e.y
|
|
358
|
-
}, {
|
|
359
|
-
x: t.x,
|
|
360
|
-
y: t.y
|
|
361
|
-
}),
|
|
362
|
-
midPointBezier: Ht({
|
|
363
|
-
x1: e.x,
|
|
364
|
-
x2: t.x,
|
|
365
|
-
y1: e.y,
|
|
366
|
-
y2: t.y
|
|
367
|
-
}),
|
|
368
|
-
...e
|
|
369
|
-
});
|
|
370
|
-
});
|
|
371
|
-
});
|
|
372
|
-
}
|
|
373
|
-
function Ht(e) {
|
|
374
|
-
let t = {
|
|
375
|
-
x: e.x1,
|
|
376
|
-
y: e.y1
|
|
377
|
-
}, n = {
|
|
378
|
-
x: e.x2,
|
|
379
|
-
y: e.y2
|
|
380
|
-
}, r = {
|
|
381
|
-
x: e.x1,
|
|
382
|
-
y: e.y1
|
|
383
|
-
}, i = {
|
|
384
|
-
x: G.value.width / 2,
|
|
385
|
-
y: G.value.height / 2 + j.value.style.circle.offsetY
|
|
386
|
-
}, a = .5;
|
|
387
|
-
return {
|
|
388
|
-
x: (1 - a) ** 3 * t.x + 3 * (1 - a) ** 2 * a * r.x + 3 * (1 - a) * a ** 2 * i.x + a ** 3 * n.x,
|
|
389
|
-
y: (1 - a) ** 3 * t.y + 3 * (1 - a) ** 2 * a * r.y + 3 * (1 - a) * a ** 2 * i.y + a ** 3 * n.y
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
let Ut = l(() => Math.max(...L.value.map((e) => e.weight)));
|
|
393
|
-
function Wt(e) {
|
|
394
|
-
return Object.hasOwn(R.value, "x") ? z.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
395
|
-
}
|
|
396
|
-
function Y(e) {
|
|
397
|
-
return e.colorSource;
|
|
398
|
-
}
|
|
399
|
-
function Gt(e) {
|
|
400
|
-
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:${en(e)}` : "opacity: 0" : "opacity: 1";
|
|
401
|
-
}
|
|
402
|
-
function X(e) {
|
|
403
|
-
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;
|
|
404
|
-
}
|
|
405
|
-
function Kt(e) {
|
|
406
|
-
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
407
|
-
}
|
|
408
|
-
function qt(e) {
|
|
409
|
-
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
410
|
-
}
|
|
411
|
-
function Jt(e) {
|
|
412
|
-
return Object.hasOwn(R.value, "x") ? R.value.id === e.id || z.value.includes(e.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
413
|
-
}
|
|
414
|
-
function Yt(e) {
|
|
415
|
-
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
416
|
-
}
|
|
417
|
-
let Z = v(null);
|
|
418
|
-
function Xt(e, t) {
|
|
419
|
-
Z.value = t, k.value = t, j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
420
|
-
datapoint: e,
|
|
421
|
-
seriesIndex: t
|
|
422
|
-
});
|
|
423
|
-
}
|
|
424
|
-
function Zt(e, t) {
|
|
425
|
-
Z.value = null, A.value || (k.value = null), j.value.events.datapointLeave && j.value.events.datapointLeave({
|
|
426
|
-
datapoint: e,
|
|
427
|
-
seriesIndex: t
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
|
-
function Qt(e, t) {
|
|
431
|
-
e && (j.value.events.datapointClick && j.value.events.datapointClick({
|
|
432
|
-
datapoint: e,
|
|
433
|
-
seriesIndex: t
|
|
434
|
-
}), At.value = 360 - e.regAngle, R.value.id && e.id === R.value.id ? (R.value = {}, z.value = []) : (R.value = e, z.value = [...e.relations]));
|
|
435
|
-
}
|
|
436
|
-
function $t(e, t) {
|
|
437
|
-
k.value = t, Qt(e, t);
|
|
438
|
-
}
|
|
439
|
-
function en(e) {
|
|
440
|
-
let t = e.weight / Ut.value * j.value.style.links.maxWidth;
|
|
441
|
-
return Math.max(.3, t);
|
|
442
|
-
}
|
|
443
|
-
let Q = v(!1);
|
|
444
|
-
function tn(e) {
|
|
445
|
-
Q.value = e, pt.value += 1;
|
|
446
|
-
}
|
|
447
|
-
let $ = v(!1);
|
|
448
|
-
function nn() {
|
|
449
|
-
$.value = !$.value;
|
|
450
|
-
}
|
|
451
|
-
async function rn({ scale: e = 2 } = {}) {
|
|
452
|
-
if (!E.value) return;
|
|
453
|
-
let { width: t, height: n } = E.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
454
|
-
domElement: E.value,
|
|
455
|
-
base64: !0,
|
|
456
|
-
img: !0,
|
|
457
|
-
scale: e
|
|
458
|
-
});
|
|
459
|
-
return {
|
|
460
|
-
imageUri: i,
|
|
461
|
-
base64: a,
|
|
462
|
-
title: j.value.style.title.text,
|
|
463
|
-
width: t,
|
|
464
|
-
height: n,
|
|
465
|
-
aspectRatio: r
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
let an = l(() => j.value.style.backgroundColor), { exportSvg: on, getSvg: sn } = fe({
|
|
469
|
-
svg: F,
|
|
470
|
-
title: l(() => j.value.style.title),
|
|
471
|
-
backgroundColor: an
|
|
472
|
-
});
|
|
473
|
-
async function cn({ isCb: e }) {
|
|
474
|
-
O.value = !0, await Ae();
|
|
475
|
-
try {
|
|
476
|
-
if (e) {
|
|
477
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await sn();
|
|
478
|
-
await Promise.resolve(j.value.userOptions.callbacks.svg({
|
|
479
|
-
blob: e,
|
|
480
|
-
url: t,
|
|
481
|
-
text: n,
|
|
482
|
-
dataUrl: r
|
|
483
|
-
}));
|
|
484
|
-
} else await Promise.resolve(on());
|
|
485
|
-
} finally {
|
|
486
|
-
O.value = !1;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
function ln(e) {
|
|
490
|
-
if (e?.stage === "start") {
|
|
491
|
-
D.value = !0;
|
|
492
|
-
return;
|
|
493
|
-
}
|
|
494
|
-
if (e?.stage === "end") {
|
|
495
|
-
D.value = !1;
|
|
496
|
-
return;
|
|
497
|
-
}
|
|
498
|
-
Dt();
|
|
499
|
-
}
|
|
500
|
-
async function un() {
|
|
501
|
-
if (dt("copyAlt", {
|
|
502
|
-
config: j.value,
|
|
503
|
-
dataset: B.value
|
|
504
|
-
}), !j.value.userOptions.callbacks.altCopy) {
|
|
505
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
await Promise.resolve(j.value.userOptions.callbacks.altCopy({
|
|
509
|
-
config: j.value,
|
|
510
|
-
dataset: B.value
|
|
511
|
-
}));
|
|
512
|
-
}
|
|
513
|
-
function dn() {
|
|
514
|
-
A.value = !0, I.value.length && k.value === null && (k.value = 0);
|
|
515
|
-
}
|
|
516
|
-
function fn() {
|
|
517
|
-
A.value = !1, k.value = null;
|
|
518
|
-
}
|
|
519
|
-
function pn(e) {
|
|
520
|
-
if (!F.value || $.value || document.activeElement !== F.value || !I.value.length) return;
|
|
521
|
-
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
522
|
-
if (!t && !n && !r && !i) return;
|
|
523
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
524
|
-
k.value = null, R.value = {}, z.value = [];
|
|
525
|
-
return;
|
|
526
|
-
}
|
|
527
|
-
if (r) {
|
|
528
|
-
if (k.value === null) return;
|
|
529
|
-
let e = I.value[k.value];
|
|
530
|
-
if (!e) return;
|
|
531
|
-
Qt(e, k.value);
|
|
532
|
-
return;
|
|
533
|
-
}
|
|
534
|
-
let a = k.value;
|
|
535
|
-
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)), k.value = a, Z.value = a;
|
|
536
|
-
let o = I.value[a];
|
|
537
|
-
o && j.value.events.datapointEnter && j.value.events.datapointEnter({
|
|
538
|
-
datapoint: o,
|
|
539
|
-
seriesIndex: a
|
|
540
|
-
});
|
|
541
|
-
}
|
|
542
|
-
let mn = l(() => ({
|
|
543
|
-
headers: [
|
|
544
|
-
"ID",
|
|
545
|
-
"Label",
|
|
546
|
-
"Total weight",
|
|
547
|
-
"Relations count",
|
|
548
|
-
"Relations"
|
|
549
|
-
],
|
|
550
|
-
rows: B.value.map((e) => {
|
|
551
|
-
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);
|
|
552
|
-
return [
|
|
553
|
-
e.id,
|
|
554
|
-
e.label,
|
|
555
|
-
n,
|
|
556
|
-
e.relations.length,
|
|
557
|
-
t
|
|
558
|
-
];
|
|
559
|
-
})
|
|
560
|
-
}));
|
|
561
|
-
return _e({
|
|
562
|
-
getImage: rn,
|
|
563
|
-
generatePdf: Et,
|
|
564
|
-
generateSvg: cn,
|
|
565
|
-
generateImage: Dt,
|
|
566
|
-
toggleAnnotator: nn,
|
|
567
|
-
toggleFullscreen: tn,
|
|
568
|
-
copyAlt: un
|
|
569
|
-
}), (e, t) => (_(), f("div", {
|
|
570
|
-
ref_key: "relationCircleChart",
|
|
571
|
-
ref: E,
|
|
572
|
-
class: "vue-data-ui-component vue-ui-relation-circle",
|
|
573
|
-
style: g(`width:100%;background:${j.value.style.backgroundColor};text-align:center;${j.value.responsive ? "height: 100%" : ""}`),
|
|
574
|
-
id: `relation_circle_${T.value}`,
|
|
575
|
-
onMouseenter: t[0] ||= () => S(xt)(!0),
|
|
576
|
-
onMouseleave: t[1] ||= () => S(xt)(!1)
|
|
577
|
-
}, [
|
|
578
|
-
p("div", {
|
|
579
|
-
id: `chart-instructions-${T.value}`,
|
|
580
|
-
class: "sr-only"
|
|
581
|
-
}, [p("p", null, x(j.value.a11y.translations.keyboardNavigation), 1)], 8, Be),
|
|
582
|
-
mn.value?.rows?.length ? (_(), u(be, {
|
|
583
|
-
key: 0,
|
|
584
|
-
uid: T.value,
|
|
585
|
-
head: mn.value.headers,
|
|
586
|
-
body: mn.value.rows,
|
|
587
|
-
notice: j.value.a11y.translations.tableAvailable,
|
|
588
|
-
caption: j.value.a11y.translations.tableCaption
|
|
589
|
-
}, null, 8, [
|
|
590
|
-
"uid",
|
|
591
|
-
"head",
|
|
592
|
-
"body",
|
|
593
|
-
"notice",
|
|
594
|
-
"caption"
|
|
595
|
-
])) : d("", !0),
|
|
596
|
-
j.value.userOptions.buttons.annotator ? (_(), u(S(at), {
|
|
597
|
-
key: 1,
|
|
598
|
-
svgRef: S(F),
|
|
599
|
-
backgroundColor: j.value.style.backgroundColor,
|
|
600
|
-
color: j.value.style.color,
|
|
601
|
-
active: $.value,
|
|
602
|
-
isCursorPointer: M.value,
|
|
603
|
-
onClose: nn
|
|
604
|
-
}, {
|
|
605
|
-
"annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
606
|
-
"annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", h(m({ color: t })), void 0, !0)]),
|
|
607
|
-
"annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", h(m({ mode: t })), void 0, !0)]),
|
|
608
|
-
"annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", h(m({ disabled: t })), void 0, !0)]),
|
|
609
|
-
"annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", h(m({ disabled: t })), void 0, !0)]),
|
|
610
|
-
"annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", h(m({ disabled: t })), void 0, !0)]),
|
|
611
|
-
_: 3
|
|
612
|
-
}, 8, [
|
|
613
|
-
"svgRef",
|
|
614
|
-
"backgroundColor",
|
|
615
|
-
"color",
|
|
616
|
-
"active",
|
|
617
|
-
"isCursorPointer"
|
|
618
|
-
])) : d("", !0),
|
|
619
|
-
Ot.value ? (_(), f("div", {
|
|
620
|
-
key: 2,
|
|
621
|
-
ref_key: "noTitle",
|
|
622
|
-
ref: gt,
|
|
623
|
-
class: "vue-data-ui-no-title-space",
|
|
624
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
625
|
-
}, null, 512)) : d("", !0),
|
|
626
|
-
j.value.style.title.text ? (_(), f("div", {
|
|
627
|
-
key: 3,
|
|
628
|
-
ref_key: "chartTitle",
|
|
629
|
-
ref: mt,
|
|
630
|
-
style: "width:100%;background:transparent"
|
|
631
|
-
}, [(_(), u(ge, {
|
|
632
|
-
key: `title_${_t.value}`,
|
|
633
|
-
config: {
|
|
634
|
-
title: {
|
|
635
|
-
cy: "relation-div-title",
|
|
636
|
-
...j.value.style.title
|
|
637
|
-
},
|
|
638
|
-
subtitle: {
|
|
639
|
-
cy: "relation-div-subtitle",
|
|
640
|
-
...j.value.style.title.subtitle
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
644
|
-
j.value.userOptions.show && ft.value && (S(St) || S(P)) ? (_(), u(S(ot), {
|
|
645
|
-
ref: "details",
|
|
646
|
-
key: `user_options_${pt.value}`,
|
|
647
|
-
backgroundColor: j.value.style.backgroundColor,
|
|
648
|
-
color: j.value.style.color,
|
|
649
|
-
isPrinting: S(wt),
|
|
650
|
-
isImaging: S(Tt),
|
|
651
|
-
uid: T.value,
|
|
652
|
-
hasPdf: j.value.userOptions.buttons.pdf,
|
|
653
|
-
hasImg: j.value.userOptions.buttons.img,
|
|
654
|
-
hasSvg: j.value.userOptions.buttons.svg,
|
|
655
|
-
hasFullscreen: j.value.userOptions.buttons.fullscreen,
|
|
656
|
-
hasAltCopy: j.value.userOptions.buttons.altCopy,
|
|
657
|
-
hasXls: !1,
|
|
658
|
-
isFullscreen: Q.value,
|
|
659
|
-
titles: { ...j.value.userOptions.buttonTitles },
|
|
660
|
-
chartElement: E.value,
|
|
661
|
-
position: j.value.userOptions.position,
|
|
662
|
-
hasAnnotator: j.value.userOptions.buttons.annotator,
|
|
663
|
-
isAnnotation: $.value,
|
|
664
|
-
callbacks: j.value.userOptions.callbacks,
|
|
665
|
-
printScale: j.value.userOptions.print.scale,
|
|
666
|
-
isCursorPointer: M.value,
|
|
667
|
-
onToggleFullscreen: tn,
|
|
668
|
-
onGeneratePdf: S(Et),
|
|
669
|
-
onGenerateImage: ln,
|
|
670
|
-
onGenerateSvg: cn,
|
|
671
|
-
onToggleAnnotator: nn,
|
|
672
|
-
onCopyAlt: un,
|
|
673
|
-
style: g({ visibility: S(St) ? S(P) ? "visible" : "hidden" : "visible" })
|
|
674
|
-
}, Te({ _: 2 }, [
|
|
675
|
-
e.$slots.menuIcon ? {
|
|
676
|
-
name: "menuIcon",
|
|
677
|
-
fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", h(m({
|
|
678
|
-
isOpen: t,
|
|
679
|
-
color: n
|
|
680
|
-
})), void 0, !0)]),
|
|
681
|
-
key: "0"
|
|
682
|
-
} : void 0,
|
|
683
|
-
e.$slots.optionPdf ? {
|
|
684
|
-
name: "optionPdf",
|
|
685
|
-
fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
686
|
-
key: "1"
|
|
687
|
-
} : void 0,
|
|
688
|
-
e.$slots.optionImg ? {
|
|
689
|
-
name: "optionImg",
|
|
690
|
-
fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
691
|
-
key: "2"
|
|
692
|
-
} : void 0,
|
|
693
|
-
e.$slots.optionSvg ? {
|
|
694
|
-
name: "optionSvg",
|
|
695
|
-
fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
696
|
-
key: "3"
|
|
697
|
-
} : void 0,
|
|
698
|
-
e.$slots.optionFullscreen ? {
|
|
699
|
-
name: "optionFullscreen",
|
|
700
|
-
fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", h(m({
|
|
701
|
-
toggleFullscreen: t,
|
|
702
|
-
isFullscreen: n
|
|
703
|
-
})), void 0, !0)]),
|
|
704
|
-
key: "4"
|
|
705
|
-
} : void 0,
|
|
706
|
-
e.$slots.optionAnnotator ? {
|
|
707
|
-
name: "optionAnnotator",
|
|
708
|
-
fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", h(m({
|
|
709
|
-
toggleAnnotator: t,
|
|
710
|
-
isAnnotator: n
|
|
711
|
-
})), void 0, !0)]),
|
|
712
|
-
key: "5"
|
|
713
|
-
} : void 0,
|
|
714
|
-
e.$slots.optionAltCopy ? {
|
|
715
|
-
name: "optionAltCopy",
|
|
716
|
-
fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", h(m({ altCopy: t })), void 0, !0)]),
|
|
717
|
-
key: "6"
|
|
718
|
-
} : void 0,
|
|
719
|
-
e.$slots["custom-menu-before"] ? {
|
|
720
|
-
name: "custom-menu-before",
|
|
721
|
-
fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
722
|
-
key: "7"
|
|
723
|
-
} : void 0,
|
|
724
|
-
e.$slots["custom-menu-after"] ? {
|
|
725
|
-
name: "custom-menu-after",
|
|
726
|
-
fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
727
|
-
key: "8"
|
|
728
|
-
} : void 0
|
|
729
|
-
]), 1032, [
|
|
730
|
-
"backgroundColor",
|
|
731
|
-
"color",
|
|
732
|
-
"isPrinting",
|
|
733
|
-
"isImaging",
|
|
734
|
-
"uid",
|
|
735
|
-
"hasPdf",
|
|
736
|
-
"hasImg",
|
|
737
|
-
"hasSvg",
|
|
738
|
-
"hasFullscreen",
|
|
739
|
-
"hasAltCopy",
|
|
740
|
-
"isFullscreen",
|
|
741
|
-
"titles",
|
|
742
|
-
"chartElement",
|
|
743
|
-
"position",
|
|
744
|
-
"hasAnnotator",
|
|
745
|
-
"isAnnotation",
|
|
746
|
-
"callbacks",
|
|
747
|
-
"printScale",
|
|
748
|
-
"isCursorPointer",
|
|
749
|
-
"onGeneratePdf",
|
|
750
|
-
"style"
|
|
751
|
-
])) : d("", !0),
|
|
752
|
-
p("div", Ve, [(_(), f("svg", {
|
|
753
|
-
ref_key: "svgRef",
|
|
754
|
-
ref: F,
|
|
755
|
-
xmlns: S(re),
|
|
756
|
-
class: je([{
|
|
757
|
-
"vue-data-ui-fullscreen--on": Q.value,
|
|
758
|
-
"vue-data-ui-fulscreen--off": !Q.value
|
|
759
|
-
}, "relation-circle"]),
|
|
760
|
-
viewBox: `0 0 ${G.value.width <= 0 ? 10 : G.value.width} ${G.value.height <= 0 ? 10 : G.value.height}`,
|
|
761
|
-
width: "100%",
|
|
762
|
-
style: "user-select:none; background:transparent",
|
|
763
|
-
"aria-describedby": `chart-instructions-${T.value}`,
|
|
764
|
-
tabindex: "0",
|
|
765
|
-
onFocus: dn,
|
|
766
|
-
onBlur: fn,
|
|
767
|
-
onKeydown: pn
|
|
768
|
-
}, [
|
|
769
|
-
De(S(st)),
|
|
770
|
-
e.$slots["chart-background"] ? (_(), f("foreignObject", {
|
|
771
|
-
key: 0,
|
|
772
|
-
x: 0,
|
|
773
|
-
y: 0,
|
|
774
|
-
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
775
|
-
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
776
|
-
style: { pointerEvents: "none" }
|
|
777
|
-
}, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : d("", !0),
|
|
778
|
-
p("circle", {
|
|
779
|
-
cx: (G.value.width <= 0 ? 1e-4 : G.value.width) / 2,
|
|
780
|
-
cy: (G.value.height <= 0 ? 1e-4 : G.value.height) / 2 + j.value.style.circle.offsetY,
|
|
781
|
-
r: K.value <= 0 ? 1e-4 : K.value,
|
|
782
|
-
stroke: j.value.style.circle.stroke,
|
|
783
|
-
"stroke-width": j.value.style.circle.strokeWidth,
|
|
784
|
-
fill: "transparent",
|
|
785
|
-
class: "main-circle"
|
|
786
|
-
}, null, 8, We),
|
|
787
|
-
jt.value ? (_(), f("g", Ge, [(_(!0), f(c, null, y(L.value, (e, t) => (_(), f("path", {
|
|
788
|
-
key: `relation_${t}`,
|
|
789
|
-
style: g(Gt(e)),
|
|
790
|
-
stroke: Y(e),
|
|
791
|
-
class: je(["relation", { "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }]),
|
|
792
|
-
d: `M${e.x1},${e.y1} C${e.x1},${e.y1} ${G.value.width / 2},${G.value.height / 2 + j.value.style.circle.offsetY} ${e.x2},${e.y2}`,
|
|
793
|
-
fill: "none",
|
|
794
|
-
"stroke-width": en(e),
|
|
795
|
-
"stroke-linecap": "round"
|
|
796
|
-
}, null, 14, Ke))), 128)), (_(!0), f(c, null, y(L.value, (t, n) => (_(), f("g", qe, [
|
|
797
|
-
X(t) ? b(e.$slots, "dataLabel", ke({ ref_for: !0 }, {
|
|
798
|
-
x: t.midPointBezier.x,
|
|
799
|
-
y: t.midPointBezier.y,
|
|
800
|
-
color: Y(t),
|
|
801
|
-
weight: t.weight,
|
|
802
|
-
fontSize: H.value
|
|
803
|
-
}), void 0, !0, 0) : d("", !0),
|
|
804
|
-
X(t) && !e.$slots.dataLabel ? (_(), f("circle", {
|
|
805
|
-
key: 1,
|
|
806
|
-
cx: t.midPointBezier.x,
|
|
807
|
-
cy: t.midPointBezier.y,
|
|
808
|
-
fill: Y(t),
|
|
809
|
-
r: H.value,
|
|
810
|
-
stroke: j.value.style.backgroundColor,
|
|
811
|
-
"stroke-width": "1"
|
|
812
|
-
}, null, 8, Je)) : d("", !0),
|
|
813
|
-
X(t) && !e.$slots.dataLabel ? (_(), f("text", {
|
|
814
|
-
key: 2,
|
|
815
|
-
x: t.midPointBezier.x,
|
|
816
|
-
y: t.midPointBezier.y + H.value / 3,
|
|
817
|
-
fill: S(ne)(Y(t)),
|
|
818
|
-
"text-anchor": "middle",
|
|
819
|
-
"font-size": H.value
|
|
820
|
-
}, x(S(a)(j.value.style.weightLabels.formatter, t.weight, S(i)({
|
|
821
|
-
p: j.value.style.weightLabels.prefix,
|
|
822
|
-
v: t.weight,
|
|
823
|
-
s: j.value.style.weightLabels.suffix,
|
|
824
|
-
r: j.value.style.weightLabels.rounding
|
|
825
|
-
}), { ...t })), 9, Ye)) : d("", !0)
|
|
826
|
-
]))), 256))])) : (_(), f("g", Xe, [(_(!0), f(c, null, y(L.value, (e, t) => (_(), f("line", {
|
|
827
|
-
key: `relation_${t}`,
|
|
828
|
-
stroke: Y(e),
|
|
829
|
-
"stroke-width": en(e),
|
|
830
|
-
style: g(Gt(e)),
|
|
831
|
-
x1: e.x1,
|
|
832
|
-
x2: e.x2,
|
|
833
|
-
y1: e.y1,
|
|
834
|
-
y2: e.y2,
|
|
835
|
-
class: je({ "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }),
|
|
836
|
-
"stroke-linecap": "round"
|
|
837
|
-
}, null, 14, Ze))), 128)), (_(!0), f(c, null, y(L.value, (t, n) => (_(), f("g", Qe, [
|
|
838
|
-
X(t) ? b(e.$slots, "dataLabel", ke({ ref_for: !0 }, {
|
|
839
|
-
x: t.midPointLine.x,
|
|
840
|
-
y: t.midPointLine.y,
|
|
841
|
-
color: Y(t),
|
|
842
|
-
weight: t.weight,
|
|
843
|
-
fontSize: H.value
|
|
844
|
-
}), void 0, !0, 0) : d("", !0),
|
|
845
|
-
X(t) && !e.$slots.dataLabel && j.value.style.weightLabels.show ? (_(), f("circle", {
|
|
846
|
-
key: 1,
|
|
847
|
-
cx: t.midPointLine.x,
|
|
848
|
-
cy: t.midPointLine.y,
|
|
849
|
-
fill: Y(t),
|
|
850
|
-
r: H.value,
|
|
851
|
-
stroke: j.value.style.backgroundColor,
|
|
852
|
-
"stroke-width": "1"
|
|
853
|
-
}, null, 8, $e)) : d("", !0),
|
|
854
|
-
X(t) && !e.$slots.dataLabel && j.value.style.weightLabels.show ? (_(), f("text", {
|
|
855
|
-
key: 2,
|
|
856
|
-
x: t.midPointLine.x,
|
|
857
|
-
y: t.midPointLine.y + H.value / 3,
|
|
858
|
-
fill: S(ne)(Y(t)),
|
|
859
|
-
"text-anchor": "middle",
|
|
860
|
-
"font-size": H.value
|
|
861
|
-
}, x(S(a)(j.value.style.weightLabels.formatter, t.weight, S(i)({
|
|
862
|
-
p: j.value.style.weightLabels.prefix,
|
|
863
|
-
v: t.weight,
|
|
864
|
-
s: j.value.style.weightLabels.suffix,
|
|
865
|
-
r: j.value.style.weightLabels.rounding
|
|
866
|
-
}), { ...t })), 9, et)) : d("", !0)
|
|
867
|
-
]))), 256))])),
|
|
868
|
-
(_(!0), f(c, null, y(I.value, (e, t) => (_(), f("text", {
|
|
869
|
-
key: `plot_text_${t}`,
|
|
870
|
-
"text-anchor": Kt(e),
|
|
871
|
-
transform: Yt(e),
|
|
872
|
-
x: qt(e),
|
|
873
|
-
y: e.y + 5,
|
|
874
|
-
class: "vue-ui-relation-circle-legend",
|
|
875
|
-
"transform-origin": "start",
|
|
876
|
-
"font-weight": R.value.id === e.id ? "900" : "400",
|
|
877
|
-
style: g(`font-family:${j.value.style.fontFamily};${Jt(e)};cursor:${M.value ? "pointer" : "default"}`),
|
|
878
|
-
"font-size": W.value,
|
|
879
|
-
fill: j.value.style.labels.color,
|
|
880
|
-
"text-decoration": t === Z.value || t === k.value ? "underline" : void 0,
|
|
881
|
-
onClick: (n) => $t(e, t),
|
|
882
|
-
onMouseenter: (n) => Xt(e, t),
|
|
883
|
-
onMouseleave: (n) => Zt(e, t)
|
|
884
|
-
}, [S(yt) ? (_(), f(c, { key: 0 }, [Ee("--------")], 64)) : (_(), f(c, { key: 1 }, [Ee(x(e.label) + " (" + x(S(a)(j.value.style.weightLabels.formatter, e.totalWeight, S(i)({
|
|
885
|
-
p: j.value.style.weightLabels.prefix,
|
|
886
|
-
v: e.totalWeight,
|
|
887
|
-
s: j.value.style.weightLabels.suffix,
|
|
888
|
-
r: j.value.style.weightLabels.rounding
|
|
889
|
-
}), { ...e })) + ") ", 1)], 64))], 44, tt))), 128)),
|
|
890
|
-
(_(!0), f(c, null, y(I.value, (e, t) => (_(), f("circle", {
|
|
891
|
-
cx: e.x,
|
|
892
|
-
cy: e.y,
|
|
893
|
-
key: `plot_${t}`,
|
|
894
|
-
style: g(`${Wt(e)}; transition: r 0.2s ease-in-out; cursor:${M.value ? "pointer" : "default"}`),
|
|
895
|
-
class: "vue-ui-relation-circle-plot",
|
|
896
|
-
fill: j.value.style.plot.useSerieColor ? e.color : j.value.style.plot.color,
|
|
897
|
-
stroke: j.value.style.backgroundColor,
|
|
898
|
-
"stroke-width": "1",
|
|
899
|
-
r: U.value * (t === Z.value || t === k.value ? 2 : 1),
|
|
900
|
-
onClick: (n) => $t(e, t),
|
|
901
|
-
onMouseenter: (n) => Xt(e, t),
|
|
902
|
-
onMouseleave: (n) => Zt(e, t)
|
|
903
|
-
}, null, 44, nt))), 128)),
|
|
904
|
-
b(e.$slots, "svg", { svg: {
|
|
905
|
-
...G.value,
|
|
906
|
-
isPrintingImg: S(wt) || S(Tt) || D.value,
|
|
907
|
-
isPrintingSvg: O.value
|
|
908
|
-
} }, void 0, !0)
|
|
909
|
-
], 42, He)), e.$slots.hint ? (_(), f("div", rt, [b(e.$slots, "hint", h(m({
|
|
910
|
-
hint: j.value.a11y.translations.keyboardNavigation,
|
|
911
|
-
isVisible: A.value
|
|
912
|
-
})), void 0, !0)])) : d("", !0)]),
|
|
913
|
-
e.$slots.watermark ? (_(), f("div", it, [b(e.$slots, "watermark", h(m({ isPrinting: S(wt) || S(Tt) || D.value || O.value })), void 0, !0)])) : d("", !0),
|
|
914
|
-
e.$slots.source ? (_(), f("div", {
|
|
915
|
-
key: 6,
|
|
916
|
-
ref_key: "source",
|
|
917
|
-
ref: ht,
|
|
918
|
-
dir: "auto"
|
|
919
|
-
}, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
920
|
-
b(e.$slots, "skeleton", {}, () => [S(yt) ? (_(), u(de, { key: 0 })) : d("", !0)], !0)
|
|
921
|
-
], 44, ze));
|
|
922
|
-
}
|
|
923
|
-
}, [["__scopeId", "data-v-7f386d86"]]);
|
|
924
|
-
//#endregion
|
|
925
|
-
export { Re as n, at as t };
|