vue-data-ui 3.25.7 → 3.25.9
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/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
- package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.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-kpi.js +1 -1
- package/dist/components/vue-ui-label.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/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
- package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
- 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 +2 -0
- package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
- package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
- package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
- package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
- package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
- package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
- package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
- package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
- package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
- package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
- package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
- package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
- package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
- package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
- package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
- package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
- package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
- package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
- package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
- package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
- package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
- package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
- package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
- package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
- package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
- package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
- package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
- package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
- package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
- package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
- package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
- package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
- package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
- package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
- package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
- package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
- package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
- package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
- package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
- package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
- package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
- package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
- package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
- package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
- package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
- package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
- package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
- package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
- package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
- package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
- package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
- package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
- package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
- package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
- package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
- package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
- package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
- package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
- package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
- package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
- package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
- package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
- package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
- package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
- package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
- package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
- package/package.json +1 -1
- package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
- package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
- package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
- package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
- package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
- package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
- package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
- package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
- package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ct as t, Jt as n, S as r,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
12
|
-
import { t as
|
|
13
|
-
import { l as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { Fragment as
|
|
2
|
+
import { Ct as t, Jt as n, S as r, Z as i, Zt as a, q as o, t as s } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as c } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as l } from "./useConfig-D32D002m.js";
|
|
5
|
+
import { t as u } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as d, t as f } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as p } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ee } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as te } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as ne } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as re } from "./Title-CPHi-evi.js";
|
|
12
|
+
import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { l as ae, t as oe } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
+
import { t as se } from "./A11yDataTable-DdRsVULz.js";
|
|
15
|
+
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as le } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as ue } from "./usePanZoom-CYU3B4T3.js";
|
|
18
|
+
import { t as de } from "./BaseZoomControls-BTzjVDPM.js";
|
|
19
|
+
import { t as fe } from "./geoProjections-CEo3dVaL.js";
|
|
20
|
+
import { t as pe } from "./vue_ui_geo-B8TODs-G.js";
|
|
21
|
+
import { Fragment as me, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as he, createVNode as ge, defineAsyncComponent as _e, guardReactiveProps as y, mergeProps as ve, nextTick as ye, normalizeClass as be, normalizeProps as b, normalizeStyle as xe, onBeforeUnmount as Se, onMounted as Ce, openBlock as x, ref as S, renderList as we, renderSlot as C, toDisplayString as Te, toRefs as Ee, unref as w, watch as De, withCtx as T } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-geo.vue
|
|
23
|
-
var
|
|
23
|
+
var Oe = /* @__PURE__ */ e({ default: () => He }), ke = ["id"], Ae = ["id"], je = { style: { position: "relative" } }, Me = [
|
|
24
24
|
"xmlns",
|
|
25
25
|
"viewBox",
|
|
26
26
|
"aria-describedby",
|
|
27
27
|
"id"
|
|
28
|
-
],
|
|
28
|
+
], Ne = ["transform"], Pe = [
|
|
29
29
|
"d",
|
|
30
30
|
"fill",
|
|
31
31
|
"stroke",
|
|
@@ -33,14 +33,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
33
33
|
"onMouseenter",
|
|
34
34
|
"onMouseleave",
|
|
35
35
|
"onClick"
|
|
36
|
-
],
|
|
36
|
+
], Fe = [
|
|
37
37
|
"d",
|
|
38
38
|
"stroke",
|
|
39
39
|
"stroke-width",
|
|
40
40
|
"onMouseenter",
|
|
41
41
|
"onMouseleave",
|
|
42
42
|
"onClick"
|
|
43
|
-
],
|
|
43
|
+
], Ie = [
|
|
44
44
|
"cx",
|
|
45
45
|
"cy",
|
|
46
46
|
"r",
|
|
@@ -48,7 +48,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
48
48
|
"stroke",
|
|
49
49
|
"stroke-width",
|
|
50
50
|
"onMouseenter"
|
|
51
|
-
],
|
|
51
|
+
], Le = [
|
|
52
52
|
"cx",
|
|
53
53
|
"cy",
|
|
54
54
|
"r",
|
|
@@ -58,12 +58,12 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
58
58
|
"onMouseenter",
|
|
59
59
|
"onMouseleave",
|
|
60
60
|
"onClick"
|
|
61
|
-
],
|
|
61
|
+
], Re = [
|
|
62
62
|
"x",
|
|
63
63
|
"y",
|
|
64
64
|
"fill",
|
|
65
65
|
"font-size"
|
|
66
|
-
],
|
|
66
|
+
], ze = {
|
|
67
67
|
key: 0,
|
|
68
68
|
style: {
|
|
69
69
|
position: "absolute",
|
|
@@ -73,10 +73,10 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
73
73
|
},
|
|
74
74
|
"data-dom-to-png-ignore": "",
|
|
75
75
|
"aria-hidden": "true"
|
|
76
|
-
},
|
|
76
|
+
}, Be = {
|
|
77
77
|
key: 6,
|
|
78
78
|
class: "vue-data-ui-watermark"
|
|
79
|
-
},
|
|
79
|
+
}, Ve = 1.5, He = /*#__PURE__*/ ie({
|
|
80
80
|
__name: "vue-ui-geo",
|
|
81
81
|
props: {
|
|
82
82
|
config: {
|
|
@@ -93,32 +93,32 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
emits: ["copyAlt"],
|
|
96
|
-
setup(e, { expose:
|
|
97
|
-
let
|
|
96
|
+
setup(e, { expose: ie, emit: Oe }) {
|
|
97
|
+
let He = _e(() => import("./Tooltip-hhrkQ3Lk.js")), Ue = _e(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), We = _e(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ge = _e(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), E = e, Ke = Oe, { vue_ui_geo: qe } = l(), { isThemeValid: Je, warnInvalidTheme: Ye } = ee(), D = S(o()), Xe = S(0), Ze = S(0), O = S(null), k = S(!1), Qe = S(null), $e = S(null), et = S(null), tt = S(null), A = S(null), j = S(null), nt = S(null), rt = S(null), M = S(null), it = S({
|
|
98
98
|
x: 0,
|
|
99
99
|
y: 0
|
|
100
|
-
}), N = S("pointer"),
|
|
101
|
-
function
|
|
102
|
-
P.value = e,
|
|
100
|
+
}), N = S("pointer"), at = S(!1), P = S(!1);
|
|
101
|
+
function ot(e) {
|
|
102
|
+
P.value = e, Xe.value += 1;
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
let e =
|
|
104
|
+
function st() {
|
|
105
|
+
let e = p({
|
|
106
106
|
userConfig: E.config,
|
|
107
|
-
defaultConfig:
|
|
107
|
+
defaultConfig: qe
|
|
108
108
|
}), t = e.theme;
|
|
109
109
|
if (!t) return e;
|
|
110
|
-
if (!
|
|
111
|
-
let n =
|
|
112
|
-
userConfig:
|
|
110
|
+
if (!Je.value(e)) return Ye(e), e;
|
|
111
|
+
let n = p({
|
|
112
|
+
userConfig: pe[t] || E.config,
|
|
113
113
|
defaultConfig: e
|
|
114
114
|
});
|
|
115
|
-
return
|
|
115
|
+
return p({
|
|
116
116
|
userConfig: E.config,
|
|
117
117
|
defaultConfig: n
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
let F = S(
|
|
121
|
-
|
|
120
|
+
let F = S(st()), ct = m(() => F.value.style.chart.points.labels), I = m(() => F.value.style.chart.points), L = m(() => F.value.style.chart);
|
|
121
|
+
c({
|
|
122
122
|
config: () => F.value,
|
|
123
123
|
dataset: () => E.dataset,
|
|
124
124
|
component: "VueUiGeo",
|
|
@@ -131,7 +131,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
131
131
|
]
|
|
132
132
|
}]
|
|
133
133
|
});
|
|
134
|
-
let
|
|
134
|
+
let lt = m(() => F.value.userOptions.useCursorPointer), { userOptionsVisible: ut, keepUserOptionState: dt } = ce({ config: F.value }), { svgRef: R } = le({ config: L.value.title }), ft = m(() => a({
|
|
135
135
|
defaultConfig: {
|
|
136
136
|
map: { geoJson: {
|
|
137
137
|
type: "FeatureCollection",
|
|
@@ -205,59 +205,71 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
205
205
|
} }
|
|
206
206
|
},
|
|
207
207
|
userConfig: F.value.skeletonConfig ?? {}
|
|
208
|
-
})), { loading:
|
|
209
|
-
...
|
|
208
|
+
})), { loading: pt, FINAL_DATASET: mt } = d({
|
|
209
|
+
...Ee(E),
|
|
210
210
|
FINAL_CONFIG: F,
|
|
211
|
-
prepareConfig:
|
|
211
|
+
prepareConfig: st,
|
|
212
212
|
allowEmptyDataset: !0,
|
|
213
213
|
skeletonDataset: E.config?.skeletonDataset ?? [],
|
|
214
|
-
skeletonConfig:
|
|
214
|
+
skeletonConfig: a({
|
|
215
215
|
defaultConfig: F.value,
|
|
216
|
-
userConfig:
|
|
216
|
+
userConfig: ft.value
|
|
217
217
|
})
|
|
218
|
-
}), { isPrinting:
|
|
218
|
+
}), { isPrinting: ht, isImaging: gt, generatePdf: _t, generateImage: vt } = u({
|
|
219
219
|
elementId: `vue-ui-geo_${D.value}`,
|
|
220
220
|
fileName: L.value.title.text || "vue-ui-geo",
|
|
221
221
|
options: F.value.userOptions.print
|
|
222
|
-
}),
|
|
223
|
-
function
|
|
222
|
+
}), yt = m(() => L.value.controls.show ? L.value.controls.position === "top" ? nt.value?.$el ?? null : L.value.controls.position === "bottom" ? rt.value?.$el ?? null : null : null);
|
|
223
|
+
function bt() {
|
|
224
224
|
A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect(), A.value = null, j.value = null);
|
|
225
225
|
}
|
|
226
226
|
let z = m(() => !!F.value.responsive && !P.value);
|
|
227
|
-
|
|
227
|
+
De(() => P.value, async (e) => {
|
|
228
228
|
if (e) {
|
|
229
|
-
|
|
230
|
-
k.value ||
|
|
229
|
+
bt(), H.value = Number(L.value.dimensions.width) || H.value, U.value = Number(L.value.dimensions.height) || U.value, await ye(), k.value = !1, requestAnimationFrame(() => {
|
|
230
|
+
k.value || on();
|
|
231
231
|
});
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
|
-
F.value.responsive && (await
|
|
234
|
+
F.value.responsive && (await ye(), xt());
|
|
235
235
|
});
|
|
236
|
-
function
|
|
237
|
-
if (
|
|
238
|
-
let e =
|
|
236
|
+
function xt() {
|
|
237
|
+
if (bt(), !z.value) return;
|
|
238
|
+
let e = ae(() => {
|
|
239
239
|
if (!O.value) return;
|
|
240
|
-
let { width: e, height: t } =
|
|
240
|
+
let { width: e, height: t } = oe({
|
|
241
241
|
chart: O.value,
|
|
242
|
-
noTitle:
|
|
243
|
-
title: L.value.title.text ?
|
|
244
|
-
legend:
|
|
245
|
-
source:
|
|
242
|
+
noTitle: St.value ? et.value : null,
|
|
243
|
+
title: L.value.title.text ? $e.value : null,
|
|
244
|
+
legend: yt.value,
|
|
245
|
+
source: tt.value
|
|
246
246
|
});
|
|
247
247
|
requestAnimationFrame(() => {
|
|
248
|
-
|
|
248
|
+
H.value = Math.max(.1, Number(e) || .1), U.value = Math.max(.1, Number(t) || .1) - 24;
|
|
249
249
|
});
|
|
250
250
|
});
|
|
251
251
|
A.value = new ResizeObserver(e), j.value = O.value ? O.value.parentNode : null, j.value && A.value.observe(j.value), e();
|
|
252
252
|
}
|
|
253
|
-
let
|
|
254
|
-
|
|
255
|
-
|
|
253
|
+
let St = m(() => F.value.userOptions.show && !L.value.title.text), B = S({ showTooltip: L.value.tooltip.show }), V = S(L.value.zoom.active);
|
|
254
|
+
function Ct(e) {
|
|
255
|
+
let t = i(e);
|
|
256
|
+
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
257
|
+
}
|
|
258
|
+
let wt = Ct(E.config);
|
|
259
|
+
De(() => E.config, (e, t) => {
|
|
260
|
+
let n = Ct(e), r = n !== wt;
|
|
261
|
+
wt = n;
|
|
262
|
+
let i = st();
|
|
263
|
+
if (!r) {
|
|
264
|
+
F.value.style.chart.tooltip = i.style.chart.tooltip, B.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
F.value = i, B.value.showTooltip = L.value.tooltip.show, V.value = L.value.zoom.active, H.value = L.value.dimensions.width, U.value = L.value.dimensions.height, xt(), Ze.value += 1, Xe.value += 1;
|
|
256
268
|
}, { deep: !0 });
|
|
257
|
-
let { projections:
|
|
258
|
-
let e =
|
|
259
|
-
return typeof e == "function" ? e :
|
|
260
|
-
}),
|
|
269
|
+
let { projections: Tt } = fe, Et = m(() => F.value?.projection || "equirectangular"), Dt = m(() => {
|
|
270
|
+
let e = Tt?.[Et.value];
|
|
271
|
+
return typeof e == "function" ? e : Tt.equirectangular;
|
|
272
|
+
}), Ot = m(() => F.value.map.geoJson ?? null), kt = {
|
|
261
273
|
aitoff: {
|
|
262
274
|
width: 1e3,
|
|
263
275
|
height: 500
|
|
@@ -310,14 +322,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
310
322
|
width: 1e3,
|
|
311
323
|
height: 1e3
|
|
312
324
|
}
|
|
313
|
-
},
|
|
314
|
-
let e =
|
|
325
|
+
}, H = S(L.value.dimensions.width), U = S(L.value.dimensions.height), At = m(() => {
|
|
326
|
+
let e = kt[Et.value] || kt.equirectangular;
|
|
315
327
|
return {
|
|
316
328
|
width: e.width,
|
|
317
329
|
height: e.height
|
|
318
330
|
};
|
|
319
|
-
}),
|
|
320
|
-
let e =
|
|
331
|
+
}), W = m(() => {
|
|
332
|
+
let e = At.value, t = H.value, n = U.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
|
|
321
333
|
return r && i ? {
|
|
322
334
|
width: t,
|
|
323
335
|
height: n
|
|
@@ -331,16 +343,16 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
331
343
|
width: e.width,
|
|
332
344
|
height: e.height
|
|
333
345
|
};
|
|
334
|
-
}),
|
|
346
|
+
}), jt = m(() => {
|
|
335
347
|
let e = F.value?.map?.center, t = [0, 0];
|
|
336
348
|
if (!Array.isArray(e) || e.length !== 2) return t;
|
|
337
349
|
let n = Number(e[0]), r = Number(e[1]);
|
|
338
350
|
return !Number.isFinite(n) || !Number.isFinite(r) ? t : [n, r];
|
|
339
351
|
});
|
|
340
|
-
function
|
|
341
|
-
return
|
|
352
|
+
function G([e, t]) {
|
|
353
|
+
return Dt.value([e, t], At.value.width, At.value.height, jt.value);
|
|
342
354
|
}
|
|
343
|
-
function
|
|
355
|
+
function Mt(e, t = {}) {
|
|
344
356
|
let { defaultName: n = "", namePropertyCandidates: r = [
|
|
345
357
|
"name",
|
|
346
358
|
"nom",
|
|
@@ -454,7 +466,7 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
454
466
|
features: f
|
|
455
467
|
};
|
|
456
468
|
}
|
|
457
|
-
function
|
|
469
|
+
function Nt(e) {
|
|
458
470
|
let t = Array.isArray(e?.features) ? e.features : [];
|
|
459
471
|
function n(e) {
|
|
460
472
|
if (!e || typeof e != "object") return "";
|
|
@@ -492,18 +504,18 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
492
504
|
};
|
|
493
505
|
});
|
|
494
506
|
}
|
|
495
|
-
let
|
|
507
|
+
let Pt = m(() => Mt(Ot.value, {
|
|
496
508
|
defaultName: "",
|
|
497
509
|
includeNullGeometries: !1
|
|
498
|
-
})),
|
|
499
|
-
function
|
|
510
|
+
})), Ft = m(() => Nt(Pt.value));
|
|
511
|
+
function It(e) {
|
|
500
512
|
if (!e || typeof e.type != "string") return "";
|
|
501
|
-
if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) =>
|
|
513
|
+
if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => It(e)).filter(Boolean).join(" ");
|
|
502
514
|
let t = (e) => {
|
|
503
515
|
if (!Array.isArray(e) || e.length < 2) return null;
|
|
504
516
|
let t = Number(e[0]), n = Number(e[1]);
|
|
505
517
|
if (!Number.isFinite(t) || !Number.isFinite(n)) return null;
|
|
506
|
-
let r =
|
|
518
|
+
let r = G([t, n]);
|
|
507
519
|
if (!Array.isArray(r) || r.length < 2) return null;
|
|
508
520
|
let i = Number(r[0]), a = Number(r[1]);
|
|
509
521
|
return !Number.isFinite(i) || !Number.isFinite(a) ? null : [i, a];
|
|
@@ -516,34 +528,34 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
516
528
|
}).filter(Boolean).join(" ");
|
|
517
529
|
return e.type === "Polygon" ? r(e.coordinates) : e.type === "MultiPolygon" ? (e.coordinates || []).map(r).filter(Boolean).join(" ") : e.type === "LineString" ? n(e.coordinates) : e.type === "MultiLineString" ? (e.coordinates || []).map(n).filter(Boolean).join(" ") : "";
|
|
518
530
|
}
|
|
519
|
-
function
|
|
520
|
-
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) =>
|
|
531
|
+
function Lt(e) {
|
|
532
|
+
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((e) => Lt(e)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" && Array.isArray(e.coordinates) ? e.coordinates : [] : [];
|
|
521
533
|
}
|
|
522
|
-
function
|
|
523
|
-
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) =>
|
|
534
|
+
function Rt(e) {
|
|
535
|
+
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Rt(e)) : e.type === "Point" || e.type === "MultiPoint";
|
|
524
536
|
}
|
|
525
|
-
let
|
|
537
|
+
let zt = m(() => Ft.value.filter((e) => {
|
|
526
538
|
let t = e.geometry;
|
|
527
539
|
return t ? t.type === "GeometryCollection" ? (Array.isArray(t.geometries) ? t.geometries : []).some((e) => e?.type === "Polygon" || e?.type === "MultiPolygon") : t.type === "Polygon" || t.type === "MultiPolygon" : !1;
|
|
528
|
-
})),
|
|
540
|
+
})), Bt = m(() => Ft.value.filter((e) => {
|
|
529
541
|
let t = e.geometry;
|
|
530
542
|
return t ? t.type === "GeometryCollection" ? (Array.isArray(t.geometries) ? t.geometries : []).some((e) => e?.type === "LineString" || e?.type === "MultiLineString") : t.type === "LineString" || t.type === "MultiLineString" : !1;
|
|
531
|
-
})),
|
|
543
|
+
})), Vt = m(() => Ft.value.filter((e) => {
|
|
532
544
|
let t = e.geometry;
|
|
533
|
-
return t ?
|
|
534
|
-
})),
|
|
535
|
-
let t =
|
|
545
|
+
return t ? Rt(t) : !1;
|
|
546
|
+
})), Ht = m(() => zt.value.map((e) => {
|
|
547
|
+
let t = It(e.geometry);
|
|
536
548
|
return t ? {
|
|
537
549
|
...e,
|
|
538
550
|
path: t
|
|
539
551
|
} : null;
|
|
540
|
-
}).filter(Boolean)),
|
|
541
|
-
let t =
|
|
552
|
+
}).filter(Boolean)), Ut = m(() => Bt.value.map((e) => {
|
|
553
|
+
let t = It(e.geometry);
|
|
542
554
|
return t ? {
|
|
543
555
|
...e,
|
|
544
556
|
path: t
|
|
545
557
|
} : null;
|
|
546
|
-
}).filter(Boolean)),
|
|
558
|
+
}).filter(Boolean)), Wt = m(() => {
|
|
547
559
|
let e = [];
|
|
548
560
|
function t(e = {}) {
|
|
549
561
|
let t = e?.style && typeof e.style == "object" ? e.style : {}, n = e.radius ?? e.r ?? t.radius ?? t.r, i = e.color ?? e.fill ?? t.color ?? t.fill, a = e.stroke ?? t.stroke, o = e.strokeWidth ?? e.stroke_width ?? t.strokeWidth ?? t.stroke_width;
|
|
@@ -554,14 +566,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
554
566
|
strokeWidth: Number.isFinite(Number(o)) ? Number(o) : Number(I.value.strokeWidth)
|
|
555
567
|
};
|
|
556
568
|
}
|
|
557
|
-
for (let n of
|
|
558
|
-
let r =
|
|
569
|
+
for (let n of Vt.value) {
|
|
570
|
+
let r = Lt(n.geometry);
|
|
559
571
|
for (let i = 0; i < r.length; i += 1) {
|
|
560
572
|
let a = r[i];
|
|
561
573
|
if (!Array.isArray(a) || a.length < 2) continue;
|
|
562
574
|
let o = Number(a[0]), s = Number(a[1]);
|
|
563
575
|
if (!Number.isFinite(o) || !Number.isFinite(s)) continue;
|
|
564
|
-
let c =
|
|
576
|
+
let c = G([o, s]), l = c?.[0], u = c?.[1];
|
|
565
577
|
if (!Number.isFinite(l) || !Number.isFinite(u)) continue;
|
|
566
578
|
let d = t(n?.feature?.properties && typeof n.feature.properties == "object" ? n.feature.properties : {});
|
|
567
579
|
e.push({
|
|
@@ -578,13 +590,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
578
590
|
}
|
|
579
591
|
return e;
|
|
580
592
|
});
|
|
581
|
-
function
|
|
593
|
+
function Gt(e) {
|
|
582
594
|
if (!e || typeof e.type != "string") return [];
|
|
583
595
|
let t = [], n = (e) => {
|
|
584
596
|
if (!Array.isArray(e) || e.length < 2) return;
|
|
585
597
|
let n = Number(e[0]), r = Number(e[1]);
|
|
586
598
|
if (!Number.isFinite(n) || !Number.isFinite(r)) return;
|
|
587
|
-
let i =
|
|
599
|
+
let i = G([n, r]), a = i?.[0], o = i?.[1];
|
|
588
600
|
!Number.isFinite(a) || !Number.isFinite(o) || t.push([a, o]);
|
|
589
601
|
}, r = (e) => {
|
|
590
602
|
if (Array.isArray(e)) {
|
|
@@ -596,14 +608,14 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
596
608
|
}
|
|
597
609
|
};
|
|
598
610
|
if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
|
|
599
|
-
for (let n of e.geometries) t.push(...
|
|
611
|
+
for (let n of e.geometries) t.push(...Gt(n));
|
|
600
612
|
return t;
|
|
601
613
|
}
|
|
602
614
|
return e.type === "Point" ? (n(e.coordinates), t) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(n), t) : (r(e.coordinates), t);
|
|
603
615
|
}
|
|
604
|
-
function
|
|
616
|
+
function Kt(e) {
|
|
605
617
|
let t = [];
|
|
606
|
-
for (let n of e) t.push(...
|
|
618
|
+
for (let n of e) t.push(...Gt(n.geometry));
|
|
607
619
|
if (!t.length) return null;
|
|
608
620
|
let n = Infinity, r = Infinity, i = -Infinity, a = -Infinity;
|
|
609
621
|
for (let [e, o] of t) e < n && (n = e), o < r && (r = o), e > i && (i = e), o > a && (a = o);
|
|
@@ -617,8 +629,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
617
629
|
height: s
|
|
618
630
|
};
|
|
619
631
|
}
|
|
620
|
-
let
|
|
621
|
-
function
|
|
632
|
+
let qt = m(() => Kt(Ft.value));
|
|
633
|
+
function Jt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
|
|
622
634
|
if (!e || !(e.width > 0) || !(e.height > 0)) return {
|
|
623
635
|
scale: 1,
|
|
624
636
|
translateX: 0,
|
|
@@ -633,8 +645,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
633
645
|
transform: `translate(${ee} ${te}) scale(${l})`
|
|
634
646
|
};
|
|
635
647
|
}
|
|
636
|
-
let
|
|
637
|
-
let e =
|
|
648
|
+
let Yt = m(() => {
|
|
649
|
+
let e = qt.value;
|
|
638
650
|
if (!e) return {
|
|
639
651
|
scale: 1,
|
|
640
652
|
translateX: 0,
|
|
@@ -642,44 +654,44 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
642
654
|
transform: ""
|
|
643
655
|
};
|
|
644
656
|
let t = F.value?.map?.fitPadding, n = Number.isFinite(Number(t)) ? Number(t) : 0;
|
|
645
|
-
return
|
|
657
|
+
return Jt({
|
|
646
658
|
bounds: e,
|
|
647
|
-
targetWidth:
|
|
648
|
-
targetHeight:
|
|
659
|
+
targetWidth: W.value.width,
|
|
660
|
+
targetHeight: W.value.height,
|
|
649
661
|
padding: n
|
|
650
662
|
});
|
|
651
|
-
}),
|
|
663
|
+
}), Xt = m(() => `0 0 ${W.value.width} ${W.value.height}`), { viewBox: Zt, resetZoom: Qt, setInitialViewBox: $t, scale: en, zoomByFactor: tn } = ue(R, {
|
|
652
664
|
x: 0,
|
|
653
665
|
y: 0,
|
|
654
|
-
width:
|
|
655
|
-
height:
|
|
656
|
-
}, 1,
|
|
657
|
-
function
|
|
658
|
-
|
|
666
|
+
width: W.value.width,
|
|
667
|
+
height: W.value.height
|
|
668
|
+
}, 1, V);
|
|
669
|
+
function nn() {
|
|
670
|
+
V.value = !V.value;
|
|
659
671
|
}
|
|
660
|
-
function
|
|
661
|
-
let t =
|
|
672
|
+
function rn(e) {
|
|
673
|
+
let t = Yt.value, n = Number(t?.scale) || 1, r = Number(t?.translateX) || 0, i = Number(t?.translateY) || 0;
|
|
662
674
|
return {
|
|
663
675
|
x: e.x * n + r,
|
|
664
676
|
y: e.y * n + i
|
|
665
677
|
};
|
|
666
678
|
}
|
|
667
|
-
function
|
|
668
|
-
let e = F.value?.map?.center, t = Number(e?.[0]), n = Number(e?.[1]), r = Array.isArray(e) && e.length === 2 && Number.isFinite(t) && Number.isFinite(n) && (t !== 0 || n !== 0), i =
|
|
679
|
+
function an() {
|
|
680
|
+
let e = F.value?.map?.center, t = Number(e?.[0]), n = Number(e?.[1]), r = Array.isArray(e) && e.length === 2 && Number.isFinite(t) && Number.isFinite(n) && (t !== 0 || n !== 0), i = W.value.width, a = W.value.height;
|
|
669
681
|
if (!r) return {
|
|
670
682
|
x: 0,
|
|
671
683
|
y: 0,
|
|
672
684
|
width: i,
|
|
673
685
|
height: a
|
|
674
686
|
};
|
|
675
|
-
let o =
|
|
687
|
+
let o = G([t, n]), s = o?.[0], c = o?.[1];
|
|
676
688
|
if (!Number.isFinite(s) || !Number.isFinite(c)) return {
|
|
677
689
|
x: 0,
|
|
678
690
|
y: 0,
|
|
679
691
|
width: i,
|
|
680
692
|
height: a
|
|
681
693
|
};
|
|
682
|
-
let l =
|
|
694
|
+
let l = rn({
|
|
683
695
|
x: s,
|
|
684
696
|
y: c
|
|
685
697
|
});
|
|
@@ -690,49 +702,49 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
690
702
|
height: a
|
|
691
703
|
};
|
|
692
704
|
}
|
|
693
|
-
function
|
|
694
|
-
let e =
|
|
695
|
-
|
|
705
|
+
function on() {
|
|
706
|
+
let e = an();
|
|
707
|
+
$t(e, { overwriteCurrentIfNotZoomed: !0 }), k.value = !0;
|
|
696
708
|
}
|
|
697
|
-
let
|
|
698
|
-
let e =
|
|
699
|
-
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` :
|
|
709
|
+
let sn = m(() => {
|
|
710
|
+
let e = Zt.value;
|
|
711
|
+
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : Xt.value;
|
|
700
712
|
});
|
|
701
|
-
function
|
|
702
|
-
|
|
713
|
+
function cn() {
|
|
714
|
+
tn(Ve, !0);
|
|
703
715
|
}
|
|
704
|
-
function
|
|
705
|
-
|
|
716
|
+
function ln() {
|
|
717
|
+
tn(1 / Ve, !0);
|
|
706
718
|
}
|
|
707
|
-
async function
|
|
708
|
-
let e =
|
|
709
|
-
|
|
719
|
+
async function un() {
|
|
720
|
+
let e = an();
|
|
721
|
+
$t(e, { overwriteCurrentIfNotZoomed: !0 }), Qt(!0);
|
|
710
722
|
}
|
|
711
|
-
|
|
723
|
+
De(() => [
|
|
712
724
|
F.value.projection,
|
|
713
725
|
F.value.map.center?.[0],
|
|
714
726
|
F.value.map.center?.[1],
|
|
715
727
|
F.value.map.fitPadding,
|
|
716
|
-
|
|
728
|
+
Ot.value
|
|
717
729
|
], async () => {
|
|
718
|
-
k.value = !1, await
|
|
719
|
-
k.value ||
|
|
730
|
+
k.value = !1, await ye(), requestAnimationFrame(() => {
|
|
731
|
+
k.value || on();
|
|
720
732
|
});
|
|
721
|
-
}, { deep: !1 }),
|
|
722
|
-
V.value,
|
|
733
|
+
}, { deep: !1 }), De(() => [
|
|
723
734
|
H.value,
|
|
735
|
+
U.value,
|
|
724
736
|
z.value
|
|
725
737
|
], async () => {
|
|
726
|
-
z.value && (await
|
|
738
|
+
z.value && (await ye(), $t({
|
|
727
739
|
x: 0,
|
|
728
740
|
y: 0,
|
|
729
|
-
width:
|
|
730
|
-
height:
|
|
741
|
+
width: W.value.width,
|
|
742
|
+
height: W.value.height
|
|
731
743
|
}, { overwriteCurrentIfNotZoomed: !0 }), k.value = !1, requestAnimationFrame(() => {
|
|
732
|
-
k.value ||
|
|
744
|
+
k.value || on();
|
|
733
745
|
}));
|
|
734
746
|
}, { flush: "post" });
|
|
735
|
-
function
|
|
747
|
+
function dn(e) {
|
|
736
748
|
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((e) => e?.type === "Feature" && e.geometry?.type === "Point").map((e, t) => {
|
|
737
749
|
let n = e.properties || {}, r = n.name || n.label || n.title || `Point ${t + 1}`, i = e.geometry.coordinates;
|
|
738
750
|
return {
|
|
@@ -779,8 +791,8 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
779
791
|
};
|
|
780
792
|
}).filter(Boolean) : [] : [];
|
|
781
793
|
}
|
|
782
|
-
let
|
|
783
|
-
let t =
|
|
794
|
+
let fn = m(() => dn(mt.value)), pn = m(() => fn.value.map((e) => {
|
|
795
|
+
let t = G(e.coordinates), n = t?.[0], i = t?.[1];
|
|
784
796
|
return !Number.isFinite(n) || !Number.isFinite(i) ? null : {
|
|
785
797
|
...e,
|
|
786
798
|
x: n,
|
|
@@ -788,104 +800,104 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
788
800
|
fill: e.color ? r(e.color) : I.value.fill,
|
|
789
801
|
radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : I.value.radius
|
|
790
802
|
};
|
|
791
|
-
}).filter(Boolean)),
|
|
803
|
+
}).filter(Boolean)), K = m(() => pn.value.map((e, t) => ({
|
|
792
804
|
...e,
|
|
793
805
|
keyboardIndex: t
|
|
794
806
|
})));
|
|
795
|
-
function
|
|
796
|
-
let t =
|
|
797
|
-
r && (
|
|
807
|
+
function mn(e) {
|
|
808
|
+
let t = rn(e), r = n(t.x, t.y, R.value);
|
|
809
|
+
r && (it.value = {
|
|
798
810
|
x: r.x,
|
|
799
811
|
y: r.y
|
|
800
812
|
});
|
|
801
813
|
}
|
|
802
|
-
let
|
|
803
|
-
function
|
|
804
|
-
|
|
814
|
+
let hn = S(!1), gn = S(""), q = S(!1), J = S(null), Y = S(null);
|
|
815
|
+
function _n(e) {
|
|
816
|
+
gn.value = e, hn.value = !0;
|
|
805
817
|
}
|
|
806
|
-
function
|
|
807
|
-
|
|
818
|
+
function X() {
|
|
819
|
+
hn.value = !1, gn.value = "";
|
|
808
820
|
}
|
|
809
|
-
function
|
|
821
|
+
function vn(e) {
|
|
810
822
|
return String(e ?? "").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll("\"", """).replaceAll("'", "'");
|
|
811
823
|
}
|
|
812
|
-
function
|
|
813
|
-
|
|
824
|
+
function yn(e) {
|
|
825
|
+
Qe.value = {
|
|
814
826
|
datapoint: e,
|
|
815
827
|
seriesIndex: e.index,
|
|
816
|
-
series:
|
|
828
|
+
series: fn.value,
|
|
817
829
|
config: F.value
|
|
818
|
-
},
|
|
830
|
+
}, q.value = !1;
|
|
819
831
|
let n = L.value.tooltip.customFormat;
|
|
820
832
|
if (t(n)) try {
|
|
821
|
-
let e = n(
|
|
822
|
-
if (typeof e == "string") return
|
|
833
|
+
let e = n(Qe.value);
|
|
834
|
+
if (typeof e == "string") return q.value = !0, e;
|
|
823
835
|
} catch {
|
|
824
|
-
console.warn("Custom format cannot be applied."),
|
|
836
|
+
console.warn("Custom format cannot be applied."), q.value = !1;
|
|
825
837
|
}
|
|
826
|
-
return `<div><div style="font-weight:600">${
|
|
838
|
+
return `<div><div style="font-weight:600">${vn(e.name)}</div>${e.description == null ? "" : `<div style="margin-top:6px">${vn(e.description)}</div>`}</div>`;
|
|
827
839
|
}
|
|
828
|
-
function
|
|
829
|
-
|
|
840
|
+
function bn(e) {
|
|
841
|
+
q.value = !1;
|
|
830
842
|
let n = L.value.tooltip.customFormat;
|
|
831
843
|
if (t(n)) try {
|
|
832
844
|
let t = n({
|
|
833
845
|
datapoint: e,
|
|
834
846
|
config: F.value
|
|
835
847
|
});
|
|
836
|
-
if (typeof t == "string") return
|
|
848
|
+
if (typeof t == "string") return q.value = !0, t;
|
|
837
849
|
} catch {
|
|
838
|
-
console.warn("Custom format cannot be applied."),
|
|
850
|
+
console.warn("Custom format cannot be applied."), q.value = !1;
|
|
839
851
|
}
|
|
840
852
|
let r = typeof e?.name == "string" ? e.name.trim() : "";
|
|
841
|
-
return r ? `<div><div style="font-weight:600">${
|
|
853
|
+
return r ? `<div><div style="font-weight:600">${vn(r)}</div></div>` : (q.value = !1, "");
|
|
842
854
|
}
|
|
843
|
-
function
|
|
855
|
+
function xn(e) {
|
|
844
856
|
if (F.value.events.territoryEnter && F.value.events.territoryEnter({
|
|
845
857
|
datapoint: e,
|
|
846
858
|
seriesIndex: e.index
|
|
847
859
|
}), !(typeof e?.name == "string" && e.name.trim()) && !L.value.territory.hover.enabledWhenEmpty) {
|
|
848
|
-
|
|
860
|
+
Y.value = null, X();
|
|
849
861
|
return;
|
|
850
862
|
}
|
|
851
|
-
|
|
863
|
+
Y.value = e.uid, _n(bn(e));
|
|
852
864
|
}
|
|
853
|
-
function
|
|
854
|
-
|
|
865
|
+
function Sn(e) {
|
|
866
|
+
Y.value = null, X(), F.value.events.territoryLeave && F.value.events.territoryLeave({
|
|
855
867
|
datapoint: e,
|
|
856
868
|
seriesIndex: e.index
|
|
857
869
|
});
|
|
858
870
|
}
|
|
859
|
-
function
|
|
871
|
+
function Cn(e) {
|
|
860
872
|
F.value.events.territoryClick && F.value.events.territoryClick({
|
|
861
873
|
datapoint: e,
|
|
862
874
|
seriesIndex: e.index
|
|
863
875
|
});
|
|
864
876
|
}
|
|
865
|
-
function
|
|
866
|
-
N.value = n,
|
|
877
|
+
function wn(e, t = null, n = "pointer") {
|
|
878
|
+
N.value = n, J.value = e.uid, Number.isInteger(t) && (M.value = t), n === "keyboard" && mn(e), _n(yn(e)), F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
867
879
|
datapoint: e,
|
|
868
880
|
seriesIndex: e.index
|
|
869
881
|
});
|
|
870
882
|
}
|
|
871
|
-
function
|
|
872
|
-
(t !== "pointer" || N.value !== "keyboard") && (
|
|
883
|
+
function Tn(e, t = "pointer") {
|
|
884
|
+
(t !== "pointer" || N.value !== "keyboard") && (J.value = null, X(), t !== "pointer" && (M.value = null, N.value = "pointer"), F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
873
885
|
datapoint: e,
|
|
874
886
|
seriesIndex: e.index
|
|
875
887
|
}));
|
|
876
888
|
}
|
|
877
|
-
let
|
|
878
|
-
function
|
|
879
|
-
|
|
889
|
+
let En = m(() => !!F.value.events.datapointClick && typeof F.value.events.datapointClick == "function");
|
|
890
|
+
function Dn(e) {
|
|
891
|
+
En.value && F.value.events.datapointClick({
|
|
880
892
|
datapoint: e,
|
|
881
893
|
seriesIndex: e.index
|
|
882
894
|
});
|
|
883
895
|
}
|
|
884
|
-
let
|
|
885
|
-
function
|
|
896
|
+
let Z = m(() => L.value.territory);
|
|
897
|
+
function On(e) {
|
|
886
898
|
let t = typeof e?.name == "string" ? e.name.trim() : "";
|
|
887
899
|
if (!t) {
|
|
888
|
-
|
|
900
|
+
Y.value = null, X();
|
|
889
901
|
return;
|
|
890
902
|
}
|
|
891
903
|
let n = {
|
|
@@ -894,33 +906,33 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
894
906
|
index: e.featureIndex,
|
|
895
907
|
properties: {}
|
|
896
908
|
};
|
|
897
|
-
|
|
909
|
+
Y.value = e.uid, _n(bn(n));
|
|
898
910
|
}
|
|
899
|
-
function
|
|
900
|
-
|
|
911
|
+
function kn() {
|
|
912
|
+
Y.value = null, X();
|
|
901
913
|
}
|
|
902
|
-
let
|
|
903
|
-
function
|
|
904
|
-
|
|
914
|
+
let Q = S(!1);
|
|
915
|
+
function An() {
|
|
916
|
+
Q.value = !Q.value;
|
|
905
917
|
}
|
|
906
|
-
|
|
907
|
-
|
|
918
|
+
De(() => Q.value, (e) => {
|
|
919
|
+
V.value = !e;
|
|
908
920
|
});
|
|
909
|
-
function
|
|
910
|
-
|
|
921
|
+
function jn() {
|
|
922
|
+
B.value.showTooltip = !B.value.showTooltip;
|
|
911
923
|
}
|
|
912
|
-
let
|
|
924
|
+
let Mn = m(() => L.value.backgroundColor), Nn = m(() => L.value.title), { isCallbackImaging: Pn, isCallbackSvg: Fn, generateSvg: In, onGenerateImage: Ln } = te({
|
|
913
925
|
svg: R,
|
|
914
|
-
title:
|
|
926
|
+
title: Nn,
|
|
915
927
|
legend: null,
|
|
916
928
|
legendItems: null,
|
|
917
|
-
backgroundColor:
|
|
929
|
+
backgroundColor: Mn,
|
|
918
930
|
getSvgCallback: () => F.value.userOptions.callbacks.svg,
|
|
919
|
-
generateImage:
|
|
931
|
+
generateImage: vt
|
|
920
932
|
});
|
|
921
|
-
async function
|
|
933
|
+
async function Rn({ scale: e = 2 } = {}) {
|
|
922
934
|
if (!O.value) return;
|
|
923
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
935
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ne({
|
|
924
936
|
domElement: O.value,
|
|
925
937
|
base64: !0,
|
|
926
938
|
img: !0,
|
|
@@ -935,34 +947,34 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
935
947
|
aspectRatio: r
|
|
936
948
|
};
|
|
937
949
|
}
|
|
938
|
-
let
|
|
939
|
-
function
|
|
940
|
-
|
|
950
|
+
let $ = S(!1), zn = null;
|
|
951
|
+
function Bn() {
|
|
952
|
+
V.value && ($.value = !0);
|
|
941
953
|
}
|
|
942
|
-
function
|
|
943
|
-
|
|
954
|
+
function Vn() {
|
|
955
|
+
$.value = !1;
|
|
944
956
|
}
|
|
945
|
-
function
|
|
946
|
-
|
|
947
|
-
|
|
957
|
+
function Hn() {
|
|
958
|
+
V.value && ($.value = !0, zn && clearTimeout(zn), zn = setTimeout(() => {
|
|
959
|
+
$.value = !1, zn = null;
|
|
948
960
|
}, 140));
|
|
949
961
|
}
|
|
950
|
-
|
|
951
|
-
|
|
962
|
+
Se(() => {
|
|
963
|
+
zn && clearTimeout(zn);
|
|
952
964
|
});
|
|
953
|
-
async function
|
|
965
|
+
async function Un([e, t], { animated: n = !0 } = {}) {
|
|
954
966
|
let r = Number(e), i = Number(t);
|
|
955
967
|
if (!Number.isFinite(r) || !Number.isFinite(i)) return;
|
|
956
|
-
let a =
|
|
968
|
+
let a = G([r, i]), o = a?.[0], s = a?.[1];
|
|
957
969
|
if (!Number.isFinite(o) || !Number.isFinite(s)) return;
|
|
958
|
-
let c =
|
|
970
|
+
let c = rn({
|
|
959
971
|
x: o,
|
|
960
972
|
y: s
|
|
961
|
-
}), l =
|
|
973
|
+
}), l = Zt.value ? { ...Zt.value } : {
|
|
962
974
|
x: 0,
|
|
963
975
|
y: 0,
|
|
964
|
-
width:
|
|
965
|
-
height:
|
|
976
|
+
width: W.value.width,
|
|
977
|
+
height: W.value.height
|
|
966
978
|
}, u = {
|
|
967
979
|
x: c.x - l.width / 2,
|
|
968
980
|
y: c.y - l.height / 2,
|
|
@@ -970,13 +982,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
970
982
|
height: l.height
|
|
971
983
|
};
|
|
972
984
|
if (!n) {
|
|
973
|
-
|
|
985
|
+
Zt.value = u;
|
|
974
986
|
return;
|
|
975
987
|
}
|
|
976
988
|
let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
|
|
977
989
|
p ??= e;
|
|
978
990
|
let t = Math.min((e - p) / 250, 1);
|
|
979
|
-
|
|
991
|
+
Zt.value = {
|
|
980
992
|
x: d.x + (f.x - d.x) * t,
|
|
981
993
|
y: d.y + (f.y - d.y) * t,
|
|
982
994
|
width: d.width + (f.width - d.width) * t,
|
|
@@ -985,28 +997,28 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
985
997
|
};
|
|
986
998
|
requestAnimationFrame(ee);
|
|
987
999
|
}
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
k.value || (
|
|
1000
|
+
Ce(async () => {
|
|
1001
|
+
xt(), await ye(), requestAnimationFrame(() => {
|
|
1002
|
+
k.value || (on(), (F.value.map.center?.[0] || F.value.map.center?.[1]) && Un(F.value.map.center, { animated: !1 }));
|
|
991
1003
|
});
|
|
992
|
-
}),
|
|
993
|
-
|
|
1004
|
+
}), Se(() => {
|
|
1005
|
+
bt();
|
|
994
1006
|
});
|
|
995
|
-
async function
|
|
996
|
-
if (
|
|
1007
|
+
async function Wn() {
|
|
1008
|
+
if (Ke("copyAlt", {
|
|
997
1009
|
config: F.value,
|
|
998
|
-
dataset:
|
|
1010
|
+
dataset: mt.value
|
|
999
1011
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
1000
1012
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
1001
1013
|
return;
|
|
1002
1014
|
}
|
|
1003
1015
|
await Promise.resolve(F.value.userOptions.callbacks.altCopy({
|
|
1004
1016
|
config: F.value,
|
|
1005
|
-
dataset:
|
|
1017
|
+
dataset: mt.value
|
|
1006
1018
|
}));
|
|
1007
1019
|
}
|
|
1008
|
-
function
|
|
1009
|
-
let n =
|
|
1020
|
+
function Gn(e, t) {
|
|
1021
|
+
let n = K.value;
|
|
1010
1022
|
if (!n.length) return null;
|
|
1011
1023
|
let r = n[e];
|
|
1012
1024
|
if (!r) return null;
|
|
@@ -1020,45 +1032,45 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1020
1032
|
}
|
|
1021
1033
|
return i;
|
|
1022
1034
|
}
|
|
1023
|
-
function
|
|
1024
|
-
let t =
|
|
1035
|
+
function Kn(e) {
|
|
1036
|
+
let t = K.value;
|
|
1025
1037
|
return t.length ? e === "right" ? t.reduce((e, t, n, r) => t.x < r[e].x ? n : e, 0) : e === "left" ? t.reduce((e, t, n, r) => t.x > r[e].x ? n : e, 0) : e === "down" ? t.reduce((e, t, n, r) => t.y < r[e].y ? n : e, 0) : e === "up" ? t.reduce((e, t, n, r) => t.y > r[e].y ? n : e, 0) : 0 : null;
|
|
1026
1038
|
}
|
|
1027
|
-
function
|
|
1028
|
-
|
|
1039
|
+
function qn() {
|
|
1040
|
+
at.value = !0;
|
|
1029
1041
|
}
|
|
1030
|
-
function
|
|
1031
|
-
let e = M.value == null ? null :
|
|
1032
|
-
e ?
|
|
1042
|
+
function Jn() {
|
|
1043
|
+
let e = M.value == null ? null : K.value[M.value];
|
|
1044
|
+
e ? Tn(e, "keyboard") : (M.value = null, N.value = "pointer", X(), J.value = null), at.value = !1;
|
|
1033
1045
|
}
|
|
1034
|
-
function
|
|
1035
|
-
if (!R.value ||
|
|
1046
|
+
function Yn(e) {
|
|
1047
|
+
if (!R.value || Q.value || document.activeElement !== R.value || !K.value.length) return;
|
|
1036
1048
|
let t = e.key === "ArrowRight", n = e.key === "ArrowLeft", r = e.key === "ArrowDown", i = e.key === "ArrowUp", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
1037
1049
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
1038
1050
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
1039
|
-
let e = M.value == null ? null :
|
|
1040
|
-
e ?
|
|
1051
|
+
let e = M.value == null ? null : K.value[M.value];
|
|
1052
|
+
e ? Tn(e, "keyboard") : (M.value = null, N.value = "pointer", X(), J.value = null);
|
|
1041
1053
|
return;
|
|
1042
1054
|
}
|
|
1043
1055
|
if (a) {
|
|
1044
|
-
let e = M.value == null ? null :
|
|
1056
|
+
let e = M.value == null ? null : K.value[M.value];
|
|
1045
1057
|
if (!e) return;
|
|
1046
|
-
|
|
1058
|
+
Dn(e);
|
|
1047
1059
|
return;
|
|
1048
1060
|
}
|
|
1049
1061
|
let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
|
|
1050
|
-
if (M.value == null ? c =
|
|
1051
|
-
let l =
|
|
1052
|
-
l &&
|
|
1062
|
+
if (M.value == null ? c = Kn(s) : (c = Gn(M.value, s), c ??= Kn(s)), c == null) return;
|
|
1063
|
+
let l = K.value[c];
|
|
1064
|
+
l && wn(l, c, "keyboard");
|
|
1053
1065
|
}
|
|
1054
|
-
let
|
|
1066
|
+
let Xn = m(() => ({
|
|
1055
1067
|
headers: [
|
|
1056
1068
|
"Name",
|
|
1057
1069
|
"Latitude",
|
|
1058
1070
|
"Longitude",
|
|
1059
1071
|
"Description"
|
|
1060
1072
|
],
|
|
1061
|
-
rows:
|
|
1073
|
+
rows: fn.value.map((e) => {
|
|
1062
1074
|
let t = Array.isArray(e.coordinates) ? e.coordinates[1] : null, n = Array.isArray(e.coordinates) ? e.coordinates[0] : null;
|
|
1063
1075
|
return [
|
|
1064
1076
|
e.name ?? "",
|
|
@@ -1068,41 +1080,41 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1068
1080
|
];
|
|
1069
1081
|
})
|
|
1070
1082
|
}));
|
|
1071
|
-
return
|
|
1072
|
-
getImage:
|
|
1073
|
-
generatePdf:
|
|
1074
|
-
generateImage:
|
|
1075
|
-
generateSvg:
|
|
1076
|
-
toggleTooltip:
|
|
1077
|
-
toggleAnnotator:
|
|
1078
|
-
toggleFullscreen:
|
|
1079
|
-
zoomIn:
|
|
1080
|
-
zoomOut:
|
|
1081
|
-
resetZoom:
|
|
1082
|
-
focusLocation:
|
|
1083
|
-
copyAlt:
|
|
1083
|
+
return ie({
|
|
1084
|
+
getImage: Rn,
|
|
1085
|
+
generatePdf: _t,
|
|
1086
|
+
generateImage: vt,
|
|
1087
|
+
generateSvg: In,
|
|
1088
|
+
toggleTooltip: jn,
|
|
1089
|
+
toggleAnnotator: An,
|
|
1090
|
+
toggleFullscreen: ot,
|
|
1091
|
+
zoomIn: cn,
|
|
1092
|
+
zoomOut: ln,
|
|
1093
|
+
resetZoom: Qt,
|
|
1094
|
+
focusLocation: Un,
|
|
1095
|
+
copyAlt: Wn
|
|
1084
1096
|
}), (e, t) => (x(), _("div", {
|
|
1085
|
-
class:
|
|
1097
|
+
class: be(`vue-data-ui-component vue-ui-geo ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value ? "vue-ui-geo-responsive" : ""} ${$.value ? "vue-ui-geo-interacting" : ""}`),
|
|
1086
1098
|
ref_key: "geoChart",
|
|
1087
1099
|
ref: O,
|
|
1088
1100
|
id: `map_${D.value}`,
|
|
1089
1101
|
dir: "auto",
|
|
1090
|
-
style:
|
|
1102
|
+
style: xe({
|
|
1091
1103
|
fontFamily: F.value.style.fontFamily,
|
|
1092
1104
|
width: "100%",
|
|
1093
1105
|
backgroundColor: L.value.backgroundColor,
|
|
1094
|
-
height: z.value ? `${
|
|
1106
|
+
height: z.value ? `${U.value}px` : void 0
|
|
1095
1107
|
})
|
|
1096
1108
|
}, [
|
|
1097
1109
|
v("div", {
|
|
1098
1110
|
id: `chart-instructions-${D.value}`,
|
|
1099
1111
|
class: "sr-only"
|
|
1100
|
-
}, [v("p", null,
|
|
1101
|
-
|
|
1112
|
+
}, [v("p", null, Te(F.value.a11y.translations.keyboardNavigation), 1)], 8, Ae),
|
|
1113
|
+
Xn.value?.rows?.length ? (x(), h(se, {
|
|
1102
1114
|
key: 0,
|
|
1103
1115
|
uid: D.value,
|
|
1104
|
-
head:
|
|
1105
|
-
body:
|
|
1116
|
+
head: Xn.value.headers,
|
|
1117
|
+
body: Xn.value.rows,
|
|
1106
1118
|
notice: F.value.a11y.translations.tableAvailable,
|
|
1107
1119
|
caption: F.value.a11y.translations.tableCaption
|
|
1108
1120
|
}, null, 8, [
|
|
@@ -1112,20 +1124,20 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1112
1124
|
"notice",
|
|
1113
1125
|
"caption"
|
|
1114
1126
|
])) : g("", !0),
|
|
1115
|
-
|
|
1127
|
+
St.value ? (x(), _("div", {
|
|
1116
1128
|
key: 1,
|
|
1117
1129
|
ref_key: "noTitle",
|
|
1118
|
-
ref:
|
|
1130
|
+
ref: et,
|
|
1119
1131
|
class: "vue-data-ui-no-title-space",
|
|
1120
1132
|
style: "height:36px; width: 100%;background:transparent"
|
|
1121
1133
|
}, null, 512)) : g("", !0),
|
|
1122
1134
|
L.value.title.text ? (x(), _("div", {
|
|
1123
1135
|
key: 2,
|
|
1124
1136
|
ref_key: "chartTitle",
|
|
1125
|
-
ref:
|
|
1137
|
+
ref: $e,
|
|
1126
1138
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1127
|
-
}, [(x(), h(
|
|
1128
|
-
key: `title_${
|
|
1139
|
+
}, [(x(), h(re, {
|
|
1140
|
+
key: `title_${Ze.value}`,
|
|
1129
1141
|
config: {
|
|
1130
1142
|
title: {
|
|
1131
1143
|
cy: "geo-title",
|
|
@@ -1137,15 +1149,15 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1137
1149
|
}
|
|
1138
1150
|
}
|
|
1139
1151
|
}, null, 8, ["config"]))], 512)) : g("", !0),
|
|
1140
|
-
F.value.userOptions.buttons.annotator ? (x(), h(w(
|
|
1152
|
+
F.value.userOptions.buttons.annotator ? (x(), h(w(We), {
|
|
1141
1153
|
key: 3,
|
|
1142
1154
|
svgRef: w(R),
|
|
1143
1155
|
backgroundColor: L.value.backgroundColor,
|
|
1144
1156
|
color: L.value.color,
|
|
1145
|
-
active:
|
|
1146
|
-
isCursorPointer:
|
|
1157
|
+
active: Q.value,
|
|
1158
|
+
isCursorPointer: lt.value,
|
|
1147
1159
|
palette: F.value.userOptions.annotatorPalette,
|
|
1148
|
-
onClose:
|
|
1160
|
+
onClose: An
|
|
1149
1161
|
}, {
|
|
1150
1162
|
"annotator-action-close": T(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1151
1163
|
"annotator-action-color": T(({ color: t }) => [C(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
@@ -1162,13 +1174,13 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1162
1174
|
"isCursorPointer",
|
|
1163
1175
|
"palette"
|
|
1164
1176
|
])) : g("", !0),
|
|
1165
|
-
F.value.userOptions.show && (w(
|
|
1177
|
+
F.value.userOptions.show && (w(dt) || w(ut)) ? (x(), h(w(Ue), {
|
|
1166
1178
|
ref: "userOptionsRef",
|
|
1167
|
-
key: `user_options_${
|
|
1179
|
+
key: `user_options_${Xe.value}`,
|
|
1168
1180
|
backgroundColor: L.value.backgroundColor,
|
|
1169
1181
|
color: L.value.color,
|
|
1170
|
-
isPrinting: w(
|
|
1171
|
-
isImaging: w(
|
|
1182
|
+
isPrinting: w(ht),
|
|
1183
|
+
isImaging: w(gt),
|
|
1172
1184
|
uid: D.value,
|
|
1173
1185
|
hasXls: !1,
|
|
1174
1186
|
hasTable: !1,
|
|
@@ -1180,26 +1192,26 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1180
1192
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
1181
1193
|
hasAnnotator: F.value.userOptions.buttons.annotator,
|
|
1182
1194
|
hasZoom: F.value.userOptions.buttons.zoom,
|
|
1183
|
-
isZoom:
|
|
1195
|
+
isZoom: V.value,
|
|
1184
1196
|
isFullscreen: P.value,
|
|
1185
|
-
isTooltip:
|
|
1197
|
+
isTooltip: B.value.showTooltip,
|
|
1186
1198
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
1187
1199
|
chartElement: O.value,
|
|
1188
1200
|
position: F.value.userOptions.position,
|
|
1189
|
-
isAnnotation:
|
|
1201
|
+
isAnnotation: Q.value,
|
|
1190
1202
|
callbacks: F.value.userOptions.callbacks,
|
|
1191
1203
|
printScale: F.value.userOptions.print.scale,
|
|
1192
|
-
isCursorPointer:
|
|
1193
|
-
onToggleFullscreen:
|
|
1194
|
-
onGeneratePdf: w(
|
|
1195
|
-
onGenerateImage: w(
|
|
1196
|
-
onGenerateSvg: w(
|
|
1197
|
-
onToggleTooltip:
|
|
1198
|
-
onToggleAnnotator:
|
|
1199
|
-
onToggleZoom:
|
|
1200
|
-
onCopyAlt:
|
|
1201
|
-
style:
|
|
1202
|
-
},
|
|
1204
|
+
isCursorPointer: lt.value,
|
|
1205
|
+
onToggleFullscreen: ot,
|
|
1206
|
+
onGeneratePdf: w(_t),
|
|
1207
|
+
onGenerateImage: w(Ln),
|
|
1208
|
+
onGenerateSvg: w(In),
|
|
1209
|
+
onToggleTooltip: jn,
|
|
1210
|
+
onToggleAnnotator: An,
|
|
1211
|
+
onToggleZoom: nn,
|
|
1212
|
+
onCopyAlt: Wn,
|
|
1213
|
+
style: xe({ visibility: w(dt) ? w(ut) ? "visible" : "hidden" : "visible" })
|
|
1214
|
+
}, he({ _: 2 }, [
|
|
1203
1215
|
e.$slots.menuIcon ? {
|
|
1204
1216
|
name: "menuIcon",
|
|
1205
1217
|
fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", b(y({
|
|
@@ -1268,77 +1280,77 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1268
1280
|
key: "10"
|
|
1269
1281
|
} : void 0
|
|
1270
1282
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasFullscreen.hasAltCopy.hasAnnotator.hasZoom.isZoom.isFullscreen.isTooltip.titles.chartElement.position.isAnnotation.callbacks.printScale.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : g("", !0),
|
|
1271
|
-
L.value.controls.position === "top" && L.value.controls.show && !w(
|
|
1283
|
+
L.value.controls.position === "top" && L.value.controls.show && !w(pt) ? (x(), h(de, {
|
|
1272
1284
|
key: 5,
|
|
1273
1285
|
ref_key: "zoomControlsTop",
|
|
1274
|
-
ref:
|
|
1286
|
+
ref: nt,
|
|
1275
1287
|
config: F.value,
|
|
1276
|
-
scale: w(
|
|
1288
|
+
scale: w(en),
|
|
1277
1289
|
isFullscreen: P.value,
|
|
1278
|
-
isCursorPointer:
|
|
1279
|
-
onZoomIn:
|
|
1280
|
-
onZoomOut:
|
|
1281
|
-
onResetZoom:
|
|
1290
|
+
isCursorPointer: lt.value,
|
|
1291
|
+
onZoomIn: cn,
|
|
1292
|
+
onZoomOut: ln,
|
|
1293
|
+
onResetZoom: un
|
|
1282
1294
|
}, null, 8, [
|
|
1283
1295
|
"config",
|
|
1284
1296
|
"scale",
|
|
1285
1297
|
"isFullscreen",
|
|
1286
1298
|
"isCursorPointer"
|
|
1287
1299
|
])) : g("", !0),
|
|
1288
|
-
v("div",
|
|
1300
|
+
v("div", je, [(x(), _("svg", {
|
|
1289
1301
|
ref_key: "svgRef",
|
|
1290
1302
|
ref: R,
|
|
1291
|
-
xmlns: w(
|
|
1292
|
-
viewBox:
|
|
1303
|
+
xmlns: w(s),
|
|
1304
|
+
viewBox: sn.value,
|
|
1293
1305
|
preserveAspectRatio: "xMidYMid meet",
|
|
1294
1306
|
"aria-describedby": `map-keyboard-instructions-${D.value}`,
|
|
1295
1307
|
tabindex: "0",
|
|
1296
|
-
style:
|
|
1308
|
+
style: xe({
|
|
1297
1309
|
display: "block",
|
|
1298
1310
|
width: "100%",
|
|
1299
|
-
height: z.value ? `${
|
|
1311
|
+
height: z.value ? `${U.value}px` : "auto",
|
|
1300
1312
|
background: L.value.backgroundColor,
|
|
1301
|
-
touchAction:
|
|
1302
|
-
cursor:
|
|
1313
|
+
touchAction: V.value ? "none" : "auto",
|
|
1314
|
+
cursor: V.value ? $.value ? "grabbing" : "grab" : "default"
|
|
1303
1315
|
}),
|
|
1304
1316
|
id: `vue-ui-geo_${D.value}`,
|
|
1305
|
-
onPointerdown:
|
|
1306
|
-
onPointerup:
|
|
1307
|
-
onPointercancel:
|
|
1308
|
-
onPointerleave:
|
|
1309
|
-
onWheel:
|
|
1310
|
-
onFocus:
|
|
1311
|
-
onBlur:
|
|
1312
|
-
onKeydown:
|
|
1313
|
-
}, [
|
|
1314
|
-
transform:
|
|
1315
|
-
style:
|
|
1317
|
+
onPointerdown: Bn,
|
|
1318
|
+
onPointerup: Vn,
|
|
1319
|
+
onPointercancel: Vn,
|
|
1320
|
+
onPointerleave: Vn,
|
|
1321
|
+
onWheel: Hn,
|
|
1322
|
+
onFocus: qn,
|
|
1323
|
+
onBlur: Jn,
|
|
1324
|
+
onKeydown: Yn
|
|
1325
|
+
}, [ge(w(Ge)), v("g", {
|
|
1326
|
+
transform: Yt.value.transform,
|
|
1327
|
+
style: xe({ pointerEvents: $.value ? "none" : "auto" })
|
|
1316
1328
|
}, [
|
|
1317
|
-
v("g", null, [(x(!0), _(
|
|
1329
|
+
v("g", null, [(x(!0), _(me, null, we(Ht.value, (e) => (x(), _("path", {
|
|
1318
1330
|
class: "vue-ui-geo-territory",
|
|
1319
1331
|
key: e.uid,
|
|
1320
1332
|
d: e.path,
|
|
1321
|
-
fill:
|
|
1322
|
-
stroke:
|
|
1323
|
-
"stroke-width":
|
|
1333
|
+
fill: Y.value === e.uid ? Z.value.hover.fill : Z.value.fill,
|
|
1334
|
+
stroke: Y.value === e.uid ? Z.value.hover.stroke : Z.value.stroke,
|
|
1335
|
+
"stroke-width": Y.value === e.uid ? Z.value.hover.strokeWidth : Z.value.strokeWidth,
|
|
1324
1336
|
"vector-effect": "non-scaling-stroke",
|
|
1325
|
-
onMouseenter: (t) =>
|
|
1326
|
-
onMouseleave: (t) =>
|
|
1327
|
-
onClick: (t) =>
|
|
1328
|
-
}, null, 40,
|
|
1329
|
-
v("g", null, [(x(!0), _(
|
|
1337
|
+
onMouseenter: (t) => xn(e),
|
|
1338
|
+
onMouseleave: (t) => Sn(e),
|
|
1339
|
+
onClick: (t) => Cn(e)
|
|
1340
|
+
}, null, 40, Pe))), 128))]),
|
|
1341
|
+
v("g", null, [(x(!0), _(me, null, we(Ut.value, (e) => (x(), _("path", {
|
|
1330
1342
|
class: "vue-ui-geo-territory",
|
|
1331
1343
|
key: e.uid,
|
|
1332
1344
|
d: e.path,
|
|
1333
1345
|
fill: "none",
|
|
1334
|
-
stroke:
|
|
1335
|
-
"stroke-width":
|
|
1346
|
+
stroke: Y.value === e.uid ? Z.value.hover.stroke : Z.value.stroke,
|
|
1347
|
+
"stroke-width": Y.value === e.uid ? Z.value.hover.strokeWidth : Z.value.strokeWidth,
|
|
1336
1348
|
"vector-effect": "non-scaling-stroke",
|
|
1337
|
-
onMouseenter: (t) =>
|
|
1338
|
-
onMouseleave: (t) =>
|
|
1339
|
-
onClick: (t) =>
|
|
1340
|
-
}, null, 40,
|
|
1341
|
-
v("g", null, [(x(!0), _(
|
|
1349
|
+
onMouseenter: (t) => xn(e),
|
|
1350
|
+
onMouseleave: (t) => Sn(e),
|
|
1351
|
+
onClick: (t) => Cn(e)
|
|
1352
|
+
}, null, 40, Fe))), 128))]),
|
|
1353
|
+
v("g", null, [(x(!0), _(me, null, we(Wt.value, (e) => (x(), _("circle", {
|
|
1342
1354
|
key: e.uid,
|
|
1343
1355
|
cx: e.x,
|
|
1344
1356
|
cy: e.y,
|
|
@@ -1347,79 +1359,79 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1347
1359
|
stroke: e.stroke,
|
|
1348
1360
|
"stroke-width": e.strokeWidth,
|
|
1349
1361
|
"vector-effect": "non-scaling-stroke",
|
|
1350
|
-
onMouseenter: (t) =>
|
|
1351
|
-
onMouseleave:
|
|
1352
|
-
}, null, 40,
|
|
1353
|
-
(x(!0), _(
|
|
1362
|
+
onMouseenter: (t) => On(e),
|
|
1363
|
+
onMouseleave: kn
|
|
1364
|
+
}, null, 40, Ie))), 128))]),
|
|
1365
|
+
(x(!0), _(me, null, we(pn.value, (t, n) => (x(), _("g", { key: t.uid }, [C(e.$slots, "datapoint", ve({ ref_for: !0 }, {
|
|
1354
1366
|
point: t,
|
|
1355
|
-
onPointEnter:
|
|
1356
|
-
onPointLeave:
|
|
1357
|
-
onPointClick:
|
|
1358
|
-
highlighted:
|
|
1367
|
+
onPointEnter: wn,
|
|
1368
|
+
onPointLeave: Tn,
|
|
1369
|
+
onPointClick: Dn,
|
|
1370
|
+
highlighted: J.value === t.uid
|
|
1359
1371
|
}), () => [v("circle", {
|
|
1360
|
-
class:
|
|
1372
|
+
class: be({
|
|
1361
1373
|
"vue-ui-geo-point": !0,
|
|
1362
|
-
"vue-ui-geo-point-with-event":
|
|
1374
|
+
"vue-ui-geo-point-with-event": En.value && lt.value
|
|
1363
1375
|
}),
|
|
1364
1376
|
cx: t.x,
|
|
1365
1377
|
cy: t.y,
|
|
1366
|
-
r:
|
|
1378
|
+
r: J.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
|
|
1367
1379
|
fill: t.fill,
|
|
1368
1380
|
stroke: I.value.stroke,
|
|
1369
1381
|
"stroke-width": I.value.strokeWidth,
|
|
1370
1382
|
"vector-effect": "non-scaling-stroke",
|
|
1371
|
-
onMouseenter: (e) =>
|
|
1372
|
-
onMouseleave: (e) =>
|
|
1373
|
-
onClick: (e) =>
|
|
1374
|
-
}, null, 42,
|
|
1383
|
+
onMouseenter: (e) => wn(t, n),
|
|
1384
|
+
onMouseleave: (e) => Tn(t),
|
|
1385
|
+
onClick: (e) => Dn(t)
|
|
1386
|
+
}, null, 42, Le)], !0), ct.value.show ? (x(), _("text", {
|
|
1375
1387
|
key: 0,
|
|
1376
1388
|
class: "vue-ui-geo-point-label",
|
|
1377
1389
|
x: t.x,
|
|
1378
|
-
y: t.y + (
|
|
1390
|
+
y: t.y + (J.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + ct.value.offsetY + 1 * ct.value.fontSizeRatio,
|
|
1379
1391
|
"text-anchor": "middle",
|
|
1380
|
-
fill:
|
|
1381
|
-
"font-size": 1 *
|
|
1382
|
-
},
|
|
1392
|
+
fill: ct.value.color,
|
|
1393
|
+
"font-size": 1 * ct.value.fontSizeRatio
|
|
1394
|
+
}, Te(t.name), 9, Re)) : g("", !0)]))), 128)),
|
|
1383
1395
|
C(e.$slots, "svg", { svg: {
|
|
1384
|
-
drawingArea:
|
|
1385
|
-
x:
|
|
1386
|
-
y:
|
|
1387
|
-
width:
|
|
1388
|
-
height:
|
|
1389
|
-
isPrintingImg: w(
|
|
1390
|
-
isPrintingSvg: w(
|
|
1396
|
+
drawingArea: sn.value,
|
|
1397
|
+
x: qt.value?.minX ?? 0,
|
|
1398
|
+
y: qt.value?.minY ?? 0,
|
|
1399
|
+
width: qt.value?.width ?? 0,
|
|
1400
|
+
height: qt.value?.height ?? 0,
|
|
1401
|
+
isPrintingImg: w(ht) || w(gt) || w(Pn),
|
|
1402
|
+
isPrintingSvg: w(Fn),
|
|
1391
1403
|
data: {
|
|
1392
|
-
areaPaths:
|
|
1393
|
-
linePaths:
|
|
1394
|
-
geoJsonPoints:
|
|
1395
|
-
projectedPoints:
|
|
1404
|
+
areaPaths: Ht.value,
|
|
1405
|
+
linePaths: Ut.value,
|
|
1406
|
+
geoJsonPoints: Wt.value,
|
|
1407
|
+
projectedPoints: pn.value
|
|
1396
1408
|
}
|
|
1397
1409
|
} }, void 0, !0)
|
|
1398
|
-
], 12,
|
|
1410
|
+
], 12, Ne)], 44, Me)), e.$slots.hint ? (x(), _("div", ze, [C(e.$slots, "hint", b(y({
|
|
1399
1411
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1400
|
-
isVisible:
|
|
1412
|
+
isVisible: at.value
|
|
1401
1413
|
})), void 0, !0)])) : g("", !0)]),
|
|
1402
|
-
e.$slots.watermark ? (x(), _("div",
|
|
1403
|
-
L.value.controls.position === "bottom" && L.value.controls.show && !w(
|
|
1414
|
+
e.$slots.watermark ? (x(), _("div", Be, [C(e.$slots, "watermark", b(y({ isPrinting: w(ht) || w(gt) || w(Pn) || w(Fn) })), void 0, !0)])) : g("", !0),
|
|
1415
|
+
L.value.controls.position === "bottom" && L.value.controls.show && !w(pt) ? (x(), h(de, {
|
|
1404
1416
|
key: 7,
|
|
1405
1417
|
ref_key: "zoomControlsBottom",
|
|
1406
|
-
ref:
|
|
1418
|
+
ref: rt,
|
|
1407
1419
|
config: F.value,
|
|
1408
|
-
scale: w(
|
|
1420
|
+
scale: w(en),
|
|
1409
1421
|
isFullscreen: P.value,
|
|
1410
|
-
isCursorPointer:
|
|
1411
|
-
onZoomIn:
|
|
1412
|
-
onZoomOut:
|
|
1413
|
-
onResetZoom:
|
|
1422
|
+
isCursorPointer: lt.value,
|
|
1423
|
+
onZoomIn: cn,
|
|
1424
|
+
onZoomOut: ln,
|
|
1425
|
+
onResetZoom: un
|
|
1414
1426
|
}, null, 8, [
|
|
1415
1427
|
"config",
|
|
1416
1428
|
"scale",
|
|
1417
1429
|
"isFullscreen",
|
|
1418
1430
|
"isCursorPointer"
|
|
1419
1431
|
])) : g("", !0),
|
|
1420
|
-
|
|
1432
|
+
ge(w(He), {
|
|
1421
1433
|
teleportTo: L.value.tooltip.teleportTo,
|
|
1422
|
-
show:
|
|
1434
|
+
show: B.value.showTooltip && hn.value,
|
|
1423
1435
|
backgroundColor: L.value.tooltip.backgroundColor,
|
|
1424
1436
|
color: L.value.tooltip.color,
|
|
1425
1437
|
fontSize: L.value.tooltip.fontSize,
|
|
@@ -1431,19 +1443,19 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1431
1443
|
offsetX: L.value.tooltip.offsetX,
|
|
1432
1444
|
offsetY: L.value.tooltip.offsetY,
|
|
1433
1445
|
parent: O.value,
|
|
1434
|
-
content:
|
|
1435
|
-
isCustom:
|
|
1446
|
+
content: gn.value,
|
|
1447
|
+
isCustom: q.value,
|
|
1436
1448
|
isFullscreen: P.value,
|
|
1437
1449
|
smooth: L.value.tooltip.smooth,
|
|
1438
1450
|
backdropFilter: L.value.tooltip.backdropFilter,
|
|
1439
1451
|
smoothForce: L.value.tooltip.smoothForce,
|
|
1440
1452
|
smoothSnapThreshold: L.value.tooltip.smoothSnapThreshold,
|
|
1441
1453
|
isA11yMode: N.value === "keyboard",
|
|
1442
|
-
a11yPosition:
|
|
1454
|
+
a11yPosition: it.value
|
|
1443
1455
|
}, {
|
|
1444
|
-
"tooltip-before": T(() => [C(e.$slots, "tooltip-before", b(y({ ...
|
|
1445
|
-
tooltip: T(() => [C(e.$slots, "tooltip", b(y({ ...
|
|
1446
|
-
"tooltip-after": T(() => [C(e.$slots, "tooltip-after", b(y({ ...
|
|
1456
|
+
"tooltip-before": T(() => [C(e.$slots, "tooltip-before", b(y({ ...Qe.value })), void 0, !0)]),
|
|
1457
|
+
tooltip: T(() => [C(e.$slots, "tooltip", b(y({ ...Qe.value })), void 0, !0)]),
|
|
1458
|
+
"tooltip-after": T(() => [C(e.$slots, "tooltip-after", b(y({ ...Qe.value })), void 0, !0)]),
|
|
1447
1459
|
_: 3
|
|
1448
1460
|
}, 8, [
|
|
1449
1461
|
"teleportTo",
|
|
@@ -1472,12 +1484,12 @@ var De = /* @__PURE__ */ e({ default: () => Ve }), Oe = ["id"], ke = ["id"], Ae
|
|
|
1472
1484
|
e.$slots.source ? (x(), _("div", {
|
|
1473
1485
|
key: 8,
|
|
1474
1486
|
ref_key: "source",
|
|
1475
|
-
ref:
|
|
1487
|
+
ref: tt,
|
|
1476
1488
|
dir: "auto"
|
|
1477
1489
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
|
|
1478
|
-
C(e.$slots, "skeleton", {}, () => [w(
|
|
1479
|
-
], 14,
|
|
1490
|
+
C(e.$slots, "skeleton", {}, () => [w(pt) ? (x(), h(f, { key: 0 })) : g("", !0)], !0)
|
|
1491
|
+
], 14, ke));
|
|
1480
1492
|
}
|
|
1481
|
-
}, [["__scopeId", "data-v-
|
|
1493
|
+
}, [["__scopeId", "data-v-52492c2b"]]);
|
|
1482
1494
|
//#endregion
|
|
1483
|
-
export {
|
|
1495
|
+
export { Oe as n, He as t };
|