vue-data-ui 3.25.4 → 3.25.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
- package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
- package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
- package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
- package/dist/{ColorPicker-ZJrR3Olp.js → ColorPicker-CUy15T72.js} +102 -100
- package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
- package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
- package/dist/{NonSvgPenAndPaper-DS84BAOx.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
- package/dist/{PackageVersion-5SWftabm.js → PackageVersion-ur6jKRL5.js} +1 -1
- package/dist/{PenAndPaper-B_SdRSKH.js → PenAndPaper-KFzKlvbi.js} +20 -4
- package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
- package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.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-hill.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-label.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/{package-DmsdiyeS.js → package-Dx7M6sYy.js} +1 -1
- package/dist/{render-common-zoPh9a78.js → render-common-DETHvNhl.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/types/vue-data-ui.d.ts +80 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-CIQZ6_r7.js} +1339 -1313
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings---mHNfbS.js} +2 -2
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-DTj71yB7.js → vue-data-ui-Dh3_EsHb.js} +70 -70
- package/dist/vue-data-ui.js +71 -71
- package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
- package/dist/{vue-ui-accordion-D4zsdacF.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
- package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
- package/dist/vue-ui-annotator-CTQHAPho.js +3325 -0
- package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
- package/dist/{vue-ui-bump-BkOtQNWe.js → vue-ui-bump-DhwySwgn.js} +382 -380
- package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
- package/dist/{vue-ui-carousel-table-CRgbs7jR.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
- package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
- package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
- package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
- package/dist/{vue-ui-cursor-BHyXRadA.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
- package/dist/{vue-ui-dag-CyVqaLbF.js → vue-ui-dag-C_inEafb.js} +794 -792
- package/dist/{vue-ui-dashboard-7I-7wvCP.js → vue-ui-dashboard-Bs2mBur5.js} +74 -72
- package/dist/{vue-ui-digits-BBL8uERO.js → vue-ui-digits-DwE4MoXI.js} +2 -2
- package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
- package/dist/{vue-ui-donut-DcgUuefk.js → vue-ui-donut-CbOSJmRu.js} +2 -2
- package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
- package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
- package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
- package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
- package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
- package/dist/vue-ui-gauge-DLDULH26.js +934 -0
- package/dist/{vue-ui-geo-jR4P4pbt.js → vue-ui-geo-DXIHhp-G.js} +431 -429
- package/dist/{vue-ui-gizmo-D6W86s9o.js → vue-ui-gizmo-PuURiePo.js} +2 -2
- package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
- package/dist/{vue-ui-hill-fFq7pm-g.js → vue-ui-hill-DqsVJkmO.js} +472 -470
- package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-D3Sft4kp.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +513 -511
- package/dist/{vue-ui-kpi-fzLsKlyE.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
- package/dist/{vue-ui-label-BSgLalWD.js → vue-ui-label-ClMQ5Gez.js} +1 -1
- package/dist/{vue-ui-mini-loader-BL2odRfu.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
- package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
- package/dist/{vue-ui-mood-radar-bvGx6XgG.js → vue-ui-mood-radar-Dd1qfUiu.js} +378 -376
- package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
- package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
- package/dist/{vue-ui-parallel-coordinate-plot-B_QJ4N9o.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +409 -407
- package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
- package/dist/{vue-ui-quick-chart-BFscCR59.js → vue-ui-quick-chart-BZq517pL.js} +8 -6
- package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
- package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
- package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
- package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
- package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
- package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
- package/dist/{vue-ui-skeleton-zmbcOVEf.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
- package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
- package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
- package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
- package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
- package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
- package/dist/{vue-ui-sparkline-Dv7XrEzO.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
- package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
- package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
- package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
- package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
- package/dist/{vue-ui-table-heatmap-Dv_ZKKm3.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
- package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
- package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
- package/dist/{vue-ui-thermometer-DytlLJ32.js → vue-ui-thermometer-D0_KsB-y.js} +194 -192
- package/dist/{vue-ui-timer-CvHP4HoW.js → vue-ui-timer-1Z2zginj.js} +153 -153
- package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
- package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
- package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
- package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
- package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
- package/dist/{vue-ui-world-D0_2upjg.js → vue-ui-world-BOBHo7-L.js} +526 -524
- package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
- package/dist/{vue-ui-xy-D_5FfaH-.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
- package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
- package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +0 -1829
- package/dist/vue-ui-age-pyramid-B9MUVi75.js +0 -1241
- package/dist/vue-ui-annotator-CmlcWPIm.js +0 -2886
- package/dist/vue-ui-bullet-n8KNnDwh.js +0 -700
- package/dist/vue-ui-candlestick-Bxlvqk49.js +0 -1857
- package/dist/vue-ui-chestnut-ByDKbkG9.js +0 -2014
- package/dist/vue-ui-chord-DQRBgVOx.js +0 -1345
- package/dist/vue-ui-circle-pack-CBBc0HOe.js +0 -1633
- package/dist/vue-ui-donut-DfiocufT.js +0 -2413
- package/dist/vue-ui-donut-evolution-BoqO8By2.js +0 -1550
- package/dist/vue-ui-dumbbell-7M_oUQdi.js +0 -1529
- package/dist/vue-ui-flow-CoylrfnO.js +0 -1215
- package/dist/vue-ui-funnel-DaBYHWIC.js +0 -747
- package/dist/vue-ui-galaxy-BIebStQ3.js +0 -1083
- package/dist/vue-ui-gauge-CwdTmiRP.js +0 -932
- package/dist/vue-ui-heatmap-DXYlGwqR.js +0 -1553
- package/dist/vue-ui-history-plot-CgIELoD2.js +0 -1696
- package/dist/vue-ui-molecule-DeHWkkhy.js +0 -929
- package/dist/vue-ui-nested-donuts-CeAV2xPk.js +0 -1501
- package/dist/vue-ui-onion-B7oFulsQ.js +0 -1233
- package/dist/vue-ui-quadrant-DrKnz37q.js +0 -1965
- package/dist/vue-ui-radar-Bzx69q8f.js +0 -1372
- package/dist/vue-ui-rating-CimC9FQ9.js +0 -359
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +0 -903
- package/dist/vue-ui-ridgeline-CPEnM45x.js +0 -1621
- package/dist/vue-ui-rings-qPL5Iwji.js +0 -1250
- package/dist/vue-ui-scatter-BB0ClTsU.js +0 -2403
- package/dist/vue-ui-smiley-DzPkCMN-.js +0 -376
- package/dist/vue-ui-spark-trend-Ciq7-k_q.js +0 -457
- package/dist/vue-ui-sparkbar-D1M7-naP.js +0 -401
- package/dist/vue-ui-sparkgauge-rsqaeR_n.js +0 -268
- package/dist/vue-ui-sparkhistogram-C4WXt2Ni.js +0 -589
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +0 -738
- package/dist/vue-ui-stackbar-C_hMnOLb.js +0 -2353
- package/dist/vue-ui-stackline-BHGi63lD.js +0 -2467
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +0 -1738
- package/dist/vue-ui-table-BQna1wL6.js +0 -1352
- package/dist/vue-ui-table-sparkline-BCuimtk6.js +0 -738
- package/dist/vue-ui-tiremarks-BvjdZwgh.js +0 -538
- package/dist/vue-ui-treemap-C5OpqzSc.js +0 -1731
- package/dist/vue-ui-waffle-B7T_Zzan.js +0 -1619
- package/dist/vue-ui-wheel-D1B0k7IW.js +0 -871
- package/dist/vue-ui-word-cloud-C4pX6jop.js +0 -1708
- package/dist/vue-ui-xy-Ck41KYqF.js +0 -5281
- package/dist/vue-ui-xy-canvas-B_8Mu19r.js +0 -1824
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r, Lt as i, S as a, X as ee, Y as o, Zt as
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n 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 { t as
|
|
17
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, S as a, X as ee, Y as o, Zt as te, bt as ne, i as re, jt as ie, q as ae, t as oe, w as se, xt as ce } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as de } from "./useConfig-CIQZ6_r7.js";
|
|
5
|
+
import { t as fe } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as he } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ge } from "./useChartExport-iwOqiIWX.js";
|
|
9
|
+
import { t as _e } from "./img-DhGApYG0.js";
|
|
10
|
+
import { t as ve } from "./Shape-CIqU-p2F.js";
|
|
11
|
+
import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as be } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as xe } from "./BaseLegendToggle-CXQrLjd-.js";
|
|
14
|
+
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as we } from "./geoProjections-CEo3dVaL.js";
|
|
17
|
+
import { Fragment as s, Teleport as Te, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ee, createTextVNode as De, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as je, onMounted as Me, openBlock as v, ref as y, renderList as Ne, renderSlot as b, resolveDynamicComponent as Pe, toDisplayString as x, toRefs as Fe, unref as S, watch as Ie, withCtx as C, withModifiers as Le } from "vue";
|
|
18
18
|
//#region src/resources/worldGeo.js
|
|
19
|
-
var
|
|
19
|
+
var Re = 1e3, ze = [
|
|
20
20
|
"name",
|
|
21
21
|
"admin",
|
|
22
22
|
"iso_a3",
|
|
23
23
|
"iso_a3_eh"
|
|
24
|
-
],
|
|
24
|
+
], Be = ["Polygon", "MultiPolygon"], Ve = [
|
|
25
25
|
[
|
|
26
26
|
[
|
|
27
27
|
"Costa Rica",
|
|
@@ -1917,48 +1917,48 @@ var Pe = 1e3, Fe = [
|
|
|
1917
1917
|
["1h6v,-11ip;hx,-8r;q9,-3h;z,-5a;-7s,-cn;-16n,-1t;-p,et;44,bg;1v,5p"]
|
|
1918
1918
|
]
|
|
1919
1919
|
];
|
|
1920
|
-
function
|
|
1920
|
+
function He(e) {
|
|
1921
1921
|
let t = {};
|
|
1922
|
-
for (let n = 0; n <
|
|
1922
|
+
for (let n = 0; n < ze.length; n += 1) e[n] != null && (t[ze[n]] = e[n]);
|
|
1923
1923
|
return t;
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function Ue(e) {
|
|
1926
1926
|
let t = 0, n = 0;
|
|
1927
1927
|
return e ? e.split(";").map((e) => {
|
|
1928
1928
|
let r = e.indexOf(",");
|
|
1929
|
-
return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t /
|
|
1929
|
+
return t += parseInt(e.slice(0, r), 36), n += parseInt(e.slice(r + 1), 36), [t / Re, n / Re];
|
|
1930
1930
|
}) : [];
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1933
|
-
return e ? t.map((e) => e.map(
|
|
1932
|
+
function We(e, t) {
|
|
1933
|
+
return e ? t.map((e) => e.map(Ue)) : t.map(Ue);
|
|
1934
1934
|
}
|
|
1935
|
-
var
|
|
1935
|
+
var Ge = {
|
|
1936
1936
|
type: "FeatureCollection",
|
|
1937
|
-
features:
|
|
1937
|
+
features: Ve.map(([e, t, n]) => ({
|
|
1938
1938
|
type: "Feature",
|
|
1939
|
-
properties:
|
|
1939
|
+
properties: He(e),
|
|
1940
1940
|
geometry: {
|
|
1941
|
-
type:
|
|
1942
|
-
coordinates:
|
|
1941
|
+
type: Be[t],
|
|
1942
|
+
coordinates: We(t, n)
|
|
1943
1943
|
}
|
|
1944
1944
|
}))
|
|
1945
|
-
},
|
|
1945
|
+
}, Ke = /* @__PURE__ */ e({ default: () => dt }), qe = ["id"], Je = ["id"], Ye = ["viewBox", "xmlns"], Xe = [
|
|
1946
1946
|
"x",
|
|
1947
1947
|
"y",
|
|
1948
1948
|
"width",
|
|
1949
1949
|
"height"
|
|
1950
|
-
],
|
|
1950
|
+
], Ze = { key: 1 }, Qe = ["id"], $e = { key: 0 }, et = [
|
|
1951
1951
|
"cx",
|
|
1952
1952
|
"cy",
|
|
1953
1953
|
"r",
|
|
1954
1954
|
"fill"
|
|
1955
|
-
],
|
|
1955
|
+
], tt = [
|
|
1956
1956
|
"cx",
|
|
1957
1957
|
"cy",
|
|
1958
1958
|
"r",
|
|
1959
1959
|
"fill",
|
|
1960
1960
|
"filter"
|
|
1961
|
-
],
|
|
1961
|
+
], nt = [
|
|
1962
1962
|
"d",
|
|
1963
1963
|
"fill",
|
|
1964
1964
|
"stroke",
|
|
@@ -1966,22 +1966,22 @@ var Ve = {
|
|
|
1966
1966
|
"onMouseenter",
|
|
1967
1967
|
"onMouseleave",
|
|
1968
1968
|
"onClick"
|
|
1969
|
-
],
|
|
1969
|
+
], rt = { key: 0 }, it = [
|
|
1970
1970
|
"d",
|
|
1971
1971
|
"fill",
|
|
1972
1972
|
"stroke",
|
|
1973
1973
|
"stroke-width"
|
|
1974
|
-
],
|
|
1974
|
+
], at = [
|
|
1975
1975
|
"d",
|
|
1976
1976
|
"stroke",
|
|
1977
1977
|
"stroke-width"
|
|
1978
|
-
],
|
|
1978
|
+
], ot = {
|
|
1979
1979
|
key: 4,
|
|
1980
1980
|
class: "vue-data-ui-watermark"
|
|
1981
|
-
},
|
|
1981
|
+
}, st = ["id"], ct = ["onClick"], lt = { style: {
|
|
1982
1982
|
display: "flex",
|
|
1983
1983
|
"align-items": "center"
|
|
1984
|
-
} },
|
|
1984
|
+
} }, ut = .5, dt = /*#__PURE__*/ ye({
|
|
1985
1985
|
__name: "vue-ui-world",
|
|
1986
1986
|
props: {
|
|
1987
1987
|
config: {
|
|
@@ -2002,34 +2002,34 @@ var Ve = {
|
|
|
2002
2002
|
"selectLegend",
|
|
2003
2003
|
"copyAlt"
|
|
2004
2004
|
],
|
|
2005
|
-
setup(e, { expose:
|
|
2006
|
-
let
|
|
2005
|
+
setup(e, { expose: ye, emit: Re }) {
|
|
2006
|
+
let ze = m(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Be = m(() => import("./Legend-X4kF4PvW.js").then((e) => e.n)), Ve = m(() => import("./Tooltip-hhrkQ3Lk.js")), He = m(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Ue = m(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), We = m(() => import("./DataTable-oiM9uWrQ.js")), Ke = m(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), dt = m(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), ft = m(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), pt = m(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_world: mt } = de(), w = e, ht = Re, gt = c({
|
|
2007
2007
|
get() {
|
|
2008
|
-
return !!
|
|
2008
|
+
return !!R.value;
|
|
2009
2009
|
},
|
|
2010
2010
|
set(e) {
|
|
2011
2011
|
return e;
|
|
2012
2012
|
}
|
|
2013
|
-
}),
|
|
2014
|
-
|
|
2015
|
-
|
|
2013
|
+
}), _t = c(() => gt ? Object.values(R.value).some((e) => Object.hasOwn(e, "category")) : !1), T = y(null), vt = y(null), yt = y(null), bt = y(null), xt = y(null), St = y(0), Ct = y(0), wt = y(0), E = y(ae()), D = y(!1), Tt = y(""), Et = y(0), Dt = y(!1), O = y(null), Ot = y(null);
|
|
2014
|
+
Me(() => {
|
|
2015
|
+
Dt.value = !0;
|
|
2016
2016
|
});
|
|
2017
|
-
let
|
|
2018
|
-
function
|
|
2019
|
-
let e =
|
|
2020
|
-
userConfig:
|
|
2021
|
-
defaultConfig:
|
|
2017
|
+
let k = Ge, { projections: kt, getProjectedBounds: At, setupTerritories: jt, geoToPath: Mt } = we;
|
|
2018
|
+
function Nt() {
|
|
2019
|
+
let e = he({
|
|
2020
|
+
userConfig: w.config,
|
|
2021
|
+
defaultConfig: mt
|
|
2022
2022
|
});
|
|
2023
|
-
return
|
|
2023
|
+
return w.config && ne(w.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = a(w.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, w.config && ne(w.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = a(w.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = i[0], k = jt(e, k), e;
|
|
2024
2024
|
}
|
|
2025
|
-
let P =
|
|
2026
|
-
|
|
2027
|
-
config: () =>
|
|
2028
|
-
dataset: () =>
|
|
2025
|
+
let A = y(Nt()), j = c(() => A.value.userOptions), M = c(() => A.value.style.chart.tooltip), N = c(() => A.value.style.chart.globe), P = c(() => A.value.style.chart.territory), F = c(() => A.value.style.chart.legend), I = c(() => A.value.style.chart);
|
|
2026
|
+
le({
|
|
2027
|
+
config: () => A.value,
|
|
2028
|
+
dataset: () => w.dataset,
|
|
2029
2029
|
component: "VueUiWorld",
|
|
2030
|
-
rules: [
|
|
2030
|
+
rules: [ue.noHint]
|
|
2031
2031
|
});
|
|
2032
|
-
let
|
|
2032
|
+
let L = c(() => A.value.userOptions.useCursorPointer), Pt = c(() => te({
|
|
2033
2033
|
defaultConfig: {
|
|
2034
2034
|
userOptions: { show: !1 },
|
|
2035
2035
|
table: { show: !1 },
|
|
@@ -2045,30 +2045,30 @@ var Ve = {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
} }
|
|
2047
2047
|
},
|
|
2048
|
-
userConfig:
|
|
2049
|
-
})), { loading:
|
|
2050
|
-
...
|
|
2051
|
-
FINAL_CONFIG:
|
|
2052
|
-
prepareConfig:
|
|
2053
|
-
skeletonDataset:
|
|
2054
|
-
skeletonConfig:
|
|
2055
|
-
defaultConfig:
|
|
2056
|
-
userConfig:
|
|
2048
|
+
userConfig: A.value.skeletonConfig ?? {}
|
|
2049
|
+
})), { loading: Ft, FINAL_DATASET: R } = pe({
|
|
2050
|
+
...Fe(w),
|
|
2051
|
+
FINAL_CONFIG: A,
|
|
2052
|
+
prepareConfig: Nt,
|
|
2053
|
+
skeletonDataset: w.config?.skeletonDataset ?? [],
|
|
2054
|
+
skeletonConfig: te({
|
|
2055
|
+
defaultConfig: A.value,
|
|
2056
|
+
userConfig: Pt.value
|
|
2057
2057
|
})
|
|
2058
|
-
}), { userOptionsVisible:
|
|
2059
|
-
showTable:
|
|
2060
|
-
showTooltip:
|
|
2058
|
+
}), { userOptionsVisible: It, setUserOptionsVisibility: Lt, keepUserOptionState: Rt } = Se({ config: A.value }), { svgRef: zt } = Ce({ config: I.value.title }), z = y({
|
|
2059
|
+
showTable: A.value.table.show,
|
|
2060
|
+
showTooltip: M.value.show
|
|
2061
2061
|
});
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
}),
|
|
2065
|
-
|
|
2066
|
-
showTable:
|
|
2067
|
-
showTooltip:
|
|
2062
|
+
Ie(() => w.config, (e) => {
|
|
2063
|
+
A.value = Nt(), It.value = !A.value.userOptions.showOnChartHover, St.value += 1, wt.value += 1, Ct.value += 1, z.value.showTable = A.value.table.show, z.value.showTooltip = M.value.show;
|
|
2064
|
+
}), Ie(A, () => {
|
|
2065
|
+
z.value = {
|
|
2066
|
+
showTable: A.value.table.show,
|
|
2067
|
+
showTooltip: M.value.show
|
|
2068
2068
|
};
|
|
2069
2069
|
}, { immediate: !0 });
|
|
2070
|
-
let
|
|
2071
|
-
let { height: e, width: t } =
|
|
2070
|
+
let Bt = c(() => se(A.value.customPalette)), B = c(() => A.value.projection || "globe"), V = c(() => {
|
|
2071
|
+
let { height: e, width: t } = I.value.dimensions;
|
|
2072
2072
|
return {
|
|
2073
2073
|
aitoff: {
|
|
2074
2074
|
width: t || 1e3,
|
|
@@ -2122,9 +2122,9 @@ var Ve = {
|
|
|
2122
2122
|
width: t || 1e3,
|
|
2123
2123
|
height: e || 1e3
|
|
2124
2124
|
}
|
|
2125
|
-
}[
|
|
2126
|
-
}),
|
|
2127
|
-
let { minX: e, minY: t, width: n, height: r } =
|
|
2125
|
+
}[B.value];
|
|
2126
|
+
}), H = c(() => {
|
|
2127
|
+
let { minX: e, minY: t, width: n, height: r } = At(kt[B.value], k.features, V.value.width, V.value.height, J.value);
|
|
2128
2128
|
return {
|
|
2129
2129
|
str: `${e} ${t} ${n} ${r}`,
|
|
2130
2130
|
minX: e,
|
|
@@ -2132,205 +2132,205 @@ var Ve = {
|
|
|
2132
2132
|
width: n,
|
|
2133
2133
|
height: r
|
|
2134
2134
|
};
|
|
2135
|
-
}),
|
|
2136
|
-
function
|
|
2137
|
-
return typeof e == "number" ?
|
|
2135
|
+
}), Vt = c(() => Object.values(R.value).map((e) => e.value)), Ht = c(() => Math.min(...Vt.value)), Ut = c(() => Math.max(...Vt.value));
|
|
2136
|
+
function Wt(e) {
|
|
2137
|
+
return typeof e == "number" ? ce(P.value.colors.min || "#FFFFFF00", P.value.colors.max || Bt.value[0] || i[0], Ht.value, Ut.value, e) : P.value.emptyColor;
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2140
|
-
return
|
|
2141
|
-
projection:
|
|
2142
|
-
width:
|
|
2143
|
-
height:
|
|
2144
|
-
center:
|
|
2139
|
+
function Gt(e) {
|
|
2140
|
+
return Mt(e, {
|
|
2141
|
+
projection: B.value,
|
|
2142
|
+
width: V.value.width,
|
|
2143
|
+
height: V.value.height,
|
|
2144
|
+
center: J.value
|
|
2145
2145
|
});
|
|
2146
2146
|
}
|
|
2147
|
-
let
|
|
2148
|
-
let e = Object.values(
|
|
2147
|
+
let Kt = c(() => {
|
|
2148
|
+
let e = Object.values(R.value).filter((e) => !!e.category), t = {};
|
|
2149
2149
|
return e.forEach((e) => {
|
|
2150
2150
|
t[e.category] || (t[e.category] = e);
|
|
2151
2151
|
}), Object.values(t).map((e, t) => ({
|
|
2152
2152
|
name: e.category,
|
|
2153
|
-
color: e.color ? a(e.color) :
|
|
2153
|
+
color: e.color ? a(e.color) : Bt.value[t] || i[t] || i[t % i.length]
|
|
2154
2154
|
}));
|
|
2155
2155
|
});
|
|
2156
|
-
function
|
|
2157
|
-
let t =
|
|
2156
|
+
function qt(e) {
|
|
2157
|
+
let t = Kt.value.find((t) => t.name === e);
|
|
2158
2158
|
return t ? t.color : "#000000";
|
|
2159
2159
|
}
|
|
2160
|
-
let
|
|
2161
|
-
function
|
|
2162
|
-
return
|
|
2160
|
+
let Jt = /* @__PURE__ */ new Map();
|
|
2161
|
+
function Yt(e) {
|
|
2162
|
+
return Jt.has(e) || Jt.set(e, `territory-${ae()}`), Jt.get(e);
|
|
2163
2163
|
}
|
|
2164
|
-
let
|
|
2164
|
+
let U = c(() => (J.value, k.features.map((e) => {
|
|
2165
2165
|
let t = e.properties.iso_a3;
|
|
2166
2166
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2167
|
-
let n =
|
|
2167
|
+
let n = R.value[t];
|
|
2168
2168
|
return {
|
|
2169
|
-
path:
|
|
2169
|
+
path: Gt(e.geometry),
|
|
2170
2170
|
name: e.properties.name,
|
|
2171
2171
|
geo: e,
|
|
2172
2172
|
code: t,
|
|
2173
2173
|
geometry: e.geometry,
|
|
2174
|
-
color: n && n.color ? a(n.color) : n && n.category ?
|
|
2174
|
+
color: n && n.color ? a(n.color) : n && n.category ? qt(n.category) : Wt(n ? n.value : null),
|
|
2175
2175
|
value: n ? n.value : null,
|
|
2176
2176
|
category: n && n.category || null,
|
|
2177
2177
|
isActive: !!n,
|
|
2178
|
-
uid:
|
|
2178
|
+
uid: Yt(t)
|
|
2179
2179
|
};
|
|
2180
|
-
}))),
|
|
2181
|
-
function
|
|
2182
|
-
|
|
2180
|
+
}))), W = y(!1);
|
|
2181
|
+
function Xt(e) {
|
|
2182
|
+
W.value = e, Et.value += 1;
|
|
2183
2183
|
}
|
|
2184
|
-
let
|
|
2185
|
-
function
|
|
2186
|
-
|
|
2184
|
+
let G = y(!1);
|
|
2185
|
+
function Zt() {
|
|
2186
|
+
G.value = !G.value;
|
|
2187
2187
|
}
|
|
2188
|
-
function
|
|
2189
|
-
|
|
2188
|
+
function Qt() {
|
|
2189
|
+
z.value.showTable = !z.value.showTable;
|
|
2190
2190
|
}
|
|
2191
|
-
function
|
|
2192
|
-
|
|
2191
|
+
function $t() {
|
|
2192
|
+
z.value.showTooltip = !z.value.showTooltip;
|
|
2193
2193
|
}
|
|
2194
|
-
let
|
|
2195
|
-
elementId: `world_${
|
|
2196
|
-
fileName:
|
|
2197
|
-
options:
|
|
2198
|
-
}),
|
|
2199
|
-
function
|
|
2194
|
+
let en = c(() => A.value.userOptions.show && !I.value.title.text), { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = fe({
|
|
2195
|
+
elementId: `world_${E.value}`,
|
|
2196
|
+
fileName: I.value.title.text || "vue-ui-world",
|
|
2197
|
+
options: A.value.userOptions.print
|
|
2198
|
+
}), K = y(!1), on = y(null), q = y(null), sn = c(() => q.value ? Gt(q.value.geometry) : "");
|
|
2199
|
+
function cn(e) {
|
|
2200
2200
|
return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
|
|
2201
2201
|
}
|
|
2202
|
-
let
|
|
2203
|
-
let e =
|
|
2202
|
+
let ln = c(() => {
|
|
2203
|
+
let e = q.value?.geometry;
|
|
2204
2204
|
if (!e) return "";
|
|
2205
|
-
let t =
|
|
2205
|
+
let t = cn(e);
|
|
2206
2206
|
if (!t.length) return "";
|
|
2207
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i =
|
|
2208
|
-
function
|
|
2209
|
-
return [(e -
|
|
2207
|
+
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = kt[B.value] || kt.globe, a = V.value.width, ee = V.value.height, o = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), te = o.flat(), ne = te.map(([e, t]) => e), re = te.map(([e, t]) => t), ie = Math.min(...ne), ae = Math.max(...ne), oe = Math.min(...re), se = Math.max(...re), ce = ae - ie || 1, le = se - oe || 1, ue = Math.min(64 / ce, 64 / le);
|
|
2208
|
+
function de([e, t]) {
|
|
2209
|
+
return [(e - ie) * ue + 8, (t - oe) * ue + 8];
|
|
2210
2210
|
}
|
|
2211
2211
|
return `
|
|
2212
2212
|
<svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
|
|
2213
2213
|
<rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
|
|
2214
|
-
<path d="${o.map((e) => "M" + e.map(
|
|
2214
|
+
<path d="${o.map((e) => "M" + e.map(de).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || P.value.emptyColor}" stroke="${P.value.stroke}" stroke-width="1"/>
|
|
2215
2215
|
</svg>
|
|
2216
2216
|
`;
|
|
2217
2217
|
});
|
|
2218
|
-
function
|
|
2219
|
-
|
|
2218
|
+
function un({ datapoint: e, seriesIndex: t }) {
|
|
2219
|
+
D.value = !1, q.value = null, A.value.events.datapointLeave && A.value.events.datapointLeave({
|
|
2220
2220
|
datapoint: e,
|
|
2221
2221
|
seriesIndex: t
|
|
2222
2222
|
});
|
|
2223
2223
|
}
|
|
2224
|
-
function
|
|
2225
|
-
|
|
2224
|
+
function dn({ datapoint: e, seriesIndex: t }) {
|
|
2225
|
+
ht("selectDatapoint", e), A.value.events.datapointClick && A.value.events.datapointClick({
|
|
2226
2226
|
datapoint: e,
|
|
2227
2227
|
seriesIndex: t
|
|
2228
2228
|
});
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2231
|
-
|
|
2230
|
+
function fn({ datapoint: e, seriesIndex: t }) {
|
|
2231
|
+
A.value.events.datapointEnter && A.value.events.datapointEnter({
|
|
2232
2232
|
datapoint: e,
|
|
2233
2233
|
seriesIndex: t
|
|
2234
|
-
}),
|
|
2234
|
+
}), q.value = e, on.value = {
|
|
2235
2235
|
datapoint: e,
|
|
2236
|
-
config:
|
|
2237
|
-
series:
|
|
2238
|
-
},
|
|
2239
|
-
let r = "", i =
|
|
2240
|
-
if (
|
|
2236
|
+
config: A.value,
|
|
2237
|
+
series: U.value
|
|
2238
|
+
}, D.value = !0;
|
|
2239
|
+
let r = "", i = M.value.customFormat;
|
|
2240
|
+
if (K.value = !1, n(i)) try {
|
|
2241
2241
|
let t = i({
|
|
2242
2242
|
datapoint: e,
|
|
2243
|
-
config:
|
|
2244
|
-
series:
|
|
2243
|
+
config: A.value,
|
|
2244
|
+
series: U.value
|
|
2245
2245
|
});
|
|
2246
|
-
typeof t == "string" && (
|
|
2246
|
+
typeof t == "string" && (Tt.value = t, K.value = !0);
|
|
2247
2247
|
} catch {
|
|
2248
|
-
console.warn("Custom format cannot be applied."),
|
|
2248
|
+
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
2249
2249
|
}
|
|
2250
|
-
|
|
2250
|
+
K.value || (r += `
|
|
2251
2251
|
<div style="width:100%;">
|
|
2252
|
-
${
|
|
2252
|
+
${M.value.showMinimap ? `<div class="vue-ui-world-minimap">${ln.value}</div>` : ""}
|
|
2253
2253
|
<div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
|
|
2254
2254
|
<svg viewBox="0 0 20 20" height="14" width="14">
|
|
2255
2255
|
<circle cx="10" cy="10" r="10" fill="${e.color}"/>
|
|
2256
2256
|
</svg>
|
|
2257
2257
|
<span>${e.name}:</span>
|
|
2258
2258
|
<b>
|
|
2259
|
-
${
|
|
2260
|
-
p:
|
|
2259
|
+
${re(I.value.dataLabels.formatter, e.value, ee({
|
|
2260
|
+
p: I.value.dataLabels.prefix,
|
|
2261
2261
|
v: e.value,
|
|
2262
|
-
s:
|
|
2263
|
-
r:
|
|
2262
|
+
s: I.value.dataLabels.suffix,
|
|
2263
|
+
r: I.value.dataLabels.rounding
|
|
2264
2264
|
}))}
|
|
2265
2265
|
</b>
|
|
2266
2266
|
</div>
|
|
2267
2267
|
</div>
|
|
2268
|
-
`,
|
|
2268
|
+
`, Tt.value = `<div>${r}</div>`);
|
|
2269
2269
|
}
|
|
2270
|
-
let
|
|
2270
|
+
let pn = y(!1), mn = y({
|
|
2271
2271
|
x: 0,
|
|
2272
2272
|
y: 0
|
|
2273
|
-
}),
|
|
2274
|
-
function
|
|
2273
|
+
}), J = y([N.value.center.x, N.value.center.y]), hn = [0, 0], Y = null, X = null;
|
|
2274
|
+
function gn(e) {
|
|
2275
2275
|
return Math.max(-90, Math.min(90, e));
|
|
2276
2276
|
}
|
|
2277
|
-
function
|
|
2277
|
+
function _n(e) {
|
|
2278
2278
|
return ((e + 180) % 360 + 360) % 360 - 180;
|
|
2279
2279
|
}
|
|
2280
|
-
function
|
|
2281
|
-
|
|
2280
|
+
function vn() {
|
|
2281
|
+
Y &&= (J.value = Y, null);
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2284
|
-
if (
|
|
2285
|
-
|
|
2283
|
+
function yn(e) {
|
|
2284
|
+
if (Y = e, typeof requestAnimationFrame > "u") {
|
|
2285
|
+
vn();
|
|
2286
2286
|
return;
|
|
2287
2287
|
}
|
|
2288
|
-
|
|
2289
|
-
|
|
2288
|
+
X === null && (X = requestAnimationFrame(() => {
|
|
2289
|
+
X = null, vn();
|
|
2290
2290
|
}));
|
|
2291
2291
|
}
|
|
2292
|
-
|
|
2293
|
-
|
|
2292
|
+
Ie(() => [N.value.center.x, N.value.center.y], ([e, t]) => {
|
|
2293
|
+
J.value = [e, t], Y = null;
|
|
2294
2294
|
});
|
|
2295
|
-
function
|
|
2296
|
-
|
|
2295
|
+
function bn(e, t) {
|
|
2296
|
+
pn.value = !0, mn.value = {
|
|
2297
2297
|
x: e,
|
|
2298
2298
|
y: t
|
|
2299
|
-
},
|
|
2299
|
+
}, hn = Y || [J.value[0], J.value[1]];
|
|
2300
2300
|
}
|
|
2301
|
-
function
|
|
2302
|
-
if (!
|
|
2303
|
-
let n = e -
|
|
2304
|
-
|
|
2301
|
+
function xn(e, t) {
|
|
2302
|
+
if (!pn.value || B.value !== "globe" || G.value) return;
|
|
2303
|
+
let n = e - mn.value.x, r = t - mn.value.y;
|
|
2304
|
+
yn([_n(hn[0] - n * ut), gn(hn[1] + r * ut)]);
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2307
|
-
|
|
2306
|
+
function Sn() {
|
|
2307
|
+
pn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), vn();
|
|
2308
2308
|
}
|
|
2309
|
-
function
|
|
2310
|
-
|
|
2309
|
+
function Cn(e) {
|
|
2310
|
+
bn(e.clientX, e.clientY);
|
|
2311
2311
|
}
|
|
2312
|
-
function
|
|
2313
|
-
|
|
2312
|
+
function wn(e) {
|
|
2313
|
+
xn(e.clientX, e.clientY);
|
|
2314
2314
|
}
|
|
2315
|
-
function
|
|
2316
|
-
|
|
2315
|
+
function Tn() {
|
|
2316
|
+
Sn();
|
|
2317
2317
|
}
|
|
2318
|
-
function
|
|
2318
|
+
function En(e) {
|
|
2319
2319
|
let t = e.touches[0];
|
|
2320
|
-
|
|
2320
|
+
bn(t.clientX, t.clientY);
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2322
|
+
function Dn(e) {
|
|
2323
2323
|
let t = e.touches[0];
|
|
2324
|
-
|
|
2324
|
+
xn(t.clientX, t.clientY);
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2327
|
-
|
|
2326
|
+
function On() {
|
|
2327
|
+
Sn();
|
|
2328
2328
|
}
|
|
2329
|
-
|
|
2330
|
-
|
|
2329
|
+
je(() => {
|
|
2330
|
+
X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
|
|
2331
2331
|
});
|
|
2332
|
-
let
|
|
2333
|
-
let e =
|
|
2332
|
+
let kn = c(() => {
|
|
2333
|
+
let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2334
2334
|
return {
|
|
2335
2335
|
head: e.map((e) => ({
|
|
2336
2336
|
name: e.name,
|
|
@@ -2339,65 +2339,65 @@ var Ve = {
|
|
|
2339
2339
|
})),
|
|
2340
2340
|
body: e.map((e) => e.value || 0)
|
|
2341
2341
|
};
|
|
2342
|
-
}),
|
|
2342
|
+
}), An = c(() => {
|
|
2343
2343
|
let e = [
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
], t =
|
|
2344
|
+
A.value.table.columnNames.series,
|
|
2345
|
+
A.value.table.columnNames.value,
|
|
2346
|
+
A.value.table.columnNames.category
|
|
2347
|
+
], t = kn.value.head.map((e, t) => [
|
|
2348
2348
|
{
|
|
2349
2349
|
color: e.color,
|
|
2350
2350
|
name: e.name
|
|
2351
2351
|
},
|
|
2352
|
-
|
|
2352
|
+
kn.value.body[t] || 0,
|
|
2353
2353
|
{ category: e.category }
|
|
2354
2354
|
]), n = {
|
|
2355
2355
|
th: {
|
|
2356
|
-
backgroundColor:
|
|
2357
|
-
color:
|
|
2358
|
-
outline:
|
|
2356
|
+
backgroundColor: A.value.table.th.backgroundColor,
|
|
2357
|
+
color: A.value.table.th.color,
|
|
2358
|
+
outline: A.value.table.th.outline
|
|
2359
2359
|
},
|
|
2360
2360
|
td: {
|
|
2361
|
-
backgroundColor:
|
|
2362
|
-
color:
|
|
2363
|
-
outline:
|
|
2361
|
+
backgroundColor: A.value.table.td.backgroundColor,
|
|
2362
|
+
color: A.value.table.td.color,
|
|
2363
|
+
outline: A.value.table.td.outline
|
|
2364
2364
|
},
|
|
2365
|
-
breakpoint:
|
|
2365
|
+
breakpoint: A.value.table.responsiveBreakpoint
|
|
2366
2366
|
};
|
|
2367
2367
|
return {
|
|
2368
|
-
colNames: [
|
|
2368
|
+
colNames: [A.value.table.columnNames.series, A.value.table.columnNames.value],
|
|
2369
2369
|
head: e,
|
|
2370
2370
|
body: t,
|
|
2371
2371
|
config: n
|
|
2372
2372
|
};
|
|
2373
2373
|
});
|
|
2374
|
-
function
|
|
2375
|
-
|
|
2376
|
-
let n =
|
|
2377
|
-
[
|
|
2378
|
-
[
|
|
2374
|
+
function jn(e = null) {
|
|
2375
|
+
ke(() => {
|
|
2376
|
+
let n = kn.value.head.map((e, t) => [[e.name], [kn.value.body[t]]]), i = [
|
|
2377
|
+
[I.value.title.text],
|
|
2378
|
+
[I.value.title.subtitle.text],
|
|
2379
2379
|
[[
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2380
|
+
A.value.table.columnNames.series,
|
|
2381
|
+
A.value.table.columnNames.value,
|
|
2382
|
+
A.value.table.columnNames.category
|
|
2383
2383
|
]]
|
|
2384
2384
|
].concat(n), a = r(i);
|
|
2385
2385
|
e ? e(a) : t({
|
|
2386
2386
|
csvContent: a,
|
|
2387
|
-
title:
|
|
2387
|
+
title: I.value.title.text || "vue-ui-world"
|
|
2388
2388
|
});
|
|
2389
2389
|
});
|
|
2390
2390
|
}
|
|
2391
|
-
let Z =
|
|
2392
|
-
function
|
|
2391
|
+
let Z = y([]);
|
|
2392
|
+
function Mn() {
|
|
2393
2393
|
Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
|
|
2394
2394
|
Z.value.push(e.name);
|
|
2395
2395
|
});
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2398
|
-
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e),
|
|
2397
|
+
function Nn(e) {
|
|
2398
|
+
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), ht("selectLegend", { name: e });
|
|
2399
2399
|
}
|
|
2400
|
-
let Q =
|
|
2400
|
+
let Q = c(() => _t ? Kt.value.map(({ name: e, color: t }, n) => ({
|
|
2401
2401
|
name: e,
|
|
2402
2402
|
color: t,
|
|
2403
2403
|
shape: "circle",
|
|
@@ -2405,23 +2405,23 @@ var Ve = {
|
|
|
2405
2405
|
})).map((e) => ({
|
|
2406
2406
|
...e,
|
|
2407
2407
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2408
|
-
segregate: () =>
|
|
2408
|
+
segregate: () => Nn(e.name),
|
|
2409
2409
|
isSegregated: Z.value.includes(e.name)
|
|
2410
|
-
})) : []),
|
|
2410
|
+
})) : []), Pn = c(() => ({
|
|
2411
2411
|
cy: "donut-div-legend",
|
|
2412
|
-
backgroundColor:
|
|
2413
|
-
color:
|
|
2414
|
-
fontSize:
|
|
2412
|
+
backgroundColor: F.value.backgroundColor,
|
|
2413
|
+
color: F.value.color,
|
|
2414
|
+
fontSize: F.value.fontSize,
|
|
2415
2415
|
paddingBottom: 12,
|
|
2416
|
-
fontWeight:
|
|
2416
|
+
fontWeight: F.value.bold ? "bold" : ""
|
|
2417
2417
|
}));
|
|
2418
|
-
function
|
|
2419
|
-
return
|
|
2418
|
+
function Fn() {
|
|
2419
|
+
return U.value;
|
|
2420
2420
|
}
|
|
2421
|
-
async function
|
|
2422
|
-
if (!
|
|
2423
|
-
let { width: t, height: n } =
|
|
2424
|
-
domElement:
|
|
2421
|
+
async function In({ scale: e = 2 } = {}) {
|
|
2422
|
+
if (!T.value) return;
|
|
2423
|
+
let { width: t, height: n } = T.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await _e({
|
|
2424
|
+
domElement: T.value,
|
|
2425
2425
|
base64: !0,
|
|
2426
2426
|
img: !0,
|
|
2427
2427
|
scale: e
|
|
@@ -2429,185 +2429,187 @@ var Ve = {
|
|
|
2429
2429
|
return {
|
|
2430
2430
|
imageUri: i,
|
|
2431
2431
|
base64: a,
|
|
2432
|
-
title:
|
|
2432
|
+
title: I.value.title.text,
|
|
2433
2433
|
width: t,
|
|
2434
2434
|
height: n,
|
|
2435
2435
|
aspectRatio: r
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
|
-
let $ =
|
|
2439
|
-
let e =
|
|
2438
|
+
let $ = c(() => {
|
|
2439
|
+
let e = A.value.table.useDialog && !A.value.table.show, t = z.value.showTable;
|
|
2440
2440
|
return {
|
|
2441
|
-
component: e ?
|
|
2442
|
-
title: `${
|
|
2441
|
+
component: e ? pt : Ue,
|
|
2442
|
+
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
2443
2443
|
props: e ? {
|
|
2444
|
-
backgroundColor:
|
|
2445
|
-
color:
|
|
2446
|
-
headerColor:
|
|
2447
|
-
headerBg:
|
|
2448
|
-
isFullscreen:
|
|
2449
|
-
fullscreenParent:
|
|
2444
|
+
backgroundColor: A.value.table.th.backgroundColor,
|
|
2445
|
+
color: A.value.table.th.color,
|
|
2446
|
+
headerColor: A.value.table.th.color,
|
|
2447
|
+
headerBg: A.value.table.th.backgroundColor,
|
|
2448
|
+
isFullscreen: W.value,
|
|
2449
|
+
fullscreenParent: T.value,
|
|
2450
2450
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
2451
|
-
isCursorPointer:
|
|
2451
|
+
isCursorPointer: L.value
|
|
2452
2452
|
} : {
|
|
2453
2453
|
hideDetails: !0,
|
|
2454
2454
|
config: {
|
|
2455
2455
|
open: t,
|
|
2456
2456
|
maxHeight: 1e4,
|
|
2457
2457
|
body: {
|
|
2458
|
-
backgroundColor:
|
|
2459
|
-
color:
|
|
2458
|
+
backgroundColor: I.value.backgroundColor,
|
|
2459
|
+
color: I.value.color
|
|
2460
2460
|
},
|
|
2461
2461
|
head: {
|
|
2462
|
-
backgroundColor:
|
|
2463
|
-
color:
|
|
2462
|
+
backgroundColor: I.value.backgroundColor,
|
|
2463
|
+
color: I.value.color
|
|
2464
2464
|
}
|
|
2465
2465
|
}
|
|
2466
2466
|
}
|
|
2467
2467
|
};
|
|
2468
2468
|
});
|
|
2469
|
-
|
|
2470
|
-
|
|
2469
|
+
Ie(() => z.value.showTable, (e) => {
|
|
2470
|
+
A.value.table.show || (e && A.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
2471
2471
|
});
|
|
2472
|
-
function
|
|
2473
|
-
|
|
2472
|
+
function Ln() {
|
|
2473
|
+
z.value.showTable = !1, Ot.value && Ot.value.setTableIconState(!1);
|
|
2474
2474
|
}
|
|
2475
|
-
let
|
|
2476
|
-
svg:
|
|
2477
|
-
title:
|
|
2478
|
-
legend:
|
|
2475
|
+
let Rn = c(() => I.value.backgroundColor), zn = c(() => I.value.title), { isCallbackImaging: Bn, isCallbackSvg: Vn, generateSvg: Hn, onGenerateImage: Un } = ge({
|
|
2476
|
+
svg: zt,
|
|
2477
|
+
title: zn,
|
|
2478
|
+
legend: F,
|
|
2479
2479
|
legendItems: Q,
|
|
2480
|
-
backgroundColor:
|
|
2481
|
-
getSvgCallback: () =>
|
|
2482
|
-
generateImage:
|
|
2480
|
+
backgroundColor: Rn,
|
|
2481
|
+
getSvgCallback: () => A.value.userOptions.callbacks.svg,
|
|
2482
|
+
generateImage: an
|
|
2483
2483
|
});
|
|
2484
|
-
async function
|
|
2485
|
-
if (
|
|
2486
|
-
config:
|
|
2487
|
-
dataset:
|
|
2488
|
-
}), !
|
|
2484
|
+
async function Wn() {
|
|
2485
|
+
if (ht("copyAlt", {
|
|
2486
|
+
config: A.value,
|
|
2487
|
+
dataset: U.value
|
|
2488
|
+
}), !A.value.userOptions.callbacks.altCopy) {
|
|
2489
2489
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
2490
2490
|
return;
|
|
2491
2491
|
}
|
|
2492
|
-
await Promise.resolve(
|
|
2493
|
-
config:
|
|
2494
|
-
dataset:
|
|
2492
|
+
await Promise.resolve(A.value.userOptions.callbacks.altCopy({
|
|
2493
|
+
config: A.value,
|
|
2494
|
+
dataset: U.value
|
|
2495
2495
|
}));
|
|
2496
2496
|
}
|
|
2497
|
-
return
|
|
2498
|
-
getData:
|
|
2499
|
-
getImage:
|
|
2500
|
-
generatePdf:
|
|
2501
|
-
generateCsv:
|
|
2502
|
-
generateImage:
|
|
2503
|
-
generateSvg:
|
|
2504
|
-
toggleTable:
|
|
2505
|
-
toggleTooltip:
|
|
2506
|
-
toggleAnnotator:
|
|
2507
|
-
toggleFullscreen:
|
|
2508
|
-
copyAlt:
|
|
2509
|
-
}), (e, t) => (
|
|
2497
|
+
return ye({
|
|
2498
|
+
getData: Fn,
|
|
2499
|
+
getImage: In,
|
|
2500
|
+
generatePdf: rn,
|
|
2501
|
+
generateCsv: jn,
|
|
2502
|
+
generateImage: an,
|
|
2503
|
+
generateSvg: Hn,
|
|
2504
|
+
toggleTable: Qt,
|
|
2505
|
+
toggleTooltip: $t,
|
|
2506
|
+
toggleAnnotator: Zt,
|
|
2507
|
+
toggleFullscreen: Xt,
|
|
2508
|
+
copyAlt: Wn
|
|
2509
|
+
}), (e, t) => (v(), d("div", {
|
|
2510
2510
|
ref_key: "worldChart",
|
|
2511
|
-
ref:
|
|
2512
|
-
id: `world_${
|
|
2513
|
-
class:
|
|
2514
|
-
style:
|
|
2515
|
-
onMouseenter: t[2] ||= () =>
|
|
2516
|
-
onMouseleave: t[3] ||= () =>
|
|
2511
|
+
ref: T,
|
|
2512
|
+
id: `world_${E.value}`,
|
|
2513
|
+
class: Ae(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
2514
|
+
style: _(`font-family:${A.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor}`),
|
|
2515
|
+
onMouseenter: t[2] ||= () => S(Lt)(!0),
|
|
2516
|
+
onMouseleave: t[3] ||= () => S(Lt)(!1)
|
|
2517
2517
|
}, [
|
|
2518
|
-
|
|
2518
|
+
j.value.buttons.annotator && S(zt) ? (v(), l(S(Ke), {
|
|
2519
2519
|
key: 0,
|
|
2520
|
-
color:
|
|
2521
|
-
backgroundColor:
|
|
2522
|
-
active:
|
|
2523
|
-
svgRef:
|
|
2524
|
-
isCursorPointer:
|
|
2525
|
-
|
|
2520
|
+
color: I.value.color,
|
|
2521
|
+
backgroundColor: I.value.backgroundColor,
|
|
2522
|
+
active: G.value,
|
|
2523
|
+
svgRef: S(zt),
|
|
2524
|
+
isCursorPointer: L.value,
|
|
2525
|
+
palette: j.value.annotatorPalette,
|
|
2526
|
+
onClose: Zt
|
|
2526
2527
|
}, {
|
|
2527
|
-
"annotator-action-close":
|
|
2528
|
-
"annotator-action-color":
|
|
2529
|
-
"annotator-action-draw":
|
|
2530
|
-
"annotator-action-undo":
|
|
2531
|
-
"annotator-action-redo":
|
|
2532
|
-
"annotator-action-delete":
|
|
2528
|
+
"annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
2529
|
+
"annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
|
|
2530
|
+
"annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
|
|
2531
|
+
"annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
|
|
2532
|
+
"annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
|
|
2533
|
+
"annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
|
|
2533
2534
|
_: 3
|
|
2534
2535
|
}, 8, [
|
|
2535
2536
|
"color",
|
|
2536
2537
|
"backgroundColor",
|
|
2537
2538
|
"active",
|
|
2538
2539
|
"svgRef",
|
|
2539
|
-
"isCursorPointer"
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2540
|
+
"isCursorPointer",
|
|
2541
|
+
"palette"
|
|
2542
|
+
])) : u("", !0),
|
|
2543
|
+
b(e.$slots, "userConfig", {}, void 0, !0),
|
|
2544
|
+
en.value ? (v(), d("div", {
|
|
2543
2545
|
key: 1,
|
|
2544
2546
|
ref_key: "noTitle",
|
|
2545
|
-
ref:
|
|
2547
|
+
ref: xt,
|
|
2546
2548
|
class: "vue-data-ui-no-title-space",
|
|
2547
2549
|
style: "height:36px; width: 100%;background:transparent"
|
|
2548
|
-
}, null, 512)) :
|
|
2549
|
-
|
|
2550
|
+
}, null, 512)) : u("", !0),
|
|
2551
|
+
I.value.title.text ? (v(), d("div", {
|
|
2550
2552
|
key: 2,
|
|
2551
2553
|
ref_key: "chartTitle",
|
|
2552
|
-
ref:
|
|
2554
|
+
ref: vt,
|
|
2553
2555
|
style: "width:100%;background:transparent"
|
|
2554
|
-
}, [(
|
|
2555
|
-
key: `title_${
|
|
2556
|
+
}, [(v(), l(S(ze), {
|
|
2557
|
+
key: `title_${St.value}`,
|
|
2556
2558
|
config: {
|
|
2557
2559
|
title: {
|
|
2558
2560
|
cy: "donut-div-title",
|
|
2559
|
-
...
|
|
2561
|
+
...I.value.title
|
|
2560
2562
|
},
|
|
2561
2563
|
subtitle: {
|
|
2562
2564
|
cy: "donut-div-subtitle",
|
|
2563
|
-
...
|
|
2565
|
+
...I.value.title.subtitle
|
|
2564
2566
|
}
|
|
2565
2567
|
}
|
|
2566
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2567
|
-
|
|
2568
|
-
|
|
2568
|
+
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
2569
|
+
f("div", { id: `legend-top-${E.value}` }, null, 8, Je),
|
|
2570
|
+
j.value.show && gt.value && (S(Rt) || S(It)) ? (v(), l(S(dt), {
|
|
2569
2571
|
ref_key: "userOptionsRef",
|
|
2570
|
-
ref:
|
|
2571
|
-
key: `user_option_${
|
|
2572
|
-
backgroundColor:
|
|
2573
|
-
color:
|
|
2574
|
-
isPrinting:
|
|
2575
|
-
isImaging:
|
|
2576
|
-
uid:
|
|
2577
|
-
callbacks:
|
|
2578
|
-
hasTooltip:
|
|
2579
|
-
hasPdf:
|
|
2580
|
-
hasImg:
|
|
2581
|
-
hasSvg:
|
|
2582
|
-
hasXls:
|
|
2583
|
-
hasTable:
|
|
2572
|
+
ref: Ot,
|
|
2573
|
+
key: `user_option_${Et.value}`,
|
|
2574
|
+
backgroundColor: I.value.backgroundColor,
|
|
2575
|
+
color: I.value.color,
|
|
2576
|
+
isPrinting: S(tn),
|
|
2577
|
+
isImaging: S(nn),
|
|
2578
|
+
uid: E.value,
|
|
2579
|
+
callbacks: j.value.callbacks,
|
|
2580
|
+
hasTooltip: M.value.show && j.value.buttons.tooltip,
|
|
2581
|
+
hasPdf: j.value.buttons.pdf,
|
|
2582
|
+
hasImg: j.value.buttons.img,
|
|
2583
|
+
hasSvg: j.value.buttons.svg,
|
|
2584
|
+
hasXls: j.value.buttons.csv,
|
|
2585
|
+
hasTable: j.value.buttons.table,
|
|
2584
2586
|
hasLabel: !1,
|
|
2585
|
-
hasFullscreen:
|
|
2586
|
-
hasAltCopy:
|
|
2587
|
-
isFullscreen:
|
|
2588
|
-
chartElement:
|
|
2589
|
-
position:
|
|
2590
|
-
printScale:
|
|
2591
|
-
isTooltip:
|
|
2592
|
-
titles: { ...
|
|
2593
|
-
hasAnnotator:
|
|
2594
|
-
isAnnotation:
|
|
2595
|
-
tableDialog:
|
|
2596
|
-
isCursorPointer:
|
|
2597
|
-
onToggleFullscreen:
|
|
2598
|
-
onGeneratePdf:
|
|
2599
|
-
onGenerateCsv:
|
|
2600
|
-
onGenerateImage:
|
|
2601
|
-
onGenerateSvg:
|
|
2602
|
-
onToggleTable:
|
|
2603
|
-
onToggleTooltip:
|
|
2604
|
-
onToggleAnnotator:
|
|
2605
|
-
onCopyAlt:
|
|
2606
|
-
style:
|
|
2607
|
-
},
|
|
2587
|
+
hasFullscreen: j.value.buttons.fullscreen,
|
|
2588
|
+
hasAltCopy: j.value.buttons.altCopy,
|
|
2589
|
+
isFullscreen: W.value,
|
|
2590
|
+
chartElement: T.value,
|
|
2591
|
+
position: j.value.position,
|
|
2592
|
+
printScale: j.value.print.scale,
|
|
2593
|
+
isTooltip: z.value.showTooltip,
|
|
2594
|
+
titles: { ...j.value.buttonTitles },
|
|
2595
|
+
hasAnnotator: j.value.buttons.annotator,
|
|
2596
|
+
isAnnotation: G.value,
|
|
2597
|
+
tableDialog: A.value.table.useDialog,
|
|
2598
|
+
isCursorPointer: L.value,
|
|
2599
|
+
onToggleFullscreen: Xt,
|
|
2600
|
+
onGeneratePdf: S(rn),
|
|
2601
|
+
onGenerateCsv: jn,
|
|
2602
|
+
onGenerateImage: S(Un),
|
|
2603
|
+
onGenerateSvg: S(Hn),
|
|
2604
|
+
onToggleTable: Qt,
|
|
2605
|
+
onToggleTooltip: $t,
|
|
2606
|
+
onToggleAnnotator: Zt,
|
|
2607
|
+
onCopyAlt: Wn,
|
|
2608
|
+
style: _({ visibility: S(Rt) ? S(It) ? "visible" : "hidden" : "visible" })
|
|
2609
|
+
}, Ee({ _: 2 }, [
|
|
2608
2610
|
e.$slots.menuIcon ? {
|
|
2609
2611
|
name: "menuIcon",
|
|
2610
|
-
fn:
|
|
2612
|
+
fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
|
|
2611
2613
|
isOpen: t,
|
|
2612
2614
|
color: n
|
|
2613
2615
|
})), void 0, !0)]),
|
|
@@ -2615,37 +2617,37 @@ var Ve = {
|
|
|
2615
2617
|
} : void 0,
|
|
2616
2618
|
e.$slots.optionTooltip ? {
|
|
2617
2619
|
name: "optionTooltip",
|
|
2618
|
-
fn:
|
|
2620
|
+
fn: C(() => [b(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
2619
2621
|
key: "1"
|
|
2620
2622
|
} : void 0,
|
|
2621
2623
|
e.$slots.optionPdf ? {
|
|
2622
2624
|
name: "optionPdf",
|
|
2623
|
-
fn:
|
|
2625
|
+
fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
2624
2626
|
key: "2"
|
|
2625
2627
|
} : void 0,
|
|
2626
2628
|
e.$slots.optionCsv ? {
|
|
2627
2629
|
name: "optionCsv",
|
|
2628
|
-
fn:
|
|
2630
|
+
fn: C(() => [b(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
2629
2631
|
key: "3"
|
|
2630
2632
|
} : void 0,
|
|
2631
2633
|
e.$slots.optionImg ? {
|
|
2632
2634
|
name: "optionImg",
|
|
2633
|
-
fn:
|
|
2635
|
+
fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
2634
2636
|
key: "4"
|
|
2635
2637
|
} : void 0,
|
|
2636
2638
|
e.$slots.optionSvg ? {
|
|
2637
2639
|
name: "optionSvg",
|
|
2638
|
-
fn:
|
|
2640
|
+
fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
2639
2641
|
key: "5"
|
|
2640
2642
|
} : void 0,
|
|
2641
2643
|
e.$slots.optionTable ? {
|
|
2642
2644
|
name: "optionTable",
|
|
2643
|
-
fn:
|
|
2645
|
+
fn: C(() => [b(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
2644
2646
|
key: "6"
|
|
2645
2647
|
} : void 0,
|
|
2646
2648
|
e.$slots.optionFullscreen ? {
|
|
2647
2649
|
name: "optionFullscreen",
|
|
2648
|
-
fn:
|
|
2650
|
+
fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
|
|
2649
2651
|
toggleFullscreen: t,
|
|
2650
2652
|
isFullscreen: n
|
|
2651
2653
|
})), void 0, !0)]),
|
|
@@ -2653,7 +2655,7 @@ var Ve = {
|
|
|
2653
2655
|
} : void 0,
|
|
2654
2656
|
e.$slots.optionAnnotator ? {
|
|
2655
2657
|
name: "optionAnnotator",
|
|
2656
|
-
fn:
|
|
2658
|
+
fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
|
|
2657
2659
|
toggleAnnotator: t,
|
|
2658
2660
|
isAnnotator: n
|
|
2659
2661
|
})), void 0, !0)]),
|
|
@@ -2661,62 +2663,62 @@ var Ve = {
|
|
|
2661
2663
|
} : void 0,
|
|
2662
2664
|
e.$slots.optionAltCopy ? {
|
|
2663
2665
|
name: "optionAltCopy",
|
|
2664
|
-
fn:
|
|
2666
|
+
fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
|
|
2665
2667
|
key: "9"
|
|
2666
2668
|
} : void 0,
|
|
2667
2669
|
e.$slots["custom-menu-before"] ? {
|
|
2668
2670
|
name: "custom-menu-before",
|
|
2669
|
-
fn:
|
|
2671
|
+
fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
2670
2672
|
key: "10"
|
|
2671
2673
|
} : void 0,
|
|
2672
2674
|
e.$slots["custom-menu-after"] ? {
|
|
2673
2675
|
name: "custom-menu-after",
|
|
2674
|
-
fn:
|
|
2676
|
+
fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
2675
2677
|
key: "11"
|
|
2676
2678
|
} : void 0
|
|
2677
|
-
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
2678
|
-
(
|
|
2679
|
+
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
|
|
2680
|
+
(v(), d("svg", {
|
|
2679
2681
|
ref_key: "svgRef",
|
|
2680
|
-
ref:
|
|
2681
|
-
viewBox:
|
|
2682
|
-
xmlns:
|
|
2683
|
-
class:
|
|
2684
|
-
"vue-data-ui-fullscreen--on":
|
|
2685
|
-
"vue-data-ui-fullscreen--off": !
|
|
2682
|
+
ref: zt,
|
|
2683
|
+
viewBox: H.value.str,
|
|
2684
|
+
xmlns: S(oe),
|
|
2685
|
+
class: Ae({
|
|
2686
|
+
"vue-data-ui-fullscreen--on": W.value,
|
|
2687
|
+
"vue-data-ui-fullscreen--off": !W.value
|
|
2686
2688
|
}),
|
|
2687
|
-
style:
|
|
2689
|
+
style: _({
|
|
2688
2690
|
maxWidth: "100%",
|
|
2689
|
-
overflow:
|
|
2691
|
+
overflow: B.value === "globe" ? "visible" : "hidden",
|
|
2690
2692
|
background: "transparent",
|
|
2691
|
-
color:
|
|
2692
|
-
paddingTop:
|
|
2693
|
-
paddingRight:
|
|
2694
|
-
paddingBottom:
|
|
2695
|
-
paddingLeft:
|
|
2693
|
+
color: I.value.color,
|
|
2694
|
+
paddingTop: I.value.padding.top + "px",
|
|
2695
|
+
paddingRight: I.value.padding.right + "px",
|
|
2696
|
+
paddingBottom: I.value.padding.bottom + "px",
|
|
2697
|
+
paddingLeft: I.value.padding.left + "px"
|
|
2696
2698
|
}),
|
|
2697
|
-
onMousedown:
|
|
2698
|
-
onMousemove:
|
|
2699
|
-
onMouseup:
|
|
2700
|
-
onMouseleave:
|
|
2701
|
-
onTouchstart:
|
|
2702
|
-
onTouchmove:
|
|
2703
|
-
onTouchend:
|
|
2699
|
+
onMousedown: Cn,
|
|
2700
|
+
onMousemove: wn,
|
|
2701
|
+
onMouseup: Tn,
|
|
2702
|
+
onMouseleave: Tn,
|
|
2703
|
+
onTouchstart: En,
|
|
2704
|
+
onTouchmove: Le(Dn, ["prevent"]),
|
|
2705
|
+
onTouchend: On
|
|
2704
2706
|
}, [
|
|
2705
|
-
|
|
2706
|
-
e.$slots["chart-background"] ? (
|
|
2707
|
+
p(S(ft)),
|
|
2708
|
+
e.$slots["chart-background"] ? (v(), d("foreignObject", {
|
|
2707
2709
|
key: 0,
|
|
2708
|
-
x:
|
|
2709
|
-
y:
|
|
2710
|
-
width:
|
|
2711
|
-
height:
|
|
2710
|
+
x: H.value.minX,
|
|
2711
|
+
y: H.value.minY,
|
|
2712
|
+
width: H.value.width,
|
|
2713
|
+
height: H.value.height,
|
|
2712
2714
|
style: { pointerEvents: "none" }
|
|
2713
|
-
}, [
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2715
|
+
}, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : u("", !0),
|
|
2716
|
+
gt.value ? (v(), d("g", Ze, [
|
|
2717
|
+
B.value === "globe" ? (v(), d(s, { key: 0 }, [
|
|
2718
|
+
f("defs", null, [
|
|
2719
|
+
p(be, {
|
|
2718
2720
|
t: "radial",
|
|
2719
|
-
id: `water-${
|
|
2721
|
+
id: `water-${E.value}`,
|
|
2720
2722
|
cx: .48,
|
|
2721
2723
|
cy: .52,
|
|
2722
2724
|
r: "0.55",
|
|
@@ -2725,29 +2727,29 @@ var Ve = {
|
|
|
2725
2727
|
stops: [
|
|
2726
2728
|
[
|
|
2727
2729
|
"0%",
|
|
2728
|
-
|
|
2730
|
+
S(ie)(N.value.waterColor, .4),
|
|
2729
2731
|
1
|
|
2730
2732
|
],
|
|
2731
2733
|
[
|
|
2732
2734
|
"45%",
|
|
2733
|
-
|
|
2735
|
+
N.value.waterColor,
|
|
2734
2736
|
1
|
|
2735
2737
|
],
|
|
2736
2738
|
[
|
|
2737
2739
|
"80%",
|
|
2738
|
-
|
|
2740
|
+
S(o)(N.value.waterColor, .2),
|
|
2739
2741
|
1
|
|
2740
2742
|
],
|
|
2741
2743
|
[
|
|
2742
2744
|
"100%",
|
|
2743
|
-
|
|
2745
|
+
S(o)(N.value.waterColor, .5),
|
|
2744
2746
|
.95
|
|
2745
2747
|
]
|
|
2746
2748
|
]
|
|
2747
2749
|
}, null, 8, ["id", "stops"]),
|
|
2748
|
-
|
|
2750
|
+
p(be, {
|
|
2749
2751
|
t: "radial",
|
|
2750
|
-
id: `atmo-realistic-${
|
|
2752
|
+
id: `atmo-realistic-${E.value}`,
|
|
2751
2753
|
cx: .5,
|
|
2752
2754
|
cy: .5,
|
|
2753
2755
|
r: "0.54",
|
|
@@ -2759,7 +2761,7 @@ var Ve = {
|
|
|
2759
2761
|
],
|
|
2760
2762
|
[
|
|
2761
2763
|
"98%",
|
|
2762
|
-
|
|
2764
|
+
N.value.waterColor,
|
|
2763
2765
|
1
|
|
2764
2766
|
],
|
|
2765
2767
|
[
|
|
@@ -2769,116 +2771,116 @@ var Ve = {
|
|
|
2769
2771
|
]
|
|
2770
2772
|
]
|
|
2771
2773
|
}, null, 8, ["id", "stops"]),
|
|
2772
|
-
|
|
2773
|
-
id: `blur-${
|
|
2774
|
+
f("filter", {
|
|
2775
|
+
id: `blur-${E.value}`,
|
|
2774
2776
|
x: "-30%",
|
|
2775
2777
|
y: "-30%",
|
|
2776
2778
|
width: "160%",
|
|
2777
2779
|
height: "160%"
|
|
2778
|
-
}, [...t[4] ||= [
|
|
2780
|
+
}, [...t[4] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Qe)
|
|
2779
2781
|
]),
|
|
2780
|
-
e.$slots.pattern ? (
|
|
2782
|
+
e.$slots.pattern ? (v(), d("g", $e, [(v(!0), d(s, null, Ne(U.value, (t, n) => (v(), d("defs", null, [b(e.$slots, "pattern", Oe({ ref_for: !0 }, {
|
|
2781
2783
|
...t,
|
|
2782
|
-
patternId: `pattern_${
|
|
2783
|
-
}), void 0, !0)]))), 256))])) :
|
|
2784
|
-
|
|
2785
|
-
cx:
|
|
2786
|
-
cy:
|
|
2787
|
-
r:
|
|
2788
|
-
fill: `url(#water-${
|
|
2789
|
-
}, null, 8,
|
|
2790
|
-
|
|
2791
|
-
cx:
|
|
2792
|
-
cy:
|
|
2793
|
-
r:
|
|
2794
|
-
fill: `url(#atmo-realistic-${
|
|
2784
|
+
patternId: `pattern_${E.value}_${t.code}`
|
|
2785
|
+
}), void 0, !0)]))), 256))])) : u("", !0),
|
|
2786
|
+
f("circle", {
|
|
2787
|
+
cx: H.value.width / 2 + 20,
|
|
2788
|
+
cy: H.value.height / 2 + 20,
|
|
2789
|
+
r: H.value.height / 2,
|
|
2790
|
+
fill: `url(#water-${E.value})`
|
|
2791
|
+
}, null, 8, et),
|
|
2792
|
+
f("circle", {
|
|
2793
|
+
cx: H.value.width / 2 + 20,
|
|
2794
|
+
cy: H.value.height / 2 + 20,
|
|
2795
|
+
r: H.value.height / 2 + 10,
|
|
2796
|
+
fill: `url(#atmo-realistic-${E.value})`,
|
|
2795
2797
|
"pointer-events": "none",
|
|
2796
|
-
filter: `url(#blur-${
|
|
2797
|
-
}, null, 8,
|
|
2798
|
-
], 64)) :
|
|
2799
|
-
(
|
|
2798
|
+
filter: `url(#blur-${E.value})`
|
|
2799
|
+
}, null, 8, tt)
|
|
2800
|
+
], 64)) : u("", !0),
|
|
2801
|
+
(v(!0), d(s, null, Ne(U.value, (t, n) => (v(), d(s, { key: t.code }, [f("path", {
|
|
2800
2802
|
d: t.path,
|
|
2801
|
-
fill: t.category && Z.value.includes(t.category) ? P.value.
|
|
2802
|
-
stroke: P.value.
|
|
2803
|
-
"stroke-width":
|
|
2804
|
-
onMouseenter: (e) =>
|
|
2803
|
+
fill: t.category && Z.value.includes(t.category) ? P.value.emptyColor : t.color,
|
|
2804
|
+
stroke: P.value.stroke,
|
|
2805
|
+
"stroke-width": q.value && q.value.uid === t.uid ? P.value.strokeWidthSelected : P.value.strokeWidth,
|
|
2806
|
+
onMouseenter: (e) => fn({
|
|
2805
2807
|
datapoint: t,
|
|
2806
2808
|
seriesIndex: n
|
|
2807
2809
|
}),
|
|
2808
|
-
onMouseleave: (e) =>
|
|
2810
|
+
onMouseleave: (e) => un({
|
|
2809
2811
|
datapoint: t,
|
|
2810
2812
|
seriesIndex: n
|
|
2811
2813
|
}),
|
|
2812
|
-
onClick: (e) =>
|
|
2814
|
+
onClick: (e) => dn({
|
|
2813
2815
|
datapoint: t,
|
|
2814
2816
|
seriesIndex: n
|
|
2815
2817
|
}),
|
|
2816
2818
|
class: "vue-ui-world-territory"
|
|
2817
|
-
}, [!
|
|
2819
|
+
}, [!D.value || !z.value.showTooltip ? (v(), d("title", rt, [De(x(t.name) + " ", 1), typeof t.value == "number" ? (v(), d(s, { key: 0 }, [De(" : " + x(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, nt), e.$slots.pattern ? (v(), d("path", {
|
|
2818
2820
|
key: 0,
|
|
2819
2821
|
d: t.path,
|
|
2820
|
-
fill: `url(#pattern_${
|
|
2821
|
-
stroke: P.value.
|
|
2822
|
-
"stroke-width": P.value.
|
|
2822
|
+
fill: `url(#pattern_${E.value}_${t.code})`,
|
|
2823
|
+
stroke: P.value.stroke,
|
|
2824
|
+
"stroke-width": P.value.strokeWidthSelected,
|
|
2823
2825
|
style: { "pointer-events": "none" },
|
|
2824
2826
|
class: "vue-ui-world-territory"
|
|
2825
|
-
}, null, 8,
|
|
2826
|
-
|
|
2827
|
+
}, null, 8, it)) : u("", !0)], 64))), 128)),
|
|
2828
|
+
q.value ? (v(), d("path", {
|
|
2827
2829
|
key: 1,
|
|
2828
|
-
d:
|
|
2830
|
+
d: sn.value,
|
|
2829
2831
|
fill: "transparent",
|
|
2830
|
-
stroke: P.value.
|
|
2831
|
-
"stroke-width": P.value.
|
|
2832
|
+
stroke: P.value.stroke,
|
|
2833
|
+
"stroke-width": P.value.strokeWidthSelected,
|
|
2832
2834
|
style: { "pointer-events": "none" },
|
|
2833
2835
|
class: "vue-ui-world-territory"
|
|
2834
|
-
}, null, 8,
|
|
2835
|
-
])) :
|
|
2836
|
-
|
|
2837
|
-
height:
|
|
2838
|
-
width:
|
|
2839
|
-
isPrintingImg:
|
|
2840
|
-
isPrintingSvg:
|
|
2836
|
+
}, null, 8, at)) : u("", !0)
|
|
2837
|
+
])) : u("", !0),
|
|
2838
|
+
b(e.$slots, "svg", { svg: {
|
|
2839
|
+
height: V.value.height,
|
|
2840
|
+
width: V.value.width,
|
|
2841
|
+
isPrintingImg: S(tn) || S(nn) || S(Bn),
|
|
2842
|
+
isPrintingSvg: S(Vn)
|
|
2841
2843
|
} }, void 0, !0)
|
|
2842
|
-
], 46,
|
|
2843
|
-
e.$slots.watermark ? (
|
|
2844
|
-
|
|
2845
|
-
|
|
2844
|
+
], 46, Ye)),
|
|
2845
|
+
e.$slots.watermark ? (v(), d("div", ot, [b(e.$slots, "watermark", g(h({ isPrinting: S(tn) || S(nn) || S(Bn) || S(Vn) })), void 0, !0)])) : u("", !0),
|
|
2846
|
+
f("div", { id: `legend-bottom-${E.value}` }, null, 8, st),
|
|
2847
|
+
Dt.value && _t.value && (F.value.show || e.$slots.legend) ? (v(), l(Te, {
|
|
2846
2848
|
key: 5,
|
|
2847
|
-
to:
|
|
2848
|
-
}, [
|
|
2849
|
+
to: F.value.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
2850
|
+
}, [_t.value ? (v(), d("div", {
|
|
2849
2851
|
key: 0,
|
|
2850
2852
|
ref_key: "chartLegend",
|
|
2851
|
-
ref:
|
|
2852
|
-
}, [
|
|
2853
|
-
key: `legend_${
|
|
2853
|
+
ref: yt
|
|
2854
|
+
}, [b(e.$slots, "legend", { legend: Q.value }, () => [F.value.show ? (v(), l(S(Be), {
|
|
2855
|
+
key: `legend_${Ct.value}`,
|
|
2854
2856
|
legendSet: Q.value,
|
|
2855
|
-
config:
|
|
2856
|
-
isCursorPointer:
|
|
2857
|
-
onClickMarker: t[0] ||= (e) =>
|
|
2858
|
-
},
|
|
2859
|
-
item:
|
|
2860
|
-
style:
|
|
2857
|
+
config: Pn.value,
|
|
2858
|
+
isCursorPointer: L.value,
|
|
2859
|
+
onClickMarker: t[0] ||= (e) => Nn(e)
|
|
2860
|
+
}, Ee({
|
|
2861
|
+
item: C(({ legend: e, index: t }) => [f("div", {
|
|
2862
|
+
style: _(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2861
2863
|
onClick: (t) => e.segregate()
|
|
2862
|
-
},
|
|
2863
|
-
legendToggle:
|
|
2864
|
+
}, x(e.name), 13, ct)]),
|
|
2865
|
+
legendToggle: C(() => [Q.value.length > 2 && F.value.selectAllToggle.show && !S(Ft) ? (v(), l(xe, {
|
|
2864
2866
|
key: 0,
|
|
2865
|
-
backgroundColor:
|
|
2866
|
-
color:
|
|
2867
|
-
fontSize:
|
|
2867
|
+
backgroundColor: F.value.selectAllToggle.backgroundColor,
|
|
2868
|
+
color: F.value.selectAllToggle.color,
|
|
2869
|
+
fontSize: F.value.fontSize,
|
|
2868
2870
|
checked: Z.value.length > 0,
|
|
2869
|
-
isCursorPointer:
|
|
2870
|
-
onToggle:
|
|
2871
|
+
isCursorPointer: L.value,
|
|
2872
|
+
onToggle: Mn
|
|
2871
2873
|
}, null, 8, [
|
|
2872
2874
|
"backgroundColor",
|
|
2873
2875
|
"color",
|
|
2874
2876
|
"fontSize",
|
|
2875
2877
|
"checked",
|
|
2876
2878
|
"isCursorPointer"
|
|
2877
|
-
])) :
|
|
2879
|
+
])) : u("", !0)]),
|
|
2878
2880
|
_: 2
|
|
2879
2881
|
}, [e.$slots.pattern ? {
|
|
2880
2882
|
name: "legend-pattern",
|
|
2881
|
-
fn:
|
|
2883
|
+
fn: C(({ legend: e, index: t }) => [p(ve, {
|
|
2882
2884
|
shape: e.shape,
|
|
2883
2885
|
radius: 30,
|
|
2884
2886
|
stroke: "none",
|
|
@@ -2886,45 +2888,45 @@ var Ve = {
|
|
|
2886
2888
|
x: 30,
|
|
2887
2889
|
y: 30
|
|
2888
2890
|
},
|
|
2889
|
-
fill: `url(#pattern_${
|
|
2891
|
+
fill: `url(#pattern_${E.value}_${t})`
|
|
2890
2892
|
}, null, 8, ["shape", "fill"])]),
|
|
2891
2893
|
key: "0"
|
|
2892
2894
|
} : void 0]), 1032, [
|
|
2893
2895
|
"legendSet",
|
|
2894
2896
|
"config",
|
|
2895
2897
|
"isCursorPointer"
|
|
2896
|
-
])) :
|
|
2897
|
-
e.$slots.source ? (
|
|
2898
|
+
])) : u("", !0)], !0)], 512)) : u("", !0)], 8, ["to"])) : u("", !0),
|
|
2899
|
+
e.$slots.source ? (v(), d("div", {
|
|
2898
2900
|
key: 6,
|
|
2899
2901
|
ref_key: "source",
|
|
2900
|
-
ref:
|
|
2902
|
+
ref: bt,
|
|
2901
2903
|
dir: "auto"
|
|
2902
|
-
}, [
|
|
2903
|
-
|
|
2904
|
-
teleportTo:
|
|
2905
|
-
show:
|
|
2906
|
-
backgroundColor:
|
|
2907
|
-
color:
|
|
2908
|
-
fontSize:
|
|
2909
|
-
borderRadius:
|
|
2910
|
-
borderColor:
|
|
2911
|
-
borderWidth:
|
|
2912
|
-
backgroundOpacity:
|
|
2913
|
-
position:
|
|
2914
|
-
offsetX:
|
|
2915
|
-
offsetY:
|
|
2916
|
-
parent:
|
|
2917
|
-
content:
|
|
2918
|
-
isCustom:
|
|
2919
|
-
isFullscreen:
|
|
2920
|
-
smooth:
|
|
2921
|
-
backdropFilter:
|
|
2922
|
-
smoothForce:
|
|
2923
|
-
smoothSnapThreshold:
|
|
2904
|
+
}, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
2905
|
+
p(S(Ve), {
|
|
2906
|
+
teleportTo: M.value.teleportTo,
|
|
2907
|
+
show: z.value.showTooltip && D.value,
|
|
2908
|
+
backgroundColor: M.value.backgroundColor,
|
|
2909
|
+
color: M.value.color,
|
|
2910
|
+
fontSize: M.value.fontSize,
|
|
2911
|
+
borderRadius: M.value.borderRadius,
|
|
2912
|
+
borderColor: M.value.borderColor,
|
|
2913
|
+
borderWidth: M.value.borderWidth,
|
|
2914
|
+
backgroundOpacity: M.value.backgroundOpacity,
|
|
2915
|
+
position: M.value.position,
|
|
2916
|
+
offsetX: M.value.offsetX,
|
|
2917
|
+
offsetY: M.value.offsetY,
|
|
2918
|
+
parent: T.value,
|
|
2919
|
+
content: Tt.value,
|
|
2920
|
+
isCustom: K.value,
|
|
2921
|
+
isFullscreen: W.value,
|
|
2922
|
+
smooth: M.value.smooth,
|
|
2923
|
+
backdropFilter: M.value.backdropFilter,
|
|
2924
|
+
smoothForce: M.value.smoothForce,
|
|
2925
|
+
smoothSnapThreshold: M.value.smoothSnapThreshold
|
|
2924
2926
|
}, {
|
|
2925
|
-
"tooltip-before":
|
|
2926
|
-
tooltip:
|
|
2927
|
-
"tooltip-after":
|
|
2927
|
+
"tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(h({ ...on.value })), void 0, !0)]),
|
|
2928
|
+
tooltip: C(() => [b(e.$slots, "tooltip", g(h({ ...on.value })), void 0, !0)]),
|
|
2929
|
+
"tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(h({ ...on.value })), void 0, !0)]),
|
|
2928
2930
|
_: 3
|
|
2929
2931
|
}, 8, [
|
|
2930
2932
|
"teleportTo",
|
|
@@ -2948,28 +2950,28 @@ var Ve = {
|
|
|
2948
2950
|
"smoothForce",
|
|
2949
2951
|
"smoothSnapThreshold"
|
|
2950
2952
|
]),
|
|
2951
|
-
|
|
2953
|
+
gt.value && j.value.buttons.table ? (v(), l(Pe($.value.component), Oe({ key: 7 }, $.value.props, {
|
|
2952
2954
|
ref_key: "tableUnit",
|
|
2953
|
-
ref:
|
|
2954
|
-
onClose:
|
|
2955
|
-
}),
|
|
2956
|
-
content:
|
|
2957
|
-
key: `table_${
|
|
2958
|
-
colNames:
|
|
2959
|
-
head:
|
|
2960
|
-
body:
|
|
2961
|
-
config:
|
|
2962
|
-
title:
|
|
2963
|
-
withCloseButton: !
|
|
2964
|
-
isCursorPointer:
|
|
2965
|
-
onClose:
|
|
2955
|
+
ref: O,
|
|
2956
|
+
onClose: Ln
|
|
2957
|
+
}), Ee({
|
|
2958
|
+
content: C(() => [(v(), l(S(We), {
|
|
2959
|
+
key: `table_${wt.value}`,
|
|
2960
|
+
colNames: An.value.colNames,
|
|
2961
|
+
head: An.value.head,
|
|
2962
|
+
body: An.value.body,
|
|
2963
|
+
config: An.value.config,
|
|
2964
|
+
title: A.value.table.useDialog ? "" : $.value.title,
|
|
2965
|
+
withCloseButton: !A.value.table.useDialog,
|
|
2966
|
+
isCursorPointer: L.value,
|
|
2967
|
+
onClose: Ln
|
|
2966
2968
|
}, {
|
|
2967
|
-
th:
|
|
2968
|
-
td:
|
|
2969
|
-
p:
|
|
2969
|
+
th: C(({ th: e }) => [f("div", lt, x(e), 1)]),
|
|
2970
|
+
td: C(({ td: e }) => [De(x(e.name ? e.name : e.category ? e.category : S(re)(I.value.dataLabels.formatter, e, S(ee)({
|
|
2971
|
+
p: I.value.dataLabels.prefix,
|
|
2970
2972
|
v: e,
|
|
2971
|
-
s:
|
|
2972
|
-
r:
|
|
2973
|
+
s: I.value.dataLabels.suffix,
|
|
2974
|
+
r: I.value.dataLabels.rounding
|
|
2973
2975
|
}))), 1)]),
|
|
2974
2976
|
_: 1
|
|
2975
2977
|
}, 8, [
|
|
@@ -2982,26 +2984,26 @@ var Ve = {
|
|
|
2982
2984
|
"isCursorPointer"
|
|
2983
2985
|
]))]),
|
|
2984
2986
|
_: 2
|
|
2985
|
-
}, [
|
|
2987
|
+
}, [A.value.table.useDialog ? {
|
|
2986
2988
|
name: "title",
|
|
2987
|
-
fn:
|
|
2989
|
+
fn: C(() => [De(x($.value.title), 1)]),
|
|
2988
2990
|
key: "0"
|
|
2989
|
-
} : void 0,
|
|
2991
|
+
} : void 0, A.value.table.useDialog ? {
|
|
2990
2992
|
name: "actions",
|
|
2991
|
-
fn:
|
|
2993
|
+
fn: C(() => [f("button", {
|
|
2992
2994
|
tabindex: "0",
|
|
2993
2995
|
class: "vue-ui-user-options-button",
|
|
2994
|
-
onClick: t[1] ||= (e) =>
|
|
2995
|
-
style:
|
|
2996
|
-
}, [
|
|
2996
|
+
onClick: t[1] ||= (e) => jn(j.value.callbacks.csv),
|
|
2997
|
+
style: _({ cursor: L.value ? "pointer" : "default" })
|
|
2998
|
+
}, [p(S(He), {
|
|
2997
2999
|
name: "fileCsv",
|
|
2998
3000
|
stroke: $.value.props.color
|
|
2999
3001
|
}, null, 8, ["stroke"])], 4)]),
|
|
3000
3002
|
key: "1"
|
|
3001
|
-
} : void 0]), 1040)) :
|
|
3002
|
-
|
|
3003
|
-
], 46,
|
|
3003
|
+
} : void 0]), 1040)) : u("", !0),
|
|
3004
|
+
b(e.$slots, "skeleton", {}, () => [S(Ft) ? (v(), l(me, { key: 0 })) : u("", !0)], !0)
|
|
3005
|
+
], 46, qe));
|
|
3004
3006
|
}
|
|
3005
|
-
}, [["__scopeId", "data-v-
|
|
3007
|
+
}, [["__scopeId", "data-v-226853b6"]]);
|
|
3006
3008
|
//#endregion
|
|
3007
|
-
export {
|
|
3009
|
+
export { Ke as n, dt as t };
|