vue-data-ui 3.15.12 → 3.16.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/README.md +132 -59
- package/dist/A11yDataTable-KcVAX2cP.js +54 -0
- package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
- package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
- package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
- package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
- package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
- package/dist/ColorPicker-B0mV4xzu.js +255 -0
- package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
- package/dist/Legend-CS7Xo5LK.js +101 -0
- package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
- package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
- package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
- package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
- package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
- package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
- package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
- package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
- package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
- package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
- package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
- package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
- package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
- package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
- package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +59 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
- package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
- package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
- package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
- package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
- package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
- package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
- package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
- package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
- package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
- package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
- package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
- package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
- package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
- package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
- package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
- package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
- package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
- package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
- package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
- package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
- package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
- package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
- package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
- package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
- package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
- package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
- package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
- package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
- package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
- package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
- package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
- package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
- package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
- package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
- package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
- package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
- package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
- package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
- package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
- package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
- package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
- package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
- package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
- package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
- package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
- package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
- package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
- package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
- package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
- package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
- package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
- package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
- package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
- package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
- package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
- package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
- package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
- package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
- package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
- package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
- package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
- package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
- package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
- package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
- package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
- package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
- package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
- package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
- package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
- package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
- package/package.json +2 -2
- package/dist/ColorPicker-j0ySewhI.js +0 -244
- package/dist/Legend-1LMMsPxL.js +0 -90
- package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
- package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
- package/dist/vue-ui-bump-C_fKharc.js +0 -1059
- package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
- package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
- package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
- package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
- package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
- package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
- package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
- package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
- package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
- package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
- package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
- package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
- package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
- package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
- package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
- package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
- package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
- package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
- package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
- package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
- package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
- package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
- package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
- package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
- package/dist/vue-ui-rings-80ZUki42.js +0 -1083
- package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
- package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
- package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
- package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
- package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
- package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
- package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
- package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
- package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
- package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
- package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
- package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
- package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
- package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
- package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
|
@@ -1,1331 +0,0 @@
|
|
|
1
|
-
import { defineAsyncComponent as me, ref as m, computed as d, toRefs as Co, watch as ie, nextTick as J, onBeforeUnmount as It, onMounted as wo, openBlock as b, createElementBlock as A, normalizeStyle as ve, normalizeClass as xt, createCommentVNode as j, createBlock as K, unref as y, withCtx as w, renderSlot as g, normalizeProps as P, guardReactiveProps as $, createSlots as No, createVNode as St, createElementVNode as ae, Fragment as he, renderList as pe, mergeProps as Ao, toDisplayString as Fo } from "vue";
|
|
2
|
-
import { j as Po, t as Ot, s as Be, X as $o, T as Rt } from "./lib-GwPnJSrY.js";
|
|
3
|
-
import { u as To } from "./usePanZoom-CDF7rb3o.js";
|
|
4
|
-
import { t as Io, u as xo } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as So } from "./useConfig-CIgyKZ6R.js";
|
|
6
|
-
import { u as Oo, B as Ro } from "./BaseScanner-BhhkKVoj.js";
|
|
7
|
-
import { u as Mo } from "./usePrinter-DiK5R6k-.js";
|
|
8
|
-
import { u as jo } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
-
import { u as Ee } from "./useNestedProp-BBT0mbHh.js";
|
|
10
|
-
import { u as Bo } from "./useThemeCheck-D1ZYXUwG.js";
|
|
11
|
-
import { u as Eo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
-
import { u as _o } from "./useChartAccessibility-9icAAmYg.js";
|
|
13
|
-
import Go from "./img-BYYzY_QU.js";
|
|
14
|
-
import { g as zo } from "./geoProjections-D0Vxsz_O.js";
|
|
15
|
-
import Zo from "./Title-BfyrP-jp.js";
|
|
16
|
-
import Lo from "./vue_ui_geo--kg4VoVX.js";
|
|
17
|
-
import { B as Mt } from "./BaseZoomControls-CoFievy9.js";
|
|
18
|
-
import { _ as Wo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
|
-
const Yo = ["id"], Do = ["xmlns", "viewBox", "id"], qo = ["transform"], Ho = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Xo = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Uo = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter"], Vo = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Jo = ["x", "y", "fill", "font-size"], Ko = {
|
|
20
|
-
key: 5,
|
|
21
|
-
class: "vue-data-ui-watermark"
|
|
22
|
-
}, jt = 1.5, Qo = {
|
|
23
|
-
__name: "vue-ui-geo",
|
|
24
|
-
props: {
|
|
25
|
-
config: {
|
|
26
|
-
type: Object,
|
|
27
|
-
default() {
|
|
28
|
-
return {};
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
dataset: {
|
|
32
|
-
type: [Array, Object],
|
|
33
|
-
default() {
|
|
34
|
-
return [];
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
emits: ["copyAlt"],
|
|
39
|
-
setup(Bt, { expose: Et, emit: _t }) {
|
|
40
|
-
const Gt = me(() => import("./Tooltip-DL3QgjZf.js")), zt = me(() => import("./UserOptions-CrLqEimB.js")), Zt = me(() => import("./PenAndPaper-DWV1FMIi.js")), Lt = me(() => import("./PackageVersion-DN9d0ME5.js")), W = Bt, Wt = _t, { vue_ui_geo: Yt } = So(), { isThemeValid: Dt, warnInvalidTheme: qt } = Bo(), B = m(Po()), ye = m(0), _e = m(0), le = m(!1), se = m(!1), S = m(null), E = m(!1), ue = m(null), Ge = m(null), ze = m(null), Ze = m(null), Y = m(null), D = m(null), Le = m(null), We = m(null), _ = m(!1);
|
|
41
|
-
function Ye(e) {
|
|
42
|
-
_.value = e, ye.value += 1;
|
|
43
|
-
}
|
|
44
|
-
function ge() {
|
|
45
|
-
const e = Ee({
|
|
46
|
-
userConfig: W.config,
|
|
47
|
-
defaultConfig: Yt
|
|
48
|
-
}), o = e.theme;
|
|
49
|
-
if (!o) return e;
|
|
50
|
-
if (!Dt.value(e))
|
|
51
|
-
return qt(e), e;
|
|
52
|
-
const t = Ee({
|
|
53
|
-
userConfig: Lo[o] || W.config,
|
|
54
|
-
defaultConfig: e
|
|
55
|
-
});
|
|
56
|
-
return Ee({
|
|
57
|
-
userConfig: W.config,
|
|
58
|
-
defaultConfig: t
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
const n = m(ge()), Q = d(() => n.value.userOptions.useCursorPointer), { userOptionsVisible: De, keepUserOptionState: qe } = Eo({
|
|
62
|
-
config: n.value
|
|
63
|
-
}), { svgRef: ce } = _o({
|
|
64
|
-
config: n.value.style.chart.title
|
|
65
|
-
}), Ht = d(() => Ot({
|
|
66
|
-
defaultConfig: {
|
|
67
|
-
map: {
|
|
68
|
-
geoJson: {
|
|
69
|
-
type: "FeatureCollection",
|
|
70
|
-
features: [
|
|
71
|
-
{
|
|
72
|
-
type: "Feature",
|
|
73
|
-
properties: { name: "Island A" },
|
|
74
|
-
geometry: {
|
|
75
|
-
type: "Polygon",
|
|
76
|
-
coordinates: [
|
|
77
|
-
[
|
|
78
|
-
[-6, 2],
|
|
79
|
-
[-4, 2],
|
|
80
|
-
[-4, 4],
|
|
81
|
-
[-6, 4],
|
|
82
|
-
[-6, 2]
|
|
83
|
-
]
|
|
84
|
-
]
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
type: "Feature",
|
|
89
|
-
properties: { name: "Island B" },
|
|
90
|
-
geometry: {
|
|
91
|
-
type: "Polygon",
|
|
92
|
-
coordinates: [
|
|
93
|
-
[
|
|
94
|
-
[-2, -1],
|
|
95
|
-
[1, -1],
|
|
96
|
-
[1, 2],
|
|
97
|
-
[-2, 2],
|
|
98
|
-
[-2, -1]
|
|
99
|
-
]
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
type: "Feature",
|
|
105
|
-
properties: { name: "Island C" },
|
|
106
|
-
geometry: {
|
|
107
|
-
type: "Polygon",
|
|
108
|
-
coordinates: [
|
|
109
|
-
[
|
|
110
|
-
[3, -3],
|
|
111
|
-
[5, -3],
|
|
112
|
-
[5, -1],
|
|
113
|
-
[3, -1],
|
|
114
|
-
[3, -3]
|
|
115
|
-
]
|
|
116
|
-
]
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
type: "Feature",
|
|
121
|
-
properties: { name: "Island D" },
|
|
122
|
-
geometry: {
|
|
123
|
-
type: "Polygon",
|
|
124
|
-
coordinates: [
|
|
125
|
-
[
|
|
126
|
-
[4, 3],
|
|
127
|
-
[7, 3],
|
|
128
|
-
[7, 5],
|
|
129
|
-
[4, 5],
|
|
130
|
-
[4, 3]
|
|
131
|
-
]
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
userOptions: { show: !1 },
|
|
139
|
-
style: {
|
|
140
|
-
chart: {
|
|
141
|
-
backgroundColor: "#99999930",
|
|
142
|
-
territory: {
|
|
143
|
-
fill: "#99999950",
|
|
144
|
-
stroke: "#8A8A8A",
|
|
145
|
-
strokeWidth: 0.5
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
userConfig: n.value.skeletonConfig ?? {}
|
|
151
|
-
})), { loading: be, FINAL_DATASET: ke } = Oo({
|
|
152
|
-
...Co(W),
|
|
153
|
-
FINAL_CONFIG: n,
|
|
154
|
-
prepareConfig: ge,
|
|
155
|
-
allowEmptyDataset: !0,
|
|
156
|
-
skeletonDataset: W.config?.skeletonDataset ?? [],
|
|
157
|
-
skeletonConfig: Ot({
|
|
158
|
-
defaultConfig: n.value,
|
|
159
|
-
userConfig: Ht.value
|
|
160
|
-
})
|
|
161
|
-
}), { isPrinting: Ce, isImaging: we, generatePdf: He, generateImage: Xe } = Mo({
|
|
162
|
-
elementId: `vue-ui-geo_${B.value}`,
|
|
163
|
-
fileName: n.value.style.chart.title.text || "vue-ui-geo",
|
|
164
|
-
options: n.value.userOptions.print
|
|
165
|
-
}), Xt = d(() => n.value.style.chart.controls.show ? n.value.style.chart.controls.position === "top" ? Le.value?.$el ?? null : n.value.style.chart.controls.position === "bottom" ? We.value?.$el ?? null : null : null);
|
|
166
|
-
function Ne() {
|
|
167
|
-
Y.value && (D.value && Y.value.unobserve(D.value), Y.value.disconnect(), Y.value = null, D.value = null);
|
|
168
|
-
}
|
|
169
|
-
const q = d(() => !!n.value.responsive && !_.value);
|
|
170
|
-
ie(
|
|
171
|
-
() => _.value,
|
|
172
|
-
async (e) => {
|
|
173
|
-
if (e) {
|
|
174
|
-
Ne(), H.value = Number(n.value.style.chart.dimensions.width) || H.value, G.value = Number(n.value.style.chart.dimensions.height) || G.value, await J(), E.value = !1, requestAnimationFrame(() => {
|
|
175
|
-
E.value || de();
|
|
176
|
-
});
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
n.value.responsive && (await J(), Ae());
|
|
180
|
-
}
|
|
181
|
-
);
|
|
182
|
-
function Ae() {
|
|
183
|
-
if (Ne(), !q.value) return;
|
|
184
|
-
const e = Io(() => {
|
|
185
|
-
if (!S.value) return;
|
|
186
|
-
const { width: o, height: t } = xo({
|
|
187
|
-
chart: S.value,
|
|
188
|
-
noTitle: Ue.value ? ze.value : null,
|
|
189
|
-
title: n.value.style.chart.title.text ? Ge.value : null,
|
|
190
|
-
legend: Xt.value,
|
|
191
|
-
source: Ze.value
|
|
192
|
-
});
|
|
193
|
-
requestAnimationFrame(() => {
|
|
194
|
-
H.value = Math.max(0.1, Number(o) || 0.1), G.value = Math.max(0.1, Number(t) || 0.1) - 24;
|
|
195
|
-
});
|
|
196
|
-
});
|
|
197
|
-
Y.value = new ResizeObserver(e), D.value = S.value ? S.value.parentNode : null, D.value && Y.value.observe(D.value), e();
|
|
198
|
-
}
|
|
199
|
-
const Ue = d(() => n.value.userOptions.show && !n.value.style.chart.title.text), ee = m({
|
|
200
|
-
showTooltip: n.value.style.chart.tooltip.show
|
|
201
|
-
}), O = m(n.value.style.chart.zoom.active);
|
|
202
|
-
ie(
|
|
203
|
-
() => W.config,
|
|
204
|
-
() => {
|
|
205
|
-
n.value = ge(), ee.value.showTooltip = n.value.style.chart.tooltip.show, O.value = n.value.style.chart.zoom.active, H.value = n.value.style.chart.dimensions.width, G.value = n.value.style.chart.dimensions.height, Ae(), _e.value += 1, ye.value += 1;
|
|
206
|
-
},
|
|
207
|
-
{ deep: !0 }
|
|
208
|
-
);
|
|
209
|
-
const { projections: Ve } = zo, Je = d(() => n.value?.projection || "equirectangular"), Ut = d(() => {
|
|
210
|
-
const e = Ve?.[Je.value];
|
|
211
|
-
return typeof e == "function" ? e : Ve.equirectangular;
|
|
212
|
-
}), Ke = d(() => n.value.map.geoJson ?? null), Qe = {
|
|
213
|
-
aitoff: { width: 1e3, height: 500 },
|
|
214
|
-
azimuthalEquidistant: { width: 1e3, height: 1e3 },
|
|
215
|
-
bonne: { width: 1e3, height: 1e3 },
|
|
216
|
-
equirectangular: { width: 1e3, height: 700 },
|
|
217
|
-
gallPeters: { width: 1e3, height: 800 },
|
|
218
|
-
globe: { width: 1e3, height: 1e3 },
|
|
219
|
-
hammer: { width: 1e3, height: 500 },
|
|
220
|
-
mercator: { width: 1e3, height: 750 },
|
|
221
|
-
mollweide: { width: 1e3, height: 600 },
|
|
222
|
-
robinson: { width: 1e3, height: 600 },
|
|
223
|
-
sinusoidal: { width: 1e3, height: 500 },
|
|
224
|
-
vanDerGrinten: { width: 1e3, height: 1e3 },
|
|
225
|
-
winkelTripel: { width: 1e3, height: 1e3 }
|
|
226
|
-
}, H = m(n.value.style.chart.dimensions.width), G = m(n.value.style.chart.dimensions.height), Fe = d(() => {
|
|
227
|
-
const e = Qe[Je.value] || Qe.equirectangular;
|
|
228
|
-
return { width: e.width, height: e.height };
|
|
229
|
-
}), T = d(() => {
|
|
230
|
-
const e = Fe.value, o = H.value, t = G.value, r = Number.isFinite(o) && o > 0, i = Number.isFinite(t) && t > 0;
|
|
231
|
-
if (r && i)
|
|
232
|
-
return { width: o, height: t };
|
|
233
|
-
if (r && !i) {
|
|
234
|
-
const a = e.height / e.width;
|
|
235
|
-
return { width: o, height: o * a };
|
|
236
|
-
}
|
|
237
|
-
if (!r && i) {
|
|
238
|
-
const a = e.width / e.height;
|
|
239
|
-
return { width: t * a, height: t };
|
|
240
|
-
}
|
|
241
|
-
return { width: e.width, height: e.height };
|
|
242
|
-
}), Vt = d(() => {
|
|
243
|
-
const e = n.value?.map?.center, o = [0, 0];
|
|
244
|
-
if (!Array.isArray(e) || e.length !== 2) return o;
|
|
245
|
-
const t = Number(e[0]), r = Number(e[1]);
|
|
246
|
-
return !Number.isFinite(t) || !Number.isFinite(r) ? o : [t, r];
|
|
247
|
-
});
|
|
248
|
-
function X([e, o]) {
|
|
249
|
-
return Ut.value(
|
|
250
|
-
[e, o],
|
|
251
|
-
Fe.value.width,
|
|
252
|
-
Fe.value.height,
|
|
253
|
-
Vt.value
|
|
254
|
-
);
|
|
255
|
-
}
|
|
256
|
-
function Jt(e, o = {}) {
|
|
257
|
-
const {
|
|
258
|
-
defaultName: t = "",
|
|
259
|
-
namePropertyCandidates: r = [
|
|
260
|
-
"name",
|
|
261
|
-
"nom",
|
|
262
|
-
"admin",
|
|
263
|
-
"NAME",
|
|
264
|
-
"label",
|
|
265
|
-
"title",
|
|
266
|
-
"description",
|
|
267
|
-
"DESCRIPTION",
|
|
268
|
-
"NAME_1",
|
|
269
|
-
"NAME_2",
|
|
270
|
-
"NAME_3",
|
|
271
|
-
"NAME_EN",
|
|
272
|
-
"name:en",
|
|
273
|
-
"name_en",
|
|
274
|
-
"localname",
|
|
275
|
-
"local_name"
|
|
276
|
-
],
|
|
277
|
-
includeNullGeometries: i = !1
|
|
278
|
-
} = o, a = { type: "FeatureCollection", features: [] };
|
|
279
|
-
function l(u) {
|
|
280
|
-
return u !== null && typeof u == "object" && !Array.isArray(u);
|
|
281
|
-
}
|
|
282
|
-
function c(u) {
|
|
283
|
-
return !l(u) || typeof u.type != "string" ? !1 : u.type === "GeometryCollection" ? Array.isArray(u.geometries) : Object.hasOwn(u, "coordinates");
|
|
284
|
-
}
|
|
285
|
-
function f(u) {
|
|
286
|
-
if (!l(u)) return "";
|
|
287
|
-
for (const h of r) {
|
|
288
|
-
const C = u[h];
|
|
289
|
-
if (typeof C == "string" && C.trim())
|
|
290
|
-
return C.trim();
|
|
291
|
-
}
|
|
292
|
-
return "";
|
|
293
|
-
}
|
|
294
|
-
function s({ geometry: u, properties: h, fallbackName: C, featureIndex: v }) {
|
|
295
|
-
const p = l(h) ? { ...h } : {}, M = f(p), N = t ? `${t} ${v + 1}` : "", V = M || (typeof C == "string" ? C.trim() : "") || N;
|
|
296
|
-
return !p.name && V && (p.name = V), {
|
|
297
|
-
type: "Feature",
|
|
298
|
-
geometry: u,
|
|
299
|
-
properties: p
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
function F(u, h, C, v, p) {
|
|
303
|
-
const M = Array.isArray(u?.geometries) ? u.geometries : [];
|
|
304
|
-
let N = v;
|
|
305
|
-
for (let V = 0; V < M.length; V += 1) {
|
|
306
|
-
const Z = M[V];
|
|
307
|
-
if (Z) {
|
|
308
|
-
if (l(Z) && Z.type === "GeometryCollection") {
|
|
309
|
-
N = F(
|
|
310
|
-
Z,
|
|
311
|
-
h,
|
|
312
|
-
C,
|
|
313
|
-
N,
|
|
314
|
-
p
|
|
315
|
-
);
|
|
316
|
-
continue;
|
|
317
|
-
}
|
|
318
|
-
if (c(Z)) {
|
|
319
|
-
if (Z.coordinates == null && Z.type !== "GeometryCollection") {
|
|
320
|
-
i && (p.push(
|
|
321
|
-
s({
|
|
322
|
-
geometry: null,
|
|
323
|
-
properties: h,
|
|
324
|
-
fallbackName: C,
|
|
325
|
-
featureIndex: N
|
|
326
|
-
})
|
|
327
|
-
), N += 1);
|
|
328
|
-
continue;
|
|
329
|
-
}
|
|
330
|
-
p.push(
|
|
331
|
-
s({
|
|
332
|
-
geometry: Z,
|
|
333
|
-
properties: h,
|
|
334
|
-
fallbackName: C,
|
|
335
|
-
featureIndex: N
|
|
336
|
-
})
|
|
337
|
-
), N += 1;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
return N;
|
|
342
|
-
}
|
|
343
|
-
function k(u, h, C = 0) {
|
|
344
|
-
let v = C;
|
|
345
|
-
if (u == null) return v;
|
|
346
|
-
if (Array.isArray(u)) {
|
|
347
|
-
for (const p of u)
|
|
348
|
-
v = k(p, h, v);
|
|
349
|
-
return v;
|
|
350
|
-
}
|
|
351
|
-
if (!l(u) || typeof u.type != "string")
|
|
352
|
-
return v;
|
|
353
|
-
if (u.type === "FeatureCollection") {
|
|
354
|
-
const p = Array.isArray(u.features) ? u.features : [];
|
|
355
|
-
for (const M of p)
|
|
356
|
-
v = k(M, h, v);
|
|
357
|
-
return v;
|
|
358
|
-
}
|
|
359
|
-
if (u.type === "Feature") {
|
|
360
|
-
const p = l(u.properties) ? u.properties : {}, M = f(p), N = u.geometry ?? null;
|
|
361
|
-
return N == null ? (i && (h.push(
|
|
362
|
-
s({
|
|
363
|
-
geometry: null,
|
|
364
|
-
properties: p,
|
|
365
|
-
fallbackName: M,
|
|
366
|
-
featureIndex: v
|
|
367
|
-
})
|
|
368
|
-
), v += 1), v) : l(N) && N.type === "GeometryCollection" ? F(
|
|
369
|
-
N,
|
|
370
|
-
p,
|
|
371
|
-
M,
|
|
372
|
-
v,
|
|
373
|
-
h
|
|
374
|
-
) : (c(N) && (h.push(
|
|
375
|
-
s({
|
|
376
|
-
geometry: N,
|
|
377
|
-
properties: p,
|
|
378
|
-
fallbackName: M,
|
|
379
|
-
featureIndex: v
|
|
380
|
-
})
|
|
381
|
-
), v += 1), v);
|
|
382
|
-
}
|
|
383
|
-
return u.type === "GeometryCollection" ? F(u, {}, "", v, h) : (c(u) && (h.push(
|
|
384
|
-
s({
|
|
385
|
-
geometry: u,
|
|
386
|
-
properties: {},
|
|
387
|
-
fallbackName: "",
|
|
388
|
-
featureIndex: v
|
|
389
|
-
})
|
|
390
|
-
), v += 1), v);
|
|
391
|
-
}
|
|
392
|
-
const x = [];
|
|
393
|
-
return k(e, x, 0), { ...a, features: x };
|
|
394
|
-
}
|
|
395
|
-
function Kt(e) {
|
|
396
|
-
const o = Array.isArray(e?.features) ? e.features : [];
|
|
397
|
-
function t(r) {
|
|
398
|
-
if (!r || typeof r != "object") return "";
|
|
399
|
-
const i = [
|
|
400
|
-
r.name,
|
|
401
|
-
r.nom,
|
|
402
|
-
r.admin,
|
|
403
|
-
r.NAME,
|
|
404
|
-
r.label,
|
|
405
|
-
r.title,
|
|
406
|
-
r.description,
|
|
407
|
-
r.DESCRIPTION,
|
|
408
|
-
r.NAME_1,
|
|
409
|
-
r.NAME_2,
|
|
410
|
-
r.NAME_3,
|
|
411
|
-
r.NAME_EN,
|
|
412
|
-
r["name:en"],
|
|
413
|
-
r.name_en,
|
|
414
|
-
r.localname,
|
|
415
|
-
r.local_name
|
|
416
|
-
];
|
|
417
|
-
for (const a of i)
|
|
418
|
-
if (typeof a == "string" && a.trim()) return a.trim();
|
|
419
|
-
for (const a of Object.values(r))
|
|
420
|
-
if (typeof a == "string" && a.trim()) return a.trim();
|
|
421
|
-
return "";
|
|
422
|
-
}
|
|
423
|
-
return o.filter((r) => r && r.type === "Feature" && r.geometry).map((r, i) => {
|
|
424
|
-
const a = r.properties || {}, l = t(a);
|
|
425
|
-
return {
|
|
426
|
-
feature: r,
|
|
427
|
-
geometry: r.geometry,
|
|
428
|
-
properties: a,
|
|
429
|
-
name: l,
|
|
430
|
-
uid: `map-feature-${B.value}-${i}`,
|
|
431
|
-
index: i
|
|
432
|
-
};
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
const Qt = d(
|
|
436
|
-
() => Jt(Ke.value, {
|
|
437
|
-
defaultName: "",
|
|
438
|
-
includeNullGeometries: !1
|
|
439
|
-
})
|
|
440
|
-
), fe = d(
|
|
441
|
-
() => Kt(Qt.value)
|
|
442
|
-
);
|
|
443
|
-
function Pe(e) {
|
|
444
|
-
if (!e || typeof e.type != "string") return "";
|
|
445
|
-
if (e.type === "GeometryCollection")
|
|
446
|
-
return (Array.isArray(e.geometries) ? e.geometries : []).map((a) => Pe(a)).filter(Boolean).join(" ");
|
|
447
|
-
const o = (i) => {
|
|
448
|
-
if (!Array.isArray(i) || i.length < 2) return null;
|
|
449
|
-
const a = Number(i[0]), l = Number(i[1]);
|
|
450
|
-
if (!Number.isFinite(a) || !Number.isFinite(l)) return null;
|
|
451
|
-
const c = X([a, l]);
|
|
452
|
-
if (!Array.isArray(c) || c.length < 2) return null;
|
|
453
|
-
const f = Number(c[0]), s = Number(c[1]);
|
|
454
|
-
return !Number.isFinite(f) || !Number.isFinite(s) ? null : [f, s];
|
|
455
|
-
}, t = (i) => {
|
|
456
|
-
const a = (i || []).map(o).filter(Boolean);
|
|
457
|
-
return a.length < 2 ? "" : "M" + a.map(([l, c]) => `${l},${c}`).join("L");
|
|
458
|
-
}, r = (i) => (i || []).map((a) => {
|
|
459
|
-
const l = t(a);
|
|
460
|
-
return l ? l + "Z" : "";
|
|
461
|
-
}).filter(Boolean).join(" ");
|
|
462
|
-
return e.type === "Polygon" ? r(e.coordinates) : e.type === "MultiPolygon" ? (e.coordinates || []).map(r).filter(Boolean).join(" ") : e.type === "LineString" ? t(e.coordinates) : e.type === "MultiLineString" ? (e.coordinates || []).map(t).filter(Boolean).join(" ") : "";
|
|
463
|
-
}
|
|
464
|
-
function et(e) {
|
|
465
|
-
return e ? e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).flatMap((t) => et(t)) : e.type === "Point" ? Array.isArray(e.coordinates) ? [e.coordinates] : [] : e.type === "MultiPoint" ? Array.isArray(e.coordinates) ? e.coordinates : [] : [] : [];
|
|
466
|
-
}
|
|
467
|
-
function tt(e) {
|
|
468
|
-
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((t) => tt(t)) : e.type === "Point" || e.type === "MultiPoint";
|
|
469
|
-
}
|
|
470
|
-
const eo = d(
|
|
471
|
-
() => fe.value.filter((e) => {
|
|
472
|
-
const o = e.geometry;
|
|
473
|
-
return o ? o.type === "GeometryCollection" ? (Array.isArray(o.geometries) ? o.geometries : []).some(
|
|
474
|
-
(r) => r?.type === "Polygon" || r?.type === "MultiPolygon"
|
|
475
|
-
) : o.type === "Polygon" || o.type === "MultiPolygon" : !1;
|
|
476
|
-
})
|
|
477
|
-
), to = d(
|
|
478
|
-
() => fe.value.filter((e) => {
|
|
479
|
-
const o = e.geometry;
|
|
480
|
-
return o ? o.type === "GeometryCollection" ? (Array.isArray(o.geometries) ? o.geometries : []).some(
|
|
481
|
-
(r) => r?.type === "LineString" || r?.type === "MultiLineString"
|
|
482
|
-
) : o.type === "LineString" || o.type === "MultiLineString" : !1;
|
|
483
|
-
})
|
|
484
|
-
), oo = d(
|
|
485
|
-
() => fe.value.filter((e) => {
|
|
486
|
-
const o = e.geometry;
|
|
487
|
-
return o ? tt(o) : !1;
|
|
488
|
-
})
|
|
489
|
-
), ot = d(() => eo.value.map((e) => {
|
|
490
|
-
const o = Pe(e.geometry);
|
|
491
|
-
return o ? { ...e, path: o } : null;
|
|
492
|
-
}).filter(Boolean)), nt = d(() => to.value.map((e) => {
|
|
493
|
-
const o = Pe(e.geometry);
|
|
494
|
-
return o ? { ...e, path: o } : null;
|
|
495
|
-
}).filter(Boolean)), rt = d(() => {
|
|
496
|
-
const e = [];
|
|
497
|
-
function o(t = {}) {
|
|
498
|
-
const r = t?.style && typeof t.style == "object" ? t.style : {}, i = t.radius ?? t.r ?? r.radius ?? r.r, a = t.color ?? t.fill ?? r.color ?? r.fill, l = t.stroke ?? r.stroke, c = t.strokeWidth ?? t.stroke_width ?? r.strokeWidth ?? r.stroke_width, f = Number.isFinite(Number(i)) ? Number(i) : Number(n.value.style.chart.points.radius), s = a != null && String(a).trim() ? Be(String(a).trim()) : n.value.style.chart.points.fill, F = l != null && String(l).trim() ? Be(String(l).trim()) : n.value.style.chart.points.stroke, k = Number.isFinite(Number(c)) ? Number(c) : Number(n.value.style.chart.points.strokeWidth);
|
|
499
|
-
return { radius: f, fill: s, stroke: F, strokeWidth: k };
|
|
500
|
-
}
|
|
501
|
-
for (const t of oo.value) {
|
|
502
|
-
const r = et(t.geometry);
|
|
503
|
-
for (let i = 0; i < r.length; i += 1) {
|
|
504
|
-
const a = r[i];
|
|
505
|
-
if (!Array.isArray(a) || a.length < 2) continue;
|
|
506
|
-
const l = Number(a[0]), c = Number(a[1]);
|
|
507
|
-
if (!Number.isFinite(l) || !Number.isFinite(c)) continue;
|
|
508
|
-
const f = X([l, c]), s = f?.[0], F = f?.[1];
|
|
509
|
-
if (!Number.isFinite(s) || !Number.isFinite(F)) continue;
|
|
510
|
-
const k = t?.feature?.properties && typeof t.feature.properties == "object" ? t.feature.properties : {}, x = o(k);
|
|
511
|
-
e.push({
|
|
512
|
-
uid: `${t.uid}-geojson-point-${i}`,
|
|
513
|
-
name: t.name || "",
|
|
514
|
-
x: s,
|
|
515
|
-
y: F,
|
|
516
|
-
...x,
|
|
517
|
-
originalFeature: t.feature,
|
|
518
|
-
featureIndex: t.index,
|
|
519
|
-
pointIndex: i
|
|
520
|
-
});
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
return e;
|
|
524
|
-
});
|
|
525
|
-
function it(e) {
|
|
526
|
-
if (!e || typeof e.type != "string") return [];
|
|
527
|
-
const o = [], t = (i) => {
|
|
528
|
-
if (!Array.isArray(i) || i.length < 2) return;
|
|
529
|
-
const a = Number(i[0]), l = Number(i[1]);
|
|
530
|
-
if (!Number.isFinite(a) || !Number.isFinite(l)) return;
|
|
531
|
-
const c = X([a, l]), f = c?.[0], s = c?.[1];
|
|
532
|
-
!Number.isFinite(f) || !Number.isFinite(s) || o.push([f, s]);
|
|
533
|
-
}, r = (i) => {
|
|
534
|
-
if (Array.isArray(i)) {
|
|
535
|
-
if (i.length >= 2 && typeof i[0] == "number" && typeof i[1] == "number") {
|
|
536
|
-
t(i);
|
|
537
|
-
return;
|
|
538
|
-
}
|
|
539
|
-
for (const a of i)
|
|
540
|
-
r(a);
|
|
541
|
-
}
|
|
542
|
-
};
|
|
543
|
-
if (e.type === "GeometryCollection" && Array.isArray(e.geometries)) {
|
|
544
|
-
for (const i of e.geometries)
|
|
545
|
-
o.push(...it(i));
|
|
546
|
-
return o;
|
|
547
|
-
}
|
|
548
|
-
return e.type === "Point" ? (t(e.coordinates), o) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(t), o) : (r(e.coordinates), o);
|
|
549
|
-
}
|
|
550
|
-
function no(e) {
|
|
551
|
-
const o = [];
|
|
552
|
-
for (const f of e)
|
|
553
|
-
o.push(...it(f.geometry));
|
|
554
|
-
if (!o.length) return null;
|
|
555
|
-
let t = 1 / 0, r = 1 / 0, i = -1 / 0, a = -1 / 0;
|
|
556
|
-
for (const [f, s] of o)
|
|
557
|
-
f < t && (t = f), s < r && (r = s), f > i && (i = f), s > a && (a = s);
|
|
558
|
-
const l = i - t, c = a - r;
|
|
559
|
-
return !(l > 0) || !(c > 0) ? null : { minX: t, minY: r, maxX: i, maxY: a, width: l, height: c };
|
|
560
|
-
}
|
|
561
|
-
const ro = d(() => no(fe.value));
|
|
562
|
-
function io({ bounds: e, targetWidth: o, targetHeight: t, padding: r }) {
|
|
563
|
-
if (!e || !(e.width > 0) || !(e.height > 0))
|
|
564
|
-
return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
565
|
-
const i = Number.isFinite(Number(r)) ? Number(r) : 0, a = Math.max(1, o - i * 2), l = Math.max(1, t - i * 2), c = a / e.width, f = l / e.height, s = Math.min(c, f), F = e.width * s, k = e.height * s, x = i + (a - F) / 2, u = i + (l - k) / 2, h = x - e.minX * s, C = u - e.minY * s;
|
|
566
|
-
return {
|
|
567
|
-
scale: s,
|
|
568
|
-
translateX: h,
|
|
569
|
-
translateY: C,
|
|
570
|
-
transform: `translate(${h} ${C}) scale(${s})`
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
const at = d(() => {
|
|
574
|
-
const e = ro.value;
|
|
575
|
-
if (!e) return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
576
|
-
const o = n.value?.map?.fitPadding, t = Number.isFinite(Number(o)) ? Number(o) : 0;
|
|
577
|
-
return io({
|
|
578
|
-
bounds: e,
|
|
579
|
-
targetWidth: T.value.width,
|
|
580
|
-
targetHeight: T.value.height,
|
|
581
|
-
padding: t
|
|
582
|
-
});
|
|
583
|
-
}), ao = d(() => {
|
|
584
|
-
const e = T.value.width, o = T.value.height;
|
|
585
|
-
return `0 0 ${e} ${o}`;
|
|
586
|
-
}), {
|
|
587
|
-
viewBox: te,
|
|
588
|
-
resetZoom: lt,
|
|
589
|
-
setInitialViewBox: $e,
|
|
590
|
-
scale: st,
|
|
591
|
-
zoomByFactor: ut
|
|
592
|
-
} = To(
|
|
593
|
-
ce,
|
|
594
|
-
{ x: 0, y: 0, width: T.value.width, height: T.value.height },
|
|
595
|
-
1,
|
|
596
|
-
O
|
|
597
|
-
);
|
|
598
|
-
function lo() {
|
|
599
|
-
O.value = !O.value;
|
|
600
|
-
}
|
|
601
|
-
function ct(e) {
|
|
602
|
-
const o = at.value, t = Number(o?.scale) || 1, r = Number(o?.translateX) || 0, i = Number(o?.translateY) || 0;
|
|
603
|
-
return {
|
|
604
|
-
x: e.x * t + r,
|
|
605
|
-
y: e.y * t + i
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
function ft() {
|
|
609
|
-
const e = n.value?.map?.center, o = Number(e?.[0]), t = Number(e?.[1]), r = Array.isArray(e) && e.length === 2 && Number.isFinite(o) && Number.isFinite(t) && (o !== 0 || t !== 0), i = T.value.width, a = T.value.height;
|
|
610
|
-
if (!r)
|
|
611
|
-
return { x: 0, y: 0, width: i, height: a };
|
|
612
|
-
const l = X([o, t]), c = l?.[0], f = l?.[1];
|
|
613
|
-
if (!Number.isFinite(c) || !Number.isFinite(f))
|
|
614
|
-
return { x: 0, y: 0, width: i, height: a };
|
|
615
|
-
const s = ct({ x: c, y: f });
|
|
616
|
-
return {
|
|
617
|
-
x: s.x - i / 2,
|
|
618
|
-
y: s.y - a / 2,
|
|
619
|
-
width: i,
|
|
620
|
-
height: a
|
|
621
|
-
};
|
|
622
|
-
}
|
|
623
|
-
function de() {
|
|
624
|
-
const e = ft();
|
|
625
|
-
$e(e, { overwriteCurrentIfNotZoomed: !0 }), E.value = !0;
|
|
626
|
-
}
|
|
627
|
-
const dt = d(() => {
|
|
628
|
-
const e = te.value;
|
|
629
|
-
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : ao.value;
|
|
630
|
-
});
|
|
631
|
-
function Te() {
|
|
632
|
-
ut(jt, !0);
|
|
633
|
-
}
|
|
634
|
-
function Ie() {
|
|
635
|
-
ut(1 / jt, !0);
|
|
636
|
-
}
|
|
637
|
-
async function mt() {
|
|
638
|
-
const e = ft();
|
|
639
|
-
$e(e, { overwriteCurrentIfNotZoomed: !0 }), lt(!0);
|
|
640
|
-
}
|
|
641
|
-
ie(
|
|
642
|
-
() => [
|
|
643
|
-
n.value.projection,
|
|
644
|
-
n.value.map.center?.[0],
|
|
645
|
-
n.value.map.center?.[1],
|
|
646
|
-
n.value.map.fitPadding,
|
|
647
|
-
Ke.value
|
|
648
|
-
],
|
|
649
|
-
async () => {
|
|
650
|
-
E.value = !1, await J(), requestAnimationFrame(() => {
|
|
651
|
-
E.value || de();
|
|
652
|
-
});
|
|
653
|
-
},
|
|
654
|
-
{ deep: !1 }
|
|
655
|
-
), ie(
|
|
656
|
-
() => [H.value, G.value, q.value],
|
|
657
|
-
async () => {
|
|
658
|
-
q.value && (await J(), $e(
|
|
659
|
-
{ x: 0, y: 0, width: T.value.width, height: T.value.height },
|
|
660
|
-
{ overwriteCurrentIfNotZoomed: !0 }
|
|
661
|
-
), E.value = !1, requestAnimationFrame(() => {
|
|
662
|
-
E.value || de();
|
|
663
|
-
}));
|
|
664
|
-
},
|
|
665
|
-
{ flush: "post" }
|
|
666
|
-
);
|
|
667
|
-
function so(e) {
|
|
668
|
-
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((o) => o?.type === "Feature" && o.geometry?.type === "Point").map((o, t) => {
|
|
669
|
-
const r = o.properties || {}, i = r.name || r.label || r.title || `Point ${t + 1}`, a = o.geometry.coordinates;
|
|
670
|
-
return {
|
|
671
|
-
uid: `map-point-${B.value}-${t}`,
|
|
672
|
-
name: i,
|
|
673
|
-
coordinates: a,
|
|
674
|
-
color: r.color ?? null,
|
|
675
|
-
radius: r.radius ?? null,
|
|
676
|
-
hoverRadiusRatio: n.value.style.chart.points.hoverRadiusRatio,
|
|
677
|
-
description: r.description ?? null,
|
|
678
|
-
original: o,
|
|
679
|
-
index: t
|
|
680
|
-
};
|
|
681
|
-
}) : Array.isArray(e) ? e.map((o, t) => {
|
|
682
|
-
let r = null, i = `Point ${t + 1}`, a = null, l = null, c = null;
|
|
683
|
-
Array.isArray(o) && o.length >= 2 ? r = [Number(o[0]), Number(o[1])] : o && typeof o == "object" && (Array.isArray(o.coordinates) && o.coordinates.length >= 2 ? r = [Number(o.coordinates[0]), Number(o.coordinates[1])] : Number.isFinite(Number(o.lon)) && Number.isFinite(Number(o.lat)) && (r = [Number(o.lon), Number(o.lat)]), typeof o.name == "string" && o.name.trim() && (i = o.name), o.description != null && (a = o.description), o.color != null && (l = o.color), o.radius != null && (c = o.radius));
|
|
684
|
-
const f = r ? r[0] : NaN, s = r ? r[1] : NaN;
|
|
685
|
-
return !Number.isFinite(f) || !Number.isFinite(s) ? null : {
|
|
686
|
-
uid: `map-point-${B.value}-${t}`,
|
|
687
|
-
name: i,
|
|
688
|
-
coordinates: [f, s],
|
|
689
|
-
color: l,
|
|
690
|
-
radius: c,
|
|
691
|
-
hoverRadiusRatio: n.value.style.chart.points.hoverRadiusRatio,
|
|
692
|
-
description: a,
|
|
693
|
-
original: o,
|
|
694
|
-
index: t
|
|
695
|
-
};
|
|
696
|
-
}).filter(Boolean) : typeof e == "object" ? Object.entries(e).map(([o, t], r) => {
|
|
697
|
-
if (!t || typeof t != "object") return null;
|
|
698
|
-
const i = Array.isArray(t.coordinates) ? t.coordinates : null;
|
|
699
|
-
if (!i || i.length < 2) return null;
|
|
700
|
-
const a = Number(i[0]), l = Number(i[1]);
|
|
701
|
-
return !Number.isFinite(a) || !Number.isFinite(l) ? null : {
|
|
702
|
-
uid: `map-point-${B.value}-${r}-${o}`,
|
|
703
|
-
name: t.name || o,
|
|
704
|
-
coordinates: [a, l],
|
|
705
|
-
color: t.color ?? null,
|
|
706
|
-
radius: t.radius ?? null,
|
|
707
|
-
hoverRadiusRatio: n.value.style.chart.points.hoverRadiusRatio,
|
|
708
|
-
description: t.description ?? null,
|
|
709
|
-
original: t,
|
|
710
|
-
index: r
|
|
711
|
-
};
|
|
712
|
-
}).filter(Boolean) : [] : [];
|
|
713
|
-
}
|
|
714
|
-
const vt = d(() => so(ke.value)), ht = d(() => vt.value.map((e) => {
|
|
715
|
-
const o = X(e.coordinates), t = o?.[0], r = o?.[1];
|
|
716
|
-
return !Number.isFinite(t) || !Number.isFinite(r) ? null : {
|
|
717
|
-
...e,
|
|
718
|
-
x: t,
|
|
719
|
-
y: r,
|
|
720
|
-
fill: e.color ? Be(e.color) : n.value.style.chart.points.fill,
|
|
721
|
-
radius: Number.isFinite(Number(e.radius)) ? Number(e.radius) : n.value.style.chart.points.radius
|
|
722
|
-
};
|
|
723
|
-
}).filter(Boolean)), xe = m(!1), Se = m(""), z = m(!1), oe = m(null), I = m(null);
|
|
724
|
-
function Oe(e) {
|
|
725
|
-
Se.value = e, xe.value = !0;
|
|
726
|
-
}
|
|
727
|
-
function ne() {
|
|
728
|
-
xe.value = !1, Se.value = "";
|
|
729
|
-
}
|
|
730
|
-
function Re(e) {
|
|
731
|
-
return String(e ?? "").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
732
|
-
}
|
|
733
|
-
function uo(e) {
|
|
734
|
-
ue.value = {
|
|
735
|
-
datapoint: e,
|
|
736
|
-
seriesIndex: e.index,
|
|
737
|
-
series: vt.value,
|
|
738
|
-
config: n.value
|
|
739
|
-
}, z.value = !1;
|
|
740
|
-
const o = n.value.style.chart.tooltip.customFormat;
|
|
741
|
-
if (Rt(o))
|
|
742
|
-
try {
|
|
743
|
-
const i = o(ue.value);
|
|
744
|
-
if (typeof i == "string")
|
|
745
|
-
return z.value = !0, i;
|
|
746
|
-
} catch {
|
|
747
|
-
console.warn("Custom format cannot be applied."), z.value = !1;
|
|
748
|
-
}
|
|
749
|
-
const t = Re(e.name), r = e.description != null ? `<div style="margin-top:6px">${Re(e.description)}</div>` : "";
|
|
750
|
-
return `<div><div style="font-weight:600">${t}</div>${r}</div>`;
|
|
751
|
-
}
|
|
752
|
-
function pt(e) {
|
|
753
|
-
z.value = !1;
|
|
754
|
-
const o = n.value.style.chart.tooltip.customFormat;
|
|
755
|
-
if (Rt(o))
|
|
756
|
-
try {
|
|
757
|
-
const r = o({
|
|
758
|
-
datapoint: e,
|
|
759
|
-
config: n.value
|
|
760
|
-
});
|
|
761
|
-
if (typeof r == "string")
|
|
762
|
-
return z.value = !0, r;
|
|
763
|
-
} catch {
|
|
764
|
-
console.warn("Custom format cannot be applied."), z.value = !1;
|
|
765
|
-
}
|
|
766
|
-
const t = typeof e?.name == "string" ? e.name.trim() : "";
|
|
767
|
-
return t ? `<div><div style="font-weight:600">${Re(t)}</div></div>` : (z.value = !1, "");
|
|
768
|
-
}
|
|
769
|
-
function yt(e) {
|
|
770
|
-
if (n.value.events.territoryEnter && n.value.events.territoryEnter({
|
|
771
|
-
datapoint: e,
|
|
772
|
-
seriesIndex: e.index
|
|
773
|
-
}), !(typeof e?.name == "string" ? e.name.trim() : "") && !n.value.style.chart.territory.hover.enabledWhenEmpty) {
|
|
774
|
-
I.value = null, ne();
|
|
775
|
-
return;
|
|
776
|
-
}
|
|
777
|
-
I.value = e.uid, Oe(pt(e));
|
|
778
|
-
}
|
|
779
|
-
function gt(e) {
|
|
780
|
-
I.value = null, ne(), n.value.events.territoryLeave && n.value.events.territoryLeave({
|
|
781
|
-
datapoint: e,
|
|
782
|
-
seriesIndex: e.index
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
function bt(e) {
|
|
786
|
-
n.value.events.territoryClick && n.value.events.territoryClick({
|
|
787
|
-
datapoint: e,
|
|
788
|
-
seriesIndex: e.index
|
|
789
|
-
});
|
|
790
|
-
}
|
|
791
|
-
function kt(e) {
|
|
792
|
-
oe.value = e.uid, Oe(uo(e)), n.value.events.datapointEnter && n.value.events.datapointEnter({
|
|
793
|
-
datapoint: e,
|
|
794
|
-
seriesIndex: e.index
|
|
795
|
-
});
|
|
796
|
-
}
|
|
797
|
-
function Ct(e) {
|
|
798
|
-
oe.value = null, ne(), n.value.events.datapointLeave && n.value.events.datapointLeave({
|
|
799
|
-
datapoint: e,
|
|
800
|
-
seriesIndex: e.index
|
|
801
|
-
});
|
|
802
|
-
}
|
|
803
|
-
const wt = d(() => !!n.value.events.datapointClick && typeof n.value.events.datapointClick == "function");
|
|
804
|
-
function Nt(e) {
|
|
805
|
-
wt.value && n.value.events.datapointClick({
|
|
806
|
-
datapoint: e,
|
|
807
|
-
seriesIndex: e.index
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
|
-
const R = d(() => n.value.style.chart.territory), At = d(() => n.value.style.chart.points);
|
|
811
|
-
function co(e) {
|
|
812
|
-
const o = typeof e?.name == "string" ? e.name.trim() : "";
|
|
813
|
-
if (!o) {
|
|
814
|
-
I.value = null, ne();
|
|
815
|
-
return;
|
|
816
|
-
}
|
|
817
|
-
const t = {
|
|
818
|
-
name: o,
|
|
819
|
-
uid: e.uid,
|
|
820
|
-
index: e.featureIndex,
|
|
821
|
-
properties: {}
|
|
822
|
-
};
|
|
823
|
-
I.value = e.uid, Oe(pt(t));
|
|
824
|
-
}
|
|
825
|
-
function fo() {
|
|
826
|
-
I.value = null, ne();
|
|
827
|
-
}
|
|
828
|
-
const re = m(!1);
|
|
829
|
-
function Me() {
|
|
830
|
-
re.value = !re.value;
|
|
831
|
-
}
|
|
832
|
-
ie(
|
|
833
|
-
() => re.value,
|
|
834
|
-
(e) => {
|
|
835
|
-
O.value = !e;
|
|
836
|
-
}
|
|
837
|
-
);
|
|
838
|
-
function Ft() {
|
|
839
|
-
ee.value.showTooltip = !ee.value.showTooltip;
|
|
840
|
-
}
|
|
841
|
-
const mo = d(() => n.value.style.chart.backgroundColor), vo = d(() => n.value.style.chart.title), { exportSvg: ho, getSvg: po } = jo({
|
|
842
|
-
svg: ce,
|
|
843
|
-
title: vo,
|
|
844
|
-
legend: void 0,
|
|
845
|
-
legendItems: void 0,
|
|
846
|
-
backgroundColor: mo
|
|
847
|
-
});
|
|
848
|
-
async function Pt({ isCb: e }) {
|
|
849
|
-
se.value = !0, await J();
|
|
850
|
-
try {
|
|
851
|
-
if (e) {
|
|
852
|
-
const { blob: o, url: t, text: r, dataUrl: i } = await po();
|
|
853
|
-
await Promise.resolve(n.value.userOptions.callbacks.svg({ blob: o, url: t, text: r, dataUrl: i }));
|
|
854
|
-
} else
|
|
855
|
-
await Promise.resolve(ho());
|
|
856
|
-
} finally {
|
|
857
|
-
se.value = !1;
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
function yo(e) {
|
|
861
|
-
if (e?.stage === "start") {
|
|
862
|
-
le.value = !0;
|
|
863
|
-
return;
|
|
864
|
-
}
|
|
865
|
-
if (e?.stage === "end") {
|
|
866
|
-
le.value = !1;
|
|
867
|
-
return;
|
|
868
|
-
}
|
|
869
|
-
Xe();
|
|
870
|
-
}
|
|
871
|
-
async function go({ scale: e = 2 } = {}) {
|
|
872
|
-
if (!S.value) return;
|
|
873
|
-
const { width: o, height: t } = S.value.getBoundingClientRect(), r = o / t, { imageUri: i, base64: a } = await Go({
|
|
874
|
-
domElement: S.value,
|
|
875
|
-
base64: !0,
|
|
876
|
-
img: !0,
|
|
877
|
-
scale: e
|
|
878
|
-
});
|
|
879
|
-
return {
|
|
880
|
-
imageUri: i,
|
|
881
|
-
base64: a,
|
|
882
|
-
title: n.value.style.chart.title.text,
|
|
883
|
-
width: o,
|
|
884
|
-
height: t,
|
|
885
|
-
aspectRatio: r
|
|
886
|
-
};
|
|
887
|
-
}
|
|
888
|
-
const L = m(!1);
|
|
889
|
-
let U = null;
|
|
890
|
-
function bo() {
|
|
891
|
-
O.value && (L.value = !0);
|
|
892
|
-
}
|
|
893
|
-
function je() {
|
|
894
|
-
L.value = !1;
|
|
895
|
-
}
|
|
896
|
-
function ko() {
|
|
897
|
-
O.value && (L.value = !0, U && clearTimeout(U), U = setTimeout(() => {
|
|
898
|
-
L.value = !1, U = null;
|
|
899
|
-
}, 140));
|
|
900
|
-
}
|
|
901
|
-
It(() => {
|
|
902
|
-
U && clearTimeout(U);
|
|
903
|
-
});
|
|
904
|
-
async function $t([e, o], { animated: t = !0 } = {}) {
|
|
905
|
-
const r = Number(e), i = Number(o);
|
|
906
|
-
if (!Number.isFinite(r) || !Number.isFinite(i)) return;
|
|
907
|
-
const a = X([r, i]), l = a?.[0], c = a?.[1];
|
|
908
|
-
if (!Number.isFinite(l) || !Number.isFinite(c)) return;
|
|
909
|
-
const f = ct({ x: l, y: c }), s = te.value ? { ...te.value } : { x: 0, y: 0, width: T.value.width, height: T.value.height }, F = {
|
|
910
|
-
x: f.x - s.width / 2,
|
|
911
|
-
y: f.y - s.height / 2,
|
|
912
|
-
width: s.width,
|
|
913
|
-
height: s.height
|
|
914
|
-
};
|
|
915
|
-
if (!t) {
|
|
916
|
-
te.value = F;
|
|
917
|
-
return;
|
|
918
|
-
}
|
|
919
|
-
const k = { ...s }, x = { ...F }, u = 250;
|
|
920
|
-
let h = null;
|
|
921
|
-
const C = (v) => {
|
|
922
|
-
h == null && (h = v);
|
|
923
|
-
const p = Math.min((v - h) / u, 1);
|
|
924
|
-
te.value = {
|
|
925
|
-
x: k.x + (x.x - k.x) * p,
|
|
926
|
-
y: k.y + (x.y - k.y) * p,
|
|
927
|
-
width: k.width + (x.width - k.width) * p,
|
|
928
|
-
height: k.height + (x.height - k.height) * p
|
|
929
|
-
}, p < 1 && requestAnimationFrame(C);
|
|
930
|
-
};
|
|
931
|
-
requestAnimationFrame(C);
|
|
932
|
-
}
|
|
933
|
-
wo(async () => {
|
|
934
|
-
Ae(), await J(), requestAnimationFrame(() => {
|
|
935
|
-
E.value || (de(), (n.value.map.center?.[0] || n.value.map.center?.[1]) && $t(n.value.map.center, { animated: !1 }));
|
|
936
|
-
});
|
|
937
|
-
}), It(() => {
|
|
938
|
-
Ne();
|
|
939
|
-
});
|
|
940
|
-
async function Tt() {
|
|
941
|
-
if (Wt("copyAlt", {
|
|
942
|
-
config: n.value,
|
|
943
|
-
dataset: ke.value
|
|
944
|
-
}), !n.value.userOptions.callbacks.altCopy) {
|
|
945
|
-
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
await Promise.resolve(n.value.userOptions.callbacks.altCopy({
|
|
949
|
-
config: n.value,
|
|
950
|
-
dataset: ke.value
|
|
951
|
-
}));
|
|
952
|
-
}
|
|
953
|
-
return Et({
|
|
954
|
-
getImage: go,
|
|
955
|
-
generatePdf: He,
|
|
956
|
-
generateImage: Xe,
|
|
957
|
-
generateSvg: Pt,
|
|
958
|
-
toggleTooltip: Ft,
|
|
959
|
-
toggleAnnotator: Me,
|
|
960
|
-
toggleFullscreen: Ye,
|
|
961
|
-
zoomIn: Te,
|
|
962
|
-
zoomOut: Ie,
|
|
963
|
-
resetZoom: lt,
|
|
964
|
-
focusLocation: $t,
|
|
965
|
-
copyAlt: Tt
|
|
966
|
-
}), (e, o) => (b(), A("div", {
|
|
967
|
-
class: xt(`vue-data-ui-component vue-ui-geo ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${q.value ? "vue-ui-geo-responsive" : ""} ${L.value ? "vue-ui-geo-interacting" : ""}`),
|
|
968
|
-
ref_key: "geoChart",
|
|
969
|
-
ref: S,
|
|
970
|
-
id: `map_${B.value}`,
|
|
971
|
-
dir: "auto",
|
|
972
|
-
style: ve({
|
|
973
|
-
fontFamily: n.value.style.fontFamily,
|
|
974
|
-
width: "100%",
|
|
975
|
-
backgroundColor: n.value.style.chart.backgroundColor,
|
|
976
|
-
height: q.value ? `${G.value}px` : void 0
|
|
977
|
-
})
|
|
978
|
-
}, [
|
|
979
|
-
Ue.value ? (b(), A("div", {
|
|
980
|
-
key: 0,
|
|
981
|
-
ref_key: "noTitle",
|
|
982
|
-
ref: ze,
|
|
983
|
-
class: "vue-data-ui-no-title-space",
|
|
984
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
985
|
-
}, null, 512)) : j("", !0),
|
|
986
|
-
n.value.style.chart.title.text ? (b(), A("div", {
|
|
987
|
-
key: 1,
|
|
988
|
-
ref_key: "chartTitle",
|
|
989
|
-
ref: Ge,
|
|
990
|
-
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
991
|
-
}, [
|
|
992
|
-
(b(), K(Zo, {
|
|
993
|
-
key: `title_${_e.value}`,
|
|
994
|
-
config: {
|
|
995
|
-
title: {
|
|
996
|
-
cy: "geo-title",
|
|
997
|
-
...n.value.style.chart.title
|
|
998
|
-
},
|
|
999
|
-
subtitle: {
|
|
1000
|
-
cy: "geo-subtitle",
|
|
1001
|
-
...n.value.style.chart.title.subtitle
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}, null, 8, ["config"]))
|
|
1005
|
-
], 512)) : j("", !0),
|
|
1006
|
-
n.value.userOptions.buttons.annotator ? (b(), K(y(Zt), {
|
|
1007
|
-
key: 2,
|
|
1008
|
-
svgRef: y(ce),
|
|
1009
|
-
backgroundColor: n.value.style.chart.backgroundColor,
|
|
1010
|
-
color: n.value.style.chart.color,
|
|
1011
|
-
active: re.value,
|
|
1012
|
-
isCursorPointer: Q.value,
|
|
1013
|
-
onClose: Me
|
|
1014
|
-
}, {
|
|
1015
|
-
"annotator-action-close": w(() => [
|
|
1016
|
-
g(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1017
|
-
]),
|
|
1018
|
-
"annotator-action-color": w(({ color: t }) => [
|
|
1019
|
-
g(e.$slots, "annotator-action-color", P($({ color: t })), void 0, !0)
|
|
1020
|
-
]),
|
|
1021
|
-
"annotator-action-draw": w(({ mode: t }) => [
|
|
1022
|
-
g(e.$slots, "annotator-action-draw", P($({ mode: t })), void 0, !0)
|
|
1023
|
-
]),
|
|
1024
|
-
"annotator-action-undo": w(({ disabled: t }) => [
|
|
1025
|
-
g(e.$slots, "annotator-action-undo", P($({ disabled: t })), void 0, !0)
|
|
1026
|
-
]),
|
|
1027
|
-
"annotator-action-redo": w(({ disabled: t }) => [
|
|
1028
|
-
g(e.$slots, "annotator-action-redo", P($({ disabled: t })), void 0, !0)
|
|
1029
|
-
]),
|
|
1030
|
-
"annotator-action-delete": w(({ disabled: t }) => [
|
|
1031
|
-
g(e.$slots, "annotator-action-delete", P($({ disabled: t })), void 0, !0)
|
|
1032
|
-
]),
|
|
1033
|
-
_: 3
|
|
1034
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : j("", !0),
|
|
1035
|
-
n.value.userOptions.show && (y(qe) || y(De)) ? (b(), K(y(zt), {
|
|
1036
|
-
ref: "userOptionsRef",
|
|
1037
|
-
key: `user_options_${ye.value}`,
|
|
1038
|
-
backgroundColor: n.value.style.chart.backgroundColor,
|
|
1039
|
-
color: n.value.style.chart.color,
|
|
1040
|
-
isPrinting: y(Ce),
|
|
1041
|
-
isImaging: y(we),
|
|
1042
|
-
uid: B.value,
|
|
1043
|
-
hasXls: !1,
|
|
1044
|
-
hasTable: !1,
|
|
1045
|
-
hasTooltip: n.value.userOptions.buttons.tooltip && n.value.style.chart.tooltip.show,
|
|
1046
|
-
hasPdf: n.value.userOptions.buttons.pdf,
|
|
1047
|
-
hasImg: n.value.userOptions.buttons.img,
|
|
1048
|
-
hasSvg: n.value.userOptions.buttons.svg,
|
|
1049
|
-
hasFullscreen: n.value.userOptions.buttons.fullscreen,
|
|
1050
|
-
hasAltCopy: n.value.userOptions.buttons.altCopy,
|
|
1051
|
-
hasAnnotator: n.value.userOptions.buttons.annotator,
|
|
1052
|
-
hasZoom: n.value.userOptions.buttons.zoom,
|
|
1053
|
-
isZoom: O.value,
|
|
1054
|
-
isFullscreen: _.value,
|
|
1055
|
-
isTooltip: ee.value.showTooltip,
|
|
1056
|
-
titles: { ...n.value.userOptions.buttonTitles },
|
|
1057
|
-
chartElement: S.value,
|
|
1058
|
-
position: n.value.userOptions.position,
|
|
1059
|
-
isAnnotation: re.value,
|
|
1060
|
-
callbacks: n.value.userOptions.callbacks,
|
|
1061
|
-
printScale: n.value.userOptions.print.scale,
|
|
1062
|
-
isCursorPointer: Q.value,
|
|
1063
|
-
onToggleFullscreen: Ye,
|
|
1064
|
-
onGeneratePdf: y(He),
|
|
1065
|
-
onGenerateImage: yo,
|
|
1066
|
-
onGenerateSvg: Pt,
|
|
1067
|
-
onToggleTooltip: Ft,
|
|
1068
|
-
onToggleAnnotator: Me,
|
|
1069
|
-
onToggleZoom: lo,
|
|
1070
|
-
onCopyAlt: Tt,
|
|
1071
|
-
style: ve({
|
|
1072
|
-
visibility: y(qe) ? y(De) ? "visible" : "hidden" : "visible"
|
|
1073
|
-
})
|
|
1074
|
-
}, No({ _: 2 }, [
|
|
1075
|
-
e.$slots.menuIcon ? {
|
|
1076
|
-
name: "menuIcon",
|
|
1077
|
-
fn: w(({ isOpen: t, color: r }) => [
|
|
1078
|
-
g(e.$slots, "menuIcon", P($({ isOpen: t, color: r })), void 0, !0)
|
|
1079
|
-
]),
|
|
1080
|
-
key: "0"
|
|
1081
|
-
} : void 0,
|
|
1082
|
-
e.$slots.optionTooltip ? {
|
|
1083
|
-
name: "optionTooltip",
|
|
1084
|
-
fn: w(() => [
|
|
1085
|
-
g(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
1086
|
-
]),
|
|
1087
|
-
key: "1"
|
|
1088
|
-
} : void 0,
|
|
1089
|
-
e.$slots.optionPdf ? {
|
|
1090
|
-
name: "optionPdf",
|
|
1091
|
-
fn: w(() => [
|
|
1092
|
-
g(e.$slots, "optionPdf", {}, void 0, !0)
|
|
1093
|
-
]),
|
|
1094
|
-
key: "2"
|
|
1095
|
-
} : void 0,
|
|
1096
|
-
e.$slots.optionImg ? {
|
|
1097
|
-
name: "optionImg",
|
|
1098
|
-
fn: w(() => [
|
|
1099
|
-
g(e.$slots, "optionImg", {}, void 0, !0)
|
|
1100
|
-
]),
|
|
1101
|
-
key: "3"
|
|
1102
|
-
} : void 0,
|
|
1103
|
-
e.$slots.optionSvg ? {
|
|
1104
|
-
name: "optionSvg",
|
|
1105
|
-
fn: w(() => [
|
|
1106
|
-
g(e.$slots, "optionSvg", {}, void 0, !0)
|
|
1107
|
-
]),
|
|
1108
|
-
key: "4"
|
|
1109
|
-
} : void 0,
|
|
1110
|
-
e.$slots.optionFullscreen ? {
|
|
1111
|
-
name: "optionFullscreen",
|
|
1112
|
-
fn: w(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
1113
|
-
g(e.$slots, "optionFullscreen", P($({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
1114
|
-
]),
|
|
1115
|
-
key: "5"
|
|
1116
|
-
} : void 0,
|
|
1117
|
-
e.$slots.optionAnnotator ? {
|
|
1118
|
-
name: "optionAnnotator",
|
|
1119
|
-
fn: w(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
1120
|
-
g(e.$slots, "optionAnnotator", P($({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
1121
|
-
]),
|
|
1122
|
-
key: "6"
|
|
1123
|
-
} : void 0,
|
|
1124
|
-
e.$slots.optionZoom ? {
|
|
1125
|
-
name: "optionZoom",
|
|
1126
|
-
fn: w(({ toggleZoom: t, isZoomLocked: r }) => [
|
|
1127
|
-
g(e.$slots, "optionZoom", P($({ toggleZoom: t, isZoomLocked: r })), void 0, !0)
|
|
1128
|
-
]),
|
|
1129
|
-
key: "7"
|
|
1130
|
-
} : void 0,
|
|
1131
|
-
e.$slots.optionAltCopy ? {
|
|
1132
|
-
name: "optionAltCopy",
|
|
1133
|
-
fn: w(({ altCopy: t }) => [
|
|
1134
|
-
g(e.$slots, "optionAltCopy", P($({ altCopy: t })), void 0, !0)
|
|
1135
|
-
]),
|
|
1136
|
-
key: "8"
|
|
1137
|
-
} : void 0
|
|
1138
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "hasAnnotator", "hasZoom", "isZoom", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "isAnnotation", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : j("", !0),
|
|
1139
|
-
n.value.style.chart.controls.position === "top" && n.value.style.chart.controls.show && !y(be) ? (b(), K(Mt, {
|
|
1140
|
-
key: 4,
|
|
1141
|
-
ref_key: "zoomControlsTop",
|
|
1142
|
-
ref: Le,
|
|
1143
|
-
config: n.value,
|
|
1144
|
-
scale: y(st),
|
|
1145
|
-
isFullscreen: _.value,
|
|
1146
|
-
isCursorPointer: Q.value,
|
|
1147
|
-
onZoomIn: Te,
|
|
1148
|
-
onZoomOut: Ie,
|
|
1149
|
-
onResetZoom: mt
|
|
1150
|
-
}, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : j("", !0),
|
|
1151
|
-
(b(), A("svg", {
|
|
1152
|
-
ref_key: "svgRef",
|
|
1153
|
-
ref: ce,
|
|
1154
|
-
xmlns: y($o),
|
|
1155
|
-
viewBox: dt.value,
|
|
1156
|
-
preserveAspectRatio: "xMidYMid meet",
|
|
1157
|
-
style: ve({
|
|
1158
|
-
display: "block",
|
|
1159
|
-
width: "100%",
|
|
1160
|
-
height: q.value ? `${G.value}px` : "auto",
|
|
1161
|
-
background: n.value.style.chart.backgroundColor,
|
|
1162
|
-
touchAction: O.value ? "none" : "auto",
|
|
1163
|
-
cursor: O.value ? L.value ? "grabbing" : "grab" : "default"
|
|
1164
|
-
}),
|
|
1165
|
-
id: `vue-ui-geo_${B.value}`,
|
|
1166
|
-
onPointerdown: bo,
|
|
1167
|
-
onPointerup: je,
|
|
1168
|
-
onPointercancel: je,
|
|
1169
|
-
onPointerleave: je,
|
|
1170
|
-
onWheel: ko
|
|
1171
|
-
}, [
|
|
1172
|
-
St(y(Lt)),
|
|
1173
|
-
ae("g", {
|
|
1174
|
-
transform: at.value.transform,
|
|
1175
|
-
style: ve({ pointerEvents: L.value ? "none" : "auto" })
|
|
1176
|
-
}, [
|
|
1177
|
-
ae("g", null, [
|
|
1178
|
-
(b(!0), A(he, null, pe(ot.value, (t) => (b(), A("path", {
|
|
1179
|
-
class: "vue-ui-geo-territory",
|
|
1180
|
-
key: t.uid,
|
|
1181
|
-
d: t.path,
|
|
1182
|
-
fill: I.value === t.uid ? R.value.hover.fill : R.value.fill,
|
|
1183
|
-
stroke: I.value === t.uid ? R.value.hover.stroke : R.value.stroke,
|
|
1184
|
-
"stroke-width": I.value === t.uid ? R.value.hover.strokeWidth : R.value.strokeWidth,
|
|
1185
|
-
"vector-effect": "non-scaling-stroke",
|
|
1186
|
-
onMouseenter: (r) => yt(t),
|
|
1187
|
-
onMouseleave: (r) => gt(t),
|
|
1188
|
-
onClick: (r) => bt(t)
|
|
1189
|
-
}, null, 40, Ho))), 128))
|
|
1190
|
-
]),
|
|
1191
|
-
ae("g", null, [
|
|
1192
|
-
(b(!0), A(he, null, pe(nt.value, (t) => (b(), A("path", {
|
|
1193
|
-
class: "vue-ui-geo-territory",
|
|
1194
|
-
key: t.uid,
|
|
1195
|
-
d: t.path,
|
|
1196
|
-
fill: "none",
|
|
1197
|
-
stroke: I.value === t.uid ? R.value.hover.stroke : R.value.stroke,
|
|
1198
|
-
"stroke-width": I.value === t.uid ? R.value.hover.strokeWidth : R.value.strokeWidth,
|
|
1199
|
-
"vector-effect": "non-scaling-stroke",
|
|
1200
|
-
onMouseenter: (r) => yt(t),
|
|
1201
|
-
onMouseleave: (r) => gt(t),
|
|
1202
|
-
onClick: (r) => bt(t)
|
|
1203
|
-
}, null, 40, Xo))), 128))
|
|
1204
|
-
]),
|
|
1205
|
-
ae("g", null, [
|
|
1206
|
-
(b(!0), A(he, null, pe(rt.value, (t) => (b(), A("circle", {
|
|
1207
|
-
key: t.uid,
|
|
1208
|
-
cx: t.x,
|
|
1209
|
-
cy: t.y,
|
|
1210
|
-
r: t.radius,
|
|
1211
|
-
fill: t.fill,
|
|
1212
|
-
stroke: t.stroke,
|
|
1213
|
-
"stroke-width": t.strokeWidth,
|
|
1214
|
-
"vector-effect": "non-scaling-stroke",
|
|
1215
|
-
onMouseenter: (r) => co(t),
|
|
1216
|
-
onMouseleave: fo
|
|
1217
|
-
}, null, 40, Uo))), 128))
|
|
1218
|
-
]),
|
|
1219
|
-
(b(!0), A(he, null, pe(ht.value, (t) => (b(), A("g", {
|
|
1220
|
-
key: t.uid
|
|
1221
|
-
}, [
|
|
1222
|
-
g(e.$slots, "datapoint", Ao({ ref_for: !0 }, {
|
|
1223
|
-
point: t,
|
|
1224
|
-
onPointEnter: kt,
|
|
1225
|
-
onPointLeave: Ct,
|
|
1226
|
-
onPointClick: Nt,
|
|
1227
|
-
highlighted: oe.value === t.uid
|
|
1228
|
-
}), () => [
|
|
1229
|
-
ae("circle", {
|
|
1230
|
-
class: xt({
|
|
1231
|
-
"vue-ui-geo-point": !0,
|
|
1232
|
-
"vue-ui-geo-point-with-event": wt.value && Q.value
|
|
1233
|
-
}),
|
|
1234
|
-
cx: t.x,
|
|
1235
|
-
cy: t.y,
|
|
1236
|
-
r: oe.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius,
|
|
1237
|
-
fill: t.fill,
|
|
1238
|
-
stroke: At.value.stroke,
|
|
1239
|
-
"stroke-width": At.value.strokeWidth,
|
|
1240
|
-
"vector-effect": "non-scaling-stroke",
|
|
1241
|
-
onMouseenter: (r) => kt(t),
|
|
1242
|
-
onMouseleave: (r) => Ct(t),
|
|
1243
|
-
onClick: (r) => Nt(t)
|
|
1244
|
-
}, null, 42, Vo)
|
|
1245
|
-
], !0),
|
|
1246
|
-
n.value.style.chart.points.labels.show ? (b(), A("text", {
|
|
1247
|
-
key: 0,
|
|
1248
|
-
class: "vue-ui-geo-point-label",
|
|
1249
|
-
x: t.x,
|
|
1250
|
-
y: t.y + (oe.value === t.uid ? t.radius * t.hoverRadiusRatio : t.radius) + n.value.style.chart.points.labels.offsetY + 1 * n.value.style.chart.points.labels.fontSizeRatio,
|
|
1251
|
-
"text-anchor": "middle",
|
|
1252
|
-
fill: n.value.style.chart.points.labels.color,
|
|
1253
|
-
"font-size": 1 * n.value.style.chart.points.labels.fontSizeRatio
|
|
1254
|
-
}, Fo(t.name), 9, Jo)) : j("", !0)
|
|
1255
|
-
]))), 128)),
|
|
1256
|
-
g(e.$slots, "svg", {
|
|
1257
|
-
svg: {
|
|
1258
|
-
drawingArea: dt.value,
|
|
1259
|
-
isPrintingImg: y(Ce) | y(we) | le.value,
|
|
1260
|
-
isPrintingSvg: se.value,
|
|
1261
|
-
data: {
|
|
1262
|
-
areaPaths: ot.value,
|
|
1263
|
-
linePaths: nt.value,
|
|
1264
|
-
geoJsonPoints: rt.value,
|
|
1265
|
-
projectedPoints: ht.value
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
}, void 0, !0)
|
|
1269
|
-
], 12, qo)
|
|
1270
|
-
], 44, Do)),
|
|
1271
|
-
e.$slots.watermark ? (b(), A("div", Ko, [
|
|
1272
|
-
g(e.$slots, "watermark", P($({ isPrinting: y(Ce) || y(we) || le.value || se.value })), void 0, !0)
|
|
1273
|
-
])) : j("", !0),
|
|
1274
|
-
n.value.style.chart.controls.position === "bottom" && n.value.style.chart.controls.show && !y(be) ? (b(), K(Mt, {
|
|
1275
|
-
key: 6,
|
|
1276
|
-
ref_key: "zoomControlsBottom",
|
|
1277
|
-
ref: We,
|
|
1278
|
-
config: n.value,
|
|
1279
|
-
scale: y(st),
|
|
1280
|
-
isFullscreen: _.value,
|
|
1281
|
-
isCursorPointer: Q.value,
|
|
1282
|
-
onZoomIn: Te,
|
|
1283
|
-
onZoomOut: Ie,
|
|
1284
|
-
onResetZoom: mt
|
|
1285
|
-
}, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : j("", !0),
|
|
1286
|
-
St(y(Gt), {
|
|
1287
|
-
teleportTo: n.value.style.chart.tooltip.teleportTo,
|
|
1288
|
-
show: ee.value.showTooltip && xe.value,
|
|
1289
|
-
backgroundColor: n.value.style.chart.tooltip.backgroundColor,
|
|
1290
|
-
color: n.value.style.chart.tooltip.color,
|
|
1291
|
-
fontSize: n.value.style.chart.tooltip.fontSize,
|
|
1292
|
-
borderRadius: n.value.style.chart.tooltip.borderRadius,
|
|
1293
|
-
borderColor: n.value.style.chart.tooltip.borderColor,
|
|
1294
|
-
borderWidth: n.value.style.chart.tooltip.borderWidth,
|
|
1295
|
-
backgroundOpacity: n.value.style.chart.tooltip.backgroundOpacity,
|
|
1296
|
-
position: n.value.style.chart.tooltip.position,
|
|
1297
|
-
offsetY: n.value.style.chart.tooltip.offsetY,
|
|
1298
|
-
parent: S.value,
|
|
1299
|
-
content: Se.value,
|
|
1300
|
-
isCustom: z.value,
|
|
1301
|
-
isFullscreen: _.value,
|
|
1302
|
-
smooth: n.value.style.chart.tooltip.smooth,
|
|
1303
|
-
backdropFilter: n.value.style.chart.tooltip.backdropFilter,
|
|
1304
|
-
smoothForce: n.value.style.chart.tooltip.smoothForce,
|
|
1305
|
-
smoothSnapThreshold: n.value.style.chart.tooltip.smoothSnapThreshold
|
|
1306
|
-
}, {
|
|
1307
|
-
"tooltip-before": w(() => [
|
|
1308
|
-
g(e.$slots, "tooltip-before", P($({ ...ue.value })), void 0, !0)
|
|
1309
|
-
]),
|
|
1310
|
-
"tooltip-after": w(() => [
|
|
1311
|
-
g(e.$slots, "tooltip-after", P($({ ...ue.value })), void 0, !0)
|
|
1312
|
-
]),
|
|
1313
|
-
_: 3
|
|
1314
|
-
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1315
|
-
e.$slots.source ? (b(), A("div", {
|
|
1316
|
-
key: 7,
|
|
1317
|
-
ref_key: "source",
|
|
1318
|
-
ref: Ze,
|
|
1319
|
-
dir: "auto"
|
|
1320
|
-
}, [
|
|
1321
|
-
g(e.$slots, "source", {}, void 0, !0)
|
|
1322
|
-
], 512)) : j("", !0),
|
|
1323
|
-
g(e.$slots, "skeleton", {}, () => [
|
|
1324
|
-
y(be) ? (b(), K(Ro, { key: 0 })) : j("", !0)
|
|
1325
|
-
], !0)
|
|
1326
|
-
], 14, Yo));
|
|
1327
|
-
}
|
|
1328
|
-
}, bn = /* @__PURE__ */ Wo(Qo, [["__scopeId", "data-v-753cf3dd"]]);
|
|
1329
|
-
export {
|
|
1330
|
-
bn as default
|
|
1331
|
-
};
|