vue-data-ui 3.16.4 → 3.17.0
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 +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- 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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineAsyncComponent as ye, ref as d, computed as v, toRefs as Ro, watch as
|
|
1
|
+
import { defineAsyncComponent as ye, ref as d, computed as v, toRefs as Ro, watch as fe, nextTick as ae, onBeforeUnmount as Bt, onMounted as Eo, openBlock as k, createElementBlock as P, normalizeStyle as ge, normalizeClass as jt, createElementVNode as W, toDisplayString as _t, createBlock as U, createCommentVNode as S, unref as w, withCtx as N, renderSlot as y, normalizeProps as $, guardReactiveProps as T, createSlots as Bo, createVNode as Gt, Fragment as be, renderList as ke, mergeProps as jo } from "vue";
|
|
2
2
|
import { j as _o, t as zt, s as qe, X as Go, T as Lt, a3 as zo } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { u as Lo } from "./usePanZoom-CDF7rb3o.js";
|
|
4
4
|
import { t as Zo, u as Wo } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as Do } from "./useConfig-
|
|
5
|
+
import { u as Do } from "./useConfig-ChRble71.js";
|
|
6
6
|
import { u as Yo, B as Xo } from "./BaseScanner-BhhkKVoj.js";
|
|
7
7
|
import { u as qo } from "./usePrinter-CEpYU3r5.js";
|
|
8
8
|
import { u as Ho } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -43,7 +43,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["copyAlt"],
|
|
45
45
|
setup(Dt, { expose: Yt, emit: Xt }) {
|
|
46
|
-
const qt = ye(() => import("./Tooltip-
|
|
46
|
+
const qt = ye(() => import("./Tooltip-C8KGyqQk.js")), Ht = ye(() => import("./UserOptions-rW2fRf3V.js")), Ut = ye(() => import("./PenAndPaper-Ct3qJ4lA.js")), Vt = ye(() => import("./PackageVersion-B3kmPxTR.js")), V = Dt, Kt = Xt, { vue_ui_geo: Jt } = Do(), { isThemeValid: Qt, warnInvalidTheme: eo } = Uo(), M = d(_o()), we = d(0), Ue = d(0), de = d(!1), ve = d(!1), R = d(null), _ = d(!1), le = d(null), Ve = d(null), Ke = d(null), Je = d(null), K = d(null), J = d(null), Qe = d(null), et = d(null), x = d(null), tt = d({ x: 0, y: 0 }), Q = d("pointer"), Ce = d(!1), G = d(!1);
|
|
47
47
|
function ot(e) {
|
|
48
48
|
G.value = e, we.value += 1;
|
|
49
49
|
}
|
|
@@ -64,7 +64,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
64
64
|
defaultConfig: t
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
const i = d(Ae()),
|
|
67
|
+
const i = d(Ae()), se = v(() => i.value.userOptions.useCursorPointer), { userOptionsVisible: nt, keepUserOptionState: it } = Vo({
|
|
68
68
|
config: i.value
|
|
69
69
|
}), { svgRef: D } = Ko({
|
|
70
70
|
config: i.value.style.chart.title
|
|
@@ -173,7 +173,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
173
173
|
K.value && (J.value && K.value.unobserve(J.value), K.value.disconnect(), K.value = null, J.value = null);
|
|
174
174
|
}
|
|
175
175
|
const ee = v(() => !!i.value.responsive && !G.value);
|
|
176
|
-
|
|
176
|
+
fe(
|
|
177
177
|
() => G.value,
|
|
178
178
|
async (e) => {
|
|
179
179
|
if (e) {
|
|
@@ -202,13 +202,13 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
202
202
|
});
|
|
203
203
|
K.value = new ResizeObserver(e), J.value = R.value ? R.value.parentNode : null, J.value && K.value.observe(J.value), e();
|
|
204
204
|
}
|
|
205
|
-
const lt = v(() => i.value.userOptions.show && !i.value.style.chart.title.text),
|
|
205
|
+
const lt = v(() => i.value.userOptions.show && !i.value.style.chart.title.text), ue = d({
|
|
206
206
|
showTooltip: i.value.style.chart.tooltip.show
|
|
207
207
|
}), E = d(i.value.style.chart.zoom.active);
|
|
208
|
-
|
|
208
|
+
fe(
|
|
209
209
|
() => V.config,
|
|
210
210
|
() => {
|
|
211
|
-
i.value = Ae(),
|
|
211
|
+
i.value = Ae(), ue.value.showTooltip = i.value.style.chart.tooltip.show, E.value = i.value.style.chart.zoom.active, te.value = i.value.style.chart.dimensions.width, z.value = i.value.style.chart.dimensions.height, xe(), Ue.value += 1, we.value += 1;
|
|
212
212
|
},
|
|
213
213
|
{ deep: !0 }
|
|
214
214
|
);
|
|
@@ -290,22 +290,22 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
290
290
|
}
|
|
291
291
|
function u(c) {
|
|
292
292
|
if (!l(c)) return "";
|
|
293
|
-
for (const
|
|
294
|
-
const A = c[
|
|
293
|
+
for (const g of n) {
|
|
294
|
+
const A = c[g];
|
|
295
295
|
if (typeof A == "string" && A.trim())
|
|
296
296
|
return A.trim();
|
|
297
297
|
}
|
|
298
298
|
return "";
|
|
299
299
|
}
|
|
300
|
-
function s({ geometry: c, properties:
|
|
301
|
-
const
|
|
302
|
-
return !
|
|
300
|
+
function s({ geometry: c, properties: g, fallbackName: A, featureIndex: m }) {
|
|
301
|
+
const b = l(g) ? { ...g } : {}, j = u(b), F = t ? `${t} ${m + 1}` : "", re = j || (typeof A == "string" ? A.trim() : "") || F;
|
|
302
|
+
return !b.name && re && (b.name = re), {
|
|
303
303
|
type: "Feature",
|
|
304
304
|
geometry: c,
|
|
305
|
-
properties:
|
|
305
|
+
properties: b
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
-
function h(c,
|
|
308
|
+
function h(c, g, A, m, b) {
|
|
309
309
|
const j = Array.isArray(c?.geometries) ? c.geometries : [];
|
|
310
310
|
let F = m;
|
|
311
311
|
for (let re = 0; re < j.length; re += 1) {
|
|
@@ -314,29 +314,29 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
314
314
|
if (l(Z) && Z.type === "GeometryCollection") {
|
|
315
315
|
F = h(
|
|
316
316
|
Z,
|
|
317
|
-
|
|
317
|
+
g,
|
|
318
318
|
A,
|
|
319
319
|
F,
|
|
320
|
-
|
|
320
|
+
b
|
|
321
321
|
);
|
|
322
322
|
continue;
|
|
323
323
|
}
|
|
324
324
|
if (f(Z)) {
|
|
325
325
|
if (Z.coordinates == null && Z.type !== "GeometryCollection") {
|
|
326
|
-
r && (
|
|
326
|
+
r && (b.push(
|
|
327
327
|
s({
|
|
328
328
|
geometry: null,
|
|
329
|
-
properties:
|
|
329
|
+
properties: g,
|
|
330
330
|
fallbackName: A,
|
|
331
331
|
featureIndex: F
|
|
332
332
|
})
|
|
333
333
|
), F += 1);
|
|
334
334
|
continue;
|
|
335
335
|
}
|
|
336
|
-
|
|
336
|
+
b.push(
|
|
337
337
|
s({
|
|
338
338
|
geometry: Z,
|
|
339
|
-
properties:
|
|
339
|
+
properties: g,
|
|
340
340
|
fallbackName: A,
|
|
341
341
|
featureIndex: F
|
|
342
342
|
})
|
|
@@ -346,47 +346,47 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
346
346
|
}
|
|
347
347
|
return F;
|
|
348
348
|
}
|
|
349
|
-
function p(c,
|
|
349
|
+
function p(c, g, A = 0) {
|
|
350
350
|
let m = A;
|
|
351
351
|
if (c == null) return m;
|
|
352
352
|
if (Array.isArray(c)) {
|
|
353
|
-
for (const
|
|
354
|
-
m = p(
|
|
353
|
+
for (const b of c)
|
|
354
|
+
m = p(b, g, m);
|
|
355
355
|
return m;
|
|
356
356
|
}
|
|
357
357
|
if (!l(c) || typeof c.type != "string")
|
|
358
358
|
return m;
|
|
359
359
|
if (c.type === "FeatureCollection") {
|
|
360
|
-
const
|
|
361
|
-
for (const j of
|
|
362
|
-
m = p(j,
|
|
360
|
+
const b = Array.isArray(c.features) ? c.features : [];
|
|
361
|
+
for (const j of b)
|
|
362
|
+
m = p(j, g, m);
|
|
363
363
|
return m;
|
|
364
364
|
}
|
|
365
365
|
if (c.type === "Feature") {
|
|
366
|
-
const
|
|
367
|
-
return F == null ? (r && (
|
|
366
|
+
const b = l(c.properties) ? c.properties : {}, j = u(b), F = c.geometry ?? null;
|
|
367
|
+
return F == null ? (r && (g.push(
|
|
368
368
|
s({
|
|
369
369
|
geometry: null,
|
|
370
|
-
properties:
|
|
370
|
+
properties: b,
|
|
371
371
|
fallbackName: j,
|
|
372
372
|
featureIndex: m
|
|
373
373
|
})
|
|
374
374
|
), m += 1), m) : l(F) && F.type === "GeometryCollection" ? h(
|
|
375
375
|
F,
|
|
376
|
-
|
|
376
|
+
b,
|
|
377
377
|
j,
|
|
378
378
|
m,
|
|
379
|
-
|
|
380
|
-
) : (f(F) && (
|
|
379
|
+
g
|
|
380
|
+
) : (f(F) && (g.push(
|
|
381
381
|
s({
|
|
382
382
|
geometry: F,
|
|
383
|
-
properties:
|
|
383
|
+
properties: b,
|
|
384
384
|
fallbackName: j,
|
|
385
385
|
featureIndex: m
|
|
386
386
|
})
|
|
387
387
|
), m += 1), m);
|
|
388
388
|
}
|
|
389
|
-
return c.type === "GeometryCollection" ? h(c, {}, "", m,
|
|
389
|
+
return c.type === "GeometryCollection" ? h(c, {}, "", m, g) : (f(c) && (g.push(
|
|
390
390
|
s({
|
|
391
391
|
geometry: c,
|
|
392
392
|
properties: {},
|
|
@@ -568,12 +568,12 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
568
568
|
function mo({ bounds: e, targetWidth: o, targetHeight: t, padding: n }) {
|
|
569
569
|
if (!e || !(e.width > 0) || !(e.height > 0))
|
|
570
570
|
return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
571
|
-
const r = Number.isFinite(Number(n)) ? Number(n) : 0, a = Math.max(1, o - r * 2), l = Math.max(1, t - r * 2), f = a / e.width, u = l / e.height, s = Math.min(f, u), h = e.width * s, p = e.height * s, C = r + (a - h) / 2, c = r + (l - p) / 2,
|
|
571
|
+
const r = Number.isFinite(Number(n)) ? Number(n) : 0, a = Math.max(1, o - r * 2), l = Math.max(1, t - r * 2), f = a / e.width, u = l / e.height, s = Math.min(f, u), h = e.width * s, p = e.height * s, C = r + (a - h) / 2, c = r + (l - p) / 2, g = C - e.minX * s, A = c - e.minY * s;
|
|
572
572
|
return {
|
|
573
573
|
scale: s,
|
|
574
|
-
translateX:
|
|
574
|
+
translateX: g,
|
|
575
575
|
translateY: A,
|
|
576
|
-
transform: `translate(${
|
|
576
|
+
transform: `translate(${g} ${A}) scale(${s})`
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
579
|
const gt = v(() => {
|
|
@@ -590,7 +590,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
590
590
|
const e = I.value.width, o = I.value.height;
|
|
591
591
|
return `0 0 ${e} ${o}`;
|
|
592
592
|
}), {
|
|
593
|
-
viewBox:
|
|
593
|
+
viewBox: ce,
|
|
594
594
|
resetZoom: bt,
|
|
595
595
|
setInitialViewBox: Me,
|
|
596
596
|
scale: kt,
|
|
@@ -631,7 +631,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
631
631
|
Me(e, { overwriteCurrentIfNotZoomed: !0 }), _.value = !0;
|
|
632
632
|
}
|
|
633
633
|
const At = v(() => {
|
|
634
|
-
const e =
|
|
634
|
+
const e = ce.value;
|
|
635
635
|
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : ho.value;
|
|
636
636
|
});
|
|
637
637
|
function Re() {
|
|
@@ -644,7 +644,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
644
644
|
const e = Ct();
|
|
645
645
|
Me(e, { overwriteCurrentIfNotZoomed: !0 }), bt(!0);
|
|
646
646
|
}
|
|
647
|
-
|
|
647
|
+
fe(
|
|
648
648
|
() => [
|
|
649
649
|
i.value.projection,
|
|
650
650
|
i.value.map.center?.[0],
|
|
@@ -658,7 +658,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
658
658
|
});
|
|
659
659
|
},
|
|
660
660
|
{ deep: !1 }
|
|
661
|
-
),
|
|
661
|
+
), fe(
|
|
662
662
|
() => [te.value, z.value, ee.value],
|
|
663
663
|
async () => {
|
|
664
664
|
ee.value && (await ae(), Me(
|
|
@@ -748,7 +748,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
748
748
|
return String(e ?? "").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
749
749
|
}
|
|
750
750
|
function bo(e) {
|
|
751
|
-
|
|
751
|
+
le.value = {
|
|
752
752
|
datapoint: e,
|
|
753
753
|
seriesIndex: e.index,
|
|
754
754
|
series: Be.value,
|
|
@@ -757,7 +757,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
757
757
|
const o = i.value.style.chart.tooltip.customFormat;
|
|
758
758
|
if (Lt(o))
|
|
759
759
|
try {
|
|
760
|
-
const r = o(
|
|
760
|
+
const r = o(le.value);
|
|
761
761
|
if (typeof r == "string")
|
|
762
762
|
return L.value = !0, r;
|
|
763
763
|
} catch {
|
|
@@ -846,14 +846,14 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
846
846
|
function De() {
|
|
847
847
|
ne.value = !ne.value;
|
|
848
848
|
}
|
|
849
|
-
|
|
849
|
+
fe(
|
|
850
850
|
() => ne.value,
|
|
851
851
|
(e) => {
|
|
852
852
|
E.value = !e;
|
|
853
853
|
}
|
|
854
854
|
);
|
|
855
855
|
function St() {
|
|
856
|
-
|
|
856
|
+
ue.value.showTooltip = !ue.value.showTooltip;
|
|
857
857
|
}
|
|
858
858
|
const Co = v(() => i.value.style.chart.backgroundColor), Ao = v(() => i.value.style.chart.title), { exportSvg: No, getSvg: Fo } = Ho({
|
|
859
859
|
svg: D,
|
|
@@ -863,7 +863,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
863
863
|
backgroundColor: Co
|
|
864
864
|
});
|
|
865
865
|
async function Mt({ isCb: e }) {
|
|
866
|
-
|
|
866
|
+
ve.value = !0, await ae();
|
|
867
867
|
try {
|
|
868
868
|
if (e) {
|
|
869
869
|
const { blob: o, url: t, text: n, dataUrl: r } = await Fo();
|
|
@@ -871,16 +871,16 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
871
871
|
} else
|
|
872
872
|
await Promise.resolve(No());
|
|
873
873
|
} finally {
|
|
874
|
-
|
|
874
|
+
ve.value = !1;
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
function Po(e) {
|
|
878
878
|
if (e?.stage === "start") {
|
|
879
|
-
|
|
879
|
+
de.value = !0;
|
|
880
880
|
return;
|
|
881
881
|
}
|
|
882
882
|
if (e?.stage === "end") {
|
|
883
|
-
|
|
883
|
+
de.value = !1;
|
|
884
884
|
return;
|
|
885
885
|
}
|
|
886
886
|
at();
|
|
@@ -923,27 +923,27 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
923
923
|
if (!Number.isFinite(n) || !Number.isFinite(r)) return;
|
|
924
924
|
const a = oe([n, r]), l = a?.[0], f = a?.[1];
|
|
925
925
|
if (!Number.isFinite(l) || !Number.isFinite(f)) return;
|
|
926
|
-
const u = Oe({ x: l, y: f }), s =
|
|
926
|
+
const u = Oe({ x: l, y: f }), s = ce.value ? { ...ce.value } : { x: 0, y: 0, width: I.value.width, height: I.value.height }, h = {
|
|
927
927
|
x: u.x - s.width / 2,
|
|
928
928
|
y: u.y - s.height / 2,
|
|
929
929
|
width: s.width,
|
|
930
930
|
height: s.height
|
|
931
931
|
};
|
|
932
932
|
if (!t) {
|
|
933
|
-
|
|
933
|
+
ce.value = h;
|
|
934
934
|
return;
|
|
935
935
|
}
|
|
936
936
|
const p = { ...s }, C = { ...h }, c = 250;
|
|
937
|
-
let
|
|
937
|
+
let g = null;
|
|
938
938
|
const A = (m) => {
|
|
939
|
-
|
|
940
|
-
const
|
|
941
|
-
|
|
942
|
-
x: p.x + (C.x - p.x) *
|
|
943
|
-
y: p.y + (C.y - p.y) *
|
|
944
|
-
width: p.width + (C.width - p.width) *
|
|
945
|
-
height: p.height + (C.height - p.height) *
|
|
946
|
-
},
|
|
939
|
+
g == null && (g = m);
|
|
940
|
+
const b = Math.min((m - g) / c, 1);
|
|
941
|
+
ce.value = {
|
|
942
|
+
x: p.x + (C.x - p.x) * b,
|
|
943
|
+
y: p.y + (C.y - p.y) * b,
|
|
944
|
+
width: p.width + (C.width - p.width) * b,
|
|
945
|
+
height: p.height + (C.height - p.height) * b
|
|
946
|
+
}, b < 1 && requestAnimationFrame(A);
|
|
947
947
|
};
|
|
948
948
|
requestAnimationFrame(A);
|
|
949
949
|
}
|
|
@@ -1043,7 +1043,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1043
1043
|
resetZoom: bt,
|
|
1044
1044
|
focusLocation: Ot,
|
|
1045
1045
|
copyAlt: Rt
|
|
1046
|
-
}), (e, o) => (
|
|
1046
|
+
}), (e, o) => (k(), P("div", {
|
|
1047
1047
|
class: jt(`vue-data-ui-component vue-ui-geo ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${ee.value ? "vue-ui-geo-responsive" : ""} ${H.value ? "vue-ui-geo-interacting" : ""}`),
|
|
1048
1048
|
ref_key: "geoChart",
|
|
1049
1049
|
ref: R,
|
|
@@ -1062,7 +1062,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1062
1062
|
}, [
|
|
1063
1063
|
W("p", null, _t(i.value.a11y.translations.keyboardNavigation), 1)
|
|
1064
1064
|
], 8, an),
|
|
1065
|
-
Xe.value?.rows?.length ? (
|
|
1065
|
+
Xe.value?.rows?.length ? (k(), U(on, {
|
|
1066
1066
|
key: 0,
|
|
1067
1067
|
uid: M.value,
|
|
1068
1068
|
head: Xe.value.headers,
|
|
@@ -1070,20 +1070,20 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1070
1070
|
notice: i.value.a11y.translations.tableAvailable,
|
|
1071
1071
|
caption: i.value.a11y.translations.tableCaption
|
|
1072
1072
|
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : S("", !0),
|
|
1073
|
-
lt.value ? (
|
|
1073
|
+
lt.value ? (k(), P("div", {
|
|
1074
1074
|
key: 1,
|
|
1075
1075
|
ref_key: "noTitle",
|
|
1076
1076
|
ref: Ke,
|
|
1077
1077
|
class: "vue-data-ui-no-title-space",
|
|
1078
1078
|
style: "height:36px; width: 100%;background:transparent"
|
|
1079
1079
|
}, null, 512)) : S("", !0),
|
|
1080
|
-
i.value.style.chart.title.text ? (
|
|
1080
|
+
i.value.style.chart.title.text ? (k(), P("div", {
|
|
1081
1081
|
key: 2,
|
|
1082
1082
|
ref_key: "chartTitle",
|
|
1083
1083
|
ref: Ve,
|
|
1084
1084
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1085
1085
|
}, [
|
|
1086
|
-
(
|
|
1086
|
+
(k(), U(en, {
|
|
1087
1087
|
key: `title_${Ue.value}`,
|
|
1088
1088
|
config: {
|
|
1089
1089
|
title: {
|
|
@@ -1097,36 +1097,36 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1097
1097
|
}
|
|
1098
1098
|
}, null, 8, ["config"]))
|
|
1099
1099
|
], 512)) : S("", !0),
|
|
1100
|
-
i.value.userOptions.buttons.annotator ? (
|
|
1100
|
+
i.value.userOptions.buttons.annotator ? (k(), U(w(Ut), {
|
|
1101
1101
|
key: 3,
|
|
1102
1102
|
svgRef: w(D),
|
|
1103
1103
|
backgroundColor: i.value.style.chart.backgroundColor,
|
|
1104
1104
|
color: i.value.style.chart.color,
|
|
1105
1105
|
active: ne.value,
|
|
1106
|
-
isCursorPointer:
|
|
1106
|
+
isCursorPointer: se.value,
|
|
1107
1107
|
onClose: De
|
|
1108
1108
|
}, {
|
|
1109
1109
|
"annotator-action-close": N(() => [
|
|
1110
|
-
|
|
1110
|
+
y(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1111
1111
|
]),
|
|
1112
1112
|
"annotator-action-color": N(({ color: t }) => [
|
|
1113
|
-
|
|
1113
|
+
y(e.$slots, "annotator-action-color", $(T({ color: t })), void 0, !0)
|
|
1114
1114
|
]),
|
|
1115
1115
|
"annotator-action-draw": N(({ mode: t }) => [
|
|
1116
|
-
|
|
1116
|
+
y(e.$slots, "annotator-action-draw", $(T({ mode: t })), void 0, !0)
|
|
1117
1117
|
]),
|
|
1118
1118
|
"annotator-action-undo": N(({ disabled: t }) => [
|
|
1119
|
-
|
|
1119
|
+
y(e.$slots, "annotator-action-undo", $(T({ disabled: t })), void 0, !0)
|
|
1120
1120
|
]),
|
|
1121
1121
|
"annotator-action-redo": N(({ disabled: t }) => [
|
|
1122
|
-
|
|
1122
|
+
y(e.$slots, "annotator-action-redo", $(T({ disabled: t })), void 0, !0)
|
|
1123
1123
|
]),
|
|
1124
1124
|
"annotator-action-delete": N(({ disabled: t }) => [
|
|
1125
|
-
|
|
1125
|
+
y(e.$slots, "annotator-action-delete", $(T({ disabled: t })), void 0, !0)
|
|
1126
1126
|
]),
|
|
1127
1127
|
_: 3
|
|
1128
1128
|
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : S("", !0),
|
|
1129
|
-
i.value.userOptions.show && (w(it) || w(nt)) ? (
|
|
1129
|
+
i.value.userOptions.show && (w(it) || w(nt)) ? (k(), U(w(Ht), {
|
|
1130
1130
|
ref: "userOptionsRef",
|
|
1131
1131
|
key: `user_options_${we.value}`,
|
|
1132
1132
|
backgroundColor: i.value.style.chart.backgroundColor,
|
|
@@ -1146,14 +1146,14 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1146
1146
|
hasZoom: i.value.userOptions.buttons.zoom,
|
|
1147
1147
|
isZoom: E.value,
|
|
1148
1148
|
isFullscreen: G.value,
|
|
1149
|
-
isTooltip:
|
|
1149
|
+
isTooltip: ue.value.showTooltip,
|
|
1150
1150
|
titles: { ...i.value.userOptions.buttonTitles },
|
|
1151
1151
|
chartElement: R.value,
|
|
1152
1152
|
position: i.value.userOptions.position,
|
|
1153
1153
|
isAnnotation: ne.value,
|
|
1154
1154
|
callbacks: i.value.userOptions.callbacks,
|
|
1155
1155
|
printScale: i.value.userOptions.print.scale,
|
|
1156
|
-
isCursorPointer:
|
|
1156
|
+
isCursorPointer: se.value,
|
|
1157
1157
|
onToggleFullscreen: ot,
|
|
1158
1158
|
onGeneratePdf: w(rt),
|
|
1159
1159
|
onGenerateImage: Po,
|
|
@@ -1169,81 +1169,81 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1169
1169
|
e.$slots.menuIcon ? {
|
|
1170
1170
|
name: "menuIcon",
|
|
1171
1171
|
fn: N(({ isOpen: t, color: n }) => [
|
|
1172
|
-
|
|
1172
|
+
y(e.$slots, "menuIcon", $(T({ isOpen: t, color: n })), void 0, !0)
|
|
1173
1173
|
]),
|
|
1174
1174
|
key: "0"
|
|
1175
1175
|
} : void 0,
|
|
1176
1176
|
e.$slots.optionTooltip ? {
|
|
1177
1177
|
name: "optionTooltip",
|
|
1178
1178
|
fn: N(() => [
|
|
1179
|
-
|
|
1179
|
+
y(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
1180
1180
|
]),
|
|
1181
1181
|
key: "1"
|
|
1182
1182
|
} : void 0,
|
|
1183
1183
|
e.$slots.optionPdf ? {
|
|
1184
1184
|
name: "optionPdf",
|
|
1185
1185
|
fn: N(() => [
|
|
1186
|
-
|
|
1186
|
+
y(e.$slots, "optionPdf", {}, void 0, !0)
|
|
1187
1187
|
]),
|
|
1188
1188
|
key: "2"
|
|
1189
1189
|
} : void 0,
|
|
1190
1190
|
e.$slots.optionImg ? {
|
|
1191
1191
|
name: "optionImg",
|
|
1192
1192
|
fn: N(() => [
|
|
1193
|
-
|
|
1193
|
+
y(e.$slots, "optionImg", {}, void 0, !0)
|
|
1194
1194
|
]),
|
|
1195
1195
|
key: "3"
|
|
1196
1196
|
} : void 0,
|
|
1197
1197
|
e.$slots.optionSvg ? {
|
|
1198
1198
|
name: "optionSvg",
|
|
1199
1199
|
fn: N(() => [
|
|
1200
|
-
|
|
1200
|
+
y(e.$slots, "optionSvg", {}, void 0, !0)
|
|
1201
1201
|
]),
|
|
1202
1202
|
key: "4"
|
|
1203
1203
|
} : void 0,
|
|
1204
1204
|
e.$slots.optionFullscreen ? {
|
|
1205
1205
|
name: "optionFullscreen",
|
|
1206
1206
|
fn: N(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
1207
|
-
|
|
1207
|
+
y(e.$slots, "optionFullscreen", $(T({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
1208
1208
|
]),
|
|
1209
1209
|
key: "5"
|
|
1210
1210
|
} : void 0,
|
|
1211
1211
|
e.$slots.optionAnnotator ? {
|
|
1212
1212
|
name: "optionAnnotator",
|
|
1213
1213
|
fn: N(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
1214
|
-
|
|
1214
|
+
y(e.$slots, "optionAnnotator", $(T({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
1215
1215
|
]),
|
|
1216
1216
|
key: "6"
|
|
1217
1217
|
} : void 0,
|
|
1218
1218
|
e.$slots.optionZoom ? {
|
|
1219
1219
|
name: "optionZoom",
|
|
1220
1220
|
fn: N(({ toggleZoom: t, isZoomLocked: n }) => [
|
|
1221
|
-
|
|
1221
|
+
y(e.$slots, "optionZoom", $(T({ toggleZoom: t, isZoomLocked: n })), void 0, !0)
|
|
1222
1222
|
]),
|
|
1223
1223
|
key: "7"
|
|
1224
1224
|
} : void 0,
|
|
1225
1225
|
e.$slots.optionAltCopy ? {
|
|
1226
1226
|
name: "optionAltCopy",
|
|
1227
1227
|
fn: N(({ altCopy: t }) => [
|
|
1228
|
-
|
|
1228
|
+
y(e.$slots, "optionAltCopy", $(T({ altCopy: t })), void 0, !0)
|
|
1229
1229
|
]),
|
|
1230
1230
|
key: "8"
|
|
1231
1231
|
} : void 0
|
|
1232
1232
|
]), 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"])) : S("", !0),
|
|
1233
|
-
i.value.style.chart.controls.position === "top" && i.value.style.chart.controls.show && !w(Ne) ? (
|
|
1233
|
+
i.value.style.chart.controls.position === "top" && i.value.style.chart.controls.show && !w(Ne) ? (k(), U(Zt, {
|
|
1234
1234
|
key: 5,
|
|
1235
1235
|
ref_key: "zoomControlsTop",
|
|
1236
1236
|
ref: Qe,
|
|
1237
1237
|
config: i.value,
|
|
1238
1238
|
scale: w(kt),
|
|
1239
1239
|
isFullscreen: G.value,
|
|
1240
|
-
isCursorPointer:
|
|
1240
|
+
isCursorPointer: se.value,
|
|
1241
1241
|
onZoomIn: Re,
|
|
1242
1242
|
onZoomOut: Ee,
|
|
1243
1243
|
onResetZoom: Nt
|
|
1244
1244
|
}, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : S("", !0),
|
|
1245
1245
|
W("div", ln, [
|
|
1246
|
-
(
|
|
1246
|
+
(k(), P("svg", {
|
|
1247
1247
|
ref_key: "svgRef",
|
|
1248
1248
|
ref: D,
|
|
1249
1249
|
xmlns: w(Go),
|
|
@@ -1275,7 +1275,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1275
1275
|
style: ge({ pointerEvents: H.value ? "none" : "auto" })
|
|
1276
1276
|
}, [
|
|
1277
1277
|
W("g", null, [
|
|
1278
|
-
(
|
|
1278
|
+
(k(!0), P(be, null, ke(mt.value, (t) => (k(), P("path", {
|
|
1279
1279
|
class: "vue-ui-geo-territory",
|
|
1280
1280
|
key: t.uid,
|
|
1281
1281
|
d: t.path,
|
|
@@ -1289,7 +1289,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1289
1289
|
}, null, 40, cn))), 128))
|
|
1290
1290
|
]),
|
|
1291
1291
|
W("g", null, [
|
|
1292
|
-
(
|
|
1292
|
+
(k(!0), P(be, null, ke(ht.value, (t) => (k(), P("path", {
|
|
1293
1293
|
class: "vue-ui-geo-territory",
|
|
1294
1294
|
key: t.uid,
|
|
1295
1295
|
d: t.path,
|
|
@@ -1303,7 +1303,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1303
1303
|
}, null, 40, fn))), 128))
|
|
1304
1304
|
]),
|
|
1305
1305
|
W("g", null, [
|
|
1306
|
-
(
|
|
1306
|
+
(k(!0), P(be, null, ke(pt.value, (t) => (k(), P("circle", {
|
|
1307
1307
|
key: t.uid,
|
|
1308
1308
|
cx: t.x,
|
|
1309
1309
|
cy: t.y,
|
|
@@ -1316,10 +1316,10 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1316
1316
|
onMouseleave: wo
|
|
1317
1317
|
}, null, 40, dn))), 128))
|
|
1318
1318
|
]),
|
|
1319
|
-
(
|
|
1319
|
+
(k(!0), P(be, null, ke(je.value, (t, n) => (k(), P("g", {
|
|
1320
1320
|
key: t.uid
|
|
1321
1321
|
}, [
|
|
1322
|
-
|
|
1322
|
+
y(e.$slots, "datapoint", jo({ ref_for: !0 }, {
|
|
1323
1323
|
point: t,
|
|
1324
1324
|
onPointEnter: Ze,
|
|
1325
1325
|
onPointLeave: pe,
|
|
@@ -1329,7 +1329,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1329
1329
|
W("circle", {
|
|
1330
1330
|
class: jt({
|
|
1331
1331
|
"vue-ui-geo-point": !0,
|
|
1332
|
-
"vue-ui-geo-point-with-event": xt.value &&
|
|
1332
|
+
"vue-ui-geo-point-with-event": xt.value && se.value
|
|
1333
1333
|
}),
|
|
1334
1334
|
cx: t.x,
|
|
1335
1335
|
cy: t.y,
|
|
@@ -1343,7 +1343,7 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1343
1343
|
onClick: (r) => We(t)
|
|
1344
1344
|
}, null, 42, vn)
|
|
1345
1345
|
], !0),
|
|
1346
|
-
i.value.style.chart.points.labels.show ? (
|
|
1346
|
+
i.value.style.chart.points.labels.show ? (k(), P("text", {
|
|
1347
1347
|
key: 0,
|
|
1348
1348
|
class: "vue-ui-geo-point-label",
|
|
1349
1349
|
x: t.x,
|
|
@@ -1353,11 +1353,11 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1353
1353
|
"font-size": 1 * i.value.style.chart.points.labels.fontSizeRatio
|
|
1354
1354
|
}, _t(t.name), 9, mn)) : S("", !0)
|
|
1355
1355
|
]))), 128)),
|
|
1356
|
-
|
|
1356
|
+
y(e.$slots, "svg", {
|
|
1357
1357
|
svg: {
|
|
1358
1358
|
drawingArea: At.value,
|
|
1359
|
-
isPrintingImg: w(Pe) | w($e) |
|
|
1360
|
-
isPrintingSvg:
|
|
1359
|
+
isPrintingImg: w(Pe) | w($e) | de.value,
|
|
1360
|
+
isPrintingSvg: ve.value,
|
|
1361
1361
|
data: {
|
|
1362
1362
|
areaPaths: mt.value,
|
|
1363
1363
|
linePaths: ht.value,
|
|
@@ -1368,28 +1368,28 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1368
1368
|
}, void 0, !0)
|
|
1369
1369
|
], 12, un)
|
|
1370
1370
|
], 44, sn)),
|
|
1371
|
-
e.$slots.hint ? (
|
|
1372
|
-
|
|
1371
|
+
e.$slots.hint ? (k(), P("div", hn, [
|
|
1372
|
+
y(e.$slots, "hint", $(T({ hint: i.value.a11y.translations.keyboardNavigation, isVisible: Ce.value })), void 0, !0)
|
|
1373
1373
|
])) : S("", !0)
|
|
1374
1374
|
]),
|
|
1375
|
-
e.$slots.watermark ? (
|
|
1376
|
-
|
|
1375
|
+
e.$slots.watermark ? (k(), P("div", pn, [
|
|
1376
|
+
y(e.$slots, "watermark", $(T({ isPrinting: w(Pe) || w($e) || de.value || ve.value })), void 0, !0)
|
|
1377
1377
|
])) : S("", !0),
|
|
1378
|
-
i.value.style.chart.controls.position === "bottom" && i.value.style.chart.controls.show && !w(Ne) ? (
|
|
1378
|
+
i.value.style.chart.controls.position === "bottom" && i.value.style.chart.controls.show && !w(Ne) ? (k(), U(Zt, {
|
|
1379
1379
|
key: 7,
|
|
1380
1380
|
ref_key: "zoomControlsBottom",
|
|
1381
1381
|
ref: et,
|
|
1382
1382
|
config: i.value,
|
|
1383
1383
|
scale: w(kt),
|
|
1384
1384
|
isFullscreen: G.value,
|
|
1385
|
-
isCursorPointer:
|
|
1385
|
+
isCursorPointer: se.value,
|
|
1386
1386
|
onZoomIn: Re,
|
|
1387
1387
|
onZoomOut: Ee,
|
|
1388
1388
|
onResetZoom: Nt
|
|
1389
1389
|
}, null, 8, ["config", "scale", "isFullscreen", "isCursorPointer"])) : S("", !0),
|
|
1390
1390
|
Gt(w(qt), {
|
|
1391
1391
|
teleportTo: i.value.style.chart.tooltip.teleportTo,
|
|
1392
|
-
show:
|
|
1392
|
+
show: ue.value.showTooltip && _e.value,
|
|
1393
1393
|
backgroundColor: i.value.style.chart.tooltip.backgroundColor,
|
|
1394
1394
|
color: i.value.style.chart.tooltip.color,
|
|
1395
1395
|
fontSize: i.value.style.chart.tooltip.fontSize,
|
|
@@ -1411,27 +1411,30 @@ const rn = ["id"], an = ["id"], ln = { style: { position: "relative" } }, sn = [
|
|
|
1411
1411
|
a11yPosition: tt.value
|
|
1412
1412
|
}, {
|
|
1413
1413
|
"tooltip-before": N(() => [
|
|
1414
|
-
|
|
1414
|
+
y(e.$slots, "tooltip-before", $(T({ ...le.value })), void 0, !0)
|
|
1415
|
+
]),
|
|
1416
|
+
tooltip: N(() => [
|
|
1417
|
+
y(e.$slots, "tooltip", $(T({ ...le.value })), void 0, !0)
|
|
1415
1418
|
]),
|
|
1416
1419
|
"tooltip-after": N(() => [
|
|
1417
|
-
|
|
1420
|
+
y(e.$slots, "tooltip-after", $(T({ ...le.value })), void 0, !0)
|
|
1418
1421
|
]),
|
|
1419
1422
|
_: 3
|
|
1420
1423
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1421
|
-
e.$slots.source ? (
|
|
1424
|
+
e.$slots.source ? (k(), P("div", {
|
|
1422
1425
|
key: 8,
|
|
1423
1426
|
ref_key: "source",
|
|
1424
1427
|
ref: Je,
|
|
1425
1428
|
dir: "auto"
|
|
1426
1429
|
}, [
|
|
1427
|
-
|
|
1430
|
+
y(e.$slots, "source", {}, void 0, !0)
|
|
1428
1431
|
], 512)) : S("", !0),
|
|
1429
|
-
|
|
1430
|
-
w(Ne) ? (
|
|
1432
|
+
y(e.$slots, "skeleton", {}, () => [
|
|
1433
|
+
w(Ne) ? (k(), U(Xo, { key: 0 })) : S("", !0)
|
|
1431
1434
|
], !0)
|
|
1432
1435
|
], 14, rn));
|
|
1433
1436
|
}
|
|
1434
|
-
}, jn = /* @__PURE__ */ nn(yn, [["__scopeId", "data-v-
|
|
1437
|
+
}, jn = /* @__PURE__ */ nn(yn, [["__scopeId", "data-v-d53ee7b9"]]);
|
|
1435
1438
|
export {
|
|
1436
1439
|
jn as default
|
|
1437
1440
|
};
|