vue-data-ui 3.26.5 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BQbcOtfC.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BCFCiP_6.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CIK6Sqo3.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-Doa5rYP2.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-BGQM8B5F.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-Cb7qpvFt.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-B6LDCXBz.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-CwdgCb7Q.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-D9FGXIbQ.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-9T4MSwXC.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-CslTvFsC.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-C1EcBgJW.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BZgQLgu5.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-DyYv_G-_.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-D4cRlyuq.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-Bd98RysU.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-DmQeI5WE.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-B_yBcZ1-.js → UserOptions-CORYQiif.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-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/{dom-to-png-B_RJohlM.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-C-JlvWAt.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img-KURaWjZI.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-DShv2Mbg.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-TWIH5fGr.js → lib-D4wK6ljP.js} +127 -133
- package/dist/{package-DbTqd5lc.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CLl24Afl.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-CKv-jztN.js → render-common-BtfjXdkJ.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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +212 -59
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-BxOdWM0c.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-8Y1Rju0Y.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-C3G5Zdl5.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-Cl6-fBV8.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-AyyZDab3.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-DOtWAL8s.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-BCVjlojM.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-B_1Ctjvq.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-KvhjbAxt.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-ArMiO0cG.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-DSM0U27X.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-64akfaem.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-CaR_aNEh.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-DCgqYZiz.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-8uKK0Rlp.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DeccYtSY.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-BvK7bVuJ.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-8joMj08Z.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-DgITf95R.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-U2L4ZYhB.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-DD20fJu_.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-VZFZnHPv.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-DeDQ6ubl.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-D5oUKIsP.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-DONFacXR.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-BMy_y9S6.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bol0OWs3.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-cwjXaEDQ.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-kdpasmXb.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-ZmGGEvRk.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-D6IKPpL-.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-CueHa1Pm.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-C8ZxX1Zw.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-V_OnJN9Y.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-Bf9IKwDr.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton-dyXWT6JX.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-w6nH1I0E.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-Bso9bwmY.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-CL06Yt56.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-BHDM5Hbr.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-znaswFQj.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BOzVoWoa.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-qcLrNL09.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-D295mJIf.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-CXeMKqKz.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-BULpjYiI.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-B7bTeU8h.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-DkqDz9W4.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-Cn7WBzqh.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-Cy7kBvEx.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-tRqc2ZMR.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-B755-zji.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-BiHIJ7rK.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-DGuMC_Rf.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DWYTZz_v.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
- package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
- package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
- package/dist/vue-ui-gauge-Copa7G58.js +0 -934
- package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
- package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
- package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
- package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
- package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
- package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
- package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
- package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
- package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
- package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
- package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
- package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
- package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
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, D as n, Dt as r, Ft as i, Ht as a, Q as ee, S as o, Tt as te, X as ne, et as re, i as ie, nn as ae, nt as oe, t as se, w as ce, wt as le } from "./lib-D4wK6ljP.js";
|
|
3
|
+
import { n as ue, t as de } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as fe } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
+
import { t as pe } from "./usePrinter-DdW2GSm0.js";
|
|
6
|
+
import { n as me, t as he } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as ge } from "./useNestedProp-DR_8JPol.js";
|
|
8
|
+
import { t as _e } from "./useChartExport-iwOqiIWX.js";
|
|
9
|
+
import { t as ve } from "./img-Bb5rHcpO.js";
|
|
10
|
+
import { t as ye } from "./Shape-DSwamtmO.js";
|
|
11
|
+
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as xe } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as Se } from "./BaseLegendToggle-CP3sddwv.js";
|
|
14
|
+
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as Te } from "./geoProjections-BYthUA8l.js";
|
|
17
|
+
import { Fragment as s, Teleport as Ee, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as De, createTextVNode as Oe, createVNode as p, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as ke, nextTick as Ae, normalizeClass as je, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Me, onMounted as Ne, openBlock as v, ref as y, renderList as Pe, renderSlot as b, resolveDynamicComponent as Fe, toDisplayString as x, toRefs as Ie, unref as S, watch as Le, withCtx as C, withModifiers as Re } from "vue";
|
|
18
18
|
//#region src/resources/worldGeo.js
|
|
19
|
-
var
|
|
19
|
+
var ze = 1e3, Be = [
|
|
20
20
|
"name",
|
|
21
21
|
"admin",
|
|
22
22
|
"iso_a3",
|
|
23
23
|
"iso_a3_eh"
|
|
24
|
-
],
|
|
24
|
+
], Ve = ["Polygon", "MultiPolygon"], He = [
|
|
25
25
|
[
|
|
26
26
|
[
|
|
27
27
|
"Costa Rica",
|
|
@@ -1917,48 +1917,48 @@ var Re = 1e3, ze = [
|
|
|
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 Ue(e) {
|
|
1921
1921
|
let t = {};
|
|
1922
|
-
for (let n = 0; n <
|
|
1922
|
+
for (let n = 0; n < Be.length; n += 1) e[n] != null && (t[Be[n]] = e[n]);
|
|
1923
1923
|
return t;
|
|
1924
1924
|
}
|
|
1925
|
-
function
|
|
1925
|
+
function We(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 / ze, n / ze];
|
|
1930
1930
|
}) : [];
|
|
1931
1931
|
}
|
|
1932
|
-
function
|
|
1933
|
-
return e ? t.map((e) => e.map(
|
|
1932
|
+
function Ge(e, t) {
|
|
1933
|
+
return e ? t.map((e) => e.map(We)) : t.map(We);
|
|
1934
1934
|
}
|
|
1935
|
-
var
|
|
1935
|
+
var Ke = {
|
|
1936
1936
|
type: "FeatureCollection",
|
|
1937
|
-
features:
|
|
1937
|
+
features: He.map(([e, t, n]) => ({
|
|
1938
1938
|
type: "Feature",
|
|
1939
|
-
properties:
|
|
1939
|
+
properties: Ue(e),
|
|
1940
1940
|
geometry: {
|
|
1941
|
-
type:
|
|
1942
|
-
coordinates:
|
|
1941
|
+
type: Ve[t],
|
|
1942
|
+
coordinates: Ge(t, n)
|
|
1943
1943
|
}
|
|
1944
1944
|
}))
|
|
1945
|
-
},
|
|
1945
|
+
}, qe = /* @__PURE__ */ e({ default: () => ft }), Je = ["id"], Ye = ["id"], Xe = ["viewBox", "xmlns"], Ze = [
|
|
1946
1946
|
"x",
|
|
1947
1947
|
"y",
|
|
1948
1948
|
"width",
|
|
1949
1949
|
"height"
|
|
1950
|
-
],
|
|
1950
|
+
], Qe = { key: 1 }, $e = ["id"], et = { key: 0 }, tt = [
|
|
1951
1951
|
"cx",
|
|
1952
1952
|
"cy",
|
|
1953
1953
|
"r",
|
|
1954
1954
|
"fill"
|
|
1955
|
-
],
|
|
1955
|
+
], nt = [
|
|
1956
1956
|
"cx",
|
|
1957
1957
|
"cy",
|
|
1958
1958
|
"r",
|
|
1959
1959
|
"fill",
|
|
1960
1960
|
"filter"
|
|
1961
|
-
],
|
|
1961
|
+
], rt = [
|
|
1962
1962
|
"d",
|
|
1963
1963
|
"fill",
|
|
1964
1964
|
"stroke",
|
|
@@ -1966,22 +1966,22 @@ var Ge = {
|
|
|
1966
1966
|
"onMouseenter",
|
|
1967
1967
|
"onMouseleave",
|
|
1968
1968
|
"onClick"
|
|
1969
|
-
],
|
|
1969
|
+
], it = { key: 0 }, at = [
|
|
1970
1970
|
"d",
|
|
1971
1971
|
"fill",
|
|
1972
1972
|
"stroke",
|
|
1973
1973
|
"stroke-width"
|
|
1974
|
-
],
|
|
1974
|
+
], ot = [
|
|
1975
1975
|
"d",
|
|
1976
1976
|
"stroke",
|
|
1977
1977
|
"stroke-width"
|
|
1978
|
-
],
|
|
1978
|
+
], st = {
|
|
1979
1979
|
key: 4,
|
|
1980
1980
|
class: "vue-data-ui-watermark"
|
|
1981
|
-
},
|
|
1981
|
+
}, ct = ["id"], lt = ["onClick"], ut = { style: {
|
|
1982
1982
|
display: "flex",
|
|
1983
1983
|
"align-items": "center"
|
|
1984
|
-
} },
|
|
1984
|
+
} }, dt = .5, ft = /*#__PURE__*/ be({
|
|
1985
1985
|
__name: "vue-ui-world",
|
|
1986
1986
|
props: {
|
|
1987
1987
|
config: {
|
|
@@ -2002,34 +2002,34 @@ var Ge = {
|
|
|
2002
2002
|
"selectLegend",
|
|
2003
2003
|
"copyAlt"
|
|
2004
2004
|
],
|
|
2005
|
-
setup(e, { expose:
|
|
2006
|
-
let
|
|
2005
|
+
setup(e, { expose: be, emit: ze }) {
|
|
2006
|
+
let Be = m(() => import("./Title-BMCuINbv.js").then((e) => e.t)), Ve = m(() => import("./Legend-CulFgjUY.js").then((e) => e.n)), He = m(() => import("./Tooltip-C4ZTwkLF.js")), Ue = m(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), We = m(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Ge = m(() => import("./DataTable-CjF_An2h.js")), qe = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), ft = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), pt = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), mt = m(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_world: ht } = fe(), w = e, gt = ze, _t = c({
|
|
2007
2007
|
get() {
|
|
2008
|
-
return !!
|
|
2008
|
+
return !!R.value;
|
|
2009
2009
|
},
|
|
2010
2010
|
set(e) {
|
|
2011
2011
|
return e;
|
|
2012
2012
|
}
|
|
2013
|
-
}),
|
|
2014
|
-
|
|
2013
|
+
}), vt = c(() => _t ? Object.values(R.value).some((e) => Object.hasOwn(e, "category")) : !1), T = y(null), yt = y(null), bt = y(null), xt = y(null), St = y(null), Ct = y(0), wt = y(0), Tt = y(0), E = y(ne()), D = y(!1), Et = y(""), Dt = y(0), Ot = y(!1), O = y(null), kt = y(null);
|
|
2014
|
+
Ne(() => {
|
|
2015
2015
|
Ot.value = !0;
|
|
2016
2016
|
});
|
|
2017
|
-
let
|
|
2018
|
-
function
|
|
2019
|
-
let e =
|
|
2020
|
-
userConfig:
|
|
2021
|
-
defaultConfig:
|
|
2017
|
+
let k = Ke, { projections: At, getProjectedBounds: jt, setupTerritories: Mt, geoToPath: Nt } = Te;
|
|
2018
|
+
function Pt() {
|
|
2019
|
+
let e = ge({
|
|
2020
|
+
userConfig: w.config,
|
|
2021
|
+
defaultConfig: ht
|
|
2022
2022
|
});
|
|
2023
|
-
return
|
|
2023
|
+
return w.config && le(w.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = o(w.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, w.config && le(w.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = o(w.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], k = Mt(e, k), e;
|
|
2024
2024
|
}
|
|
2025
|
-
let
|
|
2026
|
-
|
|
2027
|
-
config: () =>
|
|
2028
|
-
dataset: () =>
|
|
2025
|
+
let A = y(Pt()), 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
|
+
ue({
|
|
2027
|
+
config: () => A.value,
|
|
2028
|
+
dataset: () => w.dataset,
|
|
2029
2029
|
component: "VueUiWorld",
|
|
2030
|
-
rules: [
|
|
2030
|
+
rules: [de.noHint]
|
|
2031
2031
|
});
|
|
2032
|
-
let
|
|
2032
|
+
let L = c(() => A.value.userOptions.useCursorPointer), Ft = c(() => ae({
|
|
2033
2033
|
defaultConfig: {
|
|
2034
2034
|
userOptions: { show: !1 },
|
|
2035
2035
|
table: { show: !1 },
|
|
@@ -2045,42 +2045,42 @@ var Ge = {
|
|
|
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: It, FINAL_DATASET: R } = me({
|
|
2050
|
+
...Ie(w),
|
|
2051
|
+
FINAL_CONFIG: A,
|
|
2052
|
+
prepareConfig: Pt,
|
|
2053
|
+
skeletonDataset: w.config?.skeletonDataset ?? [],
|
|
2054
|
+
skeletonConfig: ae({
|
|
2055
|
+
defaultConfig: A.value,
|
|
2056
|
+
userConfig: Ft.value
|
|
2057
2057
|
})
|
|
2058
|
-
}), { userOptionsVisible:
|
|
2059
|
-
showTable:
|
|
2060
|
-
showTooltip:
|
|
2058
|
+
}), { userOptionsVisible: Lt, setUserOptionsVisibility: Rt, keepUserOptionState: zt } = Ce({ config: A.value }), { svgRef: Bt } = we({ config: I.value.title }), z = y({
|
|
2059
|
+
showTable: A.value.table.show,
|
|
2060
|
+
showTooltip: M.value.show
|
|
2061
2061
|
});
|
|
2062
|
-
function
|
|
2063
|
-
let t =
|
|
2062
|
+
function Vt(e) {
|
|
2063
|
+
let t = re(e);
|
|
2064
2064
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
2065
2065
|
}
|
|
2066
|
-
let
|
|
2067
|
-
|
|
2068
|
-
let n =
|
|
2069
|
-
|
|
2070
|
-
let i =
|
|
2066
|
+
let Ht = Vt(w.config);
|
|
2067
|
+
Le(() => w.config, (e, t) => {
|
|
2068
|
+
let n = Vt(e), r = n !== Ht;
|
|
2069
|
+
Ht = n;
|
|
2070
|
+
let i = Pt();
|
|
2071
2071
|
if (!r) {
|
|
2072
|
-
|
|
2072
|
+
A.value.style.chart.tooltip = i.style.chart.tooltip, z.value.showTooltip = A.value.style.chart.tooltip.show;
|
|
2073
2073
|
return;
|
|
2074
2074
|
}
|
|
2075
|
-
|
|
2076
|
-
}),
|
|
2077
|
-
|
|
2078
|
-
showTable:
|
|
2079
|
-
showTooltip:
|
|
2075
|
+
A.value = i, Lt.value = !A.value.userOptions.showOnChartHover, Ct.value += 1, Tt.value += 1, wt.value += 1, z.value.showTable = A.value.table.show, z.value.showTooltip = M.value.show;
|
|
2076
|
+
}), Le(A, () => {
|
|
2077
|
+
z.value = {
|
|
2078
|
+
showTable: A.value.table.show,
|
|
2079
|
+
showTooltip: M.value.show
|
|
2080
2080
|
};
|
|
2081
2081
|
}, { immediate: !0 });
|
|
2082
|
-
let
|
|
2083
|
-
let { height: e, width: t } =
|
|
2082
|
+
let Ut = c(() => ce(A.value.customPalette)), B = c(() => A.value.projection || "globe"), V = c(() => {
|
|
2083
|
+
let { height: e, width: t } = I.value.dimensions;
|
|
2084
2084
|
return {
|
|
2085
2085
|
aitoff: {
|
|
2086
2086
|
width: t || 1e3,
|
|
@@ -2134,9 +2134,9 @@ var Ge = {
|
|
|
2134
2134
|
width: t || 1e3,
|
|
2135
2135
|
height: e || 1e3
|
|
2136
2136
|
}
|
|
2137
|
-
}[
|
|
2138
|
-
}),
|
|
2139
|
-
let { minX: e, minY: t, width: n, height: r } =
|
|
2137
|
+
}[B.value];
|
|
2138
|
+
}), H = c(() => {
|
|
2139
|
+
let { minX: e, minY: t, width: n, height: r } = jt(At[B.value], k.features, V.value.width, V.value.height, J.value);
|
|
2140
2140
|
return {
|
|
2141
2141
|
str: `${e} ${t} ${n} ${r}`,
|
|
2142
2142
|
minX: e,
|
|
@@ -2144,205 +2144,205 @@ var Ge = {
|
|
|
2144
2144
|
width: n,
|
|
2145
2145
|
height: r
|
|
2146
2146
|
};
|
|
2147
|
-
}),
|
|
2148
|
-
function
|
|
2149
|
-
return typeof e == "number" ?
|
|
2147
|
+
}), Wt = c(() => Object.values(R.value).map((e) => e.value)), Gt = c(() => Math.min(...Wt.value)), Kt = c(() => Math.max(...Wt.value));
|
|
2148
|
+
function qt(e) {
|
|
2149
|
+
return typeof e == "number" ? te(P.value.colors.min || "#FFFFFF00", P.value.colors.max || Ut.value[0] || a[0], Gt.value, Kt.value, e) : P.value.emptyColor;
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
return
|
|
2153
|
-
projection:
|
|
2154
|
-
width:
|
|
2155
|
-
height:
|
|
2156
|
-
center:
|
|
2151
|
+
function Jt(e) {
|
|
2152
|
+
return Nt(e, {
|
|
2153
|
+
projection: B.value,
|
|
2154
|
+
width: V.value.width,
|
|
2155
|
+
height: V.value.height,
|
|
2156
|
+
center: J.value
|
|
2157
2157
|
});
|
|
2158
2158
|
}
|
|
2159
|
-
let
|
|
2160
|
-
let e = Object.values(
|
|
2159
|
+
let Yt = c(() => {
|
|
2160
|
+
let e = Object.values(R.value).filter((e) => !!e.category), t = {};
|
|
2161
2161
|
return e.forEach((e) => {
|
|
2162
2162
|
t[e.category] || (t[e.category] = e);
|
|
2163
2163
|
}), Object.values(t).map((e, t) => ({
|
|
2164
2164
|
name: e.category,
|
|
2165
|
-
color: e.color ? o(e.color) :
|
|
2165
|
+
color: e.color ? o(e.color) : Ut.value[t] || a[t] || a[t % a.length]
|
|
2166
2166
|
}));
|
|
2167
2167
|
});
|
|
2168
|
-
function
|
|
2169
|
-
let t =
|
|
2168
|
+
function Xt(e) {
|
|
2169
|
+
let t = Yt.value.find((t) => t.name === e);
|
|
2170
2170
|
return t ? t.color : "#000000";
|
|
2171
2171
|
}
|
|
2172
|
-
let
|
|
2173
|
-
function
|
|
2174
|
-
return
|
|
2172
|
+
let Zt = /* @__PURE__ */ new Map();
|
|
2173
|
+
function Qt(e) {
|
|
2174
|
+
return Zt.has(e) || Zt.set(e, `territory-${ne()}`), Zt.get(e);
|
|
2175
2175
|
}
|
|
2176
|
-
let
|
|
2176
|
+
let U = c(() => (J.value, k.features.map((e) => {
|
|
2177
2177
|
let t = e.properties.iso_a3;
|
|
2178
2178
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2179
|
-
let n =
|
|
2179
|
+
let n = R.value[t];
|
|
2180
2180
|
return {
|
|
2181
|
-
path:
|
|
2181
|
+
path: Jt(e.geometry),
|
|
2182
2182
|
name: e.properties.name,
|
|
2183
2183
|
geo: e,
|
|
2184
2184
|
code: t,
|
|
2185
2185
|
geometry: e.geometry,
|
|
2186
|
-
color: n && n.color ? o(n.color) : n && n.category ?
|
|
2186
|
+
color: n && n.color ? o(n.color) : n && n.category ? Xt(n.category) : qt(n ? n.value : null),
|
|
2187
2187
|
value: n ? n.value : null,
|
|
2188
2188
|
category: n && n.category || null,
|
|
2189
2189
|
isActive: !!n,
|
|
2190
|
-
uid:
|
|
2190
|
+
uid: Qt(t)
|
|
2191
2191
|
};
|
|
2192
|
-
}))),
|
|
2193
|
-
function
|
|
2194
|
-
|
|
2192
|
+
}))), W = y(!1);
|
|
2193
|
+
function $t(e) {
|
|
2194
|
+
W.value = e, Dt.value += 1;
|
|
2195
|
+
}
|
|
2196
|
+
let G = y(!1);
|
|
2197
|
+
function en() {
|
|
2198
|
+
G.value = !G.value;
|
|
2195
2199
|
}
|
|
2196
|
-
let W = b(!1);
|
|
2197
2200
|
function tn() {
|
|
2198
|
-
|
|
2201
|
+
z.value.showTable = !z.value.showTable;
|
|
2199
2202
|
}
|
|
2200
2203
|
function nn() {
|
|
2201
|
-
|
|
2204
|
+
z.value.showTooltip = !z.value.showTooltip;
|
|
2202
2205
|
}
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
options: k.value.userOptions.print
|
|
2210
|
-
}), G = b(!1), un = b(null), K = b(null), dn = l(() => K.value ? Yt(K.value.geometry) : "");
|
|
2211
|
-
function fn(e) {
|
|
2206
|
+
let rn = c(() => A.value.userOptions.show && !I.value.title.text), { isPrinting: an, isImaging: on, generatePdf: sn, generateImage: cn } = pe({
|
|
2207
|
+
elementId: `world_${E.value}`,
|
|
2208
|
+
fileName: I.value.title.text || "vue-ui-world",
|
|
2209
|
+
options: A.value.userOptions.print
|
|
2210
|
+
}), K = y(!1), ln = y(null), q = y(null), un = c(() => q.value ? Jt(q.value.geometry) : "");
|
|
2211
|
+
function dn(e) {
|
|
2212
2212
|
return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
|
|
2213
2213
|
}
|
|
2214
|
-
let
|
|
2215
|
-
let e =
|
|
2214
|
+
let fn = c(() => {
|
|
2215
|
+
let e = q.value?.geometry;
|
|
2216
2216
|
if (!e) return "";
|
|
2217
|
-
let t =
|
|
2217
|
+
let t = dn(e);
|
|
2218
2218
|
if (!t.length) return "";
|
|
2219
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i =
|
|
2220
|
-
function
|
|
2221
|
-
return [(e -
|
|
2219
|
+
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = At[B.value] || At.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);
|
|
2220
|
+
function de([e, t]) {
|
|
2221
|
+
return [(e - ie) * ue + 8, (t - oe) * ue + 8];
|
|
2222
2222
|
}
|
|
2223
2223
|
return `
|
|
2224
2224
|
<svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
|
|
2225
2225
|
<rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
|
|
2226
|
-
<path d="${o.map((e) => "M" + e.map(
|
|
2226
|
+
<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"/>
|
|
2227
2227
|
</svg>
|
|
2228
2228
|
`;
|
|
2229
2229
|
});
|
|
2230
|
-
function
|
|
2231
|
-
|
|
2230
|
+
function pn({ datapoint: e, seriesIndex: t }) {
|
|
2231
|
+
D.value = !1, q.value = null, A.value.events.datapointLeave && A.value.events.datapointLeave({
|
|
2232
2232
|
datapoint: e,
|
|
2233
2233
|
seriesIndex: t
|
|
2234
2234
|
});
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2237
|
-
|
|
2236
|
+
function mn({ datapoint: e, seriesIndex: t }) {
|
|
2237
|
+
gt("selectDatapoint", e), A.value.events.datapointClick && A.value.events.datapointClick({
|
|
2238
2238
|
datapoint: e,
|
|
2239
2239
|
seriesIndex: t
|
|
2240
2240
|
});
|
|
2241
2241
|
}
|
|
2242
|
-
function
|
|
2243
|
-
|
|
2242
|
+
function hn({ datapoint: e, seriesIndex: n }) {
|
|
2243
|
+
A.value.events.datapointEnter && A.value.events.datapointEnter({
|
|
2244
2244
|
datapoint: e,
|
|
2245
2245
|
seriesIndex: n
|
|
2246
|
-
}),
|
|
2246
|
+
}), q.value = e, ln.value = {
|
|
2247
2247
|
datapoint: e,
|
|
2248
|
-
config:
|
|
2249
|
-
series:
|
|
2250
|
-
},
|
|
2251
|
-
let
|
|
2252
|
-
if (
|
|
2248
|
+
config: A.value,
|
|
2249
|
+
series: U.value
|
|
2250
|
+
}, D.value = !0;
|
|
2251
|
+
let i = "", a = M.value.customFormat;
|
|
2252
|
+
if (K.value = !1, r(a)) try {
|
|
2253
2253
|
let t = a({
|
|
2254
2254
|
datapoint: e,
|
|
2255
|
-
config:
|
|
2256
|
-
series:
|
|
2255
|
+
config: A.value,
|
|
2256
|
+
series: U.value
|
|
2257
2257
|
});
|
|
2258
|
-
typeof t == "string" && (Et.value = t,
|
|
2258
|
+
typeof t == "string" && (Et.value = t, K.value = !0);
|
|
2259
2259
|
} catch {
|
|
2260
|
-
console.warn("Custom format cannot be applied."),
|
|
2260
|
+
console.warn("Custom format cannot be applied."), K.value = !1;
|
|
2261
2261
|
}
|
|
2262
|
-
|
|
2262
|
+
K.value || (i += `
|
|
2263
2263
|
<div style="width:100%;">
|
|
2264
|
-
${
|
|
2264
|
+
${M.value.showMinimap ? `<div class="vue-ui-world-minimap">${fn.value}</div>` : ""}
|
|
2265
2265
|
<div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
|
|
2266
2266
|
<svg viewBox="0 0 20 20" height="14" width="14">
|
|
2267
2267
|
<circle cx="10" cy="10" r="10" fill="${e.color}"/>
|
|
2268
2268
|
</svg>
|
|
2269
2269
|
<span>${e.name}:</span>
|
|
2270
2270
|
<b>
|
|
2271
|
-
${
|
|
2272
|
-
p:
|
|
2271
|
+
${ie(I.value.dataLabels.formatter, e.value, t({
|
|
2272
|
+
p: I.value.dataLabels.prefix,
|
|
2273
2273
|
v: e.value,
|
|
2274
|
-
s:
|
|
2275
|
-
r:
|
|
2274
|
+
s: I.value.dataLabels.suffix,
|
|
2275
|
+
r: I.value.dataLabels.rounding
|
|
2276
2276
|
}))}
|
|
2277
2277
|
</b>
|
|
2278
2278
|
</div>
|
|
2279
2279
|
</div>
|
|
2280
|
-
`, Et.value = `<div>${
|
|
2280
|
+
`, Et.value = `<div>${i}</div>`);
|
|
2281
2281
|
}
|
|
2282
|
-
let
|
|
2282
|
+
let gn = y(!1), _n = y({
|
|
2283
2283
|
x: 0,
|
|
2284
2284
|
y: 0
|
|
2285
|
-
}),
|
|
2286
|
-
function
|
|
2285
|
+
}), J = y([N.value.center.x, N.value.center.y]), vn = [0, 0], Y = null, X = null;
|
|
2286
|
+
function yn(e) {
|
|
2287
2287
|
return Math.max(-90, Math.min(90, e));
|
|
2288
2288
|
}
|
|
2289
|
-
function
|
|
2289
|
+
function bn(e) {
|
|
2290
2290
|
return ((e + 180) % 360 + 360) % 360 - 180;
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2293
|
-
|
|
2292
|
+
function xn() {
|
|
2293
|
+
Y &&= (J.value = Y, null);
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2296
|
-
if (
|
|
2297
|
-
|
|
2295
|
+
function Sn(e) {
|
|
2296
|
+
if (Y = e, typeof requestAnimationFrame > "u") {
|
|
2297
|
+
xn();
|
|
2298
2298
|
return;
|
|
2299
2299
|
}
|
|
2300
|
-
|
|
2301
|
-
|
|
2300
|
+
X === null && (X = requestAnimationFrame(() => {
|
|
2301
|
+
X = null, xn();
|
|
2302
2302
|
}));
|
|
2303
2303
|
}
|
|
2304
|
-
|
|
2305
|
-
|
|
2304
|
+
Le(() => [N.value.center.x, N.value.center.y], ([e, t]) => {
|
|
2305
|
+
J.value = [e, t], Y = null;
|
|
2306
2306
|
});
|
|
2307
|
-
function
|
|
2308
|
-
|
|
2307
|
+
function Cn(e, t) {
|
|
2308
|
+
gn.value = !0, _n.value = {
|
|
2309
2309
|
x: e,
|
|
2310
2310
|
y: t
|
|
2311
|
-
},
|
|
2311
|
+
}, vn = Y || [J.value[0], J.value[1]];
|
|
2312
|
+
}
|
|
2313
|
+
function wn(e, t) {
|
|
2314
|
+
if (!gn.value || B.value !== "globe" || G.value) return;
|
|
2315
|
+
let n = e - _n.value.x, r = t - _n.value.y;
|
|
2316
|
+
Sn([bn(vn[0] - n * dt), yn(vn[1] + r * dt)]);
|
|
2312
2317
|
}
|
|
2313
|
-
function Tn(
|
|
2314
|
-
|
|
2315
|
-
let n = e - vn.value.x, r = t - vn.value.y;
|
|
2316
|
-
Cn([xn(yn[0] - n * ut), bn(yn[1] + r * ut)]);
|
|
2318
|
+
function Tn() {
|
|
2319
|
+
gn.value = !1, X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null), xn();
|
|
2317
2320
|
}
|
|
2318
|
-
function En() {
|
|
2319
|
-
|
|
2321
|
+
function En(e) {
|
|
2322
|
+
Cn(e.clientX, e.clientY);
|
|
2320
2323
|
}
|
|
2321
2324
|
function Dn(e) {
|
|
2322
2325
|
wn(e.clientX, e.clientY);
|
|
2323
2326
|
}
|
|
2324
|
-
function On(
|
|
2325
|
-
Tn(
|
|
2327
|
+
function On() {
|
|
2328
|
+
Tn();
|
|
2326
2329
|
}
|
|
2327
|
-
function kn() {
|
|
2328
|
-
|
|
2330
|
+
function kn(e) {
|
|
2331
|
+
let t = e.touches[0];
|
|
2332
|
+
Cn(t.clientX, t.clientY);
|
|
2329
2333
|
}
|
|
2330
2334
|
function An(e) {
|
|
2331
2335
|
let t = e.touches[0];
|
|
2332
2336
|
wn(t.clientX, t.clientY);
|
|
2333
2337
|
}
|
|
2334
|
-
function jn(
|
|
2335
|
-
|
|
2336
|
-
Tn(t.clientX, t.clientY);
|
|
2337
|
-
}
|
|
2338
|
-
function Mn() {
|
|
2339
|
-
En();
|
|
2338
|
+
function jn() {
|
|
2339
|
+
Tn();
|
|
2340
2340
|
}
|
|
2341
|
-
|
|
2342
|
-
|
|
2341
|
+
Me(() => {
|
|
2342
|
+
X !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(X), X = null);
|
|
2343
2343
|
});
|
|
2344
|
-
let
|
|
2345
|
-
let e =
|
|
2344
|
+
let Mn = c(() => {
|
|
2345
|
+
let e = U.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2346
2346
|
return {
|
|
2347
2347
|
head: e.map((e) => ({
|
|
2348
2348
|
name: e.name,
|
|
@@ -2351,65 +2351,65 @@ var Ge = {
|
|
|
2351
2351
|
})),
|
|
2352
2352
|
body: e.map((e) => e.value || 0)
|
|
2353
2353
|
};
|
|
2354
|
-
}), Nn =
|
|
2354
|
+
}), Nn = c(() => {
|
|
2355
2355
|
let e = [
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
], t =
|
|
2356
|
+
A.value.table.columnNames.series,
|
|
2357
|
+
A.value.table.columnNames.value,
|
|
2358
|
+
A.value.table.columnNames.category
|
|
2359
|
+
], t = Mn.value.head.map((e, t) => [
|
|
2360
2360
|
{
|
|
2361
2361
|
color: e.color,
|
|
2362
2362
|
name: e.name
|
|
2363
2363
|
},
|
|
2364
|
-
|
|
2364
|
+
Mn.value.body[t] || 0,
|
|
2365
2365
|
{ category: e.category }
|
|
2366
2366
|
]), n = {
|
|
2367
2367
|
th: {
|
|
2368
|
-
backgroundColor:
|
|
2369
|
-
color:
|
|
2370
|
-
outline:
|
|
2368
|
+
backgroundColor: A.value.table.th.backgroundColor,
|
|
2369
|
+
color: A.value.table.th.color,
|
|
2370
|
+
outline: A.value.table.th.outline
|
|
2371
2371
|
},
|
|
2372
2372
|
td: {
|
|
2373
|
-
backgroundColor:
|
|
2374
|
-
color:
|
|
2375
|
-
outline:
|
|
2373
|
+
backgroundColor: A.value.table.td.backgroundColor,
|
|
2374
|
+
color: A.value.table.td.color,
|
|
2375
|
+
outline: A.value.table.td.outline
|
|
2376
2376
|
},
|
|
2377
|
-
breakpoint:
|
|
2377
|
+
breakpoint: A.value.table.responsiveBreakpoint
|
|
2378
2378
|
};
|
|
2379
2379
|
return {
|
|
2380
|
-
colNames: [
|
|
2380
|
+
colNames: [A.value.table.columnNames.series, A.value.table.columnNames.value],
|
|
2381
2381
|
head: e,
|
|
2382
2382
|
body: t,
|
|
2383
2383
|
config: n
|
|
2384
2384
|
};
|
|
2385
2385
|
});
|
|
2386
2386
|
function Pn(e = null) {
|
|
2387
|
-
|
|
2388
|
-
let t =
|
|
2389
|
-
[
|
|
2390
|
-
[
|
|
2387
|
+
Ae(() => {
|
|
2388
|
+
let t = Mn.value.head.map((e, t) => [[e.name], [Mn.value.body[t]]]), r = [
|
|
2389
|
+
[I.value.title.text],
|
|
2390
|
+
[I.value.title.subtitle.text],
|
|
2391
2391
|
[[
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2392
|
+
A.value.table.columnNames.series,
|
|
2393
|
+
A.value.table.columnNames.value,
|
|
2394
|
+
A.value.table.columnNames.category
|
|
2395
2395
|
]]
|
|
2396
|
-
].concat(t), i = r
|
|
2397
|
-
e ? e(i) :
|
|
2396
|
+
].concat(t), i = n(r);
|
|
2397
|
+
e ? e(i) : oe({
|
|
2398
2398
|
csvContent: i,
|
|
2399
|
-
title:
|
|
2399
|
+
title: I.value.title.text || "vue-ui-world"
|
|
2400
2400
|
});
|
|
2401
2401
|
});
|
|
2402
2402
|
}
|
|
2403
|
-
let Z =
|
|
2403
|
+
let Z = y([]);
|
|
2404
2404
|
function Fn() {
|
|
2405
2405
|
Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
|
|
2406
2406
|
Z.value.push(e.name);
|
|
2407
2407
|
});
|
|
2408
2408
|
}
|
|
2409
2409
|
function In(e) {
|
|
2410
|
-
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e),
|
|
2410
|
+
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), gt("selectLegend", { name: e });
|
|
2411
2411
|
}
|
|
2412
|
-
let Q =
|
|
2412
|
+
let Q = c(() => vt ? Yt.value.map(({ name: e, color: t }, n) => ({
|
|
2413
2413
|
name: e,
|
|
2414
2414
|
color: t,
|
|
2415
2415
|
shape: "circle",
|
|
@@ -2419,21 +2419,21 @@ var Ge = {
|
|
|
2419
2419
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2420
2420
|
segregate: () => In(e.name),
|
|
2421
2421
|
isSegregated: Z.value.includes(e.name)
|
|
2422
|
-
})) : []), Ln =
|
|
2422
|
+
})) : []), Ln = c(() => ({
|
|
2423
2423
|
cy: "donut-div-legend",
|
|
2424
|
-
backgroundColor:
|
|
2425
|
-
color:
|
|
2426
|
-
fontSize:
|
|
2424
|
+
backgroundColor: F.value.backgroundColor,
|
|
2425
|
+
color: F.value.color,
|
|
2426
|
+
fontSize: F.value.fontSize,
|
|
2427
2427
|
paddingBottom: 12,
|
|
2428
|
-
fontWeight:
|
|
2428
|
+
fontWeight: F.value.bold ? "bold" : ""
|
|
2429
2429
|
}));
|
|
2430
2430
|
function Rn() {
|
|
2431
|
-
return
|
|
2431
|
+
return U.value;
|
|
2432
2432
|
}
|
|
2433
2433
|
async function zn({ scale: e = 2 } = {}) {
|
|
2434
|
-
if (!
|
|
2435
|
-
let { width: t, height: n } =
|
|
2436
|
-
domElement:
|
|
2434
|
+
if (!T.value) return;
|
|
2435
|
+
let { width: t, height: n } = T.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
|
|
2436
|
+
domElement: T.value,
|
|
2437
2437
|
base64: !0,
|
|
2438
2438
|
img: !0,
|
|
2439
2439
|
scale: e
|
|
@@ -2441,108 +2441,108 @@ var Ge = {
|
|
|
2441
2441
|
return {
|
|
2442
2442
|
imageUri: i,
|
|
2443
2443
|
base64: a,
|
|
2444
|
-
title:
|
|
2444
|
+
title: I.value.title.text,
|
|
2445
2445
|
width: t,
|
|
2446
2446
|
height: n,
|
|
2447
2447
|
aspectRatio: r
|
|
2448
2448
|
};
|
|
2449
2449
|
}
|
|
2450
|
-
let $ =
|
|
2451
|
-
let e =
|
|
2450
|
+
let $ = c(() => {
|
|
2451
|
+
let e = A.value.table.useDialog && !A.value.table.show, t = z.value.showTable;
|
|
2452
2452
|
return {
|
|
2453
|
-
component: e ?
|
|
2454
|
-
title: `${
|
|
2453
|
+
component: e ? mt : We,
|
|
2454
|
+
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
2455
2455
|
props: e ? {
|
|
2456
|
-
backgroundColor:
|
|
2457
|
-
color:
|
|
2458
|
-
headerColor:
|
|
2459
|
-
headerBg:
|
|
2460
|
-
isFullscreen:
|
|
2461
|
-
fullscreenParent:
|
|
2456
|
+
backgroundColor: A.value.table.th.backgroundColor,
|
|
2457
|
+
color: A.value.table.th.color,
|
|
2458
|
+
headerColor: A.value.table.th.color,
|
|
2459
|
+
headerBg: A.value.table.th.backgroundColor,
|
|
2460
|
+
isFullscreen: W.value,
|
|
2461
|
+
fullscreenParent: T.value,
|
|
2462
2462
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
2463
|
-
isCursorPointer:
|
|
2463
|
+
isCursorPointer: L.value
|
|
2464
2464
|
} : {
|
|
2465
2465
|
hideDetails: !0,
|
|
2466
2466
|
config: {
|
|
2467
2467
|
open: t,
|
|
2468
2468
|
maxHeight: 1e4,
|
|
2469
2469
|
body: {
|
|
2470
|
-
backgroundColor:
|
|
2471
|
-
color:
|
|
2470
|
+
backgroundColor: I.value.backgroundColor,
|
|
2471
|
+
color: I.value.color
|
|
2472
2472
|
},
|
|
2473
2473
|
head: {
|
|
2474
|
-
backgroundColor:
|
|
2475
|
-
color:
|
|
2474
|
+
backgroundColor: I.value.backgroundColor,
|
|
2475
|
+
color: I.value.color
|
|
2476
2476
|
}
|
|
2477
2477
|
}
|
|
2478
2478
|
}
|
|
2479
2479
|
};
|
|
2480
2480
|
});
|
|
2481
|
-
|
|
2482
|
-
|
|
2481
|
+
Le(() => z.value.showTable, (e) => {
|
|
2482
|
+
A.value.table.show || (e && A.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
|
|
2483
2483
|
});
|
|
2484
2484
|
function Bn() {
|
|
2485
|
-
|
|
2485
|
+
z.value.showTable = !1, kt.value && kt.value.setTableIconState(!1);
|
|
2486
2486
|
}
|
|
2487
|
-
let Vn =
|
|
2488
|
-
svg:
|
|
2487
|
+
let Vn = c(() => I.value.backgroundColor), Hn = c(() => I.value.title), { isCallbackImaging: Un, isCallbackSvg: Wn, generateSvg: Gn, onGenerateImage: Kn } = _e({
|
|
2488
|
+
svg: Bt,
|
|
2489
2489
|
title: Hn,
|
|
2490
|
-
legend:
|
|
2490
|
+
legend: F,
|
|
2491
2491
|
legendItems: Q,
|
|
2492
2492
|
backgroundColor: Vn,
|
|
2493
|
-
getSvgCallback: () =>
|
|
2494
|
-
generateImage:
|
|
2493
|
+
getSvgCallback: () => A.value.userOptions.callbacks.svg,
|
|
2494
|
+
generateImage: cn
|
|
2495
2495
|
});
|
|
2496
2496
|
async function qn() {
|
|
2497
|
-
if (
|
|
2498
|
-
config:
|
|
2499
|
-
dataset:
|
|
2500
|
-
}), !
|
|
2497
|
+
if (gt("copyAlt", {
|
|
2498
|
+
config: A.value,
|
|
2499
|
+
dataset: U.value
|
|
2500
|
+
}), !A.value.userOptions.callbacks.altCopy) {
|
|
2501
2501
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
2502
2502
|
return;
|
|
2503
2503
|
}
|
|
2504
|
-
await Promise.resolve(
|
|
2505
|
-
config:
|
|
2506
|
-
dataset:
|
|
2504
|
+
await Promise.resolve(A.value.userOptions.callbacks.altCopy({
|
|
2505
|
+
config: A.value,
|
|
2506
|
+
dataset: U.value
|
|
2507
2507
|
}));
|
|
2508
2508
|
}
|
|
2509
|
-
return
|
|
2509
|
+
return be({
|
|
2510
2510
|
getData: Rn,
|
|
2511
2511
|
getImage: zn,
|
|
2512
|
-
generatePdf:
|
|
2512
|
+
generatePdf: sn,
|
|
2513
2513
|
generateCsv: Pn,
|
|
2514
|
-
generateImage:
|
|
2514
|
+
generateImage: cn,
|
|
2515
2515
|
generateSvg: Gn,
|
|
2516
|
-
toggleTable:
|
|
2517
|
-
toggleTooltip:
|
|
2518
|
-
toggleAnnotator:
|
|
2519
|
-
toggleFullscreen:
|
|
2516
|
+
toggleTable: tn,
|
|
2517
|
+
toggleTooltip: nn,
|
|
2518
|
+
toggleAnnotator: en,
|
|
2519
|
+
toggleFullscreen: $t,
|
|
2520
2520
|
copyAlt: qn
|
|
2521
|
-
}), (e, n) => (
|
|
2521
|
+
}), (e, n) => (v(), d("div", {
|
|
2522
2522
|
ref_key: "worldChart",
|
|
2523
|
-
ref:
|
|
2524
|
-
id: `world_${
|
|
2525
|
-
class:
|
|
2526
|
-
style:
|
|
2527
|
-
onMouseenter: n[2] ||= () =>
|
|
2528
|
-
onMouseleave: n[3] ||= () =>
|
|
2523
|
+
ref: T,
|
|
2524
|
+
id: `world_${E.value}`,
|
|
2525
|
+
class: je(`vue-data-ui-component vue-ui-world ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
2526
|
+
style: _(`font-family:${A.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor}`),
|
|
2527
|
+
onMouseenter: n[2] ||= () => S(Rt)(!0),
|
|
2528
|
+
onMouseleave: n[3] ||= () => S(Rt)(!1)
|
|
2529
2529
|
}, [
|
|
2530
|
-
|
|
2530
|
+
j.value.buttons.annotator && S(Bt) ? (v(), l(S(qe), {
|
|
2531
2531
|
key: 0,
|
|
2532
|
-
color:
|
|
2533
|
-
backgroundColor:
|
|
2534
|
-
active:
|
|
2535
|
-
svgRef:
|
|
2536
|
-
isCursorPointer:
|
|
2537
|
-
palette:
|
|
2538
|
-
onClose:
|
|
2532
|
+
color: I.value.color,
|
|
2533
|
+
backgroundColor: I.value.backgroundColor,
|
|
2534
|
+
active: G.value,
|
|
2535
|
+
svgRef: S(Bt),
|
|
2536
|
+
isCursorPointer: L.value,
|
|
2537
|
+
palette: j.value.annotatorPalette,
|
|
2538
|
+
onClose: en
|
|
2539
2539
|
}, {
|
|
2540
|
-
"annotator-action-close":
|
|
2541
|
-
"annotator-action-color":
|
|
2542
|
-
"annotator-action-draw":
|
|
2543
|
-
"annotator-action-undo":
|
|
2544
|
-
"annotator-action-redo":
|
|
2545
|
-
"annotator-action-delete":
|
|
2540
|
+
"annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
2541
|
+
"annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
|
|
2542
|
+
"annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
|
|
2543
|
+
"annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
|
|
2544
|
+
"annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
|
|
2545
|
+
"annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
|
|
2546
2546
|
_: 3
|
|
2547
2547
|
}, 8, [
|
|
2548
2548
|
"color",
|
|
@@ -2551,77 +2551,77 @@ var Ge = {
|
|
|
2551
2551
|
"svgRef",
|
|
2552
2552
|
"isCursorPointer",
|
|
2553
2553
|
"palette"
|
|
2554
|
-
])) :
|
|
2555
|
-
|
|
2556
|
-
|
|
2554
|
+
])) : u("", !0),
|
|
2555
|
+
b(e.$slots, "userConfig", {}, void 0, !0),
|
|
2556
|
+
rn.value ? (v(), d("div", {
|
|
2557
2557
|
key: 1,
|
|
2558
2558
|
ref_key: "noTitle",
|
|
2559
|
-
ref:
|
|
2559
|
+
ref: St,
|
|
2560
2560
|
class: "vue-data-ui-no-title-space",
|
|
2561
2561
|
style: "height:36px; width: 100%;background:transparent"
|
|
2562
|
-
}, null, 512)) :
|
|
2563
|
-
|
|
2562
|
+
}, null, 512)) : u("", !0),
|
|
2563
|
+
I.value.title.text ? (v(), d("div", {
|
|
2564
2564
|
key: 2,
|
|
2565
2565
|
ref_key: "chartTitle",
|
|
2566
|
-
ref:
|
|
2566
|
+
ref: yt,
|
|
2567
2567
|
style: "width:100%;background:transparent"
|
|
2568
|
-
}, [(
|
|
2569
|
-
key: `title_${
|
|
2568
|
+
}, [(v(), l(S(Be), {
|
|
2569
|
+
key: `title_${Ct.value}`,
|
|
2570
2570
|
config: {
|
|
2571
2571
|
title: {
|
|
2572
2572
|
cy: "donut-div-title",
|
|
2573
|
-
...
|
|
2573
|
+
...I.value.title
|
|
2574
2574
|
},
|
|
2575
2575
|
subtitle: {
|
|
2576
2576
|
cy: "donut-div-subtitle",
|
|
2577
|
-
...
|
|
2577
|
+
...I.value.title.subtitle
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2581
|
-
|
|
2582
|
-
|
|
2580
|
+
}, null, 8, ["config"]))], 512)) : u("", !0),
|
|
2581
|
+
f("div", { id: `legend-top-${E.value}` }, null, 8, Ye),
|
|
2582
|
+
j.value.show && _t.value && (S(zt) || S(Lt)) ? (v(), l(S(ft), {
|
|
2583
2583
|
ref_key: "userOptionsRef",
|
|
2584
2584
|
ref: kt,
|
|
2585
2585
|
key: `user_option_${Dt.value}`,
|
|
2586
|
-
backgroundColor:
|
|
2587
|
-
color:
|
|
2588
|
-
isPrinting:
|
|
2589
|
-
isImaging:
|
|
2590
|
-
uid:
|
|
2591
|
-
callbacks:
|
|
2592
|
-
hasTooltip:
|
|
2593
|
-
hasPdf:
|
|
2594
|
-
hasImg:
|
|
2595
|
-
hasSvg:
|
|
2596
|
-
hasXls:
|
|
2597
|
-
hasTable:
|
|
2586
|
+
backgroundColor: I.value.backgroundColor,
|
|
2587
|
+
color: I.value.color,
|
|
2588
|
+
isPrinting: S(an),
|
|
2589
|
+
isImaging: S(on),
|
|
2590
|
+
uid: E.value,
|
|
2591
|
+
callbacks: j.value.callbacks,
|
|
2592
|
+
hasTooltip: M.value.show && j.value.buttons.tooltip,
|
|
2593
|
+
hasPdf: j.value.buttons.pdf,
|
|
2594
|
+
hasImg: j.value.buttons.img,
|
|
2595
|
+
hasSvg: j.value.buttons.svg,
|
|
2596
|
+
hasXls: j.value.buttons.csv,
|
|
2597
|
+
hasTable: j.value.buttons.table,
|
|
2598
2598
|
hasLabel: !1,
|
|
2599
|
-
hasFullscreen:
|
|
2600
|
-
hasAltCopy:
|
|
2601
|
-
isFullscreen:
|
|
2602
|
-
chartElement:
|
|
2603
|
-
position:
|
|
2604
|
-
printScale:
|
|
2605
|
-
isTooltip:
|
|
2606
|
-
titles: { ...
|
|
2607
|
-
hasAnnotator:
|
|
2608
|
-
isAnnotation:
|
|
2609
|
-
tableDialog:
|
|
2610
|
-
isCursorPointer:
|
|
2611
|
-
onToggleFullscreen:
|
|
2612
|
-
onGeneratePdf:
|
|
2599
|
+
hasFullscreen: j.value.buttons.fullscreen,
|
|
2600
|
+
hasAltCopy: j.value.buttons.altCopy,
|
|
2601
|
+
isFullscreen: W.value,
|
|
2602
|
+
chartElement: T.value,
|
|
2603
|
+
position: j.value.position,
|
|
2604
|
+
printScale: j.value.print.scale,
|
|
2605
|
+
isTooltip: z.value.showTooltip,
|
|
2606
|
+
titles: { ...j.value.buttonTitles },
|
|
2607
|
+
hasAnnotator: j.value.buttons.annotator,
|
|
2608
|
+
isAnnotation: G.value,
|
|
2609
|
+
tableDialog: A.value.table.useDialog,
|
|
2610
|
+
isCursorPointer: L.value,
|
|
2611
|
+
onToggleFullscreen: $t,
|
|
2612
|
+
onGeneratePdf: S(sn),
|
|
2613
2613
|
onGenerateCsv: Pn,
|
|
2614
|
-
onGenerateImage:
|
|
2615
|
-
onGenerateSvg:
|
|
2616
|
-
onToggleTable:
|
|
2617
|
-
onToggleTooltip:
|
|
2618
|
-
onToggleAnnotator:
|
|
2614
|
+
onGenerateImage: S(Kn),
|
|
2615
|
+
onGenerateSvg: S(Gn),
|
|
2616
|
+
onToggleTable: tn,
|
|
2617
|
+
onToggleTooltip: nn,
|
|
2618
|
+
onToggleAnnotator: en,
|
|
2619
2619
|
onCopyAlt: qn,
|
|
2620
|
-
style:
|
|
2621
|
-
},
|
|
2620
|
+
style: _({ visibility: S(zt) ? S(Lt) ? "visible" : "hidden" : "visible" })
|
|
2621
|
+
}, De({ _: 2 }, [
|
|
2622
2622
|
e.$slots.menuIcon ? {
|
|
2623
2623
|
name: "menuIcon",
|
|
2624
|
-
fn:
|
|
2624
|
+
fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", g(h({
|
|
2625
2625
|
isOpen: t,
|
|
2626
2626
|
color: n
|
|
2627
2627
|
})), void 0, !0)]),
|
|
@@ -2629,37 +2629,37 @@ var Ge = {
|
|
|
2629
2629
|
} : void 0,
|
|
2630
2630
|
e.$slots.optionTooltip ? {
|
|
2631
2631
|
name: "optionTooltip",
|
|
2632
|
-
fn:
|
|
2632
|
+
fn: C(() => [b(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: C(() => [b(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: C(() => [b(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: C(() => [b(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: C(() => [b(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: C(() => [b(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: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", g(h({
|
|
2663
2663
|
toggleFullscreen: t,
|
|
2664
2664
|
isFullscreen: n
|
|
2665
2665
|
})), void 0, !0)]),
|
|
@@ -2667,7 +2667,7 @@ var Ge = {
|
|
|
2667
2667
|
} : void 0,
|
|
2668
2668
|
e.$slots.optionAnnotator ? {
|
|
2669
2669
|
name: "optionAnnotator",
|
|
2670
|
-
fn:
|
|
2670
|
+
fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", g(h({
|
|
2671
2671
|
toggleAnnotator: t,
|
|
2672
2672
|
isAnnotator: n
|
|
2673
2673
|
})), void 0, !0)]),
|
|
@@ -2675,62 +2675,62 @@ var Ge = {
|
|
|
2675
2675
|
} : void 0,
|
|
2676
2676
|
e.$slots.optionAltCopy ? {
|
|
2677
2677
|
name: "optionAltCopy",
|
|
2678
|
-
fn:
|
|
2678
|
+
fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", g(h({ 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: C(() => [b(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: C(() => [b(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.onGenerateImage.onGenerateSvg.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.onGenerateImage.onGenerateSvg.style".split("."))) : u("", !0),
|
|
2692
|
+
(v(), d("svg", {
|
|
2693
2693
|
ref_key: "svgRef",
|
|
2694
|
-
ref:
|
|
2695
|
-
viewBox:
|
|
2696
|
-
xmlns:
|
|
2697
|
-
class:
|
|
2698
|
-
"vue-data-ui-fullscreen--on":
|
|
2699
|
-
"vue-data-ui-fullscreen--off": !
|
|
2694
|
+
ref: Bt,
|
|
2695
|
+
viewBox: H.value.str,
|
|
2696
|
+
xmlns: S(se),
|
|
2697
|
+
class: je({
|
|
2698
|
+
"vue-data-ui-fullscreen--on": W.value,
|
|
2699
|
+
"vue-data-ui-fullscreen--off": !W.value
|
|
2700
2700
|
}),
|
|
2701
|
-
style:
|
|
2701
|
+
style: _({
|
|
2702
2702
|
maxWidth: "100%",
|
|
2703
|
-
overflow:
|
|
2703
|
+
overflow: B.value === "globe" ? "visible" : "hidden",
|
|
2704
2704
|
background: "transparent",
|
|
2705
|
-
color:
|
|
2706
|
-
paddingTop:
|
|
2707
|
-
paddingRight:
|
|
2708
|
-
paddingBottom:
|
|
2709
|
-
paddingLeft:
|
|
2705
|
+
color: I.value.color,
|
|
2706
|
+
paddingTop: I.value.padding.top + "px",
|
|
2707
|
+
paddingRight: I.value.padding.right + "px",
|
|
2708
|
+
paddingBottom: I.value.padding.bottom + "px",
|
|
2709
|
+
paddingLeft: I.value.padding.left + "px"
|
|
2710
2710
|
}),
|
|
2711
|
-
onMousedown:
|
|
2712
|
-
onMousemove:
|
|
2713
|
-
onMouseup:
|
|
2714
|
-
onMouseleave:
|
|
2715
|
-
onTouchstart:
|
|
2716
|
-
onTouchmove:
|
|
2717
|
-
onTouchend:
|
|
2711
|
+
onMousedown: En,
|
|
2712
|
+
onMousemove: Dn,
|
|
2713
|
+
onMouseup: On,
|
|
2714
|
+
onMouseleave: On,
|
|
2715
|
+
onTouchstart: kn,
|
|
2716
|
+
onTouchmove: Re(An, ["prevent"]),
|
|
2717
|
+
onTouchend: jn
|
|
2718
2718
|
}, [
|
|
2719
|
-
|
|
2720
|
-
e.$slots["chart-background"] ? (
|
|
2719
|
+
p(S(pt)),
|
|
2720
|
+
e.$slots["chart-background"] ? (v(), d("foreignObject", {
|
|
2721
2721
|
key: 0,
|
|
2722
|
-
x:
|
|
2723
|
-
y:
|
|
2724
|
-
width:
|
|
2725
|
-
height:
|
|
2722
|
+
x: H.value.minX,
|
|
2723
|
+
y: H.value.minY,
|
|
2724
|
+
width: H.value.width,
|
|
2725
|
+
height: H.value.height,
|
|
2726
2726
|
style: { pointerEvents: "none" }
|
|
2727
|
-
}, [
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2727
|
+
}, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : u("", !0),
|
|
2728
|
+
_t.value ? (v(), d("g", Qe, [
|
|
2729
|
+
B.value === "globe" ? (v(), d(s, { key: 0 }, [
|
|
2730
|
+
f("defs", null, [
|
|
2731
|
+
p(xe, {
|
|
2732
2732
|
t: "radial",
|
|
2733
|
-
id: `water-${
|
|
2733
|
+
id: `water-${E.value}`,
|
|
2734
2734
|
cx: .48,
|
|
2735
2735
|
cy: .52,
|
|
2736
2736
|
r: "0.55",
|
|
@@ -2739,29 +2739,29 @@ var Ge = {
|
|
|
2739
2739
|
stops: [
|
|
2740
2740
|
[
|
|
2741
2741
|
"0%",
|
|
2742
|
-
|
|
2742
|
+
S(i)(N.value.waterColor, .4),
|
|
2743
2743
|
1
|
|
2744
2744
|
],
|
|
2745
2745
|
[
|
|
2746
2746
|
"45%",
|
|
2747
|
-
|
|
2747
|
+
N.value.waterColor,
|
|
2748
2748
|
1
|
|
2749
2749
|
],
|
|
2750
2750
|
[
|
|
2751
2751
|
"80%",
|
|
2752
|
-
|
|
2752
|
+
S(ee)(N.value.waterColor, .2),
|
|
2753
2753
|
1
|
|
2754
2754
|
],
|
|
2755
2755
|
[
|
|
2756
2756
|
"100%",
|
|
2757
|
-
|
|
2757
|
+
S(ee)(N.value.waterColor, .5),
|
|
2758
2758
|
.95
|
|
2759
2759
|
]
|
|
2760
2760
|
]
|
|
2761
2761
|
}, null, 8, ["id", "stops"]),
|
|
2762
|
-
|
|
2762
|
+
p(xe, {
|
|
2763
2763
|
t: "radial",
|
|
2764
|
-
id: `atmo-realistic-${
|
|
2764
|
+
id: `atmo-realistic-${E.value}`,
|
|
2765
2765
|
cx: .5,
|
|
2766
2766
|
cy: .5,
|
|
2767
2767
|
r: "0.54",
|
|
@@ -2773,7 +2773,7 @@ var Ge = {
|
|
|
2773
2773
|
],
|
|
2774
2774
|
[
|
|
2775
2775
|
"98%",
|
|
2776
|
-
|
|
2776
|
+
N.value.waterColor,
|
|
2777
2777
|
1
|
|
2778
2778
|
],
|
|
2779
2779
|
[
|
|
@@ -2783,104 +2783,104 @@ var Ge = {
|
|
|
2783
2783
|
]
|
|
2784
2784
|
]
|
|
2785
2785
|
}, null, 8, ["id", "stops"]),
|
|
2786
|
-
|
|
2787
|
-
id: `blur-${
|
|
2786
|
+
f("filter", {
|
|
2787
|
+
id: `blur-${E.value}`,
|
|
2788
2788
|
x: "-30%",
|
|
2789
2789
|
y: "-30%",
|
|
2790
2790
|
width: "160%",
|
|
2791
2791
|
height: "160%"
|
|
2792
|
-
}, [...n[4] ||= [
|
|
2792
|
+
}, [...n[4] ||= [f("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, $e)
|
|
2793
2793
|
]),
|
|
2794
|
-
e.$slots.pattern ? (
|
|
2794
|
+
e.$slots.pattern ? (v(), d("g", et, [(v(!0), d(s, null, Pe(U.value, (t, n) => (v(), d("defs", null, [b(e.$slots, "pattern", ke({ ref_for: !0 }, {
|
|
2795
2795
|
...t,
|
|
2796
|
-
patternId: `pattern_${
|
|
2797
|
-
}), void 0, !0)]))), 256))])) :
|
|
2798
|
-
|
|
2799
|
-
cx:
|
|
2800
|
-
cy:
|
|
2801
|
-
r:
|
|
2802
|
-
fill: `url(#water-${
|
|
2803
|
-
}, null, 8,
|
|
2804
|
-
|
|
2805
|
-
cx:
|
|
2806
|
-
cy:
|
|
2807
|
-
r:
|
|
2808
|
-
fill: `url(#atmo-realistic-${
|
|
2796
|
+
patternId: `pattern_${E.value}_${t.code}`
|
|
2797
|
+
}), void 0, !0)]))), 256))])) : u("", !0),
|
|
2798
|
+
f("circle", {
|
|
2799
|
+
cx: H.value.width / 2 + 20,
|
|
2800
|
+
cy: H.value.height / 2 + 20,
|
|
2801
|
+
r: H.value.height / 2,
|
|
2802
|
+
fill: `url(#water-${E.value})`
|
|
2803
|
+
}, null, 8, tt),
|
|
2804
|
+
f("circle", {
|
|
2805
|
+
cx: H.value.width / 2 + 20,
|
|
2806
|
+
cy: H.value.height / 2 + 20,
|
|
2807
|
+
r: H.value.height / 2 + 10,
|
|
2808
|
+
fill: `url(#atmo-realistic-${E.value})`,
|
|
2809
2809
|
"pointer-events": "none",
|
|
2810
|
-
filter: `url(#blur-${
|
|
2811
|
-
}, null, 8,
|
|
2812
|
-
], 64)) :
|
|
2813
|
-
(
|
|
2810
|
+
filter: `url(#blur-${E.value})`
|
|
2811
|
+
}, null, 8, nt)
|
|
2812
|
+
], 64)) : u("", !0),
|
|
2813
|
+
(v(!0), d(s, null, Pe(U.value, (t, n) => (v(), d(s, { key: t.code }, [f("path", {
|
|
2814
2814
|
d: t.path,
|
|
2815
|
-
fill: t.category && Z.value.includes(t.category) ?
|
|
2816
|
-
stroke:
|
|
2817
|
-
"stroke-width":
|
|
2818
|
-
onMouseenter: (e) =>
|
|
2815
|
+
fill: t.category && Z.value.includes(t.category) ? P.value.emptyColor : t.color,
|
|
2816
|
+
stroke: P.value.stroke,
|
|
2817
|
+
"stroke-width": q.value && q.value.uid === t.uid ? P.value.strokeWidthSelected : P.value.strokeWidth,
|
|
2818
|
+
onMouseenter: (e) => hn({
|
|
2819
2819
|
datapoint: t,
|
|
2820
2820
|
seriesIndex: n
|
|
2821
2821
|
}),
|
|
2822
|
-
onMouseleave: (e) =>
|
|
2822
|
+
onMouseleave: (e) => pn({
|
|
2823
2823
|
datapoint: t,
|
|
2824
2824
|
seriesIndex: n
|
|
2825
2825
|
}),
|
|
2826
|
-
onClick: (e) =>
|
|
2826
|
+
onClick: (e) => mn({
|
|
2827
2827
|
datapoint: t,
|
|
2828
2828
|
seriesIndex: n
|
|
2829
2829
|
}),
|
|
2830
2830
|
class: "vue-ui-world-territory"
|
|
2831
|
-
}, [!
|
|
2831
|
+
}, [!D.value || !z.value.showTooltip ? (v(), d("title", it, [Oe(x(t.name) + " ", 1), typeof t.value == "number" ? (v(), d(s, { key: 0 }, [Oe(" : " + x(t.value), 1)], 64)) : u("", !0)])) : u("", !0)], 40, rt), e.$slots.pattern ? (v(), d("path", {
|
|
2832
2832
|
key: 0,
|
|
2833
2833
|
d: t.path,
|
|
2834
|
-
fill: `url(#pattern_${
|
|
2835
|
-
stroke:
|
|
2836
|
-
"stroke-width":
|
|
2834
|
+
fill: `url(#pattern_${E.value}_${t.code})`,
|
|
2835
|
+
stroke: P.value.stroke,
|
|
2836
|
+
"stroke-width": P.value.strokeWidthSelected,
|
|
2837
2837
|
style: { "pointer-events": "none" },
|
|
2838
2838
|
class: "vue-ui-world-territory"
|
|
2839
|
-
}, null, 8,
|
|
2840
|
-
|
|
2839
|
+
}, null, 8, at)) : u("", !0)], 64))), 128)),
|
|
2840
|
+
q.value ? (v(), d("path", {
|
|
2841
2841
|
key: 1,
|
|
2842
|
-
d:
|
|
2842
|
+
d: un.value,
|
|
2843
2843
|
fill: "transparent",
|
|
2844
|
-
stroke:
|
|
2845
|
-
"stroke-width":
|
|
2844
|
+
stroke: P.value.stroke,
|
|
2845
|
+
"stroke-width": P.value.strokeWidthSelected,
|
|
2846
2846
|
style: { "pointer-events": "none" },
|
|
2847
2847
|
class: "vue-ui-world-territory"
|
|
2848
|
-
}, null, 8,
|
|
2849
|
-
])) :
|
|
2850
|
-
|
|
2851
|
-
height:
|
|
2852
|
-
width:
|
|
2853
|
-
isPrintingImg:
|
|
2854
|
-
isPrintingSvg:
|
|
2848
|
+
}, null, 8, ot)) : u("", !0)
|
|
2849
|
+
])) : u("", !0),
|
|
2850
|
+
b(e.$slots, "svg", { svg: {
|
|
2851
|
+
height: V.value.height,
|
|
2852
|
+
width: V.value.width,
|
|
2853
|
+
isPrintingImg: S(an) || S(on) || S(Un),
|
|
2854
|
+
isPrintingSvg: S(Wn)
|
|
2855
2855
|
} }, void 0, !0)
|
|
2856
|
-
], 46,
|
|
2857
|
-
e.$slots.watermark ? (
|
|
2858
|
-
|
|
2859
|
-
Ot.value &&
|
|
2856
|
+
], 46, Xe)),
|
|
2857
|
+
e.$slots.watermark ? (v(), d("div", st, [b(e.$slots, "watermark", g(h({ isPrinting: S(an) || S(on) || S(Un) || S(Wn) })), void 0, !0)])) : u("", !0),
|
|
2858
|
+
f("div", { id: `legend-bottom-${E.value}` }, null, 8, ct),
|
|
2859
|
+
Ot.value && vt.value && (F.value.show || e.$slots.legend) ? (v(), l(Ee, {
|
|
2860
2860
|
key: 5,
|
|
2861
|
-
to:
|
|
2862
|
-
}, [
|
|
2861
|
+
to: F.value.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
2862
|
+
}, [vt.value ? (v(), d("div", {
|
|
2863
2863
|
key: 0,
|
|
2864
2864
|
ref_key: "chartLegend",
|
|
2865
|
-
ref:
|
|
2866
|
-
}, [
|
|
2867
|
-
key: `legend_${
|
|
2865
|
+
ref: bt
|
|
2866
|
+
}, [b(e.$slots, "legend", { legend: Q.value }, () => [F.value.show ? (v(), l(S(Ve), {
|
|
2867
|
+
key: `legend_${wt.value}`,
|
|
2868
2868
|
legendSet: Q.value,
|
|
2869
2869
|
config: Ln.value,
|
|
2870
|
-
isCursorPointer:
|
|
2870
|
+
isCursorPointer: L.value,
|
|
2871
2871
|
onClickMarker: n[0] ||= (e) => In(e)
|
|
2872
|
-
},
|
|
2873
|
-
item:
|
|
2874
|
-
style:
|
|
2872
|
+
}, De({
|
|
2873
|
+
item: C(({ legend: e, index: t }) => [f("div", {
|
|
2874
|
+
style: _(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2875
2875
|
onClick: (t) => e.segregate()
|
|
2876
|
-
},
|
|
2877
|
-
legendToggle:
|
|
2876
|
+
}, x(e.name), 13, lt)]),
|
|
2877
|
+
legendToggle: C(() => [Q.value.length > 2 && F.value.selectAllToggle.show && !S(It) ? (v(), l(Se, {
|
|
2878
2878
|
key: 0,
|
|
2879
|
-
backgroundColor:
|
|
2880
|
-
color:
|
|
2881
|
-
fontSize:
|
|
2879
|
+
backgroundColor: F.value.selectAllToggle.backgroundColor,
|
|
2880
|
+
color: F.value.selectAllToggle.color,
|
|
2881
|
+
fontSize: F.value.fontSize,
|
|
2882
2882
|
checked: Z.value.length > 0,
|
|
2883
|
-
isCursorPointer:
|
|
2883
|
+
isCursorPointer: L.value,
|
|
2884
2884
|
onToggle: Fn
|
|
2885
2885
|
}, null, 8, [
|
|
2886
2886
|
"backgroundColor",
|
|
@@ -2888,11 +2888,11 @@ var Ge = {
|
|
|
2888
2888
|
"fontSize",
|
|
2889
2889
|
"checked",
|
|
2890
2890
|
"isCursorPointer"
|
|
2891
|
-
])) :
|
|
2891
|
+
])) : u("", !0)]),
|
|
2892
2892
|
_: 2
|
|
2893
2893
|
}, [e.$slots.pattern ? {
|
|
2894
2894
|
name: "legend-pattern",
|
|
2895
|
-
fn:
|
|
2895
|
+
fn: C(({ legend: e, index: t }) => [p(ye, {
|
|
2896
2896
|
shape: e.shape,
|
|
2897
2897
|
radius: 30,
|
|
2898
2898
|
stroke: "none",
|
|
@@ -2900,45 +2900,45 @@ var Ge = {
|
|
|
2900
2900
|
x: 30,
|
|
2901
2901
|
y: 30
|
|
2902
2902
|
},
|
|
2903
|
-
fill: `url(#pattern_${
|
|
2903
|
+
fill: `url(#pattern_${E.value}_${t})`
|
|
2904
2904
|
}, null, 8, ["shape", "fill"])]),
|
|
2905
2905
|
key: "0"
|
|
2906
2906
|
} : void 0]), 1032, [
|
|
2907
2907
|
"legendSet",
|
|
2908
2908
|
"config",
|
|
2909
2909
|
"isCursorPointer"
|
|
2910
|
-
])) :
|
|
2911
|
-
e.$slots.source ? (
|
|
2910
|
+
])) : u("", !0)], !0)], 512)) : u("", !0)], 8, ["to"])) : u("", !0),
|
|
2911
|
+
e.$slots.source ? (v(), d("div", {
|
|
2912
2912
|
key: 6,
|
|
2913
2913
|
ref_key: "source",
|
|
2914
|
-
ref:
|
|
2914
|
+
ref: xt,
|
|
2915
2915
|
dir: "auto"
|
|
2916
|
-
}, [
|
|
2917
|
-
|
|
2918
|
-
teleportTo:
|
|
2919
|
-
show:
|
|
2920
|
-
backgroundColor:
|
|
2921
|
-
color:
|
|
2922
|
-
fontSize:
|
|
2923
|
-
borderRadius:
|
|
2924
|
-
borderColor:
|
|
2925
|
-
borderWidth:
|
|
2926
|
-
backgroundOpacity:
|
|
2927
|
-
position:
|
|
2928
|
-
offsetX:
|
|
2929
|
-
offsetY:
|
|
2930
|
-
parent:
|
|
2916
|
+
}, [b(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
2917
|
+
p(S(He), {
|
|
2918
|
+
teleportTo: M.value.teleportTo,
|
|
2919
|
+
show: z.value.showTooltip && D.value,
|
|
2920
|
+
backgroundColor: M.value.backgroundColor,
|
|
2921
|
+
color: M.value.color,
|
|
2922
|
+
fontSize: M.value.fontSize,
|
|
2923
|
+
borderRadius: M.value.borderRadius,
|
|
2924
|
+
borderColor: M.value.borderColor,
|
|
2925
|
+
borderWidth: M.value.borderWidth,
|
|
2926
|
+
backgroundOpacity: M.value.backgroundOpacity,
|
|
2927
|
+
position: M.value.position,
|
|
2928
|
+
offsetX: M.value.offsetX,
|
|
2929
|
+
offsetY: M.value.offsetY,
|
|
2930
|
+
parent: T.value,
|
|
2931
2931
|
content: Et.value,
|
|
2932
|
-
isCustom:
|
|
2933
|
-
isFullscreen:
|
|
2934
|
-
smooth:
|
|
2935
|
-
backdropFilter:
|
|
2936
|
-
smoothForce:
|
|
2937
|
-
smoothSnapThreshold:
|
|
2932
|
+
isCustom: K.value,
|
|
2933
|
+
isFullscreen: W.value,
|
|
2934
|
+
smooth: M.value.smooth,
|
|
2935
|
+
backdropFilter: M.value.backdropFilter,
|
|
2936
|
+
smoothForce: M.value.smoothForce,
|
|
2937
|
+
smoothSnapThreshold: M.value.smoothSnapThreshold
|
|
2938
2938
|
}, {
|
|
2939
|
-
"tooltip-before":
|
|
2940
|
-
tooltip:
|
|
2941
|
-
"tooltip-after":
|
|
2939
|
+
"tooltip-before": C(() => [b(e.$slots, "tooltip-before", g(h({ ...ln.value })), void 0, !0)]),
|
|
2940
|
+
tooltip: C(() => [b(e.$slots, "tooltip", g(h({ ...ln.value })), void 0, !0)]),
|
|
2941
|
+
"tooltip-after": C(() => [b(e.$slots, "tooltip-after", g(h({ ...ln.value })), void 0, !0)]),
|
|
2942
2942
|
_: 3
|
|
2943
2943
|
}, 8, [
|
|
2944
2944
|
"teleportTo",
|
|
@@ -2962,28 +2962,28 @@ var Ge = {
|
|
|
2962
2962
|
"smoothForce",
|
|
2963
2963
|
"smoothSnapThreshold"
|
|
2964
2964
|
]),
|
|
2965
|
-
|
|
2965
|
+
_t.value && j.value.buttons.table ? (v(), l(Fe($.value.component), ke({ key: 7 }, $.value.props, {
|
|
2966
2966
|
ref_key: "tableUnit",
|
|
2967
2967
|
ref: O,
|
|
2968
2968
|
onClose: Bn
|
|
2969
|
-
}),
|
|
2970
|
-
content:
|
|
2971
|
-
key: `table_${
|
|
2969
|
+
}), De({
|
|
2970
|
+
content: C(() => [(v(), l(S(Ge), {
|
|
2971
|
+
key: `table_${Tt.value}`,
|
|
2972
2972
|
colNames: Nn.value.colNames,
|
|
2973
2973
|
head: Nn.value.head,
|
|
2974
2974
|
body: Nn.value.body,
|
|
2975
2975
|
config: Nn.value.config,
|
|
2976
|
-
title:
|
|
2977
|
-
withCloseButton: !
|
|
2978
|
-
isCursorPointer:
|
|
2976
|
+
title: A.value.table.useDialog ? "" : $.value.title,
|
|
2977
|
+
withCloseButton: !A.value.table.useDialog,
|
|
2978
|
+
isCursorPointer: L.value,
|
|
2979
2979
|
onClose: Bn
|
|
2980
2980
|
}, {
|
|
2981
|
-
th:
|
|
2982
|
-
td:
|
|
2983
|
-
p:
|
|
2981
|
+
th: C(({ th: e }) => [f("div", ut, x(e), 1)]),
|
|
2982
|
+
td: C(({ td: e }) => [Oe(x(e.name ? e.name : e.category ? e.category : S(ie)(I.value.dataLabels.formatter, e, S(t)({
|
|
2983
|
+
p: I.value.dataLabels.prefix,
|
|
2984
2984
|
v: e,
|
|
2985
|
-
s:
|
|
2986
|
-
r:
|
|
2985
|
+
s: I.value.dataLabels.suffix,
|
|
2986
|
+
r: I.value.dataLabels.rounding
|
|
2987
2987
|
}))), 1)]),
|
|
2988
2988
|
_: 1
|
|
2989
2989
|
}, 8, [
|
|
@@ -2996,26 +2996,26 @@ var Ge = {
|
|
|
2996
2996
|
"isCursorPointer"
|
|
2997
2997
|
]))]),
|
|
2998
2998
|
_: 2
|
|
2999
|
-
}, [
|
|
2999
|
+
}, [A.value.table.useDialog ? {
|
|
3000
3000
|
name: "title",
|
|
3001
|
-
fn:
|
|
3001
|
+
fn: C(() => [Oe(x($.value.title), 1)]),
|
|
3002
3002
|
key: "0"
|
|
3003
|
-
} : void 0,
|
|
3003
|
+
} : void 0, A.value.table.useDialog ? {
|
|
3004
3004
|
name: "actions",
|
|
3005
|
-
fn:
|
|
3005
|
+
fn: C(() => [f("button", {
|
|
3006
3006
|
tabindex: "0",
|
|
3007
3007
|
class: "vue-ui-user-options-button",
|
|
3008
|
-
onClick: n[1] ||= (e) => Pn(
|
|
3009
|
-
style:
|
|
3010
|
-
}, [
|
|
3008
|
+
onClick: n[1] ||= (e) => Pn(j.value.callbacks.csv),
|
|
3009
|
+
style: _({ cursor: L.value ? "pointer" : "default" })
|
|
3010
|
+
}, [p(S(Ue), {
|
|
3011
3011
|
name: "fileCsv",
|
|
3012
3012
|
stroke: $.value.props.color
|
|
3013
3013
|
}, null, 8, ["stroke"])], 4)]),
|
|
3014
3014
|
key: "1"
|
|
3015
|
-
} : void 0]), 1040)) :
|
|
3016
|
-
|
|
3017
|
-
], 46,
|
|
3015
|
+
} : void 0]), 1040)) : u("", !0),
|
|
3016
|
+
b(e.$slots, "skeleton", {}, () => [S(It) ? (v(), l(he, { key: 0 })) : u("", !0)], !0)
|
|
3017
|
+
], 46, Je));
|
|
3018
3018
|
}
|
|
3019
3019
|
}, [["__scopeId", "data-v-cf84a129"]]);
|
|
3020
3020
|
//#endregion
|
|
3021
|
-
export {
|
|
3021
|
+
export { qe as n, ft as t };
|