vue-data-ui 3.22.8 → 3.22.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
- package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.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-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
- package/dist/vue-data-ui.js +67 -67
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
- package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
- package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
- package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
- package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
- package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
- package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
- package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
- package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
- package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
- package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
- package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
- package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
- package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
- package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
- package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
- package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
- package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
- package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
- package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
|
@@ -8,18 +8,19 @@ import { t as me } from "./useNestedProp-DIuuzG1r.js";
|
|
|
8
8
|
import { t as he } from "./img-DnP3eXuv.js";
|
|
9
9
|
import { t as ge } from "./Shape-UpH0a4Ur.js";
|
|
10
10
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
-
import { t as ve } from "./
|
|
12
|
-
import { t as ye } from "./
|
|
13
|
-
import { t as be } from "./
|
|
14
|
-
import { t as xe } from "./
|
|
15
|
-
import {
|
|
11
|
+
import { t as ve } from "./DefGrad-DVBqDjhO.js";
|
|
12
|
+
import { t as ye } from "./BaseLegendToggle-DWtet-Hh.js";
|
|
13
|
+
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as Se } from "./geoProjections-BbN7z57k.js";
|
|
16
|
+
import { Fragment as s, Teleport as Ce, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as we, createTextVNode as p, createVNode as m, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Oe, onMounted as ke, openBlock as y, ref as b, renderList as Ae, renderSlot as x, resolveDynamicComponent as je, toDisplayString as S, toRefs as Me, unref as C, watch as w, withCtx as T, withModifiers as Ne } from "vue";
|
|
16
17
|
//#region src/resources/worldGeo.js
|
|
17
|
-
var
|
|
18
|
+
var Pe = 1e3, Fe = [
|
|
18
19
|
"name",
|
|
19
20
|
"admin",
|
|
20
21
|
"iso_a3",
|
|
21
22
|
"iso_a3_eh"
|
|
22
|
-
],
|
|
23
|
+
], Ie = ["Polygon", "MultiPolygon"], Le = [
|
|
23
24
|
[
|
|
24
25
|
[
|
|
25
26
|
"Costa Rica",
|
|
@@ -1915,48 +1916,48 @@ var Ne = 1e3, Pe = [
|
|
|
1915
1916
|
["1h6v,-11ip;hx,-8r;q9,-3h;z,-5a;-7s,-cn;-16n,-1t;-p,et;44,bg;1v,5p"]
|
|
1916
1917
|
]
|
|
1917
1918
|
];
|
|
1918
|
-
function
|
|
1919
|
+
function Re(e) {
|
|
1919
1920
|
let t = {};
|
|
1920
|
-
for (let n = 0; n <
|
|
1921
|
+
for (let n = 0; n < Fe.length; n += 1) e[n] != null && (t[Fe[n]] = e[n]);
|
|
1921
1922
|
return t;
|
|
1922
1923
|
}
|
|
1923
|
-
function
|
|
1924
|
+
function ze(e) {
|
|
1924
1925
|
let t = 0, n = 0;
|
|
1925
1926
|
return e ? e.split(";").map((e) => {
|
|
1926
1927
|
let r = e.indexOf(",");
|
|
1927
|
-
return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t /
|
|
1928
|
+
return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t / Pe, n / Pe];
|
|
1928
1929
|
}) : [];
|
|
1929
1930
|
}
|
|
1930
|
-
function
|
|
1931
|
-
return e ? t.map((e) => e.map(
|
|
1931
|
+
function Be(e, t) {
|
|
1932
|
+
return e ? t.map((e) => e.map(ze)) : t.map(ze);
|
|
1932
1933
|
}
|
|
1933
|
-
var
|
|
1934
|
+
var Ve = {
|
|
1934
1935
|
type: "FeatureCollection",
|
|
1935
|
-
features:
|
|
1936
|
+
features: Le.map(([e, t, n]) => ({
|
|
1936
1937
|
type: "Feature",
|
|
1937
|
-
properties:
|
|
1938
|
+
properties: Re(e),
|
|
1938
1939
|
geometry: {
|
|
1939
|
-
type:
|
|
1940
|
-
coordinates:
|
|
1940
|
+
type: Ie[t],
|
|
1941
|
+
coordinates: Be(t, n)
|
|
1941
1942
|
}
|
|
1942
1943
|
}))
|
|
1943
|
-
},
|
|
1944
|
+
}, He = /* @__PURE__ */ e({ default: () => st }), Ue = ["id"], We = ["id"], Ge = ["viewBox", "xmlns"], Ke = [
|
|
1944
1945
|
"x",
|
|
1945
1946
|
"y",
|
|
1946
1947
|
"width",
|
|
1947
1948
|
"height"
|
|
1948
|
-
],
|
|
1949
|
+
], qe = { key: 1 }, Je = ["id"], Ye = { key: 0 }, Xe = [
|
|
1949
1950
|
"cx",
|
|
1950
1951
|
"cy",
|
|
1951
1952
|
"r",
|
|
1952
1953
|
"fill"
|
|
1953
|
-
],
|
|
1954
|
+
], Ze = [
|
|
1954
1955
|
"cx",
|
|
1955
1956
|
"cy",
|
|
1956
1957
|
"r",
|
|
1957
1958
|
"fill",
|
|
1958
1959
|
"filter"
|
|
1959
|
-
],
|
|
1960
|
+
], Qe = [
|
|
1960
1961
|
"d",
|
|
1961
1962
|
"fill",
|
|
1962
1963
|
"stroke",
|
|
@@ -1964,19 +1965,19 @@ var Be = {
|
|
|
1964
1965
|
"onMouseenter",
|
|
1965
1966
|
"onMouseleave",
|
|
1966
1967
|
"onClick"
|
|
1967
|
-
],
|
|
1968
|
+
], $e = { key: 0 }, et = [
|
|
1968
1969
|
"d",
|
|
1969
1970
|
"fill",
|
|
1970
1971
|
"stroke",
|
|
1971
1972
|
"stroke-width"
|
|
1972
|
-
],
|
|
1973
|
+
], tt = [
|
|
1973
1974
|
"d",
|
|
1974
1975
|
"stroke",
|
|
1975
1976
|
"stroke-width"
|
|
1976
|
-
],
|
|
1977
|
+
], nt = {
|
|
1977
1978
|
key: 4,
|
|
1978
1979
|
class: "vue-data-ui-watermark"
|
|
1979
|
-
},
|
|
1980
|
+
}, rt = ["id"], it = ["onClick"], at = ["innerHTML"], ot = .5, st = /*#__PURE__*/ _e({
|
|
1980
1981
|
__name: "vue-ui-world",
|
|
1981
1982
|
props: {
|
|
1982
1983
|
config: {
|
|
@@ -1997,27 +1998,27 @@ var Be = {
|
|
|
1997
1998
|
"selectLegend",
|
|
1998
1999
|
"copyAlt"
|
|
1999
2000
|
],
|
|
2000
|
-
setup(e, { expose: _e, emit:
|
|
2001
|
-
let
|
|
2001
|
+
setup(e, { expose: _e, emit: Pe }) {
|
|
2002
|
+
let Fe = h(() => import("./Title-CcNiYzEo.js").then((e) => e.t)), Ie = h(() => import("./Legend-ROt6ugzW.js").then((e) => e.n)), Le = h(() => import("./Tooltip-CxOrWlFy.js")), Re = h(() => import("./BaseIcon-UdRAvP2h.js").then((e) => e.n)), ze = h(() => import("./vue-ui-accordion-CjAGqEJg.js").then((e) => e.n)), Be = h(() => import("./DataTable-BxpTMgfK.js")), He = h(() => import("./PenAndPaper-DsXi7GJ-.js").then((e) => e.t)), st = h(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), ct = h(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), lt = h(() => import("./BaseDraggableDialog-Av7Uxq5V.js").then((e) => e.n)), { vue_ui_world: ut } = le(), E = e, dt = Pe, D = c({
|
|
2002
2003
|
get() {
|
|
2003
2004
|
return !!L.value;
|
|
2004
2005
|
},
|
|
2005
2006
|
set(e) {
|
|
2006
2007
|
return e;
|
|
2007
2008
|
}
|
|
2008
|
-
}),
|
|
2009
|
-
|
|
2010
|
-
|
|
2009
|
+
}), ft = c(() => D ? Object.values(L.value).some((e) => Object.hasOwn(e, "category")) : !1), O = b(null), pt = b(null), mt = b(null), ht = b(null), gt = b(null), _t = b(0), vt = b(0), yt = b(0), k = b(n()), A = b(!1), bt = b(""), xt = b(0), St = b(!1), j = b(null), Ct = b(null), M = b(!1), N = b(!1);
|
|
2010
|
+
ke(() => {
|
|
2011
|
+
St.value = !0;
|
|
2011
2012
|
});
|
|
2012
|
-
let P =
|
|
2013
|
-
function
|
|
2013
|
+
let P = Ve, { projections: wt, getProjectedBounds: Tt, setupTerritories: Et, geoToPath: Dt } = Se;
|
|
2014
|
+
function Ot() {
|
|
2014
2015
|
let e = me({
|
|
2015
2016
|
userConfig: E.config,
|
|
2016
|
-
defaultConfig:
|
|
2017
|
+
defaultConfig: ut
|
|
2017
2018
|
});
|
|
2018
|
-
return E.config && ie(E.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = o(E.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, E.config && ie(E.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = o(E.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], P =
|
|
2019
|
+
return E.config && ie(E.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = o(E.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, E.config && ie(E.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = o(E.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], P = Et(e, P), e;
|
|
2019
2020
|
}
|
|
2020
|
-
let F = b(
|
|
2021
|
+
let F = b(Ot()), I = c(() => F.value.userOptions.useCursorPointer), kt = c(() => i({
|
|
2021
2022
|
defaultConfig: {
|
|
2022
2023
|
userOptions: { show: !1 },
|
|
2023
2024
|
table: { show: !1 },
|
|
@@ -2034,28 +2035,28 @@ var Be = {
|
|
|
2034
2035
|
} }
|
|
2035
2036
|
},
|
|
2036
2037
|
userConfig: F.value.skeletonConfig ?? {}
|
|
2037
|
-
})), { loading:
|
|
2038
|
-
...
|
|
2038
|
+
})), { loading: At, FINAL_DATASET: L } = de({
|
|
2039
|
+
...Me(E),
|
|
2039
2040
|
FINAL_CONFIG: F,
|
|
2040
|
-
prepareConfig:
|
|
2041
|
+
prepareConfig: Ot,
|
|
2041
2042
|
skeletonDataset: E.config?.skeletonDataset ?? [],
|
|
2042
2043
|
skeletonConfig: i({
|
|
2043
2044
|
defaultConfig: F.value,
|
|
2044
|
-
userConfig:
|
|
2045
|
+
userConfig: kt.value
|
|
2045
2046
|
})
|
|
2046
|
-
}), { userOptionsVisible:
|
|
2047
|
+
}), { userOptionsVisible: jt, setUserOptionsVisibility: Mt, keepUserOptionState: Nt } = be({ config: F.value }), { svgRef: R } = xe({ config: F.value.style.chart.title }), z = b({
|
|
2047
2048
|
showTable: F.value.table.show,
|
|
2048
2049
|
showTooltip: F.value.style.chart.tooltip.show
|
|
2049
2050
|
});
|
|
2050
2051
|
w(() => E.config, (e) => {
|
|
2051
|
-
F.value =
|
|
2052
|
+
F.value = Ot(), jt.value = !F.value.userOptions.showOnChartHover, _t.value += 1, yt.value += 1, vt.value += 1, z.value.showTable = F.value.table.show, z.value.showTooltip = F.value.style.chart.tooltip.show;
|
|
2052
2053
|
}), w(F, () => {
|
|
2053
2054
|
z.value = {
|
|
2054
2055
|
showTable: F.value.table.show,
|
|
2055
2056
|
showTooltip: F.value.style.chart.tooltip.show
|
|
2056
2057
|
};
|
|
2057
2058
|
}, { immediate: !0 });
|
|
2058
|
-
let
|
|
2059
|
+
let Pt = c(() => ee(F.value.customPalette)), B = c(() => F.value.projection || "globe"), V = c(() => {
|
|
2059
2060
|
let { height: e, width: t } = F.value.style.chart.dimensions;
|
|
2060
2061
|
return {
|
|
2061
2062
|
aitoff: {
|
|
@@ -2112,7 +2113,7 @@ var Be = {
|
|
|
2112
2113
|
}
|
|
2113
2114
|
}[B.value];
|
|
2114
2115
|
}), H = c(() => {
|
|
2115
|
-
let { minX: e, minY: t, width: n, height: r } =
|
|
2116
|
+
let { minX: e, minY: t, width: n, height: r } = Tt(wt[B.value], P.features, V.value.width, V.value.height, J.value);
|
|
2116
2117
|
return {
|
|
2117
2118
|
str: `${e} ${t} ${n} ${r}`,
|
|
2118
2119
|
minX: e,
|
|
@@ -2120,79 +2121,79 @@ var Be = {
|
|
|
2120
2121
|
width: n,
|
|
2121
2122
|
height: r
|
|
2122
2123
|
};
|
|
2123
|
-
}),
|
|
2124
|
-
function
|
|
2125
|
-
return typeof e == "number" ? re(F.value.style.chart.territory.colors.min || "#FFFFFF00", F.value.style.chart.territory.colors.max ||
|
|
2124
|
+
}), Ft = c(() => Object.values(L.value).map((e) => e.value)), It = c(() => Math.min(...Ft.value)), Lt = c(() => Math.max(...Ft.value));
|
|
2125
|
+
function Rt(e) {
|
|
2126
|
+
return typeof e == "number" ? re(F.value.style.chart.territory.colors.min || "#FFFFFF00", F.value.style.chart.territory.colors.max || Pt.value[0] || a[0], It.value, Lt.value, e) : F.value.style.chart.territory.emptyColor;
|
|
2126
2127
|
}
|
|
2127
|
-
function
|
|
2128
|
-
return
|
|
2128
|
+
function zt(e) {
|
|
2129
|
+
return Dt(e, {
|
|
2129
2130
|
projection: B.value,
|
|
2130
2131
|
width: V.value.width,
|
|
2131
2132
|
height: V.value.height,
|
|
2132
2133
|
center: J.value
|
|
2133
2134
|
});
|
|
2134
2135
|
}
|
|
2135
|
-
let
|
|
2136
|
+
let Bt = c(() => {
|
|
2136
2137
|
let e = Object.values(L.value).filter((e) => !!e.category), t = {};
|
|
2137
2138
|
return e.forEach((e) => {
|
|
2138
2139
|
t[e.category] || (t[e.category] = e);
|
|
2139
2140
|
}), Object.values(t).map((e, t) => ({
|
|
2140
2141
|
name: e.category,
|
|
2141
|
-
color: e.color ? o(e.color) :
|
|
2142
|
+
color: e.color ? o(e.color) : Pt.value[t] || a[t] || a[t % a.length]
|
|
2142
2143
|
}));
|
|
2143
2144
|
});
|
|
2144
|
-
function
|
|
2145
|
-
let t =
|
|
2145
|
+
function Vt(e) {
|
|
2146
|
+
let t = Bt.value.find((t) => t.name === e);
|
|
2146
2147
|
return t ? t.color : "#000000";
|
|
2147
2148
|
}
|
|
2148
|
-
let
|
|
2149
|
-
function
|
|
2150
|
-
return
|
|
2149
|
+
let Ht = /* @__PURE__ */ new Map();
|
|
2150
|
+
function Ut(e) {
|
|
2151
|
+
return Ht.has(e) || Ht.set(e, `territory-${n()}`), Ht.get(e);
|
|
2151
2152
|
}
|
|
2152
2153
|
let U = c(() => (J.value, P.features.map((e) => {
|
|
2153
2154
|
let t = e.properties.iso_a3;
|
|
2154
2155
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2155
2156
|
let n = L.value[t];
|
|
2156
2157
|
return {
|
|
2157
|
-
path:
|
|
2158
|
+
path: zt(e.geometry),
|
|
2158
2159
|
name: e.properties.name,
|
|
2159
2160
|
geo: e,
|
|
2160
2161
|
code: t,
|
|
2161
2162
|
geometry: e.geometry,
|
|
2162
|
-
color: n && n.color ? o(n.color) : n && n.category ?
|
|
2163
|
+
color: n && n.color ? o(n.color) : n && n.category ? Vt(n.category) : Rt(n ? n.value : null),
|
|
2163
2164
|
value: n ? n.value : null,
|
|
2164
2165
|
category: n && n.category || null,
|
|
2165
2166
|
isActive: !!n,
|
|
2166
|
-
uid:
|
|
2167
|
+
uid: Ut(t)
|
|
2167
2168
|
};
|
|
2168
2169
|
}))), W = b(!1);
|
|
2169
|
-
function
|
|
2170
|
-
W.value = e,
|
|
2170
|
+
function Wt(e) {
|
|
2171
|
+
W.value = e, xt.value += 1;
|
|
2171
2172
|
}
|
|
2172
2173
|
let G = b(!1);
|
|
2173
|
-
function
|
|
2174
|
+
function Gt() {
|
|
2174
2175
|
G.value = !G.value;
|
|
2175
2176
|
}
|
|
2176
|
-
function
|
|
2177
|
+
function Kt() {
|
|
2177
2178
|
z.value.showTable = !z.value.showTable;
|
|
2178
2179
|
}
|
|
2179
|
-
function
|
|
2180
|
+
function qt() {
|
|
2180
2181
|
z.value.showTooltip = !z.value.showTooltip;
|
|
2181
2182
|
}
|
|
2182
|
-
let
|
|
2183
|
+
let Jt = c(() => F.value.userOptions.show && !F.value.style.chart.title.text), { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = ue({
|
|
2183
2184
|
elementId: `world_${k.value}`,
|
|
2184
2185
|
fileName: F.value.style.chart.title.text || "vue-ui-world",
|
|
2185
2186
|
options: F.value.userOptions.print
|
|
2186
|
-
}), K = b(!1),
|
|
2187
|
-
function
|
|
2187
|
+
}), K = b(!1), $t = b(null), q = b(null), en = c(() => q.value ? zt(q.value.geometry) : "");
|
|
2188
|
+
function tn(e) {
|
|
2188
2189
|
return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
|
|
2189
2190
|
}
|
|
2190
|
-
let
|
|
2191
|
+
let nn = c(() => {
|
|
2191
2192
|
let e = q.value?.geometry;
|
|
2192
2193
|
if (!e) return "";
|
|
2193
|
-
let t =
|
|
2194
|
+
let t = tn(e);
|
|
2194
2195
|
if (!t.length) return "";
|
|
2195
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i =
|
|
2196
|
+
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = wt[B.value] || wt.globe, a = V.value.width, ee = V.value.height, te = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), ne = te.flat(), re = ne.map(([e, t]) => e), o = ne.map(([e, t]) => t), ie = Math.min(...re), ae = Math.max(...re), oe = Math.min(...o), se = Math.max(...o), ce = ae - ie || 1, le = se - oe || 1, ue = Math.min(64 / ce, 64 / le);
|
|
2196
2197
|
function de([e, t]) {
|
|
2197
2198
|
return [(e - ie) * ue + 8, (t - oe) * ue + 8];
|
|
2198
2199
|
}
|
|
@@ -2203,23 +2204,23 @@ var Be = {
|
|
|
2203
2204
|
</svg>
|
|
2204
2205
|
`;
|
|
2205
2206
|
});
|
|
2206
|
-
function
|
|
2207
|
+
function rn({ datapoint: e, seriesIndex: t }) {
|
|
2207
2208
|
A.value = !1, q.value = null, F.value.events.datapointLeave && F.value.events.datapointLeave({
|
|
2208
2209
|
datapoint: e,
|
|
2209
2210
|
seriesIndex: t
|
|
2210
2211
|
});
|
|
2211
2212
|
}
|
|
2212
|
-
function
|
|
2213
|
-
|
|
2213
|
+
function an({ datapoint: e, seriesIndex: t }) {
|
|
2214
|
+
dt("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
|
|
2214
2215
|
datapoint: e,
|
|
2215
2216
|
seriesIndex: t
|
|
2216
2217
|
});
|
|
2217
2218
|
}
|
|
2218
|
-
function
|
|
2219
|
+
function on({ datapoint: e, seriesIndex: t }) {
|
|
2219
2220
|
F.value.events.datapointEnter && F.value.events.datapointEnter({
|
|
2220
2221
|
datapoint: e,
|
|
2221
2222
|
seriesIndex: t
|
|
2222
|
-
}), q.value = e,
|
|
2223
|
+
}), q.value = e, $t.value = {
|
|
2223
2224
|
datapoint: e,
|
|
2224
2225
|
config: F.value,
|
|
2225
2226
|
series: U.value
|
|
@@ -2231,13 +2232,13 @@ var Be = {
|
|
|
2231
2232
|
config: F.value,
|
|
2232
2233
|
series: U.value
|
|
2233
2234
|
});
|
|
2234
|
-
typeof t == "string" && (
|
|
2235
|
+
typeof t == "string" && (bt.value = t, K.value = !0);
|
|
2235
2236
|
} catch {
|
|
2236
2237
|
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
2237
2238
|
}
|
|
2238
2239
|
K.value || (n += `
|
|
2239
2240
|
<div style="width:100%;">
|
|
2240
|
-
${F.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${
|
|
2241
|
+
${F.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${nn.value}</div>` : ""}
|
|
2241
2242
|
<div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
|
|
2242
2243
|
<svg viewBox="0 0 20 20" height="14" width="14">
|
|
2243
2244
|
<circle cx="10" cy="10" r="10" fill="${e.color}"/>
|
|
@@ -2253,71 +2254,71 @@ var Be = {
|
|
|
2253
2254
|
</b>
|
|
2254
2255
|
</div>
|
|
2255
2256
|
</div>
|
|
2256
|
-
`,
|
|
2257
|
+
`, bt.value = `<div>${n}</div>`);
|
|
2257
2258
|
}
|
|
2258
|
-
let
|
|
2259
|
+
let sn = b(!1), cn = b({
|
|
2259
2260
|
x: 0,
|
|
2260
2261
|
y: 0
|
|
2261
|
-
}), J = b([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]),
|
|
2262
|
-
function
|
|
2262
|
+
}), J = b([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]), ln = [0, 0], Y = null, X = null;
|
|
2263
|
+
function un(e) {
|
|
2263
2264
|
return Math.max(-90, Math.min(90, e));
|
|
2264
2265
|
}
|
|
2265
|
-
function
|
|
2266
|
+
function dn(e) {
|
|
2266
2267
|
return ((e + 180) % 360 + 360) % 360 - 180;
|
|
2267
2268
|
}
|
|
2268
|
-
function
|
|
2269
|
+
function fn() {
|
|
2269
2270
|
Y &&= (J.value = Y, null);
|
|
2270
2271
|
}
|
|
2271
|
-
function
|
|
2272
|
+
function pn(e) {
|
|
2272
2273
|
if (Y = e, typeof requestAnimationFrame > "u") {
|
|
2273
|
-
|
|
2274
|
+
fn();
|
|
2274
2275
|
return;
|
|
2275
2276
|
}
|
|
2276
2277
|
X === null && (X = requestAnimationFrame(() => {
|
|
2277
|
-
X = null,
|
|
2278
|
+
X = null, fn();
|
|
2278
2279
|
}));
|
|
2279
2280
|
}
|
|
2280
2281
|
w(() => [F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y], ([e, t]) => {
|
|
2281
2282
|
J.value = [e, t], Y = null;
|
|
2282
2283
|
});
|
|
2283
|
-
function
|
|
2284
|
-
|
|
2284
|
+
function mn(e, t) {
|
|
2285
|
+
sn.value = !0, cn.value = {
|
|
2285
2286
|
x: e,
|
|
2286
2287
|
y: t
|
|
2287
|
-
},
|
|
2288
|
+
}, ln = Y || [J.value[0], J.value[1]];
|
|
2288
2289
|
}
|
|
2289
|
-
function
|
|
2290
|
-
if (!
|
|
2291
|
-
let n = e -
|
|
2292
|
-
|
|
2290
|
+
function hn(e, t) {
|
|
2291
|
+
if (!sn.value || B.value !== "globe" || G.value) return;
|
|
2292
|
+
let n = e - cn.value.x, r = t - cn.value.y;
|
|
2293
|
+
pn([dn(ln[0] - n * ot), un(ln[1] + r * ot)]);
|
|
2293
2294
|
}
|
|
2294
|
-
function
|
|
2295
|
-
|
|
2295
|
+
function gn() {
|
|
2296
|
+
sn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), fn();
|
|
2296
2297
|
}
|
|
2297
|
-
function
|
|
2298
|
-
|
|
2298
|
+
function _n(e) {
|
|
2299
|
+
mn(e.clientX, e.clientY);
|
|
2299
2300
|
}
|
|
2300
|
-
function
|
|
2301
|
-
|
|
2301
|
+
function vn(e) {
|
|
2302
|
+
hn(e.clientX, e.clientY);
|
|
2302
2303
|
}
|
|
2303
|
-
function
|
|
2304
|
-
|
|
2304
|
+
function yn() {
|
|
2305
|
+
gn();
|
|
2305
2306
|
}
|
|
2306
|
-
function
|
|
2307
|
+
function bn(e) {
|
|
2307
2308
|
let t = e.touches[0];
|
|
2308
|
-
|
|
2309
|
+
mn(t.clientX, t.clientY);
|
|
2309
2310
|
}
|
|
2310
|
-
function
|
|
2311
|
+
function xn(e) {
|
|
2311
2312
|
let t = e.touches[0];
|
|
2312
|
-
|
|
2313
|
+
hn(t.clientX, t.clientY);
|
|
2313
2314
|
}
|
|
2314
|
-
function
|
|
2315
|
-
|
|
2315
|
+
function Sn() {
|
|
2316
|
+
gn();
|
|
2316
2317
|
}
|
|
2317
|
-
|
|
2318
|
+
Oe(() => {
|
|
2318
2319
|
X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
|
|
2319
2320
|
});
|
|
2320
|
-
let
|
|
2321
|
+
let Cn = c(() => {
|
|
2321
2322
|
let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2322
2323
|
return {
|
|
2323
2324
|
head: e.map((e) => ({
|
|
@@ -2327,17 +2328,17 @@ var Be = {
|
|
|
2327
2328
|
})),
|
|
2328
2329
|
body: e.map((e) => e.value || 0)
|
|
2329
2330
|
};
|
|
2330
|
-
}),
|
|
2331
|
+
}), wn = c(() => {
|
|
2331
2332
|
let e = [
|
|
2332
2333
|
F.value.table.columnNames.series,
|
|
2333
2334
|
F.value.table.columnNames.value,
|
|
2334
2335
|
F.value.table.columnNames.category
|
|
2335
|
-
], t =
|
|
2336
|
+
], t = Cn.value.head.map((e, t) => [
|
|
2336
2337
|
{
|
|
2337
2338
|
color: e.color,
|
|
2338
2339
|
name: e.name
|
|
2339
2340
|
},
|
|
2340
|
-
|
|
2341
|
+
Cn.value.body[t] || 0,
|
|
2341
2342
|
{ category: e.category }
|
|
2342
2343
|
]), n = {
|
|
2343
2344
|
th: {
|
|
@@ -2359,9 +2360,9 @@ var Be = {
|
|
|
2359
2360
|
config: n
|
|
2360
2361
|
};
|
|
2361
2362
|
});
|
|
2362
|
-
function
|
|
2363
|
-
|
|
2364
|
-
let t =
|
|
2363
|
+
function Tn(e = null) {
|
|
2364
|
+
Ee(() => {
|
|
2365
|
+
let t = Cn.value.head.map((e, t) => [[e.name], [Cn.value.body[t]]]), n = te([
|
|
2365
2366
|
[F.value.style.chart.title.text],
|
|
2366
2367
|
[F.value.style.chart.title.subtitle.text],
|
|
2367
2368
|
[[
|
|
@@ -2377,15 +2378,15 @@ var Be = {
|
|
|
2377
2378
|
});
|
|
2378
2379
|
}
|
|
2379
2380
|
let Z = b([]);
|
|
2380
|
-
function
|
|
2381
|
+
function En() {
|
|
2381
2382
|
Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
|
|
2382
2383
|
Z.value.push(e.name);
|
|
2383
2384
|
});
|
|
2384
2385
|
}
|
|
2385
|
-
function
|
|
2386
|
-
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e),
|
|
2386
|
+
function Dn(e) {
|
|
2387
|
+
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), dt("selectLegend", { name: e });
|
|
2387
2388
|
}
|
|
2388
|
-
let Q = c(() =>
|
|
2389
|
+
let Q = c(() => ft ? Bt.value.map(({ name: e, color: t }, n) => ({
|
|
2389
2390
|
name: e,
|
|
2390
2391
|
color: t,
|
|
2391
2392
|
shape: "circle",
|
|
@@ -2393,9 +2394,9 @@ var Be = {
|
|
|
2393
2394
|
})).map((e) => ({
|
|
2394
2395
|
...e,
|
|
2395
2396
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2396
|
-
segregate: () =>
|
|
2397
|
+
segregate: () => Dn(e.name),
|
|
2397
2398
|
isSegregated: Z.value.includes(e.name)
|
|
2398
|
-
})) : []),
|
|
2399
|
+
})) : []), On = c(() => ({
|
|
2399
2400
|
cy: "donut-div-legend",
|
|
2400
2401
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
2401
2402
|
color: F.value.style.chart.legend.color,
|
|
@@ -2403,10 +2404,10 @@ var Be = {
|
|
|
2403
2404
|
paddingBottom: 12,
|
|
2404
2405
|
fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
|
|
2405
2406
|
}));
|
|
2406
|
-
function
|
|
2407
|
+
function kn() {
|
|
2407
2408
|
return U.value;
|
|
2408
2409
|
}
|
|
2409
|
-
async function
|
|
2410
|
+
async function An({ scale: e = 2 } = {}) {
|
|
2410
2411
|
if (!O.value) return;
|
|
2411
2412
|
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
2412
2413
|
domElement: O.value,
|
|
@@ -2426,7 +2427,7 @@ var Be = {
|
|
|
2426
2427
|
let $ = c(() => {
|
|
2427
2428
|
let e = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
|
|
2428
2429
|
return {
|
|
2429
|
-
component: e ?
|
|
2430
|
+
component: e ? lt : ze,
|
|
2430
2431
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
2431
2432
|
props: e ? {
|
|
2432
2433
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -2457,33 +2458,33 @@ var Be = {
|
|
|
2457
2458
|
w(() => z.value.showTable, (e) => {
|
|
2458
2459
|
F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
2459
2460
|
});
|
|
2460
|
-
function
|
|
2461
|
-
z.value.showTable = !1,
|
|
2461
|
+
function jn() {
|
|
2462
|
+
z.value.showTable = !1, Ct.value && Ct.value.setTableIconState(!1);
|
|
2462
2463
|
}
|
|
2463
|
-
let
|
|
2464
|
+
let Mn = c(() => F.value.style.chart.backgroundColor), Nn = c(() => F.value.style.chart.legend), { exportSvg: Pn, getSvg: Fn } = pe({
|
|
2464
2465
|
svg: R,
|
|
2465
2466
|
title: c(() => F.value.style.chart.title),
|
|
2466
|
-
legend:
|
|
2467
|
+
legend: Nn,
|
|
2467
2468
|
legendItems: Q,
|
|
2468
|
-
backgroundColor:
|
|
2469
|
+
backgroundColor: Mn
|
|
2469
2470
|
});
|
|
2470
|
-
async function
|
|
2471
|
-
N.value = !0, await
|
|
2471
|
+
async function In({ isCb: e }) {
|
|
2472
|
+
N.value = !0, await Ee();
|
|
2472
2473
|
try {
|
|
2473
2474
|
if (e) {
|
|
2474
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
2475
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Fn();
|
|
2475
2476
|
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
2476
2477
|
blob: e,
|
|
2477
2478
|
url: t,
|
|
2478
2479
|
text: n,
|
|
2479
2480
|
dataUrl: r
|
|
2480
2481
|
}));
|
|
2481
|
-
} else await Promise.resolve(
|
|
2482
|
+
} else await Promise.resolve(Pn());
|
|
2482
2483
|
} finally {
|
|
2483
2484
|
N.value = !1;
|
|
2484
2485
|
}
|
|
2485
2486
|
}
|
|
2486
|
-
function
|
|
2487
|
+
function Ln(e) {
|
|
2487
2488
|
if (e?.stage === "start") {
|
|
2488
2489
|
M.value = !0;
|
|
2489
2490
|
return;
|
|
@@ -2492,10 +2493,10 @@ var Be = {
|
|
|
2492
2493
|
M.value = !1;
|
|
2493
2494
|
return;
|
|
2494
2495
|
}
|
|
2495
|
-
|
|
2496
|
+
Qt();
|
|
2496
2497
|
}
|
|
2497
|
-
async function
|
|
2498
|
-
if (
|
|
2498
|
+
async function Rn() {
|
|
2499
|
+
if (dt("copyAlt", {
|
|
2499
2500
|
config: F.value,
|
|
2500
2501
|
dataset: U.value
|
|
2501
2502
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
@@ -2508,34 +2509,34 @@ var Be = {
|
|
|
2508
2509
|
}));
|
|
2509
2510
|
}
|
|
2510
2511
|
return _e({
|
|
2511
|
-
getData:
|
|
2512
|
-
getImage:
|
|
2513
|
-
generatePdf:
|
|
2514
|
-
generateCsv:
|
|
2515
|
-
generateImage:
|
|
2516
|
-
generateSvg:
|
|
2517
|
-
toggleTable:
|
|
2518
|
-
toggleTooltip:
|
|
2519
|
-
toggleAnnotator:
|
|
2520
|
-
toggleFullscreen:
|
|
2521
|
-
copyAlt:
|
|
2512
|
+
getData: kn,
|
|
2513
|
+
getImage: An,
|
|
2514
|
+
generatePdf: Zt,
|
|
2515
|
+
generateCsv: Tn,
|
|
2516
|
+
generateImage: Qt,
|
|
2517
|
+
generateSvg: In,
|
|
2518
|
+
toggleTable: Kt,
|
|
2519
|
+
toggleTooltip: qt,
|
|
2520
|
+
toggleAnnotator: Gt,
|
|
2521
|
+
toggleFullscreen: Wt,
|
|
2522
|
+
copyAlt: Rn
|
|
2522
2523
|
}), (e, n) => (y(), d("div", {
|
|
2523
2524
|
ref_key: "worldChart",
|
|
2524
2525
|
ref: O,
|
|
2525
2526
|
id: `world_${k.value}`,
|
|
2526
|
-
class:
|
|
2527
|
+
class: De(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
2527
2528
|
style: v(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
2528
|
-
onMouseenter: n[2] ||= () => C(
|
|
2529
|
-
onMouseleave: n[3] ||= () => C(
|
|
2529
|
+
onMouseenter: n[2] ||= () => C(Mt)(!0),
|
|
2530
|
+
onMouseleave: n[3] ||= () => C(Mt)(!1)
|
|
2530
2531
|
}, [
|
|
2531
|
-
F.value.userOptions.buttons.annotator && C(R) ? (y(), l(C(
|
|
2532
|
+
F.value.userOptions.buttons.annotator && C(R) ? (y(), l(C(He), {
|
|
2532
2533
|
key: 0,
|
|
2533
2534
|
color: F.value.style.chart.color,
|
|
2534
2535
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
2535
2536
|
active: G.value,
|
|
2536
2537
|
svgRef: C(R),
|
|
2537
2538
|
isCursorPointer: I.value,
|
|
2538
|
-
onClose:
|
|
2539
|
+
onClose: Gt
|
|
2539
2540
|
}, {
|
|
2540
2541
|
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
2541
2542
|
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
|
|
@@ -2552,20 +2553,20 @@ var Be = {
|
|
|
2552
2553
|
"isCursorPointer"
|
|
2553
2554
|
])) : u("", !0),
|
|
2554
2555
|
x(e.$slots, "userConfig", {}, void 0, !0),
|
|
2555
|
-
|
|
2556
|
+
Jt.value ? (y(), d("div", {
|
|
2556
2557
|
key: 1,
|
|
2557
2558
|
ref_key: "noTitle",
|
|
2558
|
-
ref:
|
|
2559
|
+
ref: gt,
|
|
2559
2560
|
class: "vue-data-ui-no-title-space",
|
|
2560
2561
|
style: "height:36px; width: 100%;background:transparent"
|
|
2561
2562
|
}, null, 512)) : u("", !0),
|
|
2562
2563
|
F.value.style.chart.title.text ? (y(), d("div", {
|
|
2563
2564
|
key: 2,
|
|
2564
2565
|
ref_key: "chartTitle",
|
|
2565
|
-
ref:
|
|
2566
|
+
ref: pt,
|
|
2566
2567
|
style: "width:100%;background:transparent"
|
|
2567
|
-
}, [(y(), l(C(
|
|
2568
|
-
key: `title_${
|
|
2568
|
+
}, [(y(), l(C(Fe), {
|
|
2569
|
+
key: `title_${_t.value}`,
|
|
2569
2570
|
config: {
|
|
2570
2571
|
title: {
|
|
2571
2572
|
cy: "donut-div-title",
|
|
@@ -2577,15 +2578,15 @@ var Be = {
|
|
|
2577
2578
|
}
|
|
2578
2579
|
}
|
|
2579
2580
|
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
2580
|
-
f("div", { id: `legend-top-${k.value}` }, null, 8,
|
|
2581
|
-
F.value.userOptions.show && D.value && (C(
|
|
2581
|
+
f("div", { id: `legend-top-${k.value}` }, null, 8, We),
|
|
2582
|
+
F.value.userOptions.show && D.value && (C(Nt) || C(jt)) ? (y(), l(C(st), {
|
|
2582
2583
|
ref_key: "userOptionsRef",
|
|
2583
|
-
ref:
|
|
2584
|
-
key: `user_option_${
|
|
2584
|
+
ref: Ct,
|
|
2585
|
+
key: `user_option_${xt.value}`,
|
|
2585
2586
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
2586
2587
|
color: F.value.style.chart.color,
|
|
2587
|
-
isPrinting: C(
|
|
2588
|
-
isImaging: C(
|
|
2588
|
+
isPrinting: C(Yt),
|
|
2589
|
+
isImaging: C(Xt),
|
|
2589
2590
|
uid: k.value,
|
|
2590
2591
|
callbacks: F.value.userOptions.callbacks,
|
|
2591
2592
|
hasTooltip: F.value.style.chart.tooltip.show && F.value.userOptions.buttons.tooltip,
|
|
@@ -2607,17 +2608,17 @@ var Be = {
|
|
|
2607
2608
|
isAnnotation: G.value,
|
|
2608
2609
|
tableDialog: F.value.table.useDialog,
|
|
2609
2610
|
isCursorPointer: I.value,
|
|
2610
|
-
onToggleFullscreen:
|
|
2611
|
-
onGeneratePdf: C(
|
|
2612
|
-
onGenerateCsv:
|
|
2613
|
-
onGenerateImage:
|
|
2614
|
-
onGenerateSvg:
|
|
2615
|
-
onToggleTable:
|
|
2616
|
-
onToggleTooltip:
|
|
2617
|
-
onToggleAnnotator:
|
|
2618
|
-
onCopyAlt:
|
|
2619
|
-
style: v({ visibility: C(
|
|
2620
|
-
},
|
|
2611
|
+
onToggleFullscreen: Wt,
|
|
2612
|
+
onGeneratePdf: C(Zt),
|
|
2613
|
+
onGenerateCsv: Tn,
|
|
2614
|
+
onGenerateImage: Ln,
|
|
2615
|
+
onGenerateSvg: In,
|
|
2616
|
+
onToggleTable: Kt,
|
|
2617
|
+
onToggleTooltip: qt,
|
|
2618
|
+
onToggleAnnotator: Gt,
|
|
2619
|
+
onCopyAlt: Rn,
|
|
2620
|
+
style: v({ visibility: C(Nt) ? C(jt) ? "visible" : "hidden" : "visible" })
|
|
2621
|
+
}, we({ _: 2 }, [
|
|
2621
2622
|
e.$slots.menuIcon ? {
|
|
2622
2623
|
name: "menuIcon",
|
|
2623
2624
|
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(g({
|
|
@@ -2693,7 +2694,7 @@ var Be = {
|
|
|
2693
2694
|
ref: R,
|
|
2694
2695
|
viewBox: H.value.str,
|
|
2695
2696
|
xmlns: C(se),
|
|
2696
|
-
class:
|
|
2697
|
+
class: De({
|
|
2697
2698
|
"vue-data-ui-fullscreen--on": W.value,
|
|
2698
2699
|
"vue-data-ui-fullscreen--off": !W.value
|
|
2699
2700
|
}),
|
|
@@ -2707,15 +2708,15 @@ var Be = {
|
|
|
2707
2708
|
paddingBottom: F.value.style.chart.padding.bottom + "px",
|
|
2708
2709
|
paddingLeft: F.value.style.chart.padding.left + "px"
|
|
2709
2710
|
}),
|
|
2710
|
-
onMousedown:
|
|
2711
|
-
onMousemove:
|
|
2712
|
-
onMouseup:
|
|
2713
|
-
onMouseleave:
|
|
2714
|
-
onTouchstart:
|
|
2715
|
-
onTouchmove:
|
|
2716
|
-
onTouchend:
|
|
2711
|
+
onMousedown: _n,
|
|
2712
|
+
onMousemove: vn,
|
|
2713
|
+
onMouseup: yn,
|
|
2714
|
+
onMouseleave: yn,
|
|
2715
|
+
onTouchstart: bn,
|
|
2716
|
+
onTouchmove: Ne(xn, ["prevent"]),
|
|
2717
|
+
onTouchend: Sn
|
|
2717
2718
|
}, [
|
|
2718
|
-
m(C(
|
|
2719
|
+
m(C(ct)),
|
|
2719
2720
|
e.$slots["chart-background"] ? (y(), d("foreignObject", {
|
|
2720
2721
|
key: 0,
|
|
2721
2722
|
x: H.value.minX,
|
|
@@ -2723,64 +2724,74 @@ var Be = {
|
|
|
2723
2724
|
width: H.value.width,
|
|
2724
2725
|
height: H.value.height,
|
|
2725
2726
|
style: { pointerEvents: "none" }
|
|
2726
|
-
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
2727
|
-
D.value ? (y(), d("g",
|
|
2727
|
+
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : u("", !0),
|
|
2728
|
+
D.value ? (y(), d("g", qe, [
|
|
2728
2729
|
B.value === "globe" ? (y(), d(s, { key: 0 }, [
|
|
2729
2730
|
f("defs", null, [
|
|
2730
|
-
|
|
2731
|
+
m(ve, {
|
|
2732
|
+
t: "radial",
|
|
2731
2733
|
id: `water-${k.value}`,
|
|
2732
2734
|
cx: .48,
|
|
2733
2735
|
cy: .52,
|
|
2734
2736
|
r: "0.55",
|
|
2735
2737
|
fx: "0.40",
|
|
2736
|
-
fy: "0.48"
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2738
|
+
fy: "0.48",
|
|
2739
|
+
stops: [
|
|
2740
|
+
[
|
|
2741
|
+
"0%",
|
|
2742
|
+
C(t)(F.value.style.chart.globe.waterColor, .4),
|
|
2743
|
+
1
|
|
2744
|
+
],
|
|
2745
|
+
[
|
|
2746
|
+
"45%",
|
|
2747
|
+
F.value.style.chart.globe.waterColor,
|
|
2748
|
+
1
|
|
2749
|
+
],
|
|
2750
|
+
[
|
|
2751
|
+
"80%",
|
|
2752
|
+
C(oe)(F.value.style.chart.globe.waterColor, .2),
|
|
2753
|
+
1
|
|
2754
|
+
],
|
|
2755
|
+
[
|
|
2756
|
+
"100%",
|
|
2757
|
+
C(oe)(F.value.style.chart.globe.waterColor, .5),
|
|
2758
|
+
.95
|
|
2759
|
+
]
|
|
2760
|
+
]
|
|
2761
|
+
}, null, 8, ["id", "stops"]),
|
|
2762
|
+
m(ve, {
|
|
2763
|
+
t: "radial",
|
|
2757
2764
|
id: `atmo-realistic-${k.value}`,
|
|
2758
2765
|
cx: .5,
|
|
2759
2766
|
cy: .5,
|
|
2760
|
-
r: "0.54"
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2767
|
+
r: "0.54",
|
|
2768
|
+
stops: [
|
|
2769
|
+
[
|
|
2770
|
+
"87%",
|
|
2771
|
+
"rgba(120,200,255,0)",
|
|
2772
|
+
1
|
|
2773
|
+
],
|
|
2774
|
+
[
|
|
2775
|
+
"98%",
|
|
2776
|
+
F.value.style.chart.globe.waterColor,
|
|
2777
|
+
1
|
|
2778
|
+
],
|
|
2779
|
+
[
|
|
2780
|
+
"100%",
|
|
2781
|
+
"rgba(120,200,255,0)",
|
|
2782
|
+
1
|
|
2783
|
+
]
|
|
2784
|
+
]
|
|
2785
|
+
}, null, 8, ["id", "stops"]),
|
|
2775
2786
|
f("filter", {
|
|
2776
2787
|
id: `blur-${k.value}`,
|
|
2777
2788
|
x: "-30%",
|
|
2778
2789
|
y: "-30%",
|
|
2779
2790
|
width: "160%",
|
|
2780
2791
|
height: "160%"
|
|
2781
|
-
}, [...n[
|
|
2792
|
+
}, [...n[4] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
|
|
2782
2793
|
]),
|
|
2783
|
-
e.$slots.pattern ? (y(), d("g",
|
|
2794
|
+
e.$slots.pattern ? (y(), d("g", Ye, [(y(!0), d(s, null, Ae(U.value, (t, n) => (y(), d("defs", null, [x(e.$slots, "pattern", Te({ ref_for: !0 }, {
|
|
2784
2795
|
...t,
|
|
2785
2796
|
patternId: `pattern_${k.value}_${t.code}`
|
|
2786
2797
|
}), void 0, !0)]))), 256))])) : u("", !0),
|
|
@@ -2789,7 +2800,7 @@ var Be = {
|
|
|
2789
2800
|
cy: H.value.height / 2 + 20,
|
|
2790
2801
|
r: H.value.height / 2,
|
|
2791
2802
|
fill: `url(#water-${k.value})`
|
|
2792
|
-
}, null, 8,
|
|
2803
|
+
}, null, 8, Xe),
|
|
2793
2804
|
f("circle", {
|
|
2794
2805
|
cx: H.value.width / 2 + 20,
|
|
2795
2806
|
cy: H.value.height / 2 + 20,
|
|
@@ -2797,27 +2808,27 @@ var Be = {
|
|
|
2797
2808
|
fill: `url(#atmo-realistic-${k.value})`,
|
|
2798
2809
|
"pointer-events": "none",
|
|
2799
2810
|
filter: `url(#blur-${k.value})`
|
|
2800
|
-
}, null, 8,
|
|
2811
|
+
}, null, 8, Ze)
|
|
2801
2812
|
], 64)) : u("", !0),
|
|
2802
|
-
(y(!0), d(s, null,
|
|
2813
|
+
(y(!0), d(s, null, Ae(U.value, (t, n) => (y(), d(s, { key: t.code }, [f("path", {
|
|
2803
2814
|
d: t.path,
|
|
2804
2815
|
fill: t.category && Z.value.includes(t.category) ? F.value.style.chart.territory.emptyColor : t.color,
|
|
2805
2816
|
stroke: F.value.style.chart.territory.stroke,
|
|
2806
2817
|
"stroke-width": q.value && q.value.uid === t.uid ? F.value.style.chart.territory.strokeWidthSelected : F.value.style.chart.territory.strokeWidth,
|
|
2807
|
-
onMouseenter: (e) =>
|
|
2818
|
+
onMouseenter: (e) => on({
|
|
2808
2819
|
datapoint: t,
|
|
2809
2820
|
seriesIndex: n
|
|
2810
2821
|
}),
|
|
2811
|
-
onMouseleave: (e) =>
|
|
2822
|
+
onMouseleave: (e) => rn({
|
|
2812
2823
|
datapoint: t,
|
|
2813
2824
|
seriesIndex: n
|
|
2814
2825
|
}),
|
|
2815
|
-
onClick: (e) =>
|
|
2826
|
+
onClick: (e) => an({
|
|
2816
2827
|
datapoint: t,
|
|
2817
2828
|
seriesIndex: n
|
|
2818
2829
|
}),
|
|
2819
2830
|
class: "vue-ui-world-territory"
|
|
2820
|
-
}, [!A.value || !z.value.showTooltip ? (y(), d("title",
|
|
2831
|
+
}, [!A.value || !z.value.showTooltip ? (y(), d("title", $e, [p(S(t.name) + " ", 1), typeof t.value == "number" ? (y(), d(s, { key: 0 }, [p(" : " + S(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, Qe), e.$slots.pattern ? (y(), d("path", {
|
|
2821
2832
|
key: 0,
|
|
2822
2833
|
d: t.path,
|
|
2823
2834
|
fill: `url(#pattern_${k.value}_${t.code})`,
|
|
@@ -2825,52 +2836,52 @@ var Be = {
|
|
|
2825
2836
|
"stroke-width": F.value.style.chart.territory.strokeWidthSelected,
|
|
2826
2837
|
style: { "pointer-events": "none" },
|
|
2827
2838
|
class: "vue-ui-world-territory"
|
|
2828
|
-
}, null, 8,
|
|
2839
|
+
}, null, 8, et)) : u("", !0)], 64))), 128)),
|
|
2829
2840
|
q.value ? (y(), d("path", {
|
|
2830
2841
|
key: 1,
|
|
2831
|
-
d:
|
|
2842
|
+
d: en.value,
|
|
2832
2843
|
fill: "transparent",
|
|
2833
2844
|
stroke: F.value.style.chart.territory.stroke,
|
|
2834
2845
|
"stroke-width": F.value.style.chart.territory.strokeWidthSelected,
|
|
2835
2846
|
style: { "pointer-events": "none" },
|
|
2836
2847
|
class: "vue-ui-world-territory"
|
|
2837
|
-
}, null, 8,
|
|
2848
|
+
}, null, 8, tt)) : u("", !0)
|
|
2838
2849
|
])) : u("", !0),
|
|
2839
2850
|
x(e.$slots, "svg", { svg: {
|
|
2840
2851
|
height: V.value.height,
|
|
2841
2852
|
width: V.value.width,
|
|
2842
|
-
isPrintingImg: C(
|
|
2853
|
+
isPrintingImg: C(Yt) || C(Xt) || M.value,
|
|
2843
2854
|
isPrintingSvg: N.value
|
|
2844
2855
|
} }, void 0, !0)
|
|
2845
|
-
], 46,
|
|
2846
|
-
e.$slots.watermark ? (y(), d("div",
|
|
2847
|
-
f("div", { id: `legend-bottom-${k.value}` }, null, 8,
|
|
2848
|
-
|
|
2856
|
+
], 46, Ge)),
|
|
2857
|
+
e.$slots.watermark ? (y(), d("div", nt, [x(e.$slots, "watermark", _(g({ isPrinting: C(Yt) || C(Xt) || M.value || N.value })), void 0, !0)])) : u("", !0),
|
|
2858
|
+
f("div", { id: `legend-bottom-${k.value}` }, null, 8, rt),
|
|
2859
|
+
St.value && ft.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (y(), l(Ce, {
|
|
2849
2860
|
key: 5,
|
|
2850
2861
|
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
2851
|
-
}, [
|
|
2862
|
+
}, [ft.value ? (y(), d("div", {
|
|
2852
2863
|
key: 0,
|
|
2853
2864
|
ref_key: "chartLegend",
|
|
2854
|
-
ref:
|
|
2855
|
-
}, [x(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (y(), l(C(
|
|
2856
|
-
key: `legend_${
|
|
2865
|
+
ref: mt
|
|
2866
|
+
}, [x(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (y(), l(C(Ie), {
|
|
2867
|
+
key: `legend_${vt.value}`,
|
|
2857
2868
|
legendSet: Q.value,
|
|
2858
|
-
config:
|
|
2869
|
+
config: On.value,
|
|
2859
2870
|
isCursorPointer: I.value,
|
|
2860
|
-
onClickMarker: n[0] ||= (e) =>
|
|
2861
|
-
},
|
|
2871
|
+
onClickMarker: n[0] ||= (e) => Dn(e)
|
|
2872
|
+
}, we({
|
|
2862
2873
|
item: T(({ legend: e, index: t }) => [f("div", {
|
|
2863
2874
|
style: v(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2864
2875
|
onClick: (t) => e.segregate()
|
|
2865
|
-
}, S(e.name), 13,
|
|
2866
|
-
legendToggle: T(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !C(
|
|
2876
|
+
}, S(e.name), 13, it)]),
|
|
2877
|
+
legendToggle: T(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !C(At) ? (y(), l(ye, {
|
|
2867
2878
|
key: 0,
|
|
2868
2879
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2869
2880
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
2870
2881
|
fontSize: F.value.style.chart.legend.fontSize,
|
|
2871
2882
|
checked: Z.value.length > 0,
|
|
2872
2883
|
isCursorPointer: I.value,
|
|
2873
|
-
onToggle:
|
|
2884
|
+
onToggle: En
|
|
2874
2885
|
}, null, 8, [
|
|
2875
2886
|
"backgroundColor",
|
|
2876
2887
|
"color",
|
|
@@ -2900,10 +2911,10 @@ var Be = {
|
|
|
2900
2911
|
e.$slots.source ? (y(), d("div", {
|
|
2901
2912
|
key: 6,
|
|
2902
2913
|
ref_key: "source",
|
|
2903
|
-
ref:
|
|
2914
|
+
ref: ht,
|
|
2904
2915
|
dir: "auto"
|
|
2905
2916
|
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
2906
|
-
m(C(
|
|
2917
|
+
m(C(Le), {
|
|
2907
2918
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
2908
2919
|
show: z.value.showTooltip && A.value,
|
|
2909
2920
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
@@ -2917,7 +2928,7 @@ var Be = {
|
|
|
2917
2928
|
offsetX: F.value.style.chart.tooltip.offsetX,
|
|
2918
2929
|
offsetY: F.value.style.chart.tooltip.offsetY,
|
|
2919
2930
|
parent: O.value,
|
|
2920
|
-
content:
|
|
2931
|
+
content: bt.value,
|
|
2921
2932
|
isCustom: K.value,
|
|
2922
2933
|
isFullscreen: W.value,
|
|
2923
2934
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
@@ -2925,9 +2936,9 @@ var Be = {
|
|
|
2925
2936
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
2926
2937
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold
|
|
2927
2938
|
}, {
|
|
2928
|
-
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(g({
|
|
2929
|
-
tooltip: T(() => [x(e.$slots, "tooltip", _(g({
|
|
2930
|
-
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(g({
|
|
2939
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(g({ ...$t.value })), void 0, !0)]),
|
|
2940
|
+
tooltip: T(() => [x(e.$slots, "tooltip", _(g({ ...$t.value })), void 0, !0)]),
|
|
2941
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(g({ ...$t.value })), void 0, !0)]),
|
|
2931
2942
|
_: 3
|
|
2932
2943
|
}, 8, [
|
|
2933
2944
|
"teleportTo",
|
|
@@ -2951,21 +2962,21 @@ var Be = {
|
|
|
2951
2962
|
"smoothForce",
|
|
2952
2963
|
"smoothSnapThreshold"
|
|
2953
2964
|
]),
|
|
2954
|
-
D.value && F.value.userOptions.buttons.table ? (y(), l(
|
|
2965
|
+
D.value && F.value.userOptions.buttons.table ? (y(), l(je($.value.component), Te({ key: 7 }, $.value.props, {
|
|
2955
2966
|
ref_key: "tableUnit",
|
|
2956
2967
|
ref: j,
|
|
2957
|
-
onClose:
|
|
2958
|
-
}),
|
|
2959
|
-
content: T(() => [(y(), l(C(
|
|
2960
|
-
key: `table_${
|
|
2961
|
-
colNames:
|
|
2962
|
-
head:
|
|
2963
|
-
body:
|
|
2964
|
-
config:
|
|
2968
|
+
onClose: jn
|
|
2969
|
+
}), we({
|
|
2970
|
+
content: T(() => [(y(), l(C(Be), {
|
|
2971
|
+
key: `table_${yt.value}`,
|
|
2972
|
+
colNames: wn.value.colNames,
|
|
2973
|
+
head: wn.value.head,
|
|
2974
|
+
body: wn.value.body,
|
|
2975
|
+
config: wn.value.config,
|
|
2965
2976
|
title: F.value.table.useDialog ? "" : $.value.title,
|
|
2966
2977
|
withCloseButton: !F.value.table.useDialog,
|
|
2967
2978
|
isCursorPointer: I.value,
|
|
2968
|
-
onClose:
|
|
2979
|
+
onClose: jn
|
|
2969
2980
|
}, {
|
|
2970
2981
|
th: T(({ th: e }) => [f("div", {
|
|
2971
2982
|
innerHTML: e,
|
|
@@ -2973,7 +2984,7 @@ var Be = {
|
|
|
2973
2984
|
display: "flex",
|
|
2974
2985
|
"align-items": "center"
|
|
2975
2986
|
}
|
|
2976
|
-
}, null, 8,
|
|
2987
|
+
}, null, 8, at)]),
|
|
2977
2988
|
td: T(({ td: e }) => [p(S(e.name ? e.name : e.category ? e.category : C(ae)(F.value.style.chart.dataLabels.formatter, e, C(r)({
|
|
2978
2989
|
p: F.value.style.chart.dataLabels.prefix,
|
|
2979
2990
|
v: e,
|
|
@@ -3000,17 +3011,17 @@ var Be = {
|
|
|
3000
3011
|
fn: T(() => [f("button", {
|
|
3001
3012
|
tabindex: "0",
|
|
3002
3013
|
class: "vue-ui-user-options-button",
|
|
3003
|
-
onClick: n[1] ||= (e) =>
|
|
3014
|
+
onClick: n[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
|
|
3004
3015
|
style: v({ cursor: I.value ? "pointer" : "default" })
|
|
3005
|
-
}, [m(C(
|
|
3016
|
+
}, [m(C(Re), {
|
|
3006
3017
|
name: "fileCsv",
|
|
3007
3018
|
stroke: $.value.props.color
|
|
3008
3019
|
}, null, 8, ["stroke"])], 4)]),
|
|
3009
3020
|
key: "1"
|
|
3010
3021
|
} : void 0]), 1040)) : u("", !0),
|
|
3011
|
-
x(e.$slots, "skeleton", {}, () => [C(
|
|
3012
|
-
], 46,
|
|
3022
|
+
x(e.$slots, "skeleton", {}, () => [C(At) ? (y(), l(fe, { key: 0 })) : u("", !0)], !0)
|
|
3023
|
+
], 46, Ue));
|
|
3013
3024
|
}
|
|
3014
|
-
}, [["__scopeId", "data-v-
|
|
3025
|
+
}, [["__scopeId", "data-v-bd5b965c"]]);
|
|
3015
3026
|
//#endregion
|
|
3016
|
-
export {
|
|
3027
|
+
export { He as n, st as t };
|