vue-data-ui 3.16.5 → 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-CvtT2-UH.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-XhJQD-ri.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BhzRmNak.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-CZCn6OMX.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-BRyBDt56.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-Dulq2vNg.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-BJD25FJV.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-DCHtRFDV.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-46054xSO.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-CSdFVJx2.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-CmPyW4rp.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-QZjpAemm.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-C051dx6c.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-zCwCXCfe.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-HPy7kRgm.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-DxOwX8nC.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-KD1WwwLS.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-0BJ1t72z.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-lPRZK-_Q.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-WJG6UU4c.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-Cnqgwc0G.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-BXFwr3H7.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-DeYdEiHT.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-C0-M2WoG.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DctMvoRr.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-sLaCn8jd.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-reisxCWX.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-z3S4DcoQ.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-CQEaLq9E.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-BGIt_k-N.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-BxXAWrhM.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-CMKIYAuh.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-Tb8aJ91r.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-CLAqGLQH.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-BK2SOFv9.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-BY7vIWHL.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-BlUbhTZ5.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-Bsfw_4y_.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BaORhzZH.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-D8afRw4d.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BE5ADLxq.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-C2QdubPf.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BxP_TDR3.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CgHAoaeu.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-0m7QAV93.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DNt9nHQ9.js → vue-ui-sparkline-B-zOqzrC.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-RU8zQLfe.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-C3qGXmTQ.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-W24y7z12.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot--MWxAM0R.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-DKbkhX_x.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BtkypjfT.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-qaGYZUMd.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-CpQYSD-K.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-CUiSLMlj.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-CMfWyA5N.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-H02mH3Rc.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-agcFNYTs.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-B0fNWUVr.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-B8mANOO8.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-DgyEEqnJ.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,6 +1,6 @@
|
|
|
1
|
-
import { defineAsyncComponent as w, computed as y, ref as s, onMounted as c4, toRefs as m4, watch as
|
|
2
|
-
import { u as f4 } from "./useConfig-
|
|
3
|
-
import { j as o2, t as a2, n as b4, p as X, s as
|
|
1
|
+
import { defineAsyncComponent as w, computed as y, ref as s, onMounted as c4, toRefs as m4, watch as s1, openBlock as l, createElementBlock as m, unref as n, normalizeStyle as Y, normalizeClass as q1, createBlock as S, withCtx as u, renderSlot as p, normalizeProps as f, guardReactiveProps as b, createCommentVNode as d, createElementVNode as c, createSlots as F1, withModifiers as g4, createVNode as l1, Fragment as V, renderList as Q1, mergeProps as e2, createTextVNode as u1, toDisplayString as Z, Teleport as v4, resolveDynamicComponent as h4, nextTick as t2 } from "vue";
|
|
2
|
+
import { u as f4 } from "./useConfig-ChRble71.js";
|
|
3
|
+
import { j as o2, t as a2, n as b4, p as X, s as p1, X as P4, x as F4, w as r2, k as n2, l as i2, $ as s2, ao as _4, a0 as C4, a1 as k4, T as w4 } from "./lib-DBptbyyI.js";
|
|
4
4
|
import { u as T4, B as S4 } from "./BaseScanner-BhhkKVoj.js";
|
|
5
5
|
import { u as M4 } from "./usePrinter-CEpYU3r5.js";
|
|
6
6
|
import { u as A4 } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -33,27 +33,27 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint", "selectLegend", "copyAlt"],
|
|
35
35
|
setup(l2, { expose: u2, emit: p2 }) {
|
|
36
|
-
const y2 = w(() => import("./Title-BeMKE1cj.js")), d2 = w(() => import("./Legend-CS7Xo5LK.js")), c2 = w(() => import("./Tooltip-
|
|
36
|
+
const y2 = w(() => import("./Title-BeMKE1cj.js")), d2 = w(() => import("./Legend-CS7Xo5LK.js")), c2 = w(() => import("./Tooltip-C8KGyqQk.js")), m2 = w(() => import("./BaseIcon-Cb3zzG6s.js")), g2 = w(() => import("./vue-ui-accordion-CnDW2UQL.js")), v2 = w(() => import("./DataTable-DT2kIdQ6.js")), h2 = w(() => import("./PenAndPaper-Ct3qJ4lA.js")), f2 = w(() => import("./UserOptions-rW2fRf3V.js")), b2 = w(() => import("./PackageVersion-B3kmPxTR.js")), P2 = w(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_world: F2 } = f4(), k = l2, y1 = p2, J = y({
|
|
37
37
|
get() {
|
|
38
38
|
return !!H.value;
|
|
39
39
|
},
|
|
40
40
|
set(e) {
|
|
41
41
|
return e;
|
|
42
42
|
}
|
|
43
|
-
}), _1 = y(() => J ? Object.values(H.value).some((e) => Object.hasOwn(e, "category")) : !1), I = s(null), _2 = s(null), C2 = s(null), k2 = s(null), w2 = s(null), C1 = s(0), k1 = s(0), w1 = s(0), g = s(o2()), q = s(!1),
|
|
43
|
+
}), _1 = y(() => J ? Object.values(H.value).some((e) => Object.hasOwn(e, "category")) : !1), I = s(null), _2 = s(null), C2 = s(null), k2 = s(null), w2 = s(null), C1 = s(0), k1 = s(0), w1 = s(0), g = s(o2()), q = s(!1), d1 = s(""), T1 = s(0), S1 = s(!1), U = s(null), c1 = s(null), Q = s(!1), e1 = s(!1);
|
|
44
44
|
c4(() => {
|
|
45
45
|
S1.value = !0;
|
|
46
46
|
});
|
|
47
47
|
let t1 = E4;
|
|
48
48
|
const { projections: z, getProjectedBounds: T2, setupTerritories: S2 } = I4;
|
|
49
|
-
function
|
|
49
|
+
function m1() {
|
|
50
50
|
let e = $4({
|
|
51
51
|
userConfig: k.config,
|
|
52
52
|
defaultConfig: F2
|
|
53
53
|
});
|
|
54
|
-
return k.config && s2(k.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min =
|
|
54
|
+
return k.config && s2(k.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = p1(k.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, k.config && s2(k.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = p1(k.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = X[0], t1 = S2(e, t1), e;
|
|
55
55
|
}
|
|
56
|
-
const t = s(
|
|
56
|
+
const t = s(m1()), R = y(() => t.value.userOptions.useCursorPointer), M2 = y(() => a2({
|
|
57
57
|
defaultConfig: {
|
|
58
58
|
userOptions: { show: !1 },
|
|
59
59
|
table: { show: !1 },
|
|
@@ -77,19 +77,19 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
77
77
|
})), { loading: M1, FINAL_DATASET: H } = T4({
|
|
78
78
|
...m4(k),
|
|
79
79
|
FINAL_CONFIG: t,
|
|
80
|
-
prepareConfig:
|
|
80
|
+
prepareConfig: m1,
|
|
81
81
|
skeletonDataset: k.config?.skeletonDataset ?? [],
|
|
82
82
|
skeletonConfig: a2({
|
|
83
83
|
defaultConfig: t.value,
|
|
84
84
|
userConfig: M2.value
|
|
85
85
|
})
|
|
86
|
-
}), { userOptionsVisible:
|
|
86
|
+
}), { userOptionsVisible: g1, setUserOptionsVisibility: A1, keepUserOptionState: $1 } = N4({ config: t.value }), { svgRef: o1 } = L4({ config: t.value.style.chart.title }), h = s({
|
|
87
87
|
showTable: t.value.table.show,
|
|
88
88
|
showTooltip: t.value.style.chart.tooltip.show
|
|
89
89
|
});
|
|
90
|
-
|
|
91
|
-
t.value =
|
|
92
|
-
}),
|
|
90
|
+
s1(() => k.config, (e) => {
|
|
91
|
+
t.value = m1(), g1.value = !t.value.userOptions.showOnChartHover, C1.value += 1, w1.value += 1, k1.value += 1, h.value.showTable = t.value.table.show, h.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
92
|
+
}), s1(t, () => {
|
|
93
93
|
h.value = {
|
|
94
94
|
showTable: t.value.table.show,
|
|
95
95
|
showTooltip: t.value.style.chart.tooltip.show
|
|
@@ -149,7 +149,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
149
149
|
a[o.category] || (a[o.category] = o);
|
|
150
150
|
}), Object.values(a).map((o, r) => ({
|
|
151
151
|
name: o.category,
|
|
152
|
-
color: o.color ?
|
|
152
|
+
color: o.color ? p1(o.color) : N1.value[r] || X[r] || X[r % X.length]
|
|
153
153
|
}));
|
|
154
154
|
});
|
|
155
155
|
function B2(e) {
|
|
@@ -167,7 +167,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
167
167
|
geo: e,
|
|
168
168
|
code: a,
|
|
169
169
|
geometry: e.geometry,
|
|
170
|
-
color: o && o.color ?
|
|
170
|
+
color: o && o.color ? p1(o.color) : o && o.category ? B2(o.category) : N2(o ? o.value : null),
|
|
171
171
|
value: o ? o.value : null,
|
|
172
172
|
category: o && o.category || null,
|
|
173
173
|
isActive: !!o,
|
|
@@ -179,7 +179,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
179
179
|
O.value = e, T1.value += 1;
|
|
180
180
|
}
|
|
181
181
|
const D = s(!1);
|
|
182
|
-
function
|
|
182
|
+
function v1() {
|
|
183
183
|
D.value = !D.value;
|
|
184
184
|
}
|
|
185
185
|
function O1() {
|
|
@@ -188,11 +188,11 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
188
188
|
function G1() {
|
|
189
189
|
h.value.showTooltip = !h.value.showTooltip;
|
|
190
190
|
}
|
|
191
|
-
const I2 = y(() => t.value.userOptions.show && !t.value.style.chart.title.text), { isPrinting:
|
|
191
|
+
const I2 = y(() => t.value.userOptions.show && !t.value.style.chart.title.text), { isPrinting: h1, isImaging: f1, generatePdf: E1, generateImage: D1 } = M4({
|
|
192
192
|
elementId: `world_${g.value}`,
|
|
193
193
|
fileName: t.value.style.chart.title.text || "vue-ui-world",
|
|
194
194
|
options: t.value.userOptions.print
|
|
195
|
-
}), K = s(!1),
|
|
195
|
+
}), K = s(!1), a1 = s(null), N = s(null);
|
|
196
196
|
function R2(e) {
|
|
197
197
|
return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce(
|
|
198
198
|
(a, o) => o[0].length > (a[0]?.length || 0) ? o : a,
|
|
@@ -204,16 +204,16 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
204
204
|
if (!e) return "";
|
|
205
205
|
const a = R2(e);
|
|
206
206
|
if (!a.length) return "";
|
|
207
|
-
const o = a.flat(), r = o.reduce((
|
|
208
|
-
(
|
|
209
|
-
), W1 = j1.flat(), Y1 = W1.map(([
|
|
210
|
-
function l4([
|
|
207
|
+
const o = a.flat(), r = o.reduce((F, [C]) => F + C, 0) / o.length, i = o.reduce((F, [, C]) => F + C, 0) / o.length, v = [r, i], G = z[M.value] || z.globe, E = A.value.width, t4 = A.value.height, j1 = a.map(
|
|
208
|
+
(F) => F.map(([C, P1]) => G([C, P1], E, t4, v))
|
|
209
|
+
), W1 = j1.flat(), Y1 = W1.map(([F, C]) => F), V1 = W1.map(([F, C]) => C), Z1 = Math.min(...Y1), o4 = Math.max(...Y1), X1 = Math.min(...V1), a4 = Math.max(...V1), B = 80, i1 = 8, r4 = B - 2 * i1, n4 = B - 2 * i1, i4 = o4 - Z1 || 1, s4 = a4 - X1 || 1, J1 = Math.min(r4 / i4, n4 / s4);
|
|
210
|
+
function l4([F, C]) {
|
|
211
211
|
return [
|
|
212
|
-
(
|
|
213
|
-
(C - X1) * J1 +
|
|
212
|
+
(F - Z1) * J1 + i1,
|
|
213
|
+
(C - X1) * J1 + i1
|
|
214
214
|
];
|
|
215
215
|
}
|
|
216
|
-
const u4 = j1.map((
|
|
216
|
+
const u4 = j1.map((F) => "M" + F.map(l4).map(([P1, d4]) => `${P1},${d4}`).join("L") + "Z").join(" "), p4 = N.value?.color || t.value.style.chart.territory.emptyColor, y4 = t.value.style.chart.territory.stroke;
|
|
217
217
|
return `
|
|
218
218
|
<svg width="${B}" height="${B}" viewBox="0 0 ${B} ${B}" style="display:block;margin:auto;">
|
|
219
219
|
<rect x="0" y="0" width="${B}" height="${B}" rx="12" fill="transparent" opacity="0.93"/>
|
|
@@ -225,10 +225,10 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
225
225
|
q.value = !1, N.value = null, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: a });
|
|
226
226
|
}
|
|
227
227
|
function E2({ datapoint: e, seriesIndex: a }) {
|
|
228
|
-
|
|
228
|
+
y1("selectDatapoint", e), t.value.events.datapointClick && t.value.events.datapointClick({ datapoint: e, seriesIndex: a });
|
|
229
229
|
}
|
|
230
230
|
function D2({ datapoint: e, seriesIndex: a }) {
|
|
231
|
-
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: a }), N.value = e,
|
|
231
|
+
t.value.events.datapointEnter && t.value.events.datapointEnter({ datapoint: e, seriesIndex: a }), N.value = e, a1.value = { datapoint: e, config: t.value, series: $.value }, q.value = !0;
|
|
232
232
|
let o = "";
|
|
233
233
|
const r = t.value.style.chart.tooltip.customFormat;
|
|
234
234
|
if (K.value = !1, w4(r))
|
|
@@ -238,7 +238,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
238
238
|
config: t.value,
|
|
239
239
|
series: $.value
|
|
240
240
|
});
|
|
241
|
-
typeof i == "string" && (
|
|
241
|
+
typeof i == "string" && (d1.value = i, K.value = !0);
|
|
242
242
|
} catch {
|
|
243
243
|
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
244
244
|
}
|
|
@@ -264,13 +264,13 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
264
264
|
</b>
|
|
265
265
|
</div>
|
|
266
266
|
</div>
|
|
267
|
-
`,
|
|
267
|
+
`, d1.value = `<div>${o}</div>`);
|
|
268
268
|
}
|
|
269
269
|
const x = s(!1), L = s({ x: 0, y: 0 }), T = s([
|
|
270
270
|
t.value.style.chart.globe.center.x,
|
|
271
271
|
t.value.style.chart.globe.center.y
|
|
272
272
|
]);
|
|
273
|
-
|
|
273
|
+
s1(
|
|
274
274
|
() => [
|
|
275
275
|
t.value.style.chart.globe.center.x,
|
|
276
276
|
t.value.style.chart.globe.center.y
|
|
@@ -305,24 +305,24 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
305
305
|
function K2() {
|
|
306
306
|
x.value = !1;
|
|
307
307
|
}
|
|
308
|
-
const
|
|
308
|
+
const r1 = y(() => {
|
|
309
309
|
const e = $.value.toSorted((r, i) => (i.value || 0) - (r.value || 0)), a = e.map((r) => ({
|
|
310
310
|
name: r.name,
|
|
311
311
|
color: r.color,
|
|
312
312
|
category: r.category || "-"
|
|
313
313
|
})), o = e.map((r) => r.value || 0);
|
|
314
314
|
return { head: a, body: o };
|
|
315
|
-
}),
|
|
315
|
+
}), n1 = y(() => {
|
|
316
316
|
const e = [
|
|
317
317
|
t.value.table.columnNames.series,
|
|
318
318
|
t.value.table.columnNames.value,
|
|
319
319
|
t.value.table.columnNames.category
|
|
320
|
-
], a =
|
|
320
|
+
], a = r1.value.head.map((i, v) => [
|
|
321
321
|
{
|
|
322
322
|
color: i.color,
|
|
323
323
|
name: i.name
|
|
324
324
|
},
|
|
325
|
-
|
|
325
|
+
r1.value.body[v] || 0,
|
|
326
326
|
{
|
|
327
327
|
category: i.category
|
|
328
328
|
}
|
|
@@ -351,9 +351,9 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
351
351
|
});
|
|
352
352
|
function b1(e = null) {
|
|
353
353
|
t2(() => {
|
|
354
|
-
const a =
|
|
354
|
+
const a = r1.value.head.map((i, v) => [[
|
|
355
355
|
i.name
|
|
356
|
-
], [
|
|
356
|
+
], [r1.value.body[v]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[
|
|
357
357
|
t.value.table.columnNames.series,
|
|
358
358
|
t.value.table.columnNames.value,
|
|
359
359
|
t.value.table.columnNames.category
|
|
@@ -361,20 +361,20 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
361
361
|
e ? e(r) : k4({ csvContent: r, title: t.value.style.chart.title.text || "vue-ui-world" });
|
|
362
362
|
});
|
|
363
363
|
}
|
|
364
|
-
const
|
|
364
|
+
const P = s([]);
|
|
365
365
|
function j2() {
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
P.value.length ? P.value = [] : j.value.forEach((e) => {
|
|
367
|
+
P.value.push(e.name);
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
370
|
function U1(e) {
|
|
371
|
-
|
|
371
|
+
P.value.includes(e) ? P.value = P.value.filter((a) => a !== e) : P.value.push(e), y1("selectLegend", { name: e });
|
|
372
372
|
}
|
|
373
373
|
const j = y(() => _1 ? I1.value.map(({ name: e, color: a }, o) => ({ name: e, color: a, shape: "circle", patternIndex: o })).map((e) => ({
|
|
374
374
|
...e,
|
|
375
|
-
opacity:
|
|
375
|
+
opacity: P.value.includes(e.name) ? 0.5 : 1,
|
|
376
376
|
segregate: () => U1(e.name),
|
|
377
|
-
isSegregated:
|
|
377
|
+
isSegregated: P.value.includes(e.name)
|
|
378
378
|
})) : []), W2 = y(() => ({
|
|
379
379
|
cy: "donut-div-legend",
|
|
380
380
|
backgroundColor: t.value.style.chart.legend.backgroundColor,
|
|
@@ -429,11 +429,11 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
429
429
|
}
|
|
430
430
|
};
|
|
431
431
|
});
|
|
432
|
-
|
|
432
|
+
s1(() => h.value.showTable, (e) => {
|
|
433
433
|
t.value.table.show || (e && t.value.table.useDialog && U.value ? U.value.open() : "close" in U.value && U.value.close());
|
|
434
434
|
});
|
|
435
435
|
function z1() {
|
|
436
|
-
h.value.showTable = !1,
|
|
436
|
+
h.value.showTable = !1, c1.value && c1.value.setTableIconState(!1);
|
|
437
437
|
}
|
|
438
438
|
const Z2 = y(() => t.value.style.chart.backgroundColor), X2 = y(() => t.value.style.chart.legend), J2 = y(() => t.value.style.chart.title), { exportSvg: q2, getSvg: Q2 } = A4({
|
|
439
439
|
svg: o1,
|
|
@@ -466,7 +466,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
466
466
|
D1();
|
|
467
467
|
}
|
|
468
468
|
async function K1() {
|
|
469
|
-
if (
|
|
469
|
+
if (y1("copyAlt", {
|
|
470
470
|
config: t.value,
|
|
471
471
|
dataset: $.value
|
|
472
472
|
}), !t.value.userOptions.callbacks.altCopy) {
|
|
@@ -487,7 +487,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
487
487
|
generateSvg: H1,
|
|
488
488
|
toggleTable: O1,
|
|
489
489
|
toggleTooltip: G1,
|
|
490
|
-
toggleAnnotator:
|
|
490
|
+
toggleAnnotator: v1,
|
|
491
491
|
toggleFullscreen: R1,
|
|
492
492
|
copyAlt: K1
|
|
493
493
|
}), (e, a) => (l(), m("div", {
|
|
@@ -506,25 +506,25 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
506
506
|
active: D.value,
|
|
507
507
|
svgRef: n(o1),
|
|
508
508
|
isCursorPointer: R.value,
|
|
509
|
-
onClose:
|
|
509
|
+
onClose: v1
|
|
510
510
|
}, {
|
|
511
511
|
"annotator-action-close": u(() => [
|
|
512
512
|
p(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
513
513
|
]),
|
|
514
514
|
"annotator-action-color": u(({ color: o }) => [
|
|
515
|
-
p(e.$slots, "annotator-action-color",
|
|
515
|
+
p(e.$slots, "annotator-action-color", f(b({ color: o })), void 0, !0)
|
|
516
516
|
]),
|
|
517
517
|
"annotator-action-draw": u(({ mode: o }) => [
|
|
518
|
-
p(e.$slots, "annotator-action-draw",
|
|
518
|
+
p(e.$slots, "annotator-action-draw", f(b({ mode: o })), void 0, !0)
|
|
519
519
|
]),
|
|
520
520
|
"annotator-action-undo": u(({ disabled: o }) => [
|
|
521
|
-
p(e.$slots, "annotator-action-undo",
|
|
521
|
+
p(e.$slots, "annotator-action-undo", f(b({ disabled: o })), void 0, !0)
|
|
522
522
|
]),
|
|
523
523
|
"annotator-action-redo": u(({ disabled: o }) => [
|
|
524
|
-
p(e.$slots, "annotator-action-redo",
|
|
524
|
+
p(e.$slots, "annotator-action-redo", f(b({ disabled: o })), void 0, !0)
|
|
525
525
|
]),
|
|
526
526
|
"annotator-action-delete": u(({ disabled: o }) => [
|
|
527
|
-
p(e.$slots, "annotator-action-delete",
|
|
527
|
+
p(e.$slots, "annotator-action-delete", f(b({ disabled: o })), void 0, !0)
|
|
528
528
|
]),
|
|
529
529
|
_: 3
|
|
530
530
|
}, 8, ["color", "backgroundColor", "active", "svgRef", "isCursorPointer"])) : d("", !0),
|
|
@@ -559,14 +559,14 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
559
559
|
c("div", {
|
|
560
560
|
id: `legend-top-${g.value}`
|
|
561
561
|
}, null, 8, x4),
|
|
562
|
-
t.value.userOptions.show && J.value && (n($1) || n(
|
|
562
|
+
t.value.userOptions.show && J.value && (n($1) || n(g1)) ? (l(), S(n(f2), {
|
|
563
563
|
ref_key: "userOptionsRef",
|
|
564
|
-
ref:
|
|
564
|
+
ref: c1,
|
|
565
565
|
key: `user_option_${T1.value}`,
|
|
566
566
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
567
567
|
color: t.value.style.chart.color,
|
|
568
|
-
isPrinting: n(
|
|
569
|
-
isImaging: n(
|
|
568
|
+
isPrinting: n(h1),
|
|
569
|
+
isImaging: n(f1),
|
|
570
570
|
uid: g.value,
|
|
571
571
|
callbacks: t.value.userOptions.callbacks,
|
|
572
572
|
hasTooltip: t.value.style.chart.tooltip.show && t.value.userOptions.buttons.tooltip,
|
|
@@ -595,14 +595,14 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
595
595
|
onGenerateSvg: H1,
|
|
596
596
|
onToggleTable: O1,
|
|
597
597
|
onToggleTooltip: G1,
|
|
598
|
-
onToggleAnnotator:
|
|
598
|
+
onToggleAnnotator: v1,
|
|
599
599
|
onCopyAlt: K1,
|
|
600
|
-
style: Y({ visibility: n($1) ? n(
|
|
600
|
+
style: Y({ visibility: n($1) ? n(g1) ? "visible" : "hidden" : "visible" })
|
|
601
601
|
}, F1({ _: 2 }, [
|
|
602
602
|
e.$slots.menuIcon ? {
|
|
603
603
|
name: "menuIcon",
|
|
604
604
|
fn: u(({ isOpen: o, color: r }) => [
|
|
605
|
-
p(e.$slots, "menuIcon",
|
|
605
|
+
p(e.$slots, "menuIcon", f(b({ isOpen: o, color: r })), void 0, !0)
|
|
606
606
|
]),
|
|
607
607
|
key: "0"
|
|
608
608
|
} : void 0,
|
|
@@ -651,21 +651,21 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
651
651
|
e.$slots.optionFullscreen ? {
|
|
652
652
|
name: "optionFullscreen",
|
|
653
653
|
fn: u(({ toggleFullscreen: o, isFullscreen: r }) => [
|
|
654
|
-
p(e.$slots, "optionFullscreen",
|
|
654
|
+
p(e.$slots, "optionFullscreen", f(b({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
|
|
655
655
|
]),
|
|
656
656
|
key: "7"
|
|
657
657
|
} : void 0,
|
|
658
658
|
e.$slots.optionAnnotator ? {
|
|
659
659
|
name: "optionAnnotator",
|
|
660
660
|
fn: u(({ toggleAnnotator: o, isAnnotator: r }) => [
|
|
661
|
-
p(e.$slots, "optionAnnotator",
|
|
661
|
+
p(e.$slots, "optionAnnotator", f(b({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
|
|
662
662
|
]),
|
|
663
663
|
key: "8"
|
|
664
664
|
} : void 0,
|
|
665
665
|
e.$slots.optionAltCopy ? {
|
|
666
666
|
name: "optionAltCopy",
|
|
667
667
|
fn: u(({ altCopy: o }) => [
|
|
668
|
-
p(e.$slots, "optionAltCopy",
|
|
668
|
+
p(e.$slots, "optionAltCopy", f(b({ altCopy: o })), void 0, !0)
|
|
669
669
|
]),
|
|
670
670
|
key: "9"
|
|
671
671
|
} : void 0
|
|
@@ -697,7 +697,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
697
697
|
onTouchmove: g4(H2, ["prevent"]),
|
|
698
698
|
onTouchend: K2
|
|
699
699
|
}, [
|
|
700
|
-
|
|
700
|
+
l1(n(b2)),
|
|
701
701
|
e.$slots["chart-background"] ? (l(), m("foreignObject", {
|
|
702
702
|
key: 0,
|
|
703
703
|
x: _.value.minX,
|
|
@@ -793,7 +793,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
793
793
|
}, [
|
|
794
794
|
c("path", {
|
|
795
795
|
d: o.path,
|
|
796
|
-
fill: o.category &&
|
|
796
|
+
fill: o.category && P.value.includes(o.category) ? t.value.style.chart.territory.emptyColor : o.color,
|
|
797
797
|
stroke: t.value.style.chart.territory.stroke,
|
|
798
798
|
"stroke-width": N.value && N.value.uid === o.uid ? t.value.style.chart.territory.strokeWidthSelected : t.value.style.chart.territory.strokeWidth,
|
|
799
799
|
onMouseenter: (i) => D2({ datapoint: o, seriesIndex: r }),
|
|
@@ -802,9 +802,9 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
802
802
|
class: "vue-ui-world-territory"
|
|
803
803
|
}, [
|
|
804
804
|
!q.value || !h.value.showTooltip ? (l(), m("title", o0, [
|
|
805
|
-
|
|
805
|
+
u1(Z(o.name) + " ", 1),
|
|
806
806
|
typeof o.value == "number" ? (l(), m(V, { key: 0 }, [
|
|
807
|
-
|
|
807
|
+
u1(" : " + Z(o.value), 1)
|
|
808
808
|
], 64)) : d("", !0)
|
|
809
809
|
])) : d("", !0)
|
|
810
810
|
], 40, t0),
|
|
@@ -832,13 +832,13 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
832
832
|
svg: {
|
|
833
833
|
height: A.value.height,
|
|
834
834
|
width: A.value.width,
|
|
835
|
-
isPrintingImg: n(
|
|
835
|
+
isPrintingImg: n(h1) | n(f1) | Q.value,
|
|
836
836
|
isPrintingSvg: e1.value
|
|
837
837
|
}
|
|
838
838
|
}, void 0, !0)
|
|
839
839
|
], 46, U4)),
|
|
840
840
|
e.$slots.watermark ? (l(), m("div", n0, [
|
|
841
|
-
p(e.$slots, "watermark",
|
|
841
|
+
p(e.$slots, "watermark", f(b({ isPrinting: n(h1) || n(f1) || Q.value || e1.value })), void 0, !0)
|
|
842
842
|
])) : d("", !0),
|
|
843
843
|
c("div", {
|
|
844
844
|
id: `legend-bottom-${g.value}`
|
|
@@ -861,7 +861,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
861
861
|
}, F1({
|
|
862
862
|
item: u(({ legend: o, index: r }) => [
|
|
863
863
|
c("div", {
|
|
864
|
-
style: Y(`opacity:${
|
|
864
|
+
style: Y(`opacity:${P.value.includes(o.name) ? 0.5 : 1}`),
|
|
865
865
|
onClick: (i) => o.segregate()
|
|
866
866
|
}, Z(o.name), 13, s0)
|
|
867
867
|
]),
|
|
@@ -871,7 +871,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
871
871
|
backgroundColor: t.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
872
872
|
color: t.value.style.chart.legend.selectAllToggle.color,
|
|
873
873
|
fontSize: t.value.style.chart.legend.fontSize,
|
|
874
|
-
checked:
|
|
874
|
+
checked: P.value.length > 0,
|
|
875
875
|
isCursorPointer: R.value,
|
|
876
876
|
onToggle: j2
|
|
877
877
|
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : d("", !0)
|
|
@@ -881,7 +881,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
881
881
|
e.$slots.pattern ? {
|
|
882
882
|
name: "legend-pattern",
|
|
883
883
|
fn: u(({ legend: o, index: r }) => [
|
|
884
|
-
|
|
884
|
+
l1(R4, {
|
|
885
885
|
shape: o.shape,
|
|
886
886
|
radius: 30,
|
|
887
887
|
stroke: "none",
|
|
@@ -903,7 +903,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
903
903
|
}, [
|
|
904
904
|
p(e.$slots, "source", {}, void 0, !0)
|
|
905
905
|
], 512)) : d("", !0),
|
|
906
|
-
|
|
906
|
+
l1(n(c2), {
|
|
907
907
|
teleportTo: t.value.style.chart.tooltip.teleportTo,
|
|
908
908
|
show: h.value.showTooltip && q.value,
|
|
909
909
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
@@ -916,7 +916,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
916
916
|
position: t.value.style.chart.tooltip.position,
|
|
917
917
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
918
918
|
parent: I.value,
|
|
919
|
-
content:
|
|
919
|
+
content: d1.value,
|
|
920
920
|
isCustom: K.value,
|
|
921
921
|
isFullscreen: O.value,
|
|
922
922
|
smooth: t.value.style.chart.tooltip.smooth,
|
|
@@ -925,10 +925,13 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
925
925
|
smoothSnapThreshold: t.value.style.chart.tooltip.smoothSnapThreshold
|
|
926
926
|
}, {
|
|
927
927
|
"tooltip-before": u(() => [
|
|
928
|
-
p(e.$slots, "tooltip-before",
|
|
928
|
+
p(e.$slots, "tooltip-before", f(b({ ...a1.value })), void 0, !0)
|
|
929
|
+
]),
|
|
930
|
+
tooltip: u(() => [
|
|
931
|
+
p(e.$slots, "tooltip", f(b({ ...a1.value })), void 0, !0)
|
|
929
932
|
]),
|
|
930
933
|
"tooltip-after": u(() => [
|
|
931
|
-
p(e.$slots, "tooltip-after",
|
|
934
|
+
p(e.$slots, "tooltip-after", f(b({ ...a1.value })), void 0, !0)
|
|
932
935
|
]),
|
|
933
936
|
_: 3
|
|
934
937
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -940,10 +943,10 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
940
943
|
content: u(() => [
|
|
941
944
|
(l(), S(n(v2), {
|
|
942
945
|
key: `table_${w1.value}`,
|
|
943
|
-
colNames:
|
|
944
|
-
head:
|
|
945
|
-
body:
|
|
946
|
-
config:
|
|
946
|
+
colNames: n1.value.colNames,
|
|
947
|
+
head: n1.value.head,
|
|
948
|
+
body: n1.value.body,
|
|
949
|
+
config: n1.value.config,
|
|
947
950
|
title: t.value.table.useDialog ? "" : W.value.title,
|
|
948
951
|
withCloseButton: !t.value.table.useDialog,
|
|
949
952
|
isCursorPointer: R.value,
|
|
@@ -956,7 +959,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
956
959
|
}, null, 8, l0)
|
|
957
960
|
]),
|
|
958
961
|
td: u(({ td: o }) => [
|
|
959
|
-
|
|
962
|
+
u1(Z(o.name ? o.name : o.category ? o.category : n(n2)(
|
|
960
963
|
t.value.style.chart.dataLabels.formatter,
|
|
961
964
|
o,
|
|
962
965
|
n(i2)({
|
|
@@ -975,7 +978,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
975
978
|
t.value.table.useDialog ? {
|
|
976
979
|
name: "title",
|
|
977
980
|
fn: u(() => [
|
|
978
|
-
|
|
981
|
+
u1(Z(W.value.title), 1)
|
|
979
982
|
]),
|
|
980
983
|
key: "0"
|
|
981
984
|
} : void 0,
|
|
@@ -988,7 +991,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
988
991
|
onClick: a[1] || (a[1] = (o) => b1(t.value.userOptions.callbacks.csv)),
|
|
989
992
|
style: Y({ cursor: R.value ? "pointer" : "default" })
|
|
990
993
|
}, [
|
|
991
|
-
|
|
994
|
+
l1(n(m2), {
|
|
992
995
|
name: "fileCsv",
|
|
993
996
|
stroke: W.value.props.color
|
|
994
997
|
}, null, 8, ["stroke"])
|
|
@@ -1002,7 +1005,7 @@ const E4 = { type: "FeatureCollection", features: [{ type: "Feature", geometry:
|
|
|
1002
1005
|
], !0)
|
|
1003
1006
|
], 46, D4));
|
|
1004
1007
|
}
|
|
1005
|
-
}, k0 = /* @__PURE__ */ G4(u0, [["__scopeId", "data-v-
|
|
1008
|
+
}, k0 = /* @__PURE__ */ G4(u0, [["__scopeId", "data-v-a025db98"]]);
|
|
1006
1009
|
export {
|
|
1007
1010
|
k0 as default
|
|
1008
1011
|
};
|