vue-data-ui 3.22.7 → 3.22.8
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-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.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-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { c as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, G as n, Gt as r, J as i, Kt as a, Mt as o, S as ee, Wt as te, dt as ne, i as re, kt as ie, r as ae, t as oe } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as se } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-CqqHmnBI.js";
|
|
5
|
+
import { n as le, t as ue } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as de } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as s } from "./useNestedProp-DIuuzG1r.js";
|
|
8
|
+
import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as pe } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as me } from "./Title-CcNiYzEo.js";
|
|
11
|
+
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as ge } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as _e } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as ve } from "./A11yDataTable-DdRsVULz.js";
|
|
15
|
+
import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as be } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as xe } from "./useAutoSizeLabelsInsideViewbox-BGnDfZdg.js";
|
|
18
|
+
import { t as Se } 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 Ce, createTextVNode as we, createVNode as Te, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as ke, onMounted as Ae, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as je, toDisplayString as S, toRefs as Me, unref as C, useCssVars as Ne, watch as Pe, withCtx as w } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-relation-circle.vue
|
|
21
|
-
var
|
|
21
|
+
var Fe = /* @__PURE__ */ e({ default: () => T }), Ie = ["id"], Le = ["id"], Re = { style: { position: "relative" } }, ze = [
|
|
22
22
|
"xmlns",
|
|
23
23
|
"viewBox",
|
|
24
24
|
"aria-describedby"
|
|
25
|
-
],
|
|
25
|
+
], Be = ["width", "height"], Ve = [
|
|
26
26
|
"cx",
|
|
27
27
|
"cy",
|
|
28
28
|
"r",
|
|
29
29
|
"stroke",
|
|
30
30
|
"stroke-width"
|
|
31
|
-
],
|
|
31
|
+
], He = { key: 1 }, Ue = [
|
|
32
32
|
"stroke",
|
|
33
33
|
"d",
|
|
34
34
|
"stroke-width"
|
|
35
|
-
],
|
|
35
|
+
], We = { style: { "pointer-events": "none" } }, Ge = [
|
|
36
36
|
"cx",
|
|
37
37
|
"cy",
|
|
38
38
|
"fill",
|
|
39
39
|
"r",
|
|
40
40
|
"stroke"
|
|
41
|
-
],
|
|
41
|
+
], Ke = [
|
|
42
42
|
"x",
|
|
43
43
|
"y",
|
|
44
44
|
"fill",
|
|
45
45
|
"font-size"
|
|
46
|
-
],
|
|
46
|
+
], qe = { key: 2 }, Je = [
|
|
47
47
|
"stroke",
|
|
48
48
|
"stroke-width",
|
|
49
49
|
"x1",
|
|
50
50
|
"x2",
|
|
51
51
|
"y1",
|
|
52
52
|
"y2"
|
|
53
|
-
],
|
|
53
|
+
], Ye = { style: { "pointer-events": "none" } }, Xe = [
|
|
54
54
|
"cx",
|
|
55
55
|
"cy",
|
|
56
56
|
"fill",
|
|
57
57
|
"r",
|
|
58
58
|
"stroke"
|
|
59
|
-
],
|
|
59
|
+
], Ze = [
|
|
60
60
|
"x",
|
|
61
61
|
"y",
|
|
62
62
|
"fill",
|
|
63
63
|
"font-size"
|
|
64
|
-
],
|
|
64
|
+
], Qe = [
|
|
65
65
|
"text-anchor",
|
|
66
66
|
"transform",
|
|
67
67
|
"x",
|
|
@@ -73,7 +73,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
73
73
|
"onClick",
|
|
74
74
|
"onMouseenter",
|
|
75
75
|
"onMouseleave"
|
|
76
|
-
],
|
|
76
|
+
], $e = [
|
|
77
77
|
"cx",
|
|
78
78
|
"cy",
|
|
79
79
|
"fill",
|
|
@@ -82,7 +82,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
82
82
|
"onClick",
|
|
83
83
|
"onMouseenter",
|
|
84
84
|
"onMouseleave"
|
|
85
|
-
],
|
|
85
|
+
], et = {
|
|
86
86
|
key: 0,
|
|
87
87
|
style: {
|
|
88
88
|
position: "absolute",
|
|
@@ -92,10 +92,10 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
92
92
|
},
|
|
93
93
|
"data-dom-to-png-ignore": "",
|
|
94
94
|
"aria-hidden": "true"
|
|
95
|
-
},
|
|
95
|
+
}, tt = {
|
|
96
96
|
key: 5,
|
|
97
97
|
class: "vue-data-ui-watermark"
|
|
98
|
-
},
|
|
98
|
+
}, T = /*#__PURE__*/ he({
|
|
99
99
|
__name: "vue-ui-relation-circle",
|
|
100
100
|
props: {
|
|
101
101
|
dataset: {
|
|
@@ -112,13 +112,13 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
emits: ["copyAlt"],
|
|
115
|
-
setup(e, { expose:
|
|
116
|
-
|
|
115
|
+
setup(e, { expose: he, emit: Fe }) {
|
|
116
|
+
Ne((e) => ({
|
|
117
117
|
ab5e8c6c: jt.value,
|
|
118
118
|
v309156a9: At.value,
|
|
119
119
|
v6c0f80cb: Mt.value
|
|
120
120
|
}));
|
|
121
|
-
let
|
|
121
|
+
let T = m(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), nt = m(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), rt = m(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_relation_circle: it } = se(), { isThemeValid: at, warnInvalidTheme: ot } = fe(), E = e, st = Fe, ct = l(() => !!E.dataset && Object.keys(E.dataset).length), D = y(n()), lt = y(0), O = y(null), ut = y(null), dt = y(null), ft = y(null), pt = y(0), k = y(!1), A = y(!1), j = y(null), M = y(!1), N = y(xt()), P = l(() => N.value.userOptions.useCursorPointer), mt = l(() => a({
|
|
122
122
|
defaultConfig: {
|
|
123
123
|
userOptions: { show: !1 },
|
|
124
124
|
customPalette: Array(7).fill("#CACACA"),
|
|
@@ -134,8 +134,8 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
userConfig: N.value.skeletonConfig ?? {}
|
|
137
|
-
})), { loading: ht, FINAL_DATASET: gt, manualLoading: _t } =
|
|
138
|
-
...
|
|
137
|
+
})), { loading: ht, FINAL_DATASET: gt, manualLoading: _t } = le({
|
|
138
|
+
...Me(E),
|
|
139
139
|
FINAL_CONFIG: N,
|
|
140
140
|
prepareConfig: xt,
|
|
141
141
|
skeletonDataset: E.config?.skeletonDataset ?? [
|
|
@@ -182,40 +182,40 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
182
182
|
relations: ["A"]
|
|
183
183
|
}
|
|
184
184
|
],
|
|
185
|
-
skeletonConfig:
|
|
185
|
+
skeletonConfig: a({
|
|
186
186
|
defaultConfig: N.value,
|
|
187
187
|
userConfig: mt.value
|
|
188
188
|
})
|
|
189
|
-
}), { userOptionsVisible: vt, setUserOptionsVisibility: yt, keepUserOptionState: bt } =
|
|
189
|
+
}), { userOptionsVisible: vt, setUserOptionsVisibility: yt, keepUserOptionState: bt } = ye({ config: N.value }), { svgRef: F } = be({ config: N.value.style.title });
|
|
190
190
|
function xt() {
|
|
191
|
-
let e =
|
|
191
|
+
let e = s({
|
|
192
192
|
userConfig: E.config,
|
|
193
193
|
defaultConfig: it
|
|
194
194
|
}), t = e.theme;
|
|
195
195
|
if (!t) return e;
|
|
196
196
|
if (!at.value(e)) return ot(e), e;
|
|
197
|
-
let n =
|
|
198
|
-
userConfig:
|
|
197
|
+
let n = s({
|
|
198
|
+
userConfig: Se[t] || E.config,
|
|
199
199
|
defaultConfig: e
|
|
200
|
-
}), r =
|
|
200
|
+
}), r = s({
|
|
201
201
|
userConfig: E.config,
|
|
202
202
|
defaultConfig: n
|
|
203
203
|
});
|
|
204
204
|
return {
|
|
205
205
|
...r,
|
|
206
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
206
|
+
customPalette: r.customPalette.length ? r.customPalette : te[t] || o
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
|
|
209
|
+
Pe(() => E.config, (e) => {
|
|
210
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 }),
|
|
211
|
+
}, { deep: !0 }), Pe(() => E.dataset, (e) => {
|
|
212
212
|
Array.isArray(e) && e.length > 0 && (_t.value = !1);
|
|
213
213
|
}, { deep: !0 });
|
|
214
|
-
let { isPrinting: St, isImaging: Ct, generatePdf: wt, generateImage: Tt } =
|
|
214
|
+
let { isPrinting: St, isImaging: Ct, generatePdf: wt, generateImage: Tt } = ce({
|
|
215
215
|
elementId: `relation_circle_${D.value}`,
|
|
216
216
|
fileName: N.value.style.title.text || "vue-ui-relation-circle",
|
|
217
217
|
options: N.value.userOptions.print
|
|
218
|
-
}), Et =
|
|
218
|
+
}), Et = l(() => N.value.userOptions.show && !N.value.style.title.text), Dt = l(() => ee(N.value.customPalette)), I = y([]), L = y([]), R = y({}), z = y([]), Ot = y(0), B = l(() => gt.value.slice(0, N.value.style.limit).map((e) => {
|
|
219
219
|
let t = Array.isArray(e.relations) ? e.relations : [];
|
|
220
220
|
return {
|
|
221
221
|
...e,
|
|
@@ -223,31 +223,31 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
223
223
|
relations: t
|
|
224
224
|
};
|
|
225
225
|
}));
|
|
226
|
-
|
|
226
|
+
Pe(B, () => {
|
|
227
227
|
I.value = [], L.value = [], Lt(), zt();
|
|
228
228
|
});
|
|
229
|
-
let V =
|
|
229
|
+
let V = y(N.value.style.size), H = y(N.value.style.weightLabels.size), U = y(N.value.style.plot.radius), W = y(N.value.style.labels.fontSize), G = y({
|
|
230
230
|
height: N.value.style.size,
|
|
231
231
|
width: N.value.style.size
|
|
232
|
-
}), K =
|
|
232
|
+
}), K = l({
|
|
233
233
|
get() {
|
|
234
234
|
return V.value * N.value.style.circle.radiusProportion;
|
|
235
235
|
},
|
|
236
236
|
set(e) {
|
|
237
237
|
return e;
|
|
238
238
|
}
|
|
239
|
-
}), kt =
|
|
240
|
-
|
|
239
|
+
}), kt = l(() => N.value.style.links.curved), At = l(() => `${N.value.style.animation.speedMs}ms`), jt = l(() => K.value * 2), Mt = l(() => K.value * 4), q = je(null), J = je(null);
|
|
240
|
+
Ae(() => {
|
|
241
241
|
Pt(), document.getElementById(`relation_circle_${D.value}`).addEventListener("click", It);
|
|
242
242
|
});
|
|
243
|
-
let Nt =
|
|
243
|
+
let Nt = l(() => N.value.debug);
|
|
244
244
|
function Pt() {
|
|
245
|
-
if (
|
|
245
|
+
if (ie(E.dataset) ? (t({
|
|
246
246
|
componentName: "VueUiRelationCircle",
|
|
247
247
|
type: "dataset",
|
|
248
248
|
debug: Nt.value
|
|
249
|
-
}), _t.value = !0) : E.dataset.forEach((e,
|
|
250
|
-
|
|
249
|
+
}), _t.value = !0) : E.dataset.forEach((e, n) => {
|
|
250
|
+
ne({
|
|
251
251
|
datasetObject: e,
|
|
252
252
|
requiredAttributes: [
|
|
253
253
|
"id",
|
|
@@ -256,36 +256,36 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
256
256
|
"weights"
|
|
257
257
|
]
|
|
258
258
|
}).forEach((e) => {
|
|
259
|
-
|
|
259
|
+
t({
|
|
260
260
|
componentName: "VueUiRelationCircle",
|
|
261
261
|
type: "datasetSerieAttribute",
|
|
262
262
|
property: e,
|
|
263
|
-
index:
|
|
263
|
+
index: n,
|
|
264
264
|
debug: Nt.value
|
|
265
265
|
});
|
|
266
266
|
});
|
|
267
|
-
}),
|
|
268
|
-
let e =
|
|
269
|
-
let { width: e, height: t } =
|
|
267
|
+
}), ie(E.dataset) || (_t.value = N.value.loading), N.value.responsive) {
|
|
268
|
+
let e = ge(() => {
|
|
269
|
+
let { width: e, height: t } = _e({
|
|
270
270
|
chart: O.value,
|
|
271
271
|
title: N.value.style.title.text ? ut.value : null,
|
|
272
272
|
source: dt.value,
|
|
273
273
|
noTitle: ft.value
|
|
274
274
|
});
|
|
275
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 =
|
|
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 = r({
|
|
277
277
|
relator: V.value,
|
|
278
278
|
adjuster: N.value.style.size,
|
|
279
279
|
source: N.value.style.weightLabels.size,
|
|
280
280
|
threshold: 6,
|
|
281
281
|
fallback: 6
|
|
282
|
-
}), U.value =
|
|
282
|
+
}), U.value = r({
|
|
283
283
|
relator: V.value,
|
|
284
284
|
adjuster: N.value.style.size,
|
|
285
285
|
source: N.value.style.plot.radius,
|
|
286
286
|
threshold: 1,
|
|
287
287
|
fallback: 1
|
|
288
|
-
}), W.value =
|
|
288
|
+
}), W.value = r({
|
|
289
289
|
relator: V.value,
|
|
290
290
|
adjuster: N.value.style.size,
|
|
291
291
|
source: N.value.style.labels.fontSize,
|
|
@@ -298,10 +298,10 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
298
298
|
} else I.value = [], L.value = [], Lt(), zt();
|
|
299
299
|
Ft();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
ke(() => {
|
|
302
302
|
document.getElementById(`relation_circle_${D.value}`).removeEventListener("click", It), q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect());
|
|
303
303
|
});
|
|
304
|
-
let { autoSizeLabels: Ft } =
|
|
304
|
+
let { autoSizeLabels: Ft } = xe({
|
|
305
305
|
svgRef: F,
|
|
306
306
|
fontSize: N.value.style.labels.fontSize,
|
|
307
307
|
minFontSize: N.value.style.labels.minFontSize,
|
|
@@ -315,14 +315,14 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
315
315
|
function Lt() {
|
|
316
316
|
let e = 6.28319 / B.value.length, t = 360 / B.value.length, n = 0, r = 0;
|
|
317
317
|
B.value.forEach((i, a) => {
|
|
318
|
-
let
|
|
318
|
+
let ee = i.weights.reduce((e, t) => e + t, 0), te = K.value * Math.cos(n) + G.value.width / 2, ne = K.value * Math.sin(n) + G.value.height / 2 + N.value.style.circle.offsetY;
|
|
319
319
|
I.value.push({
|
|
320
|
-
x:
|
|
321
|
-
y:
|
|
320
|
+
x: te,
|
|
321
|
+
y: ne,
|
|
322
322
|
...i,
|
|
323
|
-
color: i.color ? i.color : Dt.value[a] ? Dt.value[a] :
|
|
323
|
+
color: i.color ? i.color : Dt.value[a] ? Dt.value[a] : o[a],
|
|
324
324
|
regAngle: r,
|
|
325
|
-
totalWeight:
|
|
325
|
+
totalWeight: ee
|
|
326
326
|
}), n += e, r += t;
|
|
327
327
|
});
|
|
328
328
|
}
|
|
@@ -382,7 +382,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
382
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
383
|
};
|
|
384
384
|
}
|
|
385
|
-
let Vt =
|
|
385
|
+
let Vt = l(() => Math.max(...L.value.map((e) => e.weight)));
|
|
386
386
|
function Ht(e) {
|
|
387
387
|
return Object.hasOwn(R.value, "x") ? z.value.includes(e.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
|
|
388
388
|
}
|
|
@@ -407,7 +407,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
407
407
|
function qt(e) {
|
|
408
408
|
return e.regAngle > 90 && e.regAngle < 270 ? `rotate(${e.regAngle + 180},${e.x},${e.y})` : `rotate(${e.regAngle},${e.x},${e.y})`;
|
|
409
409
|
}
|
|
410
|
-
let Z =
|
|
410
|
+
let Z = y(null);
|
|
411
411
|
function Jt(e, t) {
|
|
412
412
|
Z.value = t, j.value = t, N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
413
413
|
datapoint: e,
|
|
@@ -433,17 +433,17 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
433
433
|
let t = e.weight / Vt.value * N.value.style.links.maxWidth;
|
|
434
434
|
return Math.max(.3, t);
|
|
435
435
|
}
|
|
436
|
-
let Q =
|
|
436
|
+
let Q = y(!1);
|
|
437
437
|
function $t(e) {
|
|
438
438
|
Q.value = e, lt.value += 1;
|
|
439
439
|
}
|
|
440
|
-
let $ =
|
|
440
|
+
let $ = y(!1);
|
|
441
441
|
function en() {
|
|
442
442
|
$.value = !$.value;
|
|
443
443
|
}
|
|
444
444
|
async function tn({ scale: e = 2 } = {}) {
|
|
445
445
|
if (!O.value) return;
|
|
446
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
446
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
447
447
|
domElement: O.value,
|
|
448
448
|
base64: !0,
|
|
449
449
|
img: !0,
|
|
@@ -458,9 +458,9 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
458
458
|
aspectRatio: r
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
|
-
let nn =
|
|
461
|
+
let nn = l(() => N.value.style.backgroundColor), { exportSvg: rn, getSvg: an } = de({
|
|
462
462
|
svg: F,
|
|
463
|
-
title:
|
|
463
|
+
title: l(() => N.value.style.title),
|
|
464
464
|
backgroundColor: nn
|
|
465
465
|
});
|
|
466
466
|
async function on({ isCb: e }) {
|
|
@@ -532,7 +532,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
532
532
|
seriesIndex: a
|
|
533
533
|
});
|
|
534
534
|
}
|
|
535
|
-
let fn =
|
|
535
|
+
let fn = l(() => ({
|
|
536
536
|
headers: [
|
|
537
537
|
"ID",
|
|
538
538
|
"Label",
|
|
@@ -551,7 +551,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
551
551
|
];
|
|
552
552
|
})
|
|
553
553
|
}));
|
|
554
|
-
return
|
|
554
|
+
return he({
|
|
555
555
|
getImage: tn,
|
|
556
556
|
generatePdf: wt,
|
|
557
557
|
generateSvg: on,
|
|
@@ -559,20 +559,20 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
559
559
|
toggleAnnotator: en,
|
|
560
560
|
toggleFullscreen: $t,
|
|
561
561
|
copyAlt: cn
|
|
562
|
-
}), (e, t) => (
|
|
562
|
+
}), (e, t) => (v(), f("div", {
|
|
563
563
|
ref_key: "relationCircleChart",
|
|
564
564
|
ref: O,
|
|
565
565
|
class: "vue-data-ui-component vue-ui-relation-circle",
|
|
566
|
-
style:
|
|
566
|
+
style: _(`width:100%;background:${N.value.style.backgroundColor};text-align:center;${N.value.responsive ? "height: 100%" : ""}`),
|
|
567
567
|
id: `relation_circle_${D.value}`,
|
|
568
|
-
onMouseenter: t[0] ||= () =>
|
|
569
|
-
onMouseleave: t[1] ||= () =>
|
|
568
|
+
onMouseenter: t[0] ||= () => C(yt)(!0),
|
|
569
|
+
onMouseleave: t[1] ||= () => C(yt)(!1)
|
|
570
570
|
}, [
|
|
571
|
-
|
|
571
|
+
p("div", {
|
|
572
572
|
id: `chart-instructions-${D.value}`,
|
|
573
573
|
class: "sr-only"
|
|
574
|
-
}, [
|
|
575
|
-
fn.value?.rows?.length ? (
|
|
574
|
+
}, [p("p", null, S(N.value.a11y.translations.keyboardNavigation), 1)], 8, Le),
|
|
575
|
+
fn.value?.rows?.length ? (v(), u(ve, {
|
|
576
576
|
key: 0,
|
|
577
577
|
uid: D.value,
|
|
578
578
|
head: fn.value.headers,
|
|
@@ -585,22 +585,22 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
585
585
|
"body",
|
|
586
586
|
"notice",
|
|
587
587
|
"caption"
|
|
588
|
-
])) :
|
|
589
|
-
N.value.userOptions.buttons.annotator ? (
|
|
588
|
+
])) : d("", !0),
|
|
589
|
+
N.value.userOptions.buttons.annotator ? (v(), u(C(T), {
|
|
590
590
|
key: 1,
|
|
591
|
-
svgRef:
|
|
591
|
+
svgRef: C(F),
|
|
592
592
|
backgroundColor: N.value.style.backgroundColor,
|
|
593
593
|
color: N.value.style.color,
|
|
594
594
|
active: $.value,
|
|
595
595
|
isCursorPointer: P.value,
|
|
596
596
|
onClose: en
|
|
597
597
|
}, {
|
|
598
|
-
"annotator-action-close":
|
|
599
|
-
"annotator-action-color":
|
|
600
|
-
"annotator-action-draw":
|
|
601
|
-
"annotator-action-undo":
|
|
602
|
-
"annotator-action-redo":
|
|
603
|
-
"annotator-action-delete":
|
|
598
|
+
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
599
|
+
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
|
|
600
|
+
"annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
|
|
601
|
+
"annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
|
|
602
|
+
"annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
|
|
603
|
+
"annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
|
|
604
604
|
_: 3
|
|
605
605
|
}, 8, [
|
|
606
606
|
"svgRef",
|
|
@@ -608,20 +608,20 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
608
608
|
"color",
|
|
609
609
|
"active",
|
|
610
610
|
"isCursorPointer"
|
|
611
|
-
])) :
|
|
612
|
-
Et.value ? (
|
|
611
|
+
])) : d("", !0),
|
|
612
|
+
Et.value ? (v(), f("div", {
|
|
613
613
|
key: 2,
|
|
614
614
|
ref_key: "noTitle",
|
|
615
615
|
ref: ft,
|
|
616
616
|
class: "vue-data-ui-no-title-space",
|
|
617
617
|
style: "height:36px; width: 100%;background:transparent"
|
|
618
|
-
}, null, 512)) :
|
|
619
|
-
N.value.style.title.text ? (
|
|
618
|
+
}, null, 512)) : d("", !0),
|
|
619
|
+
N.value.style.title.text ? (v(), f("div", {
|
|
620
620
|
key: 3,
|
|
621
621
|
ref_key: "chartTitle",
|
|
622
622
|
ref: ut,
|
|
623
623
|
style: "width:100%;background:transparent"
|
|
624
|
-
}, [(
|
|
624
|
+
}, [(v(), u(me, {
|
|
625
625
|
key: `title_${pt.value}`,
|
|
626
626
|
config: {
|
|
627
627
|
title: {
|
|
@@ -633,14 +633,14 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
633
633
|
...N.value.style.title.subtitle
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
}, null, 8, ["config"]))], 512)) :
|
|
637
|
-
N.value.userOptions.show && ct.value && (
|
|
636
|
+
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
637
|
+
N.value.userOptions.show && ct.value && (C(bt) || C(vt)) ? (v(), u(C(nt), {
|
|
638
638
|
ref: "details",
|
|
639
639
|
key: `user_options_${lt.value}`,
|
|
640
640
|
backgroundColor: N.value.style.backgroundColor,
|
|
641
641
|
color: N.value.style.color,
|
|
642
|
-
isPrinting:
|
|
643
|
-
isImaging:
|
|
642
|
+
isPrinting: C(St),
|
|
643
|
+
isImaging: C(Ct),
|
|
644
644
|
uid: D.value,
|
|
645
645
|
hasPdf: N.value.userOptions.buttons.pdf,
|
|
646
646
|
hasImg: N.value.userOptions.buttons.img,
|
|
@@ -658,16 +658,16 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
658
658
|
printScale: N.value.userOptions.print.scale,
|
|
659
659
|
isCursorPointer: P.value,
|
|
660
660
|
onToggleFullscreen: $t,
|
|
661
|
-
onGeneratePdf:
|
|
661
|
+
onGeneratePdf: C(wt),
|
|
662
662
|
onGenerateImage: sn,
|
|
663
663
|
onGenerateSvg: on,
|
|
664
664
|
onToggleAnnotator: en,
|
|
665
665
|
onCopyAlt: cn,
|
|
666
|
-
style:
|
|
667
|
-
},
|
|
666
|
+
style: _({ visibility: C(bt) ? C(vt) ? "visible" : "hidden" : "visible" })
|
|
667
|
+
}, Ce({ _: 2 }, [
|
|
668
668
|
e.$slots.menuIcon ? {
|
|
669
669
|
name: "menuIcon",
|
|
670
|
-
fn:
|
|
670
|
+
fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
|
|
671
671
|
isOpen: t,
|
|
672
672
|
color: n
|
|
673
673
|
})), void 0, !0)]),
|
|
@@ -675,22 +675,22 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
675
675
|
} : void 0,
|
|
676
676
|
e.$slots.optionPdf ? {
|
|
677
677
|
name: "optionPdf",
|
|
678
|
-
fn:
|
|
678
|
+
fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
679
679
|
key: "1"
|
|
680
680
|
} : void 0,
|
|
681
681
|
e.$slots.optionImg ? {
|
|
682
682
|
name: "optionImg",
|
|
683
|
-
fn:
|
|
683
|
+
fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
684
684
|
key: "2"
|
|
685
685
|
} : void 0,
|
|
686
686
|
e.$slots.optionSvg ? {
|
|
687
687
|
name: "optionSvg",
|
|
688
|
-
fn:
|
|
688
|
+
fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
689
689
|
key: "3"
|
|
690
690
|
} : void 0,
|
|
691
691
|
e.$slots.optionFullscreen ? {
|
|
692
692
|
name: "optionFullscreen",
|
|
693
|
-
fn:
|
|
693
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
|
|
694
694
|
toggleFullscreen: t,
|
|
695
695
|
isFullscreen: n
|
|
696
696
|
})), void 0, !0)]),
|
|
@@ -698,7 +698,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
698
698
|
} : void 0,
|
|
699
699
|
e.$slots.optionAnnotator ? {
|
|
700
700
|
name: "optionAnnotator",
|
|
701
|
-
fn:
|
|
701
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
|
|
702
702
|
toggleAnnotator: t,
|
|
703
703
|
isAnnotator: n
|
|
704
704
|
})), void 0, !0)]),
|
|
@@ -706,17 +706,17 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
706
706
|
} : void 0,
|
|
707
707
|
e.$slots.optionAltCopy ? {
|
|
708
708
|
name: "optionAltCopy",
|
|
709
|
-
fn:
|
|
709
|
+
fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
|
|
710
710
|
key: "6"
|
|
711
711
|
} : void 0,
|
|
712
712
|
e.$slots["custom-menu-before"] ? {
|
|
713
713
|
name: "custom-menu-before",
|
|
714
|
-
fn:
|
|
714
|
+
fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
715
715
|
key: "7"
|
|
716
716
|
} : void 0,
|
|
717
717
|
e.$slots["custom-menu-after"] ? {
|
|
718
718
|
name: "custom-menu-after",
|
|
719
|
-
fn:
|
|
719
|
+
fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
720
720
|
key: "8"
|
|
721
721
|
} : void 0
|
|
722
722
|
]), 1032, [
|
|
@@ -741,12 +741,12 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
741
741
|
"isCursorPointer",
|
|
742
742
|
"onGeneratePdf",
|
|
743
743
|
"style"
|
|
744
|
-
])) :
|
|
745
|
-
|
|
744
|
+
])) : d("", !0),
|
|
745
|
+
p("div", Re, [(v(), f("svg", {
|
|
746
746
|
ref_key: "svgRef",
|
|
747
747
|
ref: F,
|
|
748
|
-
xmlns:
|
|
749
|
-
class:
|
|
748
|
+
xmlns: C(oe),
|
|
749
|
+
class: Oe([{
|
|
750
750
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
751
751
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
752
752
|
}, "relation-circle"]),
|
|
@@ -759,16 +759,16 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
759
759
|
onBlur: un,
|
|
760
760
|
onKeydown: dn
|
|
761
761
|
}, [
|
|
762
|
-
|
|
763
|
-
e.$slots["chart-background"] ? (
|
|
762
|
+
Te(C(rt)),
|
|
763
|
+
e.$slots["chart-background"] ? (v(), f("foreignObject", {
|
|
764
764
|
key: 0,
|
|
765
765
|
x: 0,
|
|
766
766
|
y: 0,
|
|
767
767
|
width: G.value.width <= 0 ? 10 : G.value.width,
|
|
768
768
|
height: G.value.height <= 0 ? 10 : G.value.height,
|
|
769
769
|
style: { pointerEvents: "none" }
|
|
770
|
-
}, [
|
|
771
|
-
|
|
770
|
+
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : d("", !0),
|
|
771
|
+
p("circle", {
|
|
772
772
|
cx: (G.value.width <= 0 ? 1e-4 : G.value.width) / 2,
|
|
773
773
|
cy: (G.value.height <= 0 ? 1e-4 : G.value.height) / 2 + N.value.style.circle.offsetY,
|
|
774
774
|
r: K.value <= 0 ? 1e-4 : K.value,
|
|
@@ -776,18 +776,18 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
776
776
|
"stroke-width": N.value.style.circle.strokeWidth,
|
|
777
777
|
fill: "transparent",
|
|
778
778
|
class: "main-circle"
|
|
779
|
-
}, null, 8,
|
|
780
|
-
kt.value ? (
|
|
779
|
+
}, null, 8, Ve),
|
|
780
|
+
kt.value ? (v(), f("g", He, [(v(!0), f(c, null, b(L.value, (e, t) => (v(), f("path", {
|
|
781
781
|
key: `relation_${t}`,
|
|
782
|
-
style:
|
|
782
|
+
style: _(Ut(e)),
|
|
783
783
|
stroke: Y(e),
|
|
784
|
-
class:
|
|
784
|
+
class: Oe(["relation", { "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }]),
|
|
785
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
786
|
fill: "none",
|
|
787
787
|
"stroke-width": Qt(e),
|
|
788
788
|
"stroke-linecap": "round"
|
|
789
|
-
}, null, 14,
|
|
790
|
-
X(t) ?
|
|
789
|
+
}, null, 14, Ue))), 128)), (v(!0), f(c, null, b(L.value, (t, n) => (v(), f("g", We, [
|
|
790
|
+
X(t) ? x(e.$slots, "dataLabel", Ee({
|
|
791
791
|
key: 0,
|
|
792
792
|
ref_for: !0
|
|
793
793
|
}, {
|
|
@@ -796,8 +796,8 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
796
796
|
color: Y(t),
|
|
797
797
|
weight: t.weight,
|
|
798
798
|
fontSize: H.value
|
|
799
|
-
}), void 0, !0) :
|
|
800
|
-
X(t) && !e.$slots.dataLabel ? (
|
|
799
|
+
}), void 0, !0) : d("", !0),
|
|
800
|
+
X(t) && !e.$slots.dataLabel ? (v(), f("circle", {
|
|
801
801
|
key: 1,
|
|
802
802
|
cx: t.midPointBezier.x,
|
|
803
803
|
cy: t.midPointBezier.y,
|
|
@@ -805,33 +805,33 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
805
805
|
r: H.value,
|
|
806
806
|
stroke: N.value.style.backgroundColor,
|
|
807
807
|
"stroke-width": "1"
|
|
808
|
-
}, null, 8,
|
|
809
|
-
X(t) && !e.$slots.dataLabel ? (
|
|
808
|
+
}, null, 8, Ge)) : d("", !0),
|
|
809
|
+
X(t) && !e.$slots.dataLabel ? (v(), f("text", {
|
|
810
810
|
key: 2,
|
|
811
811
|
x: t.midPointBezier.x,
|
|
812
812
|
y: t.midPointBezier.y + H.value / 3,
|
|
813
|
-
fill:
|
|
813
|
+
fill: C(ae)(Y(t)),
|
|
814
814
|
"text-anchor": "middle",
|
|
815
815
|
"font-size": H.value
|
|
816
|
-
}, C(
|
|
816
|
+
}, S(C(re)(N.value.style.weightLabels.formatter, t.weight, C(i)({
|
|
817
817
|
p: N.value.style.weightLabels.prefix,
|
|
818
818
|
v: t.weight,
|
|
819
819
|
s: N.value.style.weightLabels.suffix,
|
|
820
820
|
r: N.value.style.weightLabels.rounding
|
|
821
|
-
}), { ...t })), 9,
|
|
822
|
-
]))), 256))])) : (
|
|
821
|
+
}), { ...t })), 9, Ke)) : d("", !0)
|
|
822
|
+
]))), 256))])) : (v(), f("g", qe, [(v(!0), f(c, null, b(L.value, (e, t) => (v(), f("line", {
|
|
823
823
|
key: `relation_${t}`,
|
|
824
824
|
stroke: Y(e),
|
|
825
825
|
"stroke-width": Qt(e),
|
|
826
|
-
style:
|
|
826
|
+
style: _(Ut(e)),
|
|
827
827
|
x1: e.x1,
|
|
828
828
|
x2: e.x2,
|
|
829
829
|
y1: e.y1,
|
|
830
830
|
y2: e.y2,
|
|
831
|
-
class:
|
|
831
|
+
class: Oe({ "vue-ui-relation-circle-selected": R.value.hasOwnProperty("id") && z.value.includes(e.id) }),
|
|
832
832
|
"stroke-linecap": "round"
|
|
833
|
-
}, null, 14,
|
|
834
|
-
X(t) ?
|
|
833
|
+
}, null, 14, Je))), 128)), (v(!0), f(c, null, b(L.value, (t, n) => (v(), f("g", Ye, [
|
|
834
|
+
X(t) ? x(e.$slots, "dataLabel", Ee({
|
|
835
835
|
key: 0,
|
|
836
836
|
ref_for: !0
|
|
837
837
|
}, {
|
|
@@ -840,8 +840,8 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
840
840
|
color: Y(t),
|
|
841
841
|
weight: t.weight,
|
|
842
842
|
fontSize: H.value
|
|
843
|
-
}), void 0, !0) :
|
|
844
|
-
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (
|
|
843
|
+
}), void 0, !0) : d("", !0),
|
|
844
|
+
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (v(), f("circle", {
|
|
845
845
|
key: 1,
|
|
846
846
|
cx: t.midPointLine.x,
|
|
847
847
|
cy: t.midPointLine.y,
|
|
@@ -849,22 +849,22 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
849
849
|
r: H.value,
|
|
850
850
|
stroke: N.value.style.backgroundColor,
|
|
851
851
|
"stroke-width": "1"
|
|
852
|
-
}, null, 8,
|
|
853
|
-
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (
|
|
852
|
+
}, null, 8, Xe)) : d("", !0),
|
|
853
|
+
X(t) && !e.$slots.dataLabel && N.value.style.weightLabels.show ? (v(), f("text", {
|
|
854
854
|
key: 2,
|
|
855
855
|
x: t.midPointLine.x,
|
|
856
856
|
y: t.midPointLine.y + H.value / 3,
|
|
857
|
-
fill:
|
|
857
|
+
fill: C(ae)(Y(t)),
|
|
858
858
|
"text-anchor": "middle",
|
|
859
859
|
"font-size": H.value
|
|
860
|
-
}, C(
|
|
860
|
+
}, S(C(re)(N.value.style.weightLabels.formatter, t.weight, C(i)({
|
|
861
861
|
p: N.value.style.weightLabels.prefix,
|
|
862
862
|
v: t.weight,
|
|
863
863
|
s: N.value.style.weightLabels.suffix,
|
|
864
864
|
r: N.value.style.weightLabels.rounding
|
|
865
|
-
}), { ...t })), 9,
|
|
865
|
+
}), { ...t })), 9, Ze)) : d("", !0)
|
|
866
866
|
]))), 256))])),
|
|
867
|
-
(
|
|
867
|
+
(v(!0), f(c, null, b(I.value, (e, t) => (v(), f("text", {
|
|
868
868
|
key: `plot_text_${t}`,
|
|
869
869
|
"text-anchor": Wt(e),
|
|
870
870
|
transform: qt(e),
|
|
@@ -873,24 +873,24 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
873
873
|
class: "vue-ui-relation-circle-legend",
|
|
874
874
|
"transform-origin": "start",
|
|
875
875
|
"font-weight": R.value.id === e.id ? "900" : "400",
|
|
876
|
-
style:
|
|
876
|
+
style: _(`font-family:${N.value.style.fontFamily};${Kt(e)};cursor:${P.value ? "pointer" : "default"}`),
|
|
877
877
|
"font-size": W.value,
|
|
878
878
|
fill: N.value.style.labels.color,
|
|
879
879
|
"text-decoration": t === Z.value || t === j.value ? "underline" : void 0,
|
|
880
880
|
onClick: (n) => Zt(e, t),
|
|
881
881
|
onMouseenter: (n) => Jt(e, t),
|
|
882
882
|
onMouseleave: (n) => Yt(e, t)
|
|
883
|
-
}, [
|
|
883
|
+
}, [C(ht) ? (v(), f(c, { key: 0 }, [we("--------")], 64)) : (v(), f(c, { key: 1 }, [we(S(e.label) + " (" + S(C(re)(N.value.style.weightLabels.formatter, e.totalWeight, C(i)({
|
|
884
884
|
p: N.value.style.weightLabels.prefix,
|
|
885
885
|
v: e.totalWeight,
|
|
886
886
|
s: N.value.style.weightLabels.suffix,
|
|
887
887
|
r: N.value.style.weightLabels.rounding
|
|
888
|
-
}), { ...e })) + ") ", 1)], 64))], 44,
|
|
889
|
-
(
|
|
888
|
+
}), { ...e })) + ") ", 1)], 64))], 44, Qe))), 128)),
|
|
889
|
+
(v(!0), f(c, null, b(I.value, (e, t) => (v(), f("circle", {
|
|
890
890
|
cx: e.x,
|
|
891
891
|
cy: e.y,
|
|
892
892
|
key: `plot_${t}`,
|
|
893
|
-
style:
|
|
893
|
+
style: _(`${Ht(e)}; transition: r 0.2s ease-in-out; cursor:${P.value ? "pointer" : "default"}`),
|
|
894
894
|
class: "vue-ui-relation-circle-plot",
|
|
895
895
|
fill: N.value.style.plot.useSerieColor ? e.color : N.value.style.plot.color,
|
|
896
896
|
stroke: N.value.style.backgroundColor,
|
|
@@ -899,26 +899,26 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
899
899
|
onClick: (n) => Zt(e, t),
|
|
900
900
|
onMouseenter: (n) => Jt(e, t),
|
|
901
901
|
onMouseleave: (n) => Yt(e, t)
|
|
902
|
-
}, null, 44,
|
|
903
|
-
|
|
902
|
+
}, null, 44, $e))), 128)),
|
|
903
|
+
x(e.$slots, "svg", { svg: {
|
|
904
904
|
...G.value,
|
|
905
|
-
isPrintingImg:
|
|
905
|
+
isPrintingImg: C(St) || C(Ct) || k.value,
|
|
906
906
|
isPrintingSvg: A.value
|
|
907
907
|
} }, void 0, !0)
|
|
908
|
-
], 42,
|
|
908
|
+
], 42, ze)), e.$slots.hint ? (v(), f("div", et, [x(e.$slots, "hint", g(h({
|
|
909
909
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
910
910
|
isVisible: M.value
|
|
911
|
-
})), void 0, !0)])) :
|
|
912
|
-
e.$slots.watermark ? (
|
|
913
|
-
e.$slots.source ? (
|
|
911
|
+
})), void 0, !0)])) : d("", !0)]),
|
|
912
|
+
e.$slots.watermark ? (v(), f("div", tt, [x(e.$slots, "watermark", g(h({ isPrinting: C(St) || C(Ct) || k.value || A.value })), void 0, !0)])) : d("", !0),
|
|
913
|
+
e.$slots.source ? (v(), f("div", {
|
|
914
914
|
key: 6,
|
|
915
915
|
ref_key: "source",
|
|
916
916
|
ref: dt,
|
|
917
917
|
dir: "auto"
|
|
918
|
-
}, [
|
|
919
|
-
|
|
920
|
-
], 44,
|
|
918
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
919
|
+
x(e.$slots, "skeleton", {}, () => [C(ht) ? (v(), u(ue, { key: 0 })) : d("", !0)], !0)
|
|
920
|
+
], 44, Ie));
|
|
921
921
|
}
|
|
922
922
|
}, [["__scopeId", "data-v-dc8435a4"]]);
|
|
923
923
|
//#endregion
|
|
924
|
-
export {
|
|
924
|
+
export { Fe as n, T as t };
|