vue-data-ui 3.22.9 → 3.22.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- 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/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { Fragment as
|
|
2
|
+
import { C as t, Dt as n, E as r, J as ee, K as i, Nt as a, Q as te, Y as o, _t as s, bt as ne, i as c, qt as re, t as ie, vt as ae, x as l } from "./lib-CnHx5WfV.js";
|
|
3
|
+
import { t as oe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as se } from "./usePrinter-B-X_Pub0.js";
|
|
5
|
+
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as ue } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as de } from "./useNestedProp-D8NuRneO.js";
|
|
8
|
+
import { t as fe } from "./img-CNdXiUfZ.js";
|
|
9
|
+
import { t as pe } from "./Shape-B5ksaGa1.js";
|
|
10
|
+
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
+
import { t as he } from "./DefGrad-DVBqDjhO.js";
|
|
12
|
+
import { t as ge } from "./BaseLegendToggle-BrQ2OlzI.js";
|
|
13
|
+
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
14
|
+
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
15
|
+
import { t as ye } from "./geoProjections-BbN7z57k.js";
|
|
16
|
+
import { Fragment as u, Teleport as be, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as xe, createTextVNode as Se, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Ce, nextTick as we, normalizeClass as Te, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ee, onMounted as De, openBlock as x, ref as S, renderList as Oe, renderSlot as C, resolveDynamicComponent as ke, toDisplayString as w, toRefs as Ae, unref as T, watch as je, withCtx as E, withModifiers as Me } from "vue";
|
|
17
17
|
//#region src/resources/worldGeo.js
|
|
18
|
-
var
|
|
18
|
+
var Ne = 1e3, Pe = [
|
|
19
19
|
"name",
|
|
20
20
|
"admin",
|
|
21
21
|
"iso_a3",
|
|
22
22
|
"iso_a3_eh"
|
|
23
|
-
],
|
|
23
|
+
], Fe = ["Polygon", "MultiPolygon"], Ie = [
|
|
24
24
|
[
|
|
25
25
|
[
|
|
26
26
|
"Costa Rica",
|
|
@@ -1916,48 +1916,48 @@ var Pe = 1e3, Fe = [
|
|
|
1916
1916
|
["1h6v,-11ip;hx,-8r;q9,-3h;z,-5a;-7s,-cn;-16n,-1t;-p,et;44,bg;1v,5p"]
|
|
1917
1917
|
]
|
|
1918
1918
|
];
|
|
1919
|
-
function
|
|
1919
|
+
function Le(e) {
|
|
1920
1920
|
let t = {};
|
|
1921
|
-
for (let n = 0; n <
|
|
1921
|
+
for (let n = 0; n < Pe.length; n += 1) e[n] != null && (t[Pe[n]] = e[n]);
|
|
1922
1922
|
return t;
|
|
1923
1923
|
}
|
|
1924
|
-
function
|
|
1924
|
+
function Re(e) {
|
|
1925
1925
|
let t = 0, n = 0;
|
|
1926
1926
|
return e ? e.split(";").map((e) => {
|
|
1927
1927
|
let r = e.indexOf(",");
|
|
1928
|
-
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 / Ne, n / Ne];
|
|
1929
1929
|
}) : [];
|
|
1930
1930
|
}
|
|
1931
|
-
function
|
|
1932
|
-
return e ? t.map((e) => e.map(
|
|
1931
|
+
function ze(e, t) {
|
|
1932
|
+
return e ? t.map((e) => e.map(Re)) : t.map(Re);
|
|
1933
1933
|
}
|
|
1934
|
-
var
|
|
1934
|
+
var Be = {
|
|
1935
1935
|
type: "FeatureCollection",
|
|
1936
|
-
features:
|
|
1936
|
+
features: Ie.map(([e, t, n]) => ({
|
|
1937
1937
|
type: "Feature",
|
|
1938
|
-
properties:
|
|
1938
|
+
properties: Le(e),
|
|
1939
1939
|
geometry: {
|
|
1940
|
-
type:
|
|
1941
|
-
coordinates:
|
|
1940
|
+
type: Fe[t],
|
|
1941
|
+
coordinates: ze(t, n)
|
|
1942
1942
|
}
|
|
1943
1943
|
}))
|
|
1944
|
-
},
|
|
1944
|
+
}, Ve = /* @__PURE__ */ e({ default: () => ot }), He = ["id"], Ue = ["id"], We = ["viewBox", "xmlns"], Ge = [
|
|
1945
1945
|
"x",
|
|
1946
1946
|
"y",
|
|
1947
1947
|
"width",
|
|
1948
1948
|
"height"
|
|
1949
|
-
],
|
|
1949
|
+
], Ke = { key: 1 }, qe = ["id"], Je = { key: 0 }, Ye = [
|
|
1950
1950
|
"cx",
|
|
1951
1951
|
"cy",
|
|
1952
1952
|
"r",
|
|
1953
1953
|
"fill"
|
|
1954
|
-
],
|
|
1954
|
+
], Xe = [
|
|
1955
1955
|
"cx",
|
|
1956
1956
|
"cy",
|
|
1957
1957
|
"r",
|
|
1958
1958
|
"fill",
|
|
1959
1959
|
"filter"
|
|
1960
|
-
],
|
|
1960
|
+
], Ze = [
|
|
1961
1961
|
"d",
|
|
1962
1962
|
"fill",
|
|
1963
1963
|
"stroke",
|
|
@@ -1965,19 +1965,19 @@ var Ve = {
|
|
|
1965
1965
|
"onMouseenter",
|
|
1966
1966
|
"onMouseleave",
|
|
1967
1967
|
"onClick"
|
|
1968
|
-
],
|
|
1968
|
+
], Qe = { key: 0 }, $e = [
|
|
1969
1969
|
"d",
|
|
1970
1970
|
"fill",
|
|
1971
1971
|
"stroke",
|
|
1972
1972
|
"stroke-width"
|
|
1973
|
-
],
|
|
1973
|
+
], et = [
|
|
1974
1974
|
"d",
|
|
1975
1975
|
"stroke",
|
|
1976
1976
|
"stroke-width"
|
|
1977
|
-
],
|
|
1977
|
+
], tt = {
|
|
1978
1978
|
key: 4,
|
|
1979
1979
|
class: "vue-data-ui-watermark"
|
|
1980
|
-
},
|
|
1980
|
+
}, nt = ["id"], rt = ["onClick"], it = ["innerHTML"], at = .5, ot = /*#__PURE__*/ me({
|
|
1981
1981
|
__name: "vue-ui-world",
|
|
1982
1982
|
props: {
|
|
1983
1983
|
config: {
|
|
@@ -1998,27 +1998,27 @@ var Ve = {
|
|
|
1998
1998
|
"selectLegend",
|
|
1999
1999
|
"copyAlt"
|
|
2000
2000
|
],
|
|
2001
|
-
setup(e, { expose:
|
|
2002
|
-
let
|
|
2001
|
+
setup(e, { expose: me, emit: Ne }) {
|
|
2002
|
+
let Pe = _(() => import("./Title-Cr3jP7Qd.js").then((e) => e.t)), Fe = _(() => import("./Legend-5VQGLnmx.js").then((e) => e.n)), Ie = _(() => import("./Tooltip-CDbLl3TD.js")), Le = _(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Re = _(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), ze = _(() => import("./DataTable-ByZy5gt1.js")), Ve = _(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), ot = _(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), st = _(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), ct = _(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_world: lt } = oe(), D = e, ut = Ne, dt = d({
|
|
2003
2003
|
get() {
|
|
2004
2004
|
return !!L.value;
|
|
2005
2005
|
},
|
|
2006
2006
|
set(e) {
|
|
2007
2007
|
return e;
|
|
2008
2008
|
}
|
|
2009
|
-
}), ft =
|
|
2010
|
-
|
|
2009
|
+
}), ft = d(() => dt ? Object.values(L.value).some((e) => Object.hasOwn(e, "category")) : !1), O = S(null), pt = S(null), mt = S(null), ht = S(null), gt = S(null), _t = S(0), vt = S(0), yt = S(0), k = S(i()), A = S(!1), bt = S(""), xt = S(0), St = S(!1), j = S(null), Ct = S(null), M = S(!1), N = S(!1);
|
|
2010
|
+
De(() => {
|
|
2011
2011
|
St.value = !0;
|
|
2012
2012
|
});
|
|
2013
|
-
let P =
|
|
2013
|
+
let P = Be, { projections: wt, getProjectedBounds: Tt, setupTerritories: Et, geoToPath: Dt } = ye;
|
|
2014
2014
|
function Ot() {
|
|
2015
|
-
let e =
|
|
2016
|
-
userConfig:
|
|
2017
|
-
defaultConfig:
|
|
2015
|
+
let e = de({
|
|
2016
|
+
userConfig: D.config,
|
|
2017
|
+
defaultConfig: lt
|
|
2018
2018
|
});
|
|
2019
|
-
return
|
|
2019
|
+
return D.config && s(D.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = l(D.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, D.config && s(D.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = l(D.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], P = Et(e, P), e;
|
|
2020
2020
|
}
|
|
2021
|
-
let F =
|
|
2021
|
+
let F = S(Ot()), I = d(() => F.value.userOptions.useCursorPointer), kt = d(() => re({
|
|
2022
2022
|
defaultConfig: {
|
|
2023
2023
|
userOptions: { show: !1 },
|
|
2024
2024
|
table: { show: !1 },
|
|
@@ -2035,28 +2035,28 @@ var Ve = {
|
|
|
2035
2035
|
} }
|
|
2036
2036
|
},
|
|
2037
2037
|
userConfig: F.value.skeletonConfig ?? {}
|
|
2038
|
-
})), { loading: At, FINAL_DATASET: L } =
|
|
2039
|
-
...
|
|
2038
|
+
})), { loading: At, FINAL_DATASET: L } = ce({
|
|
2039
|
+
...Ae(D),
|
|
2040
2040
|
FINAL_CONFIG: F,
|
|
2041
2041
|
prepareConfig: Ot,
|
|
2042
|
-
skeletonDataset:
|
|
2043
|
-
skeletonConfig:
|
|
2042
|
+
skeletonDataset: D.config?.skeletonDataset ?? [],
|
|
2043
|
+
skeletonConfig: re({
|
|
2044
2044
|
defaultConfig: F.value,
|
|
2045
2045
|
userConfig: kt.value
|
|
2046
2046
|
})
|
|
2047
|
-
}), { userOptionsVisible: jt, setUserOptionsVisibility: Mt, keepUserOptionState: Nt } =
|
|
2047
|
+
}), { userOptionsVisible: jt, setUserOptionsVisibility: Mt, keepUserOptionState: Nt } = _e({ config: F.value }), { svgRef: R } = ve({ config: F.value.style.chart.title }), z = S({
|
|
2048
2048
|
showTable: F.value.table.show,
|
|
2049
2049
|
showTooltip: F.value.style.chart.tooltip.show
|
|
2050
2050
|
});
|
|
2051
|
-
|
|
2051
|
+
je(() => D.config, (e) => {
|
|
2052
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;
|
|
2053
|
-
}),
|
|
2053
|
+
}), je(F, () => {
|
|
2054
2054
|
z.value = {
|
|
2055
2055
|
showTable: F.value.table.show,
|
|
2056
2056
|
showTooltip: F.value.style.chart.tooltip.show
|
|
2057
2057
|
};
|
|
2058
2058
|
}, { immediate: !0 });
|
|
2059
|
-
let Pt =
|
|
2059
|
+
let Pt = d(() => t(F.value.customPalette)), B = d(() => F.value.projection || "globe"), V = d(() => {
|
|
2060
2060
|
let { height: e, width: t } = F.value.style.chart.dimensions;
|
|
2061
2061
|
return {
|
|
2062
2062
|
aitoff: {
|
|
@@ -2112,7 +2112,7 @@ var Ve = {
|
|
|
2112
2112
|
height: e || 1e3
|
|
2113
2113
|
}
|
|
2114
2114
|
}[B.value];
|
|
2115
|
-
}), H =
|
|
2115
|
+
}), H = d(() => {
|
|
2116
2116
|
let { minX: e, minY: t, width: n, height: r } = Tt(wt[B.value], P.features, V.value.width, V.value.height, J.value);
|
|
2117
2117
|
return {
|
|
2118
2118
|
str: `${e} ${t} ${n} ${r}`,
|
|
@@ -2121,9 +2121,9 @@ var Ve = {
|
|
|
2121
2121
|
width: n,
|
|
2122
2122
|
height: r
|
|
2123
2123
|
};
|
|
2124
|
-
}), Ft =
|
|
2124
|
+
}), Ft = d(() => Object.values(L.value).map((e) => e.value)), It = d(() => Math.min(...Ft.value)), Lt = d(() => Math.max(...Ft.value));
|
|
2125
2125
|
function Rt(e) {
|
|
2126
|
-
return typeof e == "number" ?
|
|
2126
|
+
return typeof e == "number" ? ae(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;
|
|
2127
2127
|
}
|
|
2128
2128
|
function zt(e) {
|
|
2129
2129
|
return Dt(e, {
|
|
@@ -2133,13 +2133,13 @@ var Ve = {
|
|
|
2133
2133
|
center: J.value
|
|
2134
2134
|
});
|
|
2135
2135
|
}
|
|
2136
|
-
let Bt =
|
|
2136
|
+
let Bt = d(() => {
|
|
2137
2137
|
let e = Object.values(L.value).filter((e) => !!e.category), t = {};
|
|
2138
2138
|
return e.forEach((e) => {
|
|
2139
2139
|
t[e.category] || (t[e.category] = e);
|
|
2140
2140
|
}), Object.values(t).map((e, t) => ({
|
|
2141
2141
|
name: e.category,
|
|
2142
|
-
color: e.color ?
|
|
2142
|
+
color: e.color ? l(e.color) : Pt.value[t] || a[t] || a[t % a.length]
|
|
2143
2143
|
}));
|
|
2144
2144
|
});
|
|
2145
2145
|
function Vt(e) {
|
|
@@ -2148,9 +2148,9 @@ var Ve = {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
let Ht = /* @__PURE__ */ new Map();
|
|
2150
2150
|
function Ut(e) {
|
|
2151
|
-
return Ht.has(e) || Ht.set(e, `territory-${
|
|
2151
|
+
return Ht.has(e) || Ht.set(e, `territory-${i()}`), Ht.get(e);
|
|
2152
2152
|
}
|
|
2153
|
-
let U =
|
|
2153
|
+
let U = d(() => (J.value, P.features.map((e) => {
|
|
2154
2154
|
let t = e.properties.iso_a3;
|
|
2155
2155
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2156
2156
|
let n = L.value[t];
|
|
@@ -2160,17 +2160,17 @@ var Ve = {
|
|
|
2160
2160
|
geo: e,
|
|
2161
2161
|
code: t,
|
|
2162
2162
|
geometry: e.geometry,
|
|
2163
|
-
color: n && n.color ?
|
|
2163
|
+
color: n && n.color ? l(n.color) : n && n.category ? Vt(n.category) : Rt(n ? n.value : null),
|
|
2164
2164
|
value: n ? n.value : null,
|
|
2165
2165
|
category: n && n.category || null,
|
|
2166
2166
|
isActive: !!n,
|
|
2167
2167
|
uid: Ut(t)
|
|
2168
2168
|
};
|
|
2169
|
-
}))), W =
|
|
2169
|
+
}))), W = S(!1);
|
|
2170
2170
|
function Wt(e) {
|
|
2171
2171
|
W.value = e, xt.value += 1;
|
|
2172
2172
|
}
|
|
2173
|
-
let G =
|
|
2173
|
+
let G = S(!1);
|
|
2174
2174
|
function Gt() {
|
|
2175
2175
|
G.value = !G.value;
|
|
2176
2176
|
}
|
|
@@ -2180,27 +2180,27 @@ var Ve = {
|
|
|
2180
2180
|
function qt() {
|
|
2181
2181
|
z.value.showTooltip = !z.value.showTooltip;
|
|
2182
2182
|
}
|
|
2183
|
-
let Jt =
|
|
2183
|
+
let Jt = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), { isPrinting: Yt, isImaging: Xt, generatePdf: Zt, generateImage: Qt } = se({
|
|
2184
2184
|
elementId: `world_${k.value}`,
|
|
2185
2185
|
fileName: F.value.style.chart.title.text || "vue-ui-world",
|
|
2186
2186
|
options: F.value.userOptions.print
|
|
2187
|
-
}), K =
|
|
2187
|
+
}), K = S(!1), $t = S(null), q = S(null), en = d(() => q.value ? zt(q.value.geometry) : "");
|
|
2188
2188
|
function tn(e) {
|
|
2189
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, []) : [] : [];
|
|
2190
2190
|
}
|
|
2191
|
-
let nn =
|
|
2191
|
+
let nn = d(() => {
|
|
2192
2192
|
let e = q.value?.geometry;
|
|
2193
2193
|
if (!e) return "";
|
|
2194
2194
|
let t = tn(e);
|
|
2195
2195
|
if (!t.length) return "";
|
|
2196
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length],
|
|
2197
|
-
function
|
|
2198
|
-
return [(e -
|
|
2196
|
+
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], ee = wt[B.value] || wt.globe, i = V.value.width, a = V.value.height, te = t.map((e) => e.map(([e, t]) => ee([e, t], i, a, r))), o = te.flat(), s = o.map(([e, t]) => e), ne = o.map(([e, t]) => t), c = Math.min(...s), re = Math.max(...s), ie = Math.min(...ne), ae = Math.max(...ne), l = re - c || 1, oe = ae - ie || 1, se = Math.min(64 / l, 64 / oe);
|
|
2197
|
+
function ce([e, t]) {
|
|
2198
|
+
return [(e - c) * se + 8, (t - ie) * se + 8];
|
|
2199
2199
|
}
|
|
2200
2200
|
return `
|
|
2201
2201
|
<svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
|
|
2202
2202
|
<rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
|
|
2203
|
-
<path d="${te.map((e) => "M" + e.map(
|
|
2203
|
+
<path d="${te.map((e) => "M" + e.map(ce).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || F.value.style.chart.territory.emptyColor}" stroke="${F.value.style.chart.territory.stroke}" stroke-width="1"/>
|
|
2204
2204
|
</svg>
|
|
2205
2205
|
`;
|
|
2206
2206
|
});
|
|
@@ -2211,7 +2211,7 @@ var Ve = {
|
|
|
2211
2211
|
});
|
|
2212
2212
|
}
|
|
2213
2213
|
function an({ datapoint: e, seriesIndex: t }) {
|
|
2214
|
-
|
|
2214
|
+
ut("selectDatapoint", e), F.value.events.datapointClick && F.value.events.datapointClick({
|
|
2215
2215
|
datapoint: e,
|
|
2216
2216
|
seriesIndex: t
|
|
2217
2217
|
});
|
|
@@ -2225,9 +2225,9 @@ var Ve = {
|
|
|
2225
2225
|
config: F.value,
|
|
2226
2226
|
series: U.value
|
|
2227
2227
|
}, A.value = !0;
|
|
2228
|
-
let n = "",
|
|
2229
|
-
if (K.value = !1,
|
|
2230
|
-
let t =
|
|
2228
|
+
let n = "", r = F.value.style.chart.tooltip.customFormat;
|
|
2229
|
+
if (K.value = !1, ne(r)) try {
|
|
2230
|
+
let t = r({
|
|
2231
2231
|
datapoint: e,
|
|
2232
2232
|
config: F.value,
|
|
2233
2233
|
series: U.value
|
|
@@ -2245,7 +2245,7 @@ var Ve = {
|
|
|
2245
2245
|
</svg>
|
|
2246
2246
|
<span>${e.name}:</span>
|
|
2247
2247
|
<b>
|
|
2248
|
-
${
|
|
2248
|
+
${c(F.value.style.chart.dataLabels.formatter, e.value, o({
|
|
2249
2249
|
p: F.value.style.chart.dataLabels.prefix,
|
|
2250
2250
|
v: e.value,
|
|
2251
2251
|
s: F.value.style.chart.dataLabels.suffix,
|
|
@@ -2256,10 +2256,10 @@ var Ve = {
|
|
|
2256
2256
|
</div>
|
|
2257
2257
|
`, bt.value = `<div>${n}</div>`);
|
|
2258
2258
|
}
|
|
2259
|
-
let sn =
|
|
2259
|
+
let sn = S(!1), cn = S({
|
|
2260
2260
|
x: 0,
|
|
2261
2261
|
y: 0
|
|
2262
|
-
}), J =
|
|
2262
|
+
}), J = S([F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y]), ln = [0, 0], Y = null, X = null;
|
|
2263
2263
|
function un(e) {
|
|
2264
2264
|
return Math.max(-90, Math.min(90, e));
|
|
2265
2265
|
}
|
|
@@ -2278,7 +2278,7 @@ var Ve = {
|
|
|
2278
2278
|
X = null, fn();
|
|
2279
2279
|
}));
|
|
2280
2280
|
}
|
|
2281
|
-
|
|
2281
|
+
je(() => [F.value.style.chart.globe.center.x, F.value.style.chart.globe.center.y], ([e, t]) => {
|
|
2282
2282
|
J.value = [e, t], Y = null;
|
|
2283
2283
|
});
|
|
2284
2284
|
function mn(e, t) {
|
|
@@ -2290,7 +2290,7 @@ var Ve = {
|
|
|
2290
2290
|
function hn(e, t) {
|
|
2291
2291
|
if (!sn.value || B.value !== "globe" || G.value) return;
|
|
2292
2292
|
let n = e - cn.value.x, r = t - cn.value.y;
|
|
2293
|
-
pn([dn(ln[0] - n *
|
|
2293
|
+
pn([dn(ln[0] - n * at), un(ln[1] + r * at)]);
|
|
2294
2294
|
}
|
|
2295
2295
|
function gn() {
|
|
2296
2296
|
sn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), fn();
|
|
@@ -2315,10 +2315,10 @@ var Ve = {
|
|
|
2315
2315
|
function Sn() {
|
|
2316
2316
|
gn();
|
|
2317
2317
|
}
|
|
2318
|
-
|
|
2318
|
+
Ee(() => {
|
|
2319
2319
|
X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
|
|
2320
2320
|
});
|
|
2321
|
-
let Cn =
|
|
2321
|
+
let Cn = d(() => {
|
|
2322
2322
|
let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2323
2323
|
return {
|
|
2324
2324
|
head: e.map((e) => ({
|
|
@@ -2328,7 +2328,7 @@ var Ve = {
|
|
|
2328
2328
|
})),
|
|
2329
2329
|
body: e.map((e) => e.value || 0)
|
|
2330
2330
|
};
|
|
2331
|
-
}), wn =
|
|
2331
|
+
}), wn = d(() => {
|
|
2332
2332
|
let e = [
|
|
2333
2333
|
F.value.table.columnNames.series,
|
|
2334
2334
|
F.value.table.columnNames.value,
|
|
@@ -2361,8 +2361,8 @@ var Ve = {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
});
|
|
2363
2363
|
function Tn(e = null) {
|
|
2364
|
-
|
|
2365
|
-
let t = Cn.value.head.map((e, t) => [[e.name], [Cn.value.body[t]]]), n =
|
|
2364
|
+
we(() => {
|
|
2365
|
+
let t = Cn.value.head.map((e, t) => [[e.name], [Cn.value.body[t]]]), n = r([
|
|
2366
2366
|
[F.value.style.chart.title.text],
|
|
2367
2367
|
[F.value.style.chart.title.subtitle.text],
|
|
2368
2368
|
[[
|
|
@@ -2371,22 +2371,22 @@ var Ve = {
|
|
|
2371
2371
|
F.value.table.columnNames.category
|
|
2372
2372
|
]]
|
|
2373
2373
|
].concat(t));
|
|
2374
|
-
e ? e(n) :
|
|
2374
|
+
e ? e(n) : te({
|
|
2375
2375
|
csvContent: n,
|
|
2376
2376
|
title: F.value.style.chart.title.text || "vue-ui-world"
|
|
2377
2377
|
});
|
|
2378
2378
|
});
|
|
2379
2379
|
}
|
|
2380
|
-
let Z =
|
|
2380
|
+
let Z = S([]);
|
|
2381
2381
|
function En() {
|
|
2382
2382
|
Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
|
|
2383
2383
|
Z.value.push(e.name);
|
|
2384
2384
|
});
|
|
2385
2385
|
}
|
|
2386
2386
|
function Dn(e) {
|
|
2387
|
-
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e),
|
|
2387
|
+
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), ut("selectLegend", { name: e });
|
|
2388
2388
|
}
|
|
2389
|
-
let Q =
|
|
2389
|
+
let Q = d(() => ft ? Bt.value.map(({ name: e, color: t }, n) => ({
|
|
2390
2390
|
name: e,
|
|
2391
2391
|
color: t,
|
|
2392
2392
|
shape: "circle",
|
|
@@ -2396,7 +2396,7 @@ var Ve = {
|
|
|
2396
2396
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2397
2397
|
segregate: () => Dn(e.name),
|
|
2398
2398
|
isSegregated: Z.value.includes(e.name)
|
|
2399
|
-
})) : []), On =
|
|
2399
|
+
})) : []), On = d(() => ({
|
|
2400
2400
|
cy: "donut-div-legend",
|
|
2401
2401
|
backgroundColor: F.value.style.chart.legend.backgroundColor,
|
|
2402
2402
|
color: F.value.style.chart.legend.color,
|
|
@@ -2409,25 +2409,25 @@ var Ve = {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
async function An({ scale: e = 2 } = {}) {
|
|
2411
2411
|
if (!O.value) return;
|
|
2412
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri:
|
|
2412
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: ee, base64: i } = await fe({
|
|
2413
2413
|
domElement: O.value,
|
|
2414
2414
|
base64: !0,
|
|
2415
2415
|
img: !0,
|
|
2416
2416
|
scale: e
|
|
2417
2417
|
});
|
|
2418
2418
|
return {
|
|
2419
|
-
imageUri:
|
|
2420
|
-
base64:
|
|
2419
|
+
imageUri: ee,
|
|
2420
|
+
base64: i,
|
|
2421
2421
|
title: F.value.style.chart.title.text,
|
|
2422
2422
|
width: t,
|
|
2423
2423
|
height: n,
|
|
2424
2424
|
aspectRatio: r
|
|
2425
2425
|
};
|
|
2426
2426
|
}
|
|
2427
|
-
let $ =
|
|
2427
|
+
let $ = d(() => {
|
|
2428
2428
|
let e = F.value.table.useDialog && !F.value.table.show, t = z.value.showTable;
|
|
2429
2429
|
return {
|
|
2430
|
-
component: e ?
|
|
2430
|
+
component: e ? ct : Re,
|
|
2431
2431
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
2432
2432
|
props: e ? {
|
|
2433
2433
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
@@ -2455,21 +2455,21 @@ var Ve = {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
};
|
|
2457
2457
|
});
|
|
2458
|
-
|
|
2458
|
+
je(() => z.value.showTable, (e) => {
|
|
2459
2459
|
F.value.table.show || (e && F.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
2460
2460
|
});
|
|
2461
2461
|
function jn() {
|
|
2462
2462
|
z.value.showTable = !1, Ct.value && Ct.value.setTableIconState(!1);
|
|
2463
2463
|
}
|
|
2464
|
-
let Mn =
|
|
2464
|
+
let Mn = d(() => F.value.style.chart.backgroundColor), Nn = d(() => F.value.style.chart.legend), { exportSvg: Pn, getSvg: Fn } = ue({
|
|
2465
2465
|
svg: R,
|
|
2466
|
-
title:
|
|
2466
|
+
title: d(() => F.value.style.chart.title),
|
|
2467
2467
|
legend: Nn,
|
|
2468
2468
|
legendItems: Q,
|
|
2469
2469
|
backgroundColor: Mn
|
|
2470
2470
|
});
|
|
2471
2471
|
async function In({ isCb: e }) {
|
|
2472
|
-
N.value = !0, await
|
|
2472
|
+
N.value = !0, await we();
|
|
2473
2473
|
try {
|
|
2474
2474
|
if (e) {
|
|
2475
2475
|
let { blob: e, url: t, text: n, dataUrl: r } = await Fn();
|
|
@@ -2496,7 +2496,7 @@ var Ve = {
|
|
|
2496
2496
|
Qt();
|
|
2497
2497
|
}
|
|
2498
2498
|
async function Rn() {
|
|
2499
|
-
if (
|
|
2499
|
+
if (ut("copyAlt", {
|
|
2500
2500
|
config: F.value,
|
|
2501
2501
|
dataset: U.value
|
|
2502
2502
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
@@ -2508,7 +2508,7 @@ var Ve = {
|
|
|
2508
2508
|
dataset: U.value
|
|
2509
2509
|
}));
|
|
2510
2510
|
}
|
|
2511
|
-
return
|
|
2511
|
+
return me({
|
|
2512
2512
|
getData: kn,
|
|
2513
2513
|
getImage: An,
|
|
2514
2514
|
generatePdf: Zt,
|
|
@@ -2520,30 +2520,30 @@ var Ve = {
|
|
|
2520
2520
|
toggleAnnotator: Gt,
|
|
2521
2521
|
toggleFullscreen: Wt,
|
|
2522
2522
|
copyAlt: Rn
|
|
2523
|
-
}), (e,
|
|
2523
|
+
}), (e, t) => (x(), m("div", {
|
|
2524
2524
|
ref_key: "worldChart",
|
|
2525
2525
|
ref: O,
|
|
2526
2526
|
id: `world_${k.value}`,
|
|
2527
|
-
class:
|
|
2528
|
-
style:
|
|
2529
|
-
onMouseenter:
|
|
2530
|
-
onMouseleave:
|
|
2527
|
+
class: Te(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
2528
|
+
style: b(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
|
|
2529
|
+
onMouseenter: t[2] ||= () => T(Mt)(!0),
|
|
2530
|
+
onMouseleave: t[3] ||= () => T(Mt)(!1)
|
|
2531
2531
|
}, [
|
|
2532
|
-
F.value.userOptions.buttons.annotator &&
|
|
2532
|
+
F.value.userOptions.buttons.annotator && T(R) ? (x(), f(T(Ve), {
|
|
2533
2533
|
key: 0,
|
|
2534
2534
|
color: F.value.style.chart.color,
|
|
2535
2535
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
2536
2536
|
active: G.value,
|
|
2537
|
-
svgRef:
|
|
2537
|
+
svgRef: T(R),
|
|
2538
2538
|
isCursorPointer: I.value,
|
|
2539
2539
|
onClose: Gt
|
|
2540
2540
|
}, {
|
|
2541
|
-
"annotator-action-close":
|
|
2542
|
-
"annotator-action-color":
|
|
2543
|
-
"annotator-action-draw":
|
|
2544
|
-
"annotator-action-undo":
|
|
2545
|
-
"annotator-action-redo":
|
|
2546
|
-
"annotator-action-delete":
|
|
2541
|
+
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
2542
|
+
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
2543
|
+
"annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
2544
|
+
"annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
2545
|
+
"annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
2546
|
+
"annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
2547
2547
|
_: 3
|
|
2548
2548
|
}, 8, [
|
|
2549
2549
|
"color",
|
|
@@ -2551,21 +2551,21 @@ var Ve = {
|
|
|
2551
2551
|
"active",
|
|
2552
2552
|
"svgRef",
|
|
2553
2553
|
"isCursorPointer"
|
|
2554
|
-
])) :
|
|
2555
|
-
|
|
2556
|
-
Jt.value ? (
|
|
2554
|
+
])) : p("", !0),
|
|
2555
|
+
C(e.$slots, "userConfig", {}, void 0, !0),
|
|
2556
|
+
Jt.value ? (x(), m("div", {
|
|
2557
2557
|
key: 1,
|
|
2558
2558
|
ref_key: "noTitle",
|
|
2559
2559
|
ref: gt,
|
|
2560
2560
|
class: "vue-data-ui-no-title-space",
|
|
2561
2561
|
style: "height:36px; width: 100%;background:transparent"
|
|
2562
|
-
}, null, 512)) :
|
|
2563
|
-
F.value.style.chart.title.text ? (
|
|
2562
|
+
}, null, 512)) : p("", !0),
|
|
2563
|
+
F.value.style.chart.title.text ? (x(), m("div", {
|
|
2564
2564
|
key: 2,
|
|
2565
2565
|
ref_key: "chartTitle",
|
|
2566
2566
|
ref: pt,
|
|
2567
2567
|
style: "width:100%;background:transparent"
|
|
2568
|
-
}, [(
|
|
2568
|
+
}, [(x(), f(T(Pe), {
|
|
2569
2569
|
key: `title_${_t.value}`,
|
|
2570
2570
|
config: {
|
|
2571
2571
|
title: {
|
|
@@ -2577,16 +2577,16 @@ var Ve = {
|
|
|
2577
2577
|
...F.value.style.chart.title.subtitle
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2581
|
-
|
|
2582
|
-
F.value.userOptions.show &&
|
|
2580
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
2581
|
+
h("div", { id: `legend-top-${k.value}` }, null, 8, Ue),
|
|
2582
|
+
F.value.userOptions.show && dt.value && (T(Nt) || T(jt)) ? (x(), f(T(ot), {
|
|
2583
2583
|
ref_key: "userOptionsRef",
|
|
2584
2584
|
ref: Ct,
|
|
2585
2585
|
key: `user_option_${xt.value}`,
|
|
2586
2586
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
2587
2587
|
color: F.value.style.chart.color,
|
|
2588
|
-
isPrinting:
|
|
2589
|
-
isImaging:
|
|
2588
|
+
isPrinting: T(Yt),
|
|
2589
|
+
isImaging: T(Xt),
|
|
2590
2590
|
uid: k.value,
|
|
2591
2591
|
callbacks: F.value.userOptions.callbacks,
|
|
2592
2592
|
hasTooltip: F.value.style.chart.tooltip.show && F.value.userOptions.buttons.tooltip,
|
|
@@ -2609,7 +2609,7 @@ var Ve = {
|
|
|
2609
2609
|
tableDialog: F.value.table.useDialog,
|
|
2610
2610
|
isCursorPointer: I.value,
|
|
2611
2611
|
onToggleFullscreen: Wt,
|
|
2612
|
-
onGeneratePdf:
|
|
2612
|
+
onGeneratePdf: T(Zt),
|
|
2613
2613
|
onGenerateCsv: Tn,
|
|
2614
2614
|
onGenerateImage: Ln,
|
|
2615
2615
|
onGenerateSvg: In,
|
|
@@ -2617,11 +2617,11 @@ var Ve = {
|
|
|
2617
2617
|
onToggleTooltip: qt,
|
|
2618
2618
|
onToggleAnnotator: Gt,
|
|
2619
2619
|
onCopyAlt: Rn,
|
|
2620
|
-
style:
|
|
2621
|
-
},
|
|
2620
|
+
style: b({ visibility: T(Nt) ? T(jt) ? "visible" : "hidden" : "visible" })
|
|
2621
|
+
}, xe({ _: 2 }, [
|
|
2622
2622
|
e.$slots.menuIcon ? {
|
|
2623
2623
|
name: "menuIcon",
|
|
2624
|
-
fn:
|
|
2624
|
+
fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
|
|
2625
2625
|
isOpen: t,
|
|
2626
2626
|
color: n
|
|
2627
2627
|
})), void 0, !0)]),
|
|
@@ -2629,37 +2629,37 @@ var Ve = {
|
|
|
2629
2629
|
} : void 0,
|
|
2630
2630
|
e.$slots.optionTooltip ? {
|
|
2631
2631
|
name: "optionTooltip",
|
|
2632
|
-
fn:
|
|
2632
|
+
fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
2633
2633
|
key: "1"
|
|
2634
2634
|
} : void 0,
|
|
2635
2635
|
e.$slots.optionPdf ? {
|
|
2636
2636
|
name: "optionPdf",
|
|
2637
|
-
fn:
|
|
2637
|
+
fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
2638
2638
|
key: "2"
|
|
2639
2639
|
} : void 0,
|
|
2640
2640
|
e.$slots.optionCsv ? {
|
|
2641
2641
|
name: "optionCsv",
|
|
2642
|
-
fn:
|
|
2642
|
+
fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
2643
2643
|
key: "3"
|
|
2644
2644
|
} : void 0,
|
|
2645
2645
|
e.$slots.optionImg ? {
|
|
2646
2646
|
name: "optionImg",
|
|
2647
|
-
fn:
|
|
2647
|
+
fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
2648
2648
|
key: "4"
|
|
2649
2649
|
} : void 0,
|
|
2650
2650
|
e.$slots.optionSvg ? {
|
|
2651
2651
|
name: "optionSvg",
|
|
2652
|
-
fn:
|
|
2652
|
+
fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
2653
2653
|
key: "5"
|
|
2654
2654
|
} : void 0,
|
|
2655
2655
|
e.$slots.optionTable ? {
|
|
2656
2656
|
name: "optionTable",
|
|
2657
|
-
fn:
|
|
2657
|
+
fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
2658
2658
|
key: "6"
|
|
2659
2659
|
} : void 0,
|
|
2660
2660
|
e.$slots.optionFullscreen ? {
|
|
2661
2661
|
name: "optionFullscreen",
|
|
2662
|
-
fn:
|
|
2662
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(v({
|
|
2663
2663
|
toggleFullscreen: t,
|
|
2664
2664
|
isFullscreen: n
|
|
2665
2665
|
})), void 0, !0)]),
|
|
@@ -2667,7 +2667,7 @@ var Ve = {
|
|
|
2667
2667
|
} : void 0,
|
|
2668
2668
|
e.$slots.optionAnnotator ? {
|
|
2669
2669
|
name: "optionAnnotator",
|
|
2670
|
-
fn:
|
|
2670
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(v({
|
|
2671
2671
|
toggleAnnotator: t,
|
|
2672
2672
|
isAnnotator: n
|
|
2673
2673
|
})), void 0, !0)]),
|
|
@@ -2675,30 +2675,30 @@ var Ve = {
|
|
|
2675
2675
|
} : void 0,
|
|
2676
2676
|
e.$slots.optionAltCopy ? {
|
|
2677
2677
|
name: "optionAltCopy",
|
|
2678
|
-
fn:
|
|
2678
|
+
fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
2679
2679
|
key: "9"
|
|
2680
2680
|
} : void 0,
|
|
2681
2681
|
e.$slots["custom-menu-before"] ? {
|
|
2682
2682
|
name: "custom-menu-before",
|
|
2683
|
-
fn:
|
|
2683
|
+
fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
2684
2684
|
key: "10"
|
|
2685
2685
|
} : void 0,
|
|
2686
2686
|
e.$slots["custom-menu-after"] ? {
|
|
2687
2687
|
name: "custom-menu-after",
|
|
2688
|
-
fn:
|
|
2688
|
+
fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
2689
2689
|
key: "11"
|
|
2690
2690
|
} : void 0
|
|
2691
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
2692
|
-
(
|
|
2691
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : p("", !0),
|
|
2692
|
+
(x(), m("svg", {
|
|
2693
2693
|
ref_key: "svgRef",
|
|
2694
2694
|
ref: R,
|
|
2695
2695
|
viewBox: H.value.str,
|
|
2696
|
-
xmlns:
|
|
2697
|
-
class:
|
|
2696
|
+
xmlns: T(ie),
|
|
2697
|
+
class: Te({
|
|
2698
2698
|
"vue-data-ui-fullscreen--on": W.value,
|
|
2699
2699
|
"vue-data-ui-fullscreen--off": !W.value
|
|
2700
2700
|
}),
|
|
2701
|
-
style:
|
|
2701
|
+
style: b({
|
|
2702
2702
|
maxWidth: "100%",
|
|
2703
2703
|
overflow: B.value === "globe" ? "visible" : "hidden",
|
|
2704
2704
|
background: "transparent",
|
|
@@ -2713,22 +2713,22 @@ var Ve = {
|
|
|
2713
2713
|
onMouseup: yn,
|
|
2714
2714
|
onMouseleave: yn,
|
|
2715
2715
|
onTouchstart: bn,
|
|
2716
|
-
onTouchmove:
|
|
2716
|
+
onTouchmove: Me(xn, ["prevent"]),
|
|
2717
2717
|
onTouchend: Sn
|
|
2718
2718
|
}, [
|
|
2719
|
-
|
|
2720
|
-
e.$slots["chart-background"] ? (
|
|
2719
|
+
g(T(st)),
|
|
2720
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
2721
2721
|
key: 0,
|
|
2722
2722
|
x: H.value.minX,
|
|
2723
2723
|
y: H.value.minY,
|
|
2724
2724
|
width: H.value.width,
|
|
2725
2725
|
height: H.value.height,
|
|
2726
2726
|
style: { pointerEvents: "none" }
|
|
2727
|
-
}, [
|
|
2728
|
-
|
|
2729
|
-
B.value === "globe" ? (
|
|
2730
|
-
|
|
2731
|
-
|
|
2727
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ge)) : p("", !0),
|
|
2728
|
+
dt.value ? (x(), m("g", Ke, [
|
|
2729
|
+
B.value === "globe" ? (x(), m(u, { key: 0 }, [
|
|
2730
|
+
h("defs", null, [
|
|
2731
|
+
g(he, {
|
|
2732
2732
|
t: "radial",
|
|
2733
2733
|
id: `water-${k.value}`,
|
|
2734
2734
|
cx: .48,
|
|
@@ -2739,7 +2739,7 @@ var Ve = {
|
|
|
2739
2739
|
stops: [
|
|
2740
2740
|
[
|
|
2741
2741
|
"0%",
|
|
2742
|
-
|
|
2742
|
+
T(n)(F.value.style.chart.globe.waterColor, .4),
|
|
2743
2743
|
1
|
|
2744
2744
|
],
|
|
2745
2745
|
[
|
|
@@ -2749,17 +2749,17 @@ var Ve = {
|
|
|
2749
2749
|
],
|
|
2750
2750
|
[
|
|
2751
2751
|
"80%",
|
|
2752
|
-
|
|
2752
|
+
T(ee)(F.value.style.chart.globe.waterColor, .2),
|
|
2753
2753
|
1
|
|
2754
2754
|
],
|
|
2755
2755
|
[
|
|
2756
2756
|
"100%",
|
|
2757
|
-
|
|
2757
|
+
T(ee)(F.value.style.chart.globe.waterColor, .5),
|
|
2758
2758
|
.95
|
|
2759
2759
|
]
|
|
2760
2760
|
]
|
|
2761
2761
|
}, null, 8, ["id", "stops"]),
|
|
2762
|
-
|
|
2762
|
+
g(he, {
|
|
2763
2763
|
t: "radial",
|
|
2764
2764
|
id: `atmo-realistic-${k.value}`,
|
|
2765
2765
|
cx: .5,
|
|
@@ -2783,34 +2783,34 @@ var Ve = {
|
|
|
2783
2783
|
]
|
|
2784
2784
|
]
|
|
2785
2785
|
}, null, 8, ["id", "stops"]),
|
|
2786
|
-
|
|
2786
|
+
h("filter", {
|
|
2787
2787
|
id: `blur-${k.value}`,
|
|
2788
2788
|
x: "-30%",
|
|
2789
2789
|
y: "-30%",
|
|
2790
2790
|
width: "160%",
|
|
2791
2791
|
height: "160%"
|
|
2792
|
-
}, [...
|
|
2792
|
+
}, [...t[4] ||= [h("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, qe)
|
|
2793
2793
|
]),
|
|
2794
|
-
e.$slots.pattern ? (
|
|
2794
|
+
e.$slots.pattern ? (x(), m("g", Je, [(x(!0), m(u, null, Oe(U.value, (t, n) => (x(), m("defs", null, [C(e.$slots, "pattern", Ce({ ref_for: !0 }, {
|
|
2795
2795
|
...t,
|
|
2796
2796
|
patternId: `pattern_${k.value}_${t.code}`
|
|
2797
|
-
}), void 0, !0)]))), 256))])) :
|
|
2798
|
-
|
|
2797
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
2798
|
+
h("circle", {
|
|
2799
2799
|
cx: H.value.width / 2 + 20,
|
|
2800
2800
|
cy: H.value.height / 2 + 20,
|
|
2801
2801
|
r: H.value.height / 2,
|
|
2802
2802
|
fill: `url(#water-${k.value})`
|
|
2803
|
-
}, null, 8,
|
|
2804
|
-
|
|
2803
|
+
}, null, 8, Ye),
|
|
2804
|
+
h("circle", {
|
|
2805
2805
|
cx: H.value.width / 2 + 20,
|
|
2806
2806
|
cy: H.value.height / 2 + 20,
|
|
2807
2807
|
r: H.value.height / 2 + 10,
|
|
2808
2808
|
fill: `url(#atmo-realistic-${k.value})`,
|
|
2809
2809
|
"pointer-events": "none",
|
|
2810
2810
|
filter: `url(#blur-${k.value})`
|
|
2811
|
-
}, null, 8,
|
|
2812
|
-
], 64)) :
|
|
2813
|
-
(
|
|
2811
|
+
}, null, 8, Xe)
|
|
2812
|
+
], 64)) : p("", !0),
|
|
2813
|
+
(x(!0), m(u, null, Oe(U.value, (t, n) => (x(), m(u, { key: t.code }, [h("path", {
|
|
2814
2814
|
d: t.path,
|
|
2815
2815
|
fill: t.category && Z.value.includes(t.category) ? F.value.style.chart.territory.emptyColor : t.color,
|
|
2816
2816
|
stroke: F.value.style.chart.territory.stroke,
|
|
@@ -2828,7 +2828,7 @@ var Ve = {
|
|
|
2828
2828
|
seriesIndex: n
|
|
2829
2829
|
}),
|
|
2830
2830
|
class: "vue-ui-world-territory"
|
|
2831
|
-
}, [!A.value || !z.value.showTooltip ? (
|
|
2831
|
+
}, [!A.value || !z.value.showTooltip ? (x(), m("title", Qe, [Se(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), m(u, { key: 0 }, [Se(" : " + w(t.value), 1)], 64)) : p("", !0)])) : p("", !0)], 40, Ze), e.$slots.pattern ? (x(), m("path", {
|
|
2832
2832
|
key: 0,
|
|
2833
2833
|
d: t.path,
|
|
2834
2834
|
fill: `url(#pattern_${k.value}_${t.code})`,
|
|
@@ -2836,8 +2836,8 @@ var Ve = {
|
|
|
2836
2836
|
"stroke-width": F.value.style.chart.territory.strokeWidthSelected,
|
|
2837
2837
|
style: { "pointer-events": "none" },
|
|
2838
2838
|
class: "vue-ui-world-territory"
|
|
2839
|
-
}, null, 8,
|
|
2840
|
-
q.value ? (
|
|
2839
|
+
}, null, 8, $e)) : p("", !0)], 64))), 128)),
|
|
2840
|
+
q.value ? (x(), m("path", {
|
|
2841
2841
|
key: 1,
|
|
2842
2842
|
d: en.value,
|
|
2843
2843
|
fill: "transparent",
|
|
@@ -2845,36 +2845,36 @@ var Ve = {
|
|
|
2845
2845
|
"stroke-width": F.value.style.chart.territory.strokeWidthSelected,
|
|
2846
2846
|
style: { "pointer-events": "none" },
|
|
2847
2847
|
class: "vue-ui-world-territory"
|
|
2848
|
-
}, null, 8,
|
|
2849
|
-
])) :
|
|
2850
|
-
|
|
2848
|
+
}, null, 8, et)) : p("", !0)
|
|
2849
|
+
])) : p("", !0),
|
|
2850
|
+
C(e.$slots, "svg", { svg: {
|
|
2851
2851
|
height: V.value.height,
|
|
2852
2852
|
width: V.value.width,
|
|
2853
|
-
isPrintingImg:
|
|
2853
|
+
isPrintingImg: T(Yt) || T(Xt) || M.value,
|
|
2854
2854
|
isPrintingSvg: N.value
|
|
2855
2855
|
} }, void 0, !0)
|
|
2856
|
-
], 46,
|
|
2857
|
-
e.$slots.watermark ? (
|
|
2858
|
-
|
|
2859
|
-
St.value && ft.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (
|
|
2856
|
+
], 46, We)),
|
|
2857
|
+
e.$slots.watermark ? (x(), m("div", tt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Yt) || T(Xt) || M.value || N.value })), void 0, !0)])) : p("", !0),
|
|
2858
|
+
h("div", { id: `legend-bottom-${k.value}` }, null, 8, nt),
|
|
2859
|
+
St.value && ft.value && (F.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(be, {
|
|
2860
2860
|
key: 5,
|
|
2861
2861
|
to: F.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
2862
|
-
}, [ft.value ? (
|
|
2862
|
+
}, [ft.value ? (x(), m("div", {
|
|
2863
2863
|
key: 0,
|
|
2864
2864
|
ref_key: "chartLegend",
|
|
2865
2865
|
ref: mt
|
|
2866
|
-
}, [
|
|
2866
|
+
}, [C(e.$slots, "legend", { legend: Q.value }, () => [F.value.style.chart.legend.show ? (x(), f(T(Fe), {
|
|
2867
2867
|
key: `legend_${vt.value}`,
|
|
2868
2868
|
legendSet: Q.value,
|
|
2869
2869
|
config: On.value,
|
|
2870
2870
|
isCursorPointer: I.value,
|
|
2871
|
-
onClickMarker:
|
|
2872
|
-
},
|
|
2873
|
-
item:
|
|
2874
|
-
style:
|
|
2871
|
+
onClickMarker: t[0] ||= (e) => Dn(e)
|
|
2872
|
+
}, xe({
|
|
2873
|
+
item: E(({ legend: e, index: t }) => [h("div", {
|
|
2874
|
+
style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2875
2875
|
onClick: (t) => e.segregate()
|
|
2876
|
-
},
|
|
2877
|
-
legendToggle:
|
|
2876
|
+
}, w(e.name), 13, rt)]),
|
|
2877
|
+
legendToggle: E(() => [Q.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(At) ? (x(), f(ge, {
|
|
2878
2878
|
key: 0,
|
|
2879
2879
|
backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2880
2880
|
color: F.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -2888,11 +2888,11 @@ var Ve = {
|
|
|
2888
2888
|
"fontSize",
|
|
2889
2889
|
"checked",
|
|
2890
2890
|
"isCursorPointer"
|
|
2891
|
-
])) :
|
|
2891
|
+
])) : p("", !0)]),
|
|
2892
2892
|
_: 2
|
|
2893
2893
|
}, [e.$slots.pattern ? {
|
|
2894
2894
|
name: "legend-pattern",
|
|
2895
|
-
fn:
|
|
2895
|
+
fn: E(({ legend: e, index: t }) => [g(pe, {
|
|
2896
2896
|
shape: e.shape,
|
|
2897
2897
|
radius: 30,
|
|
2898
2898
|
stroke: "none",
|
|
@@ -2907,14 +2907,14 @@ var Ve = {
|
|
|
2907
2907
|
"legendSet",
|
|
2908
2908
|
"config",
|
|
2909
2909
|
"isCursorPointer"
|
|
2910
|
-
])) :
|
|
2911
|
-
e.$slots.source ? (
|
|
2910
|
+
])) : p("", !0)], !0)], 512)) : p("", !0)], 8, ["to"])) : p("", !0),
|
|
2911
|
+
e.$slots.source ? (x(), m("div", {
|
|
2912
2912
|
key: 6,
|
|
2913
2913
|
ref_key: "source",
|
|
2914
2914
|
ref: ht,
|
|
2915
2915
|
dir: "auto"
|
|
2916
|
-
}, [
|
|
2917
|
-
|
|
2916
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
2917
|
+
g(T(Ie), {
|
|
2918
2918
|
teleportTo: F.value.style.chart.tooltip.teleportTo,
|
|
2919
2919
|
show: z.value.showTooltip && A.value,
|
|
2920
2920
|
backgroundColor: F.value.style.chart.tooltip.backgroundColor,
|
|
@@ -2936,9 +2936,9 @@ var Ve = {
|
|
|
2936
2936
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|
|
2937
2937
|
smoothSnapThreshold: F.value.style.chart.tooltip.smoothSnapThreshold
|
|
2938
2938
|
}, {
|
|
2939
|
-
"tooltip-before":
|
|
2940
|
-
tooltip:
|
|
2941
|
-
"tooltip-after":
|
|
2939
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", y(v({ ...$t.value })), void 0, !0)]),
|
|
2940
|
+
tooltip: E(() => [C(e.$slots, "tooltip", y(v({ ...$t.value })), void 0, !0)]),
|
|
2941
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", y(v({ ...$t.value })), void 0, !0)]),
|
|
2942
2942
|
_: 3
|
|
2943
2943
|
}, 8, [
|
|
2944
2944
|
"teleportTo",
|
|
@@ -2962,12 +2962,12 @@ var Ve = {
|
|
|
2962
2962
|
"smoothForce",
|
|
2963
2963
|
"smoothSnapThreshold"
|
|
2964
2964
|
]),
|
|
2965
|
-
|
|
2965
|
+
dt.value && F.value.userOptions.buttons.table ? (x(), f(ke($.value.component), Ce({ key: 7 }, $.value.props, {
|
|
2966
2966
|
ref_key: "tableUnit",
|
|
2967
2967
|
ref: j,
|
|
2968
2968
|
onClose: jn
|
|
2969
|
-
}),
|
|
2970
|
-
content:
|
|
2969
|
+
}), xe({
|
|
2970
|
+
content: E(() => [(x(), f(T(ze), {
|
|
2971
2971
|
key: `table_${yt.value}`,
|
|
2972
2972
|
colNames: wn.value.colNames,
|
|
2973
2973
|
head: wn.value.head,
|
|
@@ -2978,14 +2978,14 @@ var Ve = {
|
|
|
2978
2978
|
isCursorPointer: I.value,
|
|
2979
2979
|
onClose: jn
|
|
2980
2980
|
}, {
|
|
2981
|
-
th:
|
|
2981
|
+
th: E(({ th: e }) => [h("div", {
|
|
2982
2982
|
innerHTML: e,
|
|
2983
2983
|
style: {
|
|
2984
2984
|
display: "flex",
|
|
2985
2985
|
"align-items": "center"
|
|
2986
2986
|
}
|
|
2987
|
-
}, null, 8,
|
|
2988
|
-
td:
|
|
2987
|
+
}, null, 8, it)]),
|
|
2988
|
+
td: E(({ td: e }) => [Se(w(e.name ? e.name : e.category ? e.category : T(c)(F.value.style.chart.dataLabels.formatter, e, T(o)({
|
|
2989
2989
|
p: F.value.style.chart.dataLabels.prefix,
|
|
2990
2990
|
v: e,
|
|
2991
2991
|
s: F.value.style.chart.dataLabels.suffix,
|
|
@@ -3004,24 +3004,24 @@ var Ve = {
|
|
|
3004
3004
|
_: 2
|
|
3005
3005
|
}, [F.value.table.useDialog ? {
|
|
3006
3006
|
name: "title",
|
|
3007
|
-
fn:
|
|
3007
|
+
fn: E(() => [Se(w($.value.title), 1)]),
|
|
3008
3008
|
key: "0"
|
|
3009
3009
|
} : void 0, F.value.table.useDialog ? {
|
|
3010
3010
|
name: "actions",
|
|
3011
|
-
fn:
|
|
3011
|
+
fn: E(() => [h("button", {
|
|
3012
3012
|
tabindex: "0",
|
|
3013
3013
|
class: "vue-ui-user-options-button",
|
|
3014
|
-
onClick:
|
|
3015
|
-
style:
|
|
3016
|
-
}, [
|
|
3014
|
+
onClick: t[1] ||= (e) => Tn(F.value.userOptions.callbacks.csv),
|
|
3015
|
+
style: b({ cursor: I.value ? "pointer" : "default" })
|
|
3016
|
+
}, [g(T(Le), {
|
|
3017
3017
|
name: "fileCsv",
|
|
3018
3018
|
stroke: $.value.props.color
|
|
3019
3019
|
}, null, 8, ["stroke"])], 4)]),
|
|
3020
3020
|
key: "1"
|
|
3021
|
-
} : void 0]), 1040)) :
|
|
3022
|
-
|
|
3023
|
-
], 46,
|
|
3021
|
+
} : void 0]), 1040)) : p("", !0),
|
|
3022
|
+
C(e.$slots, "skeleton", {}, () => [T(At) ? (x(), f(le, { key: 0 })) : p("", !0)], !0)
|
|
3023
|
+
], 46, He));
|
|
3024
3024
|
}
|
|
3025
3025
|
}, [["__scopeId", "data-v-bd5b965c"]]);
|
|
3026
3026
|
//#endregion
|
|
3027
|
-
export {
|
|
3027
|
+
export { Ve as n, ot as t };
|