vue-data-ui 3.23.0 → 3.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, Jt as n, S as r, q as i, t as a, xt as o } from "./lib-
|
|
2
|
+
import { Gt as t, Jt as n, S as r, q as i, t as a, xt as o } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as s } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as c } from "./useConfig-
|
|
5
|
-
import { t as l } from "./usePrinter-
|
|
4
|
+
import { t as c } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as l } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as u, t as d } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as f } from "./useSvgExport-
|
|
8
|
-
import { t as p } from "./useNestedProp
|
|
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
|
|
7
|
+
import { t as f } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as p } from "./useNestedProp-vPNvh7rV.js";
|
|
9
|
+
import { t as ee } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as te } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as ne } from "./Title-BE3qg9xl.js";
|
|
12
|
+
import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
+
import { l as ie, t as ae } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
+
import { t as oe } from "./A11yDataTable-DdRsVULz.js";
|
|
15
|
+
import { t as se } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as le } from "./usePanZoom-CYU3B4T3.js";
|
|
18
|
+
import { t as ue } from "./BaseZoomControls-BZvCnZEi.js";
|
|
19
|
+
import { t as de } from "./geoProjections-CEo3dVaL.js";
|
|
20
|
+
import { t as fe } from "./vue_ui_geo-B8TODs-G.js";
|
|
21
|
+
import { Fragment as pe, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as me, createVNode as he, defineAsyncComponent as ge, guardReactiveProps as y, mergeProps as _e, nextTick as b, normalizeClass as ve, normalizeProps as x, normalizeStyle as ye, onBeforeUnmount as be, onMounted as xe, openBlock as S, ref as C, renderList as Se, renderSlot as w, toDisplayString as Ce, toRefs as we, unref as T, watch as E, withCtx as D } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-geo.vue
|
|
23
23
|
var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe = { style: { position: "relative" } }, ke = [
|
|
24
24
|
"xmlns",
|
|
@@ -76,7 +76,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
76
76
|
}, Le = {
|
|
77
77
|
key: 6,
|
|
78
78
|
class: "vue-data-ui-watermark"
|
|
79
|
-
}, Re = 1.5, ze = /*#__PURE__*/
|
|
79
|
+
}, Re = 1.5, ze = /*#__PURE__*/ re({
|
|
80
80
|
__name: "vue-ui-geo",
|
|
81
81
|
props: {
|
|
82
82
|
config: {
|
|
@@ -93,11 +93,11 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
emits: ["copyAlt"],
|
|
96
|
-
setup(e, { expose:
|
|
97
|
-
let ze =
|
|
96
|
+
setup(e, { expose: re, emit: Te }) {
|
|
97
|
+
let ze = ge(() => import("./Tooltip-DhjyfHwz.js")), Be = ge(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), Ve = ge(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), He = ge(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), O = e, Ue = Te, { vue_ui_geo: We } = c(), { isThemeValid: Ge, warnInvalidTheme: Ke } = ee(), k = C(i()), qe = C(0), Je = C(0), Ye = C(!1), Xe = C(!1), A = C(null), j = C(!1), Ze = C(null), Qe = C(null), $e = C(null), et = C(null), M = C(null), N = C(null), tt = C(null), nt = C(null), P = C(null), rt = C({
|
|
98
98
|
x: 0,
|
|
99
99
|
y: 0
|
|
100
|
-
}), F =
|
|
100
|
+
}), F = C("pointer"), it = C(!1), I = C(!1);
|
|
101
101
|
function at(e) {
|
|
102
102
|
I.value = e, qe.value += 1;
|
|
103
103
|
}
|
|
@@ -109,7 +109,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
109
109
|
if (!t) return e;
|
|
110
110
|
if (!Ge.value(e)) return Ke(e), e;
|
|
111
111
|
let n = p({
|
|
112
|
-
userConfig:
|
|
112
|
+
userConfig: fe[t] || O.config,
|
|
113
113
|
defaultConfig: e
|
|
114
114
|
});
|
|
115
115
|
return p({
|
|
@@ -117,7 +117,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
117
117
|
defaultConfig: n
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
let L =
|
|
120
|
+
let L = C(ot());
|
|
121
121
|
s({
|
|
122
122
|
config: () => L.value,
|
|
123
123
|
dataset: () => O.dataset,
|
|
@@ -131,7 +131,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
131
131
|
]
|
|
132
132
|
}]
|
|
133
133
|
});
|
|
134
|
-
let st =
|
|
134
|
+
let st = m(() => L.value.userOptions.useCursorPointer), { userOptionsVisible: ct, keepUserOptionState: lt } = se({ config: L.value }), { svgRef: R } = ce({ config: L.value.style.chart.title }), ut = m(() => n({
|
|
135
135
|
defaultConfig: {
|
|
136
136
|
map: { geoJson: {
|
|
137
137
|
type: "FeatureCollection",
|
|
@@ -206,7 +206,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
206
206
|
},
|
|
207
207
|
userConfig: L.value.skeletonConfig ?? {}
|
|
208
208
|
})), { loading: dt, FINAL_DATASET: ft } = u({
|
|
209
|
-
...
|
|
209
|
+
...we(O),
|
|
210
210
|
FINAL_CONFIG: L,
|
|
211
211
|
prepareConfig: ot,
|
|
212
212
|
allowEmptyDataset: !0,
|
|
@@ -219,25 +219,25 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
219
219
|
elementId: `vue-ui-geo_${k.value}`,
|
|
220
220
|
fileName: L.value.style.chart.title.text || "vue-ui-geo",
|
|
221
221
|
options: L.value.userOptions.print
|
|
222
|
-
}), _t =
|
|
222
|
+
}), _t = m(() => L.value.style.chart.controls.show ? L.value.style.chart.controls.position === "top" ? tt.value?.$el ?? null : L.value.style.chart.controls.position === "bottom" ? nt.value?.$el ?? null : null : null);
|
|
223
223
|
function vt() {
|
|
224
224
|
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect(), M.value = null, N.value = null);
|
|
225
225
|
}
|
|
226
|
-
let z =
|
|
227
|
-
|
|
226
|
+
let z = m(() => !!L.value.responsive && !I.value);
|
|
227
|
+
E(() => I.value, async (e) => {
|
|
228
228
|
if (e) {
|
|
229
|
-
vt(), V.value = Number(L.value.style.chart.dimensions.width) || V.value, H.value = Number(L.value.style.chart.dimensions.height) || H.value, await
|
|
229
|
+
vt(), V.value = Number(L.value.style.chart.dimensions.width) || V.value, H.value = Number(L.value.style.chart.dimensions.height) || H.value, await b(), j.value = !1, requestAnimationFrame(() => {
|
|
230
230
|
j.value || nn();
|
|
231
231
|
});
|
|
232
232
|
return;
|
|
233
233
|
}
|
|
234
|
-
L.value.responsive && (await
|
|
234
|
+
L.value.responsive && (await b(), yt());
|
|
235
235
|
});
|
|
236
236
|
function yt() {
|
|
237
237
|
if (vt(), !z.value) return;
|
|
238
|
-
let e =
|
|
238
|
+
let e = ie(() => {
|
|
239
239
|
if (!A.value) return;
|
|
240
|
-
let { width: e, height: t } =
|
|
240
|
+
let { width: e, height: t } = ae({
|
|
241
241
|
chart: A.value,
|
|
242
242
|
noTitle: bt.value ? $e.value : null,
|
|
243
243
|
title: L.value.style.chart.title.text ? Qe.value : null,
|
|
@@ -250,14 +250,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
250
250
|
});
|
|
251
251
|
M.value = new ResizeObserver(e), N.value = A.value ? A.value.parentNode : null, N.value && M.value.observe(N.value), e();
|
|
252
252
|
}
|
|
253
|
-
let bt =
|
|
254
|
-
|
|
253
|
+
let bt = m(() => L.value.userOptions.show && !L.value.style.chart.title.text), xt = C({ showTooltip: L.value.style.chart.tooltip.show }), B = C(L.value.style.chart.zoom.active);
|
|
254
|
+
E(() => O.config, () => {
|
|
255
255
|
L.value = ot(), xt.value.showTooltip = L.value.style.chart.tooltip.show, B.value = L.value.style.chart.zoom.active, V.value = L.value.style.chart.dimensions.width, H.value = L.value.style.chart.dimensions.height, yt(), Je.value += 1, qe.value += 1;
|
|
256
256
|
}, { deep: !0 });
|
|
257
|
-
let { projections: St } =
|
|
257
|
+
let { projections: St } = de, Ct = m(() => L.value?.projection || "equirectangular"), wt = m(() => {
|
|
258
258
|
let e = St?.[Ct.value];
|
|
259
259
|
return typeof e == "function" ? e : St.equirectangular;
|
|
260
|
-
}), Tt =
|
|
260
|
+
}), Tt = m(() => L.value.map.geoJson ?? null), Et = {
|
|
261
261
|
aitoff: {
|
|
262
262
|
width: 1e3,
|
|
263
263
|
height: 500
|
|
@@ -310,13 +310,13 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
310
310
|
width: 1e3,
|
|
311
311
|
height: 1e3
|
|
312
312
|
}
|
|
313
|
-
}, V =
|
|
313
|
+
}, V = C(L.value.style.chart.dimensions.width), H = C(L.value.style.chart.dimensions.height), Dt = m(() => {
|
|
314
314
|
let e = Et[Ct.value] || Et.equirectangular;
|
|
315
315
|
return {
|
|
316
316
|
width: e.width,
|
|
317
317
|
height: e.height
|
|
318
318
|
};
|
|
319
|
-
}), U =
|
|
319
|
+
}), U = m(() => {
|
|
320
320
|
let e = Dt.value, t = V.value, n = H.value, r = Number.isFinite(t) && t > 0, i = Number.isFinite(n) && n > 0;
|
|
321
321
|
return r && i ? {
|
|
322
322
|
width: t,
|
|
@@ -331,7 +331,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
331
331
|
width: e.width,
|
|
332
332
|
height: e.height
|
|
333
333
|
};
|
|
334
|
-
}), Ot =
|
|
334
|
+
}), Ot = m(() => {
|
|
335
335
|
let e = L.value?.map?.center, t = [0, 0];
|
|
336
336
|
if (!Array.isArray(e) || e.length !== 2) return t;
|
|
337
337
|
let n = Number(e[0]), r = Number(e[1]);
|
|
@@ -492,10 +492,10 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
492
492
|
};
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
|
-
let jt =
|
|
495
|
+
let jt = m(() => kt(Tt.value, {
|
|
496
496
|
defaultName: "",
|
|
497
497
|
includeNullGeometries: !1
|
|
498
|
-
})), Mt =
|
|
498
|
+
})), Mt = m(() => At(jt.value));
|
|
499
499
|
function Nt(e) {
|
|
500
500
|
if (!e || typeof e.type != "string") return "";
|
|
501
501
|
if (e.type === "GeometryCollection") return (Array.isArray(e.geometries) ? e.geometries : []).map((e) => Nt(e)).filter(Boolean).join(" ");
|
|
@@ -522,28 +522,28 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
522
522
|
function Ft(e) {
|
|
523
523
|
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((e) => Ft(e)) : e.type === "Point" || e.type === "MultiPoint";
|
|
524
524
|
}
|
|
525
|
-
let It =
|
|
525
|
+
let It = m(() => Mt.value.filter((e) => {
|
|
526
526
|
let t = e.geometry;
|
|
527
527
|
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
|
-
})), Lt =
|
|
528
|
+
})), Lt = m(() => Mt.value.filter((e) => {
|
|
529
529
|
let t = e.geometry;
|
|
530
530
|
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
|
-
})), Rt =
|
|
531
|
+
})), Rt = m(() => Mt.value.filter((e) => {
|
|
532
532
|
let t = e.geometry;
|
|
533
533
|
return t ? Ft(t) : !1;
|
|
534
|
-
})), zt =
|
|
534
|
+
})), zt = m(() => It.value.map((e) => {
|
|
535
535
|
let t = Nt(e.geometry);
|
|
536
536
|
return t ? {
|
|
537
537
|
...e,
|
|
538
538
|
path: t
|
|
539
539
|
} : null;
|
|
540
|
-
}).filter(Boolean)), Bt =
|
|
540
|
+
}).filter(Boolean)), Bt = m(() => Lt.value.map((e) => {
|
|
541
541
|
let t = Nt(e.geometry);
|
|
542
542
|
return t ? {
|
|
543
543
|
...e,
|
|
544
544
|
path: t
|
|
545
545
|
} : null;
|
|
546
|
-
}).filter(Boolean)), Vt =
|
|
546
|
+
}).filter(Boolean)), Vt = m(() => {
|
|
547
547
|
let e = [];
|
|
548
548
|
function t(e = {}) {
|
|
549
549
|
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;
|
|
@@ -617,7 +617,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
617
617
|
height: s
|
|
618
618
|
};
|
|
619
619
|
}
|
|
620
|
-
let Wt =
|
|
620
|
+
let Wt = m(() => Ut(Mt.value));
|
|
621
621
|
function Gt({ bounds: e, targetWidth: t, targetHeight: n, padding: r }) {
|
|
622
622
|
if (!e || !(e.width > 0) || !(e.height > 0)) return {
|
|
623
623
|
scale: 1,
|
|
@@ -625,15 +625,15 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
625
625
|
translateY: 0,
|
|
626
626
|
transform: ""
|
|
627
627
|
};
|
|
628
|
-
let i = Number.isFinite(Number(r)) ? Number(r) : 0, a = Math.max(1, t - i * 2), o = Math.max(1, n - i * 2), s = a / e.width, c = o / e.height, l = Math.min(s, c), u = e.width * l, d = e.height * l, f = i + (a - u) / 2, p = i + (o - d) / 2,
|
|
628
|
+
let i = Number.isFinite(Number(r)) ? Number(r) : 0, a = Math.max(1, t - i * 2), o = Math.max(1, n - i * 2), s = a / e.width, c = o / e.height, l = Math.min(s, c), u = e.width * l, d = e.height * l, f = i + (a - u) / 2, p = i + (o - d) / 2, ee = f - e.minX * l, te = p - e.minY * l;
|
|
629
629
|
return {
|
|
630
630
|
scale: l,
|
|
631
|
-
translateX:
|
|
632
|
-
translateY:
|
|
633
|
-
transform: `translate(${
|
|
631
|
+
translateX: ee,
|
|
632
|
+
translateY: te,
|
|
633
|
+
transform: `translate(${ee} ${te}) scale(${l})`
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
|
-
let Kt =
|
|
636
|
+
let Kt = m(() => {
|
|
637
637
|
let e = Wt.value;
|
|
638
638
|
if (!e) return {
|
|
639
639
|
scale: 1,
|
|
@@ -648,7 +648,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
648
648
|
targetHeight: U.value.height,
|
|
649
649
|
padding: n
|
|
650
650
|
});
|
|
651
|
-
}), qt =
|
|
651
|
+
}), qt = m(() => `0 0 ${U.value.width} ${U.value.height}`), { viewBox: Jt, resetZoom: Yt, setInitialViewBox: Xt, scale: Zt, zoomByFactor: Qt } = le(R, {
|
|
652
652
|
x: 0,
|
|
653
653
|
y: 0,
|
|
654
654
|
width: U.value.width,
|
|
@@ -694,7 +694,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
694
694
|
let e = tn();
|
|
695
695
|
Xt(e, { overwriteCurrentIfNotZoomed: !0 }), j.value = !0;
|
|
696
696
|
}
|
|
697
|
-
let rn =
|
|
697
|
+
let rn = m(() => {
|
|
698
698
|
let e = Jt.value;
|
|
699
699
|
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : qt.value;
|
|
700
700
|
});
|
|
@@ -708,22 +708,22 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
708
708
|
let e = tn();
|
|
709
709
|
Xt(e, { overwriteCurrentIfNotZoomed: !0 }), Yt(!0);
|
|
710
710
|
}
|
|
711
|
-
|
|
711
|
+
E(() => [
|
|
712
712
|
L.value.projection,
|
|
713
713
|
L.value.map.center?.[0],
|
|
714
714
|
L.value.map.center?.[1],
|
|
715
715
|
L.value.map.fitPadding,
|
|
716
716
|
Tt.value
|
|
717
717
|
], async () => {
|
|
718
|
-
j.value = !1, await
|
|
718
|
+
j.value = !1, await b(), requestAnimationFrame(() => {
|
|
719
719
|
j.value || nn();
|
|
720
720
|
});
|
|
721
|
-
}, { deep: !1 }),
|
|
721
|
+
}, { deep: !1 }), E(() => [
|
|
722
722
|
V.value,
|
|
723
723
|
H.value,
|
|
724
724
|
z.value
|
|
725
725
|
], async () => {
|
|
726
|
-
z.value && (await
|
|
726
|
+
z.value && (await b(), Xt({
|
|
727
727
|
x: 0,
|
|
728
728
|
y: 0,
|
|
729
729
|
width: U.value.width,
|
|
@@ -779,7 +779,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
779
779
|
};
|
|
780
780
|
}).filter(Boolean) : [] : [];
|
|
781
781
|
}
|
|
782
|
-
let ln =
|
|
782
|
+
let ln = m(() => cn(ft.value)), un = m(() => ln.value.map((e) => {
|
|
783
783
|
let t = W(e.coordinates), n = t?.[0], i = t?.[1];
|
|
784
784
|
return !Number.isFinite(n) || !Number.isFinite(i) ? null : {
|
|
785
785
|
...e,
|
|
@@ -788,7 +788,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
788
788
|
fill: e.color ? r(e.color) : L.value.style.chart.points.fill,
|
|
789
789
|
radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : L.value.style.chart.points.radius
|
|
790
790
|
};
|
|
791
|
-
}).filter(Boolean)), G =
|
|
791
|
+
}).filter(Boolean)), G = m(() => un.value.map((e, t) => ({
|
|
792
792
|
...e,
|
|
793
793
|
keyboardIndex: t
|
|
794
794
|
})));
|
|
@@ -799,7 +799,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
799
799
|
y: r.y
|
|
800
800
|
});
|
|
801
801
|
}
|
|
802
|
-
let fn =
|
|
802
|
+
let fn = C(!1), pn = C(""), K = C(!1), q = C(null), J = C(null);
|
|
803
803
|
function mn(e) {
|
|
804
804
|
pn.value = e, fn.value = !0;
|
|
805
805
|
}
|
|
@@ -869,19 +869,19 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
871
|
function Sn(e, t = "pointer") {
|
|
872
|
-
t
|
|
872
|
+
(t !== "pointer" || F.value !== "keyboard") && (q.value = null, Y(), t !== "pointer" && (P.value = null, F.value = "pointer"), L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
873
873
|
datapoint: e,
|
|
874
874
|
seriesIndex: e.index
|
|
875
875
|
}));
|
|
876
876
|
}
|
|
877
|
-
let Cn =
|
|
877
|
+
let Cn = m(() => !!L.value.events.datapointClick && typeof L.value.events.datapointClick == "function");
|
|
878
878
|
function wn(e) {
|
|
879
879
|
Cn.value && L.value.events.datapointClick({
|
|
880
880
|
datapoint: e,
|
|
881
881
|
seriesIndex: e.index
|
|
882
882
|
});
|
|
883
883
|
}
|
|
884
|
-
let X =
|
|
884
|
+
let X = m(() => L.value.style.chart.territory), Tn = m(() => L.value.style.chart.points);
|
|
885
885
|
function En(e) {
|
|
886
886
|
let t = typeof e?.name == "string" ? e.name.trim() : "";
|
|
887
887
|
if (!t) {
|
|
@@ -899,40 +899,40 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
899
899
|
function Dn() {
|
|
900
900
|
J.value = null, Y();
|
|
901
901
|
}
|
|
902
|
-
let Z =
|
|
902
|
+
let Z = C(!1);
|
|
903
903
|
function On() {
|
|
904
904
|
Z.value = !Z.value;
|
|
905
905
|
}
|
|
906
|
-
|
|
906
|
+
E(() => Z.value, (e) => {
|
|
907
907
|
B.value = !e;
|
|
908
908
|
});
|
|
909
909
|
function kn() {
|
|
910
910
|
xt.value.showTooltip = !xt.value.showTooltip;
|
|
911
911
|
}
|
|
912
|
-
let An =
|
|
912
|
+
let An = m(() => L.value.style.chart.backgroundColor), jn = m(() => L.value.style.chart.title), { exportSvg: Mn, getSvg: Nn } = f({
|
|
913
913
|
svg: R,
|
|
914
|
-
title:
|
|
914
|
+
title: jn,
|
|
915
915
|
legend: void 0,
|
|
916
916
|
legendItems: void 0,
|
|
917
917
|
backgroundColor: An
|
|
918
918
|
});
|
|
919
|
-
async function
|
|
920
|
-
Xe.value = !0, await
|
|
919
|
+
async function Pn({ isCb: e }) {
|
|
920
|
+
Xe.value = !0, await b();
|
|
921
921
|
try {
|
|
922
922
|
if (e) {
|
|
923
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
923
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Nn();
|
|
924
924
|
await Promise.resolve(L.value.userOptions.callbacks.svg({
|
|
925
925
|
blob: e,
|
|
926
926
|
url: t,
|
|
927
927
|
text: n,
|
|
928
928
|
dataUrl: r
|
|
929
929
|
}));
|
|
930
|
-
} else await Promise.resolve(
|
|
930
|
+
} else await Promise.resolve(Mn());
|
|
931
931
|
} finally {
|
|
932
932
|
Xe.value = !1;
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
|
-
function
|
|
935
|
+
function Fn(e) {
|
|
936
936
|
if (e?.stage === "start") {
|
|
937
937
|
Ye.value = !0;
|
|
938
938
|
return;
|
|
@@ -943,9 +943,9 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
943
943
|
}
|
|
944
944
|
gt();
|
|
945
945
|
}
|
|
946
|
-
async function
|
|
946
|
+
async function In({ scale: e = 2 } = {}) {
|
|
947
947
|
if (!A.value) return;
|
|
948
|
-
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
948
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await te({
|
|
949
949
|
domElement: A.value,
|
|
950
950
|
base64: !0,
|
|
951
951
|
img: !0,
|
|
@@ -960,22 +960,22 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
960
960
|
aspectRatio: r
|
|
961
961
|
};
|
|
962
962
|
}
|
|
963
|
-
let Q =
|
|
964
|
-
function
|
|
963
|
+
let Q = C(!1), $ = null;
|
|
964
|
+
function Ln() {
|
|
965
965
|
B.value && (Q.value = !0);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
967
|
+
function Rn() {
|
|
968
968
|
Q.value = !1;
|
|
969
969
|
}
|
|
970
|
-
function
|
|
970
|
+
function zn() {
|
|
971
971
|
B.value && (Q.value = !0, $ && clearTimeout($), $ = setTimeout(() => {
|
|
972
972
|
Q.value = !1, $ = null;
|
|
973
973
|
}, 140));
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
be(() => {
|
|
976
976
|
$ && clearTimeout($);
|
|
977
977
|
});
|
|
978
|
-
async function
|
|
978
|
+
async function Bn([e, t], { animated: n = !0 } = {}) {
|
|
979
979
|
let r = Number(e), i = Number(t);
|
|
980
980
|
if (!Number.isFinite(r) || !Number.isFinite(i)) return;
|
|
981
981
|
let a = W([r, i]), o = a?.[0], s = a?.[1];
|
|
@@ -998,7 +998,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
998
998
|
Jt.value = u;
|
|
999
999
|
return;
|
|
1000
1000
|
}
|
|
1001
|
-
let d = { ...l }, f = { ...u }, p = null,
|
|
1001
|
+
let d = { ...l }, f = { ...u }, p = null, ee = (e) => {
|
|
1002
1002
|
p ??= e;
|
|
1003
1003
|
let t = Math.min((e - p) / 250, 1);
|
|
1004
1004
|
Jt.value = {
|
|
@@ -1006,18 +1006,18 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1006
1006
|
y: d.y + (f.y - d.y) * t,
|
|
1007
1007
|
width: d.width + (f.width - d.width) * t,
|
|
1008
1008
|
height: d.height + (f.height - d.height) * t
|
|
1009
|
-
}, t < 1 && requestAnimationFrame(
|
|
1009
|
+
}, t < 1 && requestAnimationFrame(ee);
|
|
1010
1010
|
};
|
|
1011
|
-
requestAnimationFrame(
|
|
1011
|
+
requestAnimationFrame(ee);
|
|
1012
1012
|
}
|
|
1013
|
-
|
|
1014
|
-
yt(), await
|
|
1015
|
-
j.value || (nn(), (L.value.map.center?.[0] || L.value.map.center?.[1]) &&
|
|
1013
|
+
xe(async () => {
|
|
1014
|
+
yt(), await b(), requestAnimationFrame(() => {
|
|
1015
|
+
j.value || (nn(), (L.value.map.center?.[0] || L.value.map.center?.[1]) && Bn(L.value.map.center, { animated: !1 }));
|
|
1016
1016
|
});
|
|
1017
|
-
}),
|
|
1017
|
+
}), be(() => {
|
|
1018
1018
|
vt();
|
|
1019
1019
|
});
|
|
1020
|
-
async function
|
|
1020
|
+
async function Vn() {
|
|
1021
1021
|
if (Ue("copyAlt", {
|
|
1022
1022
|
config: L.value,
|
|
1023
1023
|
dataset: ft.value
|
|
@@ -1030,7 +1030,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1030
1030
|
dataset: ft.value
|
|
1031
1031
|
}));
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function Hn(e, t) {
|
|
1034
1034
|
let n = G.value;
|
|
1035
1035
|
if (!n.length) return null;
|
|
1036
1036
|
let r = n[e];
|
|
@@ -1045,18 +1045,18 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1045
1045
|
}
|
|
1046
1046
|
return i;
|
|
1047
1047
|
}
|
|
1048
|
-
function
|
|
1048
|
+
function Un(e) {
|
|
1049
1049
|
let t = G.value;
|
|
1050
1050
|
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;
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Wn() {
|
|
1053
1053
|
it.value = !0;
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function Gn() {
|
|
1056
1056
|
let e = P.value == null ? null : G.value[P.value];
|
|
1057
1057
|
e ? Sn(e, "keyboard") : (P.value = null, F.value = "pointer", Y(), q.value = null), it.value = !1;
|
|
1058
1058
|
}
|
|
1059
|
-
function
|
|
1059
|
+
function Kn(e) {
|
|
1060
1060
|
if (!R.value || Z.value || document.activeElement !== R.value || !G.value.length) return;
|
|
1061
1061
|
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";
|
|
1062
1062
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
@@ -1072,11 +1072,11 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1072
1072
|
return;
|
|
1073
1073
|
}
|
|
1074
1074
|
let s = t ? "right" : n ? "left" : r ? "down" : "up", c = null;
|
|
1075
|
-
if (P.value == null ? c =
|
|
1075
|
+
if (P.value == null ? c = Un(s) : (c = Hn(P.value, s), c ??= Un(s)), c == null) return;
|
|
1076
1076
|
let l = G.value[c];
|
|
1077
1077
|
l && xn(l, c, "keyboard");
|
|
1078
1078
|
}
|
|
1079
|
-
let
|
|
1079
|
+
let qn = m(() => ({
|
|
1080
1080
|
headers: [
|
|
1081
1081
|
"Name",
|
|
1082
1082
|
"Latitude",
|
|
@@ -1093,41 +1093,41 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1093
1093
|
];
|
|
1094
1094
|
})
|
|
1095
1095
|
}));
|
|
1096
|
-
return
|
|
1097
|
-
getImage:
|
|
1096
|
+
return re({
|
|
1097
|
+
getImage: In,
|
|
1098
1098
|
generatePdf: ht,
|
|
1099
1099
|
generateImage: gt,
|
|
1100
|
-
generateSvg:
|
|
1100
|
+
generateSvg: Pn,
|
|
1101
1101
|
toggleTooltip: kn,
|
|
1102
1102
|
toggleAnnotator: On,
|
|
1103
1103
|
toggleFullscreen: at,
|
|
1104
1104
|
zoomIn: an,
|
|
1105
1105
|
zoomOut: on,
|
|
1106
1106
|
resetZoom: Yt,
|
|
1107
|
-
focusLocation:
|
|
1108
|
-
copyAlt:
|
|
1109
|
-
}), (e, t) => (
|
|
1110
|
-
class:
|
|
1107
|
+
focusLocation: Bn,
|
|
1108
|
+
copyAlt: Vn
|
|
1109
|
+
}), (e, t) => (S(), _("div", {
|
|
1110
|
+
class: ve(`vue-data-ui-component vue-ui-geo ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value ? "vue-ui-geo-responsive" : ""} ${Q.value ? "vue-ui-geo-interacting" : ""}`),
|
|
1111
1111
|
ref_key: "geoChart",
|
|
1112
1112
|
ref: A,
|
|
1113
1113
|
id: `map_${k.value}`,
|
|
1114
1114
|
dir: "auto",
|
|
1115
|
-
style:
|
|
1115
|
+
style: ye({
|
|
1116
1116
|
fontFamily: L.value.style.fontFamily,
|
|
1117
1117
|
width: "100%",
|
|
1118
1118
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1119
1119
|
height: z.value ? `${H.value}px` : void 0
|
|
1120
1120
|
})
|
|
1121
1121
|
}, [
|
|
1122
|
-
|
|
1122
|
+
v("div", {
|
|
1123
1123
|
id: `chart-instructions-${k.value}`,
|
|
1124
1124
|
class: "sr-only"
|
|
1125
|
-
}, [
|
|
1126
|
-
|
|
1125
|
+
}, [v("p", null, Ce(L.value.a11y.translations.keyboardNavigation), 1)], 8, De),
|
|
1126
|
+
qn.value?.rows?.length ? (S(), h(oe, {
|
|
1127
1127
|
key: 0,
|
|
1128
1128
|
uid: k.value,
|
|
1129
|
-
head:
|
|
1130
|
-
body:
|
|
1129
|
+
head: qn.value.headers,
|
|
1130
|
+
body: qn.value.rows,
|
|
1131
1131
|
notice: L.value.a11y.translations.tableAvailable,
|
|
1132
1132
|
caption: L.value.a11y.translations.tableCaption
|
|
1133
1133
|
}, null, 8, [
|
|
@@ -1136,20 +1136,20 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1136
1136
|
"body",
|
|
1137
1137
|
"notice",
|
|
1138
1138
|
"caption"
|
|
1139
|
-
])) :
|
|
1140
|
-
bt.value ? (
|
|
1139
|
+
])) : g("", !0),
|
|
1140
|
+
bt.value ? (S(), _("div", {
|
|
1141
1141
|
key: 1,
|
|
1142
1142
|
ref_key: "noTitle",
|
|
1143
1143
|
ref: $e,
|
|
1144
1144
|
class: "vue-data-ui-no-title-space",
|
|
1145
1145
|
style: "height:36px; width: 100%;background:transparent"
|
|
1146
|
-
}, null, 512)) :
|
|
1147
|
-
L.value.style.chart.title.text ? (
|
|
1146
|
+
}, null, 512)) : g("", !0),
|
|
1147
|
+
L.value.style.chart.title.text ? (S(), _("div", {
|
|
1148
1148
|
key: 2,
|
|
1149
1149
|
ref_key: "chartTitle",
|
|
1150
1150
|
ref: Qe,
|
|
1151
1151
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1152
|
-
}, [(
|
|
1152
|
+
}, [(S(), h(ne, {
|
|
1153
1153
|
key: `title_${Je.value}`,
|
|
1154
1154
|
config: {
|
|
1155
1155
|
title: {
|
|
@@ -1161,22 +1161,22 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1161
1161
|
...L.value.style.chart.title.subtitle
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1165
|
-
L.value.userOptions.buttons.annotator ? (
|
|
1164
|
+
}, null, 8, ["config"]))], 512)) : g("", !0),
|
|
1165
|
+
L.value.userOptions.buttons.annotator ? (S(), h(T(Ve), {
|
|
1166
1166
|
key: 3,
|
|
1167
|
-
svgRef:
|
|
1167
|
+
svgRef: T(R),
|
|
1168
1168
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1169
1169
|
color: L.value.style.chart.color,
|
|
1170
1170
|
active: Z.value,
|
|
1171
1171
|
isCursorPointer: st.value,
|
|
1172
1172
|
onClose: On
|
|
1173
1173
|
}, {
|
|
1174
|
-
"annotator-action-close": D(() => [
|
|
1175
|
-
"annotator-action-color": D(({ color: t }) => [
|
|
1176
|
-
"annotator-action-draw": D(({ mode: t }) => [
|
|
1177
|
-
"annotator-action-undo": D(({ disabled: t }) => [
|
|
1178
|
-
"annotator-action-redo": D(({ disabled: t }) => [
|
|
1179
|
-
"annotator-action-delete": D(({ disabled: t }) => [
|
|
1174
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1175
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", x(y({ color: t })), void 0, !0)]),
|
|
1176
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", x(y({ mode: t })), void 0, !0)]),
|
|
1177
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", x(y({ disabled: t })), void 0, !0)]),
|
|
1178
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", x(y({ disabled: t })), void 0, !0)]),
|
|
1179
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", x(y({ disabled: t })), void 0, !0)]),
|
|
1180
1180
|
_: 3
|
|
1181
1181
|
}, 8, [
|
|
1182
1182
|
"svgRef",
|
|
@@ -1184,14 +1184,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1184
1184
|
"color",
|
|
1185
1185
|
"active",
|
|
1186
1186
|
"isCursorPointer"
|
|
1187
|
-
])) :
|
|
1188
|
-
L.value.userOptions.show && (
|
|
1187
|
+
])) : g("", !0),
|
|
1188
|
+
L.value.userOptions.show && (T(lt) || T(ct)) ? (S(), h(T(Be), {
|
|
1189
1189
|
ref: "userOptionsRef",
|
|
1190
1190
|
key: `user_options_${qe.value}`,
|
|
1191
1191
|
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1192
1192
|
color: L.value.style.chart.color,
|
|
1193
|
-
isPrinting:
|
|
1194
|
-
isImaging:
|
|
1193
|
+
isPrinting: T(pt),
|
|
1194
|
+
isImaging: T(mt),
|
|
1195
1195
|
uid: k.value,
|
|
1196
1196
|
hasXls: !1,
|
|
1197
1197
|
hasTable: !1,
|
|
@@ -1214,18 +1214,18 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1214
1214
|
printScale: L.value.userOptions.print.scale,
|
|
1215
1215
|
isCursorPointer: st.value,
|
|
1216
1216
|
onToggleFullscreen: at,
|
|
1217
|
-
onGeneratePdf:
|
|
1218
|
-
onGenerateImage:
|
|
1219
|
-
onGenerateSvg:
|
|
1217
|
+
onGeneratePdf: T(ht),
|
|
1218
|
+
onGenerateImage: Fn,
|
|
1219
|
+
onGenerateSvg: Pn,
|
|
1220
1220
|
onToggleTooltip: kn,
|
|
1221
1221
|
onToggleAnnotator: On,
|
|
1222
1222
|
onToggleZoom: $t,
|
|
1223
|
-
onCopyAlt:
|
|
1224
|
-
style:
|
|
1225
|
-
},
|
|
1223
|
+
onCopyAlt: Vn,
|
|
1224
|
+
style: ye({ visibility: T(lt) ? T(ct) ? "visible" : "hidden" : "visible" })
|
|
1225
|
+
}, me({ _: 2 }, [
|
|
1226
1226
|
e.$slots.menuIcon ? {
|
|
1227
1227
|
name: "menuIcon",
|
|
1228
|
-
fn: D(({ isOpen: t, color: n }) => [
|
|
1228
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", x(y({
|
|
1229
1229
|
isOpen: t,
|
|
1230
1230
|
color: n
|
|
1231
1231
|
})), void 0, !0)]),
|
|
@@ -1233,27 +1233,27 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1233
1233
|
} : void 0,
|
|
1234
1234
|
e.$slots.optionTooltip ? {
|
|
1235
1235
|
name: "optionTooltip",
|
|
1236
|
-
fn: D(() => [
|
|
1236
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1237
1237
|
key: "1"
|
|
1238
1238
|
} : void 0,
|
|
1239
1239
|
e.$slots.optionPdf ? {
|
|
1240
1240
|
name: "optionPdf",
|
|
1241
|
-
fn: D(() => [
|
|
1241
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1242
1242
|
key: "2"
|
|
1243
1243
|
} : void 0,
|
|
1244
1244
|
e.$slots.optionImg ? {
|
|
1245
1245
|
name: "optionImg",
|
|
1246
|
-
fn: D(() => [
|
|
1246
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1247
1247
|
key: "3"
|
|
1248
1248
|
} : void 0,
|
|
1249
1249
|
e.$slots.optionSvg ? {
|
|
1250
1250
|
name: "optionSvg",
|
|
1251
|
-
fn: D(() => [
|
|
1251
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1252
1252
|
key: "4"
|
|
1253
1253
|
} : void 0,
|
|
1254
1254
|
e.$slots.optionFullscreen ? {
|
|
1255
1255
|
name: "optionFullscreen",
|
|
1256
|
-
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1256
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", x(y({
|
|
1257
1257
|
toggleFullscreen: t,
|
|
1258
1258
|
isFullscreen: n
|
|
1259
1259
|
})), void 0, !0)]),
|
|
@@ -1261,7 +1261,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1261
1261
|
} : void 0,
|
|
1262
1262
|
e.$slots.optionAnnotator ? {
|
|
1263
1263
|
name: "optionAnnotator",
|
|
1264
|
-
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1264
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", x(y({
|
|
1265
1265
|
toggleAnnotator: t,
|
|
1266
1266
|
isAnnotator: n
|
|
1267
1267
|
})), void 0, !0)]),
|
|
@@ -1269,7 +1269,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1269
1269
|
} : void 0,
|
|
1270
1270
|
e.$slots.optionZoom ? {
|
|
1271
1271
|
name: "optionZoom",
|
|
1272
|
-
fn: D(({ toggleZoom: t, isZoomLocked: n }) => [
|
|
1272
|
+
fn: D(({ toggleZoom: t, isZoomLocked: n }) => [w(e.$slots, "optionZoom", x(y({
|
|
1273
1273
|
toggleZoom: t,
|
|
1274
1274
|
isZoomLocked: n
|
|
1275
1275
|
})), void 0, !0)]),
|
|
@@ -1277,17 +1277,17 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1277
1277
|
} : void 0,
|
|
1278
1278
|
e.$slots.optionAltCopy ? {
|
|
1279
1279
|
name: "optionAltCopy",
|
|
1280
|
-
fn: D(({ altCopy: t }) => [
|
|
1280
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", x(y({ altCopy: t })), void 0, !0)]),
|
|
1281
1281
|
key: "8"
|
|
1282
1282
|
} : void 0,
|
|
1283
1283
|
e.$slots["custom-menu-before"] ? {
|
|
1284
1284
|
name: "custom-menu-before",
|
|
1285
|
-
fn: D(() => [
|
|
1285
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1286
1286
|
key: "9"
|
|
1287
1287
|
} : void 0,
|
|
1288
1288
|
e.$slots["custom-menu-after"] ? {
|
|
1289
1289
|
name: "custom-menu-after",
|
|
1290
|
-
fn: D(() => [
|
|
1290
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1291
1291
|
key: "10"
|
|
1292
1292
|
} : void 0
|
|
1293
1293
|
]), 1032, [
|
|
@@ -1316,13 +1316,13 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1316
1316
|
"isCursorPointer",
|
|
1317
1317
|
"onGeneratePdf",
|
|
1318
1318
|
"style"
|
|
1319
|
-
])) :
|
|
1320
|
-
L.value.style.chart.controls.position === "top" && L.value.style.chart.controls.show && !
|
|
1319
|
+
])) : g("", !0),
|
|
1320
|
+
L.value.style.chart.controls.position === "top" && L.value.style.chart.controls.show && !T(dt) ? (S(), h(ue, {
|
|
1321
1321
|
key: 5,
|
|
1322
1322
|
ref_key: "zoomControlsTop",
|
|
1323
1323
|
ref: tt,
|
|
1324
1324
|
config: L.value,
|
|
1325
|
-
scale:
|
|
1325
|
+
scale: T(Zt),
|
|
1326
1326
|
isFullscreen: I.value,
|
|
1327
1327
|
isCursorPointer: st.value,
|
|
1328
1328
|
onZoomIn: an,
|
|
@@ -1333,16 +1333,16 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1333
1333
|
"scale",
|
|
1334
1334
|
"isFullscreen",
|
|
1335
1335
|
"isCursorPointer"
|
|
1336
|
-
])) :
|
|
1337
|
-
|
|
1336
|
+
])) : g("", !0),
|
|
1337
|
+
v("div", Oe, [(S(), _("svg", {
|
|
1338
1338
|
ref_key: "svgRef",
|
|
1339
1339
|
ref: R,
|
|
1340
|
-
xmlns:
|
|
1340
|
+
xmlns: T(a),
|
|
1341
1341
|
viewBox: rn.value,
|
|
1342
1342
|
preserveAspectRatio: "xMidYMid meet",
|
|
1343
1343
|
"aria-describedby": `map-keyboard-instructions-${k.value}`,
|
|
1344
1344
|
tabindex: "0",
|
|
1345
|
-
style:
|
|
1345
|
+
style: ye({
|
|
1346
1346
|
display: "block",
|
|
1347
1347
|
width: "100%",
|
|
1348
1348
|
height: z.value ? `${H.value}px` : "auto",
|
|
@@ -1351,19 +1351,19 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1351
1351
|
cursor: B.value ? Q.value ? "grabbing" : "grab" : "default"
|
|
1352
1352
|
}),
|
|
1353
1353
|
id: `vue-ui-geo_${k.value}`,
|
|
1354
|
-
onPointerdown:
|
|
1355
|
-
onPointerup:
|
|
1356
|
-
onPointercancel:
|
|
1357
|
-
onPointerleave:
|
|
1358
|
-
onWheel:
|
|
1359
|
-
onFocus:
|
|
1360
|
-
onBlur:
|
|
1361
|
-
onKeydown:
|
|
1362
|
-
}, [
|
|
1354
|
+
onPointerdown: Ln,
|
|
1355
|
+
onPointerup: Rn,
|
|
1356
|
+
onPointercancel: Rn,
|
|
1357
|
+
onPointerleave: Rn,
|
|
1358
|
+
onWheel: zn,
|
|
1359
|
+
onFocus: Wn,
|
|
1360
|
+
onBlur: Gn,
|
|
1361
|
+
onKeydown: Kn
|
|
1362
|
+
}, [he(T(He)), v("g", {
|
|
1363
1363
|
transform: Kt.value.transform,
|
|
1364
|
-
style:
|
|
1364
|
+
style: ye({ pointerEvents: Q.value ? "none" : "auto" })
|
|
1365
1365
|
}, [
|
|
1366
|
-
|
|
1366
|
+
v("g", null, [(S(!0), _(pe, null, Se(zt.value, (e) => (S(), _("path", {
|
|
1367
1367
|
class: "vue-ui-geo-territory",
|
|
1368
1368
|
key: e.uid,
|
|
1369
1369
|
d: e.path,
|
|
@@ -1375,7 +1375,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1375
1375
|
onMouseleave: (t) => yn(e),
|
|
1376
1376
|
onClick: (t) => bn(e)
|
|
1377
1377
|
}, null, 40, je))), 128))]),
|
|
1378
|
-
|
|
1378
|
+
v("g", null, [(S(!0), _(pe, null, Se(Bt.value, (e) => (S(), _("path", {
|
|
1379
1379
|
class: "vue-ui-geo-territory",
|
|
1380
1380
|
key: e.uid,
|
|
1381
1381
|
d: e.path,
|
|
@@ -1387,7 +1387,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1387
1387
|
onMouseleave: (t) => yn(e),
|
|
1388
1388
|
onClick: (t) => bn(e)
|
|
1389
1389
|
}, null, 40, Me))), 128))]),
|
|
1390
|
-
|
|
1390
|
+
v("g", null, [(S(!0), _(pe, null, Se(Vt.value, (e) => (S(), _("circle", {
|
|
1391
1391
|
key: e.uid,
|
|
1392
1392
|
cx: e.x,
|
|
1393
1393
|
cy: e.y,
|
|
@@ -1399,14 +1399,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1399
1399
|
onMouseenter: (t) => En(e),
|
|
1400
1400
|
onMouseleave: Dn
|
|
1401
1401
|
}, null, 40, Ne))), 128))]),
|
|
1402
|
-
(
|
|
1402
|
+
(S(!0), _(pe, null, Se(un.value, (t, n) => (S(), _("g", { key: t.uid }, [w(e.$slots, "datapoint", _e({ ref_for: !0 }, {
|
|
1403
1403
|
point: t,
|
|
1404
1404
|
onPointEnter: xn,
|
|
1405
1405
|
onPointLeave: Sn,
|
|
1406
1406
|
onPointClick: wn,
|
|
1407
1407
|
highlighted: q.value === t.uid
|
|
1408
|
-
}), () => [
|
|
1409
|
-
class:
|
|
1408
|
+
}), () => [v("circle", {
|
|
1409
|
+
class: ve({
|
|
1410
1410
|
"vue-ui-geo-point": !0,
|
|
1411
1411
|
"vue-ui-geo-point-with-event": Cn.value && st.value
|
|
1412
1412
|
}),
|
|
@@ -1420,7 +1420,7 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1420
1420
|
onMouseenter: (e) => xn(t, n),
|
|
1421
1421
|
onMouseleave: (e) => Sn(t),
|
|
1422
1422
|
onClick: (e) => wn(t)
|
|
1423
|
-
}, null, 42, Pe)], !0), L.value.style.chart.points.labels.show ? (
|
|
1423
|
+
}, null, 42, Pe)], !0), L.value.style.chart.points.labels.show ? (S(), _("text", {
|
|
1424
1424
|
key: 0,
|
|
1425
1425
|
class: "vue-ui-geo-point-label",
|
|
1426
1426
|
x: t.x,
|
|
@@ -1428,14 +1428,14 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1428
1428
|
"text-anchor": "middle",
|
|
1429
1429
|
fill: L.value.style.chart.points.labels.color,
|
|
1430
1430
|
"font-size": 1 * L.value.style.chart.points.labels.fontSizeRatio
|
|
1431
|
-
},
|
|
1432
|
-
|
|
1431
|
+
}, Ce(t.name), 9, Fe)) : g("", !0)]))), 128)),
|
|
1432
|
+
w(e.$slots, "svg", { svg: {
|
|
1433
1433
|
drawingArea: rn.value,
|
|
1434
1434
|
x: Wt.value?.minX ?? 0,
|
|
1435
1435
|
y: Wt.value?.minY ?? 0,
|
|
1436
1436
|
width: Wt.value?.width ?? 0,
|
|
1437
1437
|
height: Wt.value?.height ?? 0,
|
|
1438
|
-
isPrintingImg:
|
|
1438
|
+
isPrintingImg: T(pt) || T(mt) || Ye.value,
|
|
1439
1439
|
isPrintingSvg: Xe.value,
|
|
1440
1440
|
data: {
|
|
1441
1441
|
areaPaths: zt.value,
|
|
@@ -1444,17 +1444,17 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1444
1444
|
projectedPoints: un.value
|
|
1445
1445
|
}
|
|
1446
1446
|
} }, void 0, !0)
|
|
1447
|
-
], 12, Ae)], 44, ke)), e.$slots.hint ? (
|
|
1447
|
+
], 12, Ae)], 44, ke)), e.$slots.hint ? (S(), _("div", Ie, [w(e.$slots, "hint", x(y({
|
|
1448
1448
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1449
1449
|
isVisible: it.value
|
|
1450
|
-
})), void 0, !0)])) :
|
|
1451
|
-
e.$slots.watermark ? (
|
|
1452
|
-
L.value.style.chart.controls.position === "bottom" && L.value.style.chart.controls.show && !
|
|
1450
|
+
})), void 0, !0)])) : g("", !0)]),
|
|
1451
|
+
e.$slots.watermark ? (S(), _("div", Le, [w(e.$slots, "watermark", x(y({ isPrinting: T(pt) || T(mt) || Ye.value || Xe.value })), void 0, !0)])) : g("", !0),
|
|
1452
|
+
L.value.style.chart.controls.position === "bottom" && L.value.style.chart.controls.show && !T(dt) ? (S(), h(ue, {
|
|
1453
1453
|
key: 7,
|
|
1454
1454
|
ref_key: "zoomControlsBottom",
|
|
1455
1455
|
ref: nt,
|
|
1456
1456
|
config: L.value,
|
|
1457
|
-
scale:
|
|
1457
|
+
scale: T(Zt),
|
|
1458
1458
|
isFullscreen: I.value,
|
|
1459
1459
|
isCursorPointer: st.value,
|
|
1460
1460
|
onZoomIn: an,
|
|
@@ -1465,8 +1465,8 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1465
1465
|
"scale",
|
|
1466
1466
|
"isFullscreen",
|
|
1467
1467
|
"isCursorPointer"
|
|
1468
|
-
])) :
|
|
1469
|
-
|
|
1468
|
+
])) : g("", !0),
|
|
1469
|
+
he(T(ze), {
|
|
1470
1470
|
teleportTo: L.value.style.chart.tooltip.teleportTo,
|
|
1471
1471
|
show: xt.value.showTooltip && fn.value,
|
|
1472
1472
|
backgroundColor: L.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1490,9 +1490,9 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1490
1490
|
isA11yMode: F.value === "keyboard",
|
|
1491
1491
|
a11yPosition: rt.value
|
|
1492
1492
|
}, {
|
|
1493
|
-
"tooltip-before": D(() => [
|
|
1494
|
-
tooltip: D(() => [
|
|
1495
|
-
"tooltip-after": D(() => [
|
|
1493
|
+
"tooltip-before": D(() => [w(e.$slots, "tooltip-before", x(y({ ...Ze.value })), void 0, !0)]),
|
|
1494
|
+
tooltip: D(() => [w(e.$slots, "tooltip", x(y({ ...Ze.value })), void 0, !0)]),
|
|
1495
|
+
"tooltip-after": D(() => [w(e.$slots, "tooltip-after", x(y({ ...Ze.value })), void 0, !0)]),
|
|
1496
1496
|
_: 3
|
|
1497
1497
|
}, 8, [
|
|
1498
1498
|
"teleportTo",
|
|
@@ -1518,13 +1518,13 @@ var Te = /* @__PURE__ */ e({ default: () => ze }), Ee = ["id"], De = ["id"], Oe
|
|
|
1518
1518
|
"isA11yMode",
|
|
1519
1519
|
"a11yPosition"
|
|
1520
1520
|
]),
|
|
1521
|
-
e.$slots.source ? (
|
|
1521
|
+
e.$slots.source ? (S(), _("div", {
|
|
1522
1522
|
key: 8,
|
|
1523
1523
|
ref_key: "source",
|
|
1524
1524
|
ref: et,
|
|
1525
1525
|
dir: "auto"
|
|
1526
|
-
}, [
|
|
1527
|
-
|
|
1526
|
+
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : g("", !0),
|
|
1527
|
+
w(e.$slots, "skeleton", {}, () => [T(dt) ? (S(), h(d, { key: 0 })) : g("", !0)], !0)
|
|
1528
1528
|
], 14, Ee));
|
|
1529
1529
|
}
|
|
1530
1530
|
}, [["__scopeId", "data-v-ebec76f9"]]);
|