vue-data-ui 3.25.3 → 3.25.5
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/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
- 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 +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
|
@@ -1,20 +1,20 @@
|
|
|
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, Ct as n, D as r, Lt as i, S as a, X as ee, Y as o, Zt as s, bt as c, i as l, jt as te, q as ne, t as re, w as ie, xt as ae } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ce } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as fe } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as pe } from "./useChartExport-iwOqiIWX.js";
|
|
9
|
+
import { t as me } from "./img-DhGApYG0.js";
|
|
10
|
+
import { t as he } from "./Shape-CIqU-p2F.js";
|
|
11
|
+
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as _e } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as ve } from "./BaseLegendToggle-__JnV08B.js";
|
|
14
|
+
import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as be } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as xe } from "./geoProjections-CEo3dVaL.js";
|
|
17
|
+
import { Fragment as u, Teleport as Se, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Oe, onMounted as ke, openBlock as x, ref as S, renderList as Ae, renderSlot as C, resolveDynamicComponent as je, toDisplayString as w, toRefs as Me, unref as T, watch as E, withCtx as D, withModifiers as Ne } from "vue";
|
|
18
18
|
//#region src/resources/worldGeo.js
|
|
19
19
|
var Pe = 1e3, Fe = [
|
|
20
20
|
"name",
|
|
@@ -1981,7 +1981,7 @@ var Ve = {
|
|
|
1981
1981
|
}, rt = ["id"], it = ["onClick"], at = { style: {
|
|
1982
1982
|
display: "flex",
|
|
1983
1983
|
"align-items": "center"
|
|
1984
|
-
} }, ot = .5, st = /*#__PURE__*/
|
|
1984
|
+
} }, ot = .5, st = /*#__PURE__*/ ge({
|
|
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 Fe = _(() => import("./Title-
|
|
2005
|
+
setup(e, { expose: ge, emit: Pe }) {
|
|
2006
|
+
let Fe = _(() => import("./Title-CPHi-evi.js").then((e) => e.t)), Ie = _(() => import("./Legend-X4kF4PvW.js").then((e) => e.n)), Le = _(() => import("./Tooltip-hhrkQ3Lk.js")), Re = _(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), ze = _(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), Be = _(() => import("./DataTable-COIO9gi4.js")), He = _(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), st = _(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), ct = _(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), lt = _(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_world: ut } = ce(), O = e, dt = Pe, ft = d({
|
|
2007
2007
|
get() {
|
|
2008
2008
|
return !!I.value;
|
|
2009
2009
|
},
|
|
2010
2010
|
set(e) {
|
|
2011
2011
|
return e;
|
|
2012
2012
|
}
|
|
2013
|
-
}), pt =
|
|
2013
|
+
}), pt = d(() => ft ? Object.values(I.value).some((e) => Object.hasOwn(e, "category")) : !1), k = S(null), mt = S(null), ht = S(null), gt = S(null), _t = S(null), vt = S(0), yt = S(0), bt = S(0), A = S(ne()), j = S(!1), xt = S(""), St = S(0), Ct = S(!1), M = S(null), wt = S(null);
|
|
2014
2014
|
ke(() => {
|
|
2015
2015
|
Ct.value = !0;
|
|
2016
2016
|
});
|
|
2017
|
-
let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } =
|
|
2017
|
+
let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } = xe;
|
|
2018
2018
|
function kt() {
|
|
2019
|
-
let e =
|
|
2019
|
+
let e = fe({
|
|
2020
2020
|
userConfig: O.config,
|
|
2021
2021
|
defaultConfig: ut
|
|
2022
2022
|
});
|
|
2023
|
-
return O.config &&
|
|
2023
|
+
return O.config && c(O.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = a(O.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, O.config && c(O.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = a(O.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = i[0], N = Dt(e, N), e;
|
|
2024
2024
|
}
|
|
2025
2025
|
let P = S(kt());
|
|
2026
|
-
|
|
2026
|
+
oe({
|
|
2027
2027
|
config: () => P.value,
|
|
2028
2028
|
dataset: () => O.dataset,
|
|
2029
2029
|
component: "VueUiWorld",
|
|
2030
|
-
rules: [
|
|
2030
|
+
rules: [se.noHint]
|
|
2031
2031
|
});
|
|
2032
|
-
let F =
|
|
2032
|
+
let F = d(() => P.value.userOptions.useCursorPointer), At = d(() => s({
|
|
2033
2033
|
defaultConfig: {
|
|
2034
2034
|
userOptions: { show: !1 },
|
|
2035
2035
|
table: { show: !1 },
|
|
@@ -2046,16 +2046,16 @@ var Ve = {
|
|
|
2046
2046
|
} }
|
|
2047
2047
|
},
|
|
2048
2048
|
userConfig: P.value.skeletonConfig ?? {}
|
|
2049
|
-
})), { loading: jt, FINAL_DATASET: I } =
|
|
2049
|
+
})), { loading: jt, FINAL_DATASET: I } = ue({
|
|
2050
2050
|
...Me(O),
|
|
2051
2051
|
FINAL_CONFIG: P,
|
|
2052
2052
|
prepareConfig: kt,
|
|
2053
2053
|
skeletonDataset: O.config?.skeletonDataset ?? [],
|
|
2054
|
-
skeletonConfig:
|
|
2054
|
+
skeletonConfig: s({
|
|
2055
2055
|
defaultConfig: P.value,
|
|
2056
2056
|
userConfig: At.value
|
|
2057
2057
|
})
|
|
2058
|
-
}), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } =
|
|
2058
|
+
}), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } = ye({ config: P.value }), { svgRef: L } = be({ config: P.value.style.chart.title }), R = S({
|
|
2059
2059
|
showTable: P.value.table.show,
|
|
2060
2060
|
showTooltip: P.value.style.chart.tooltip.show
|
|
2061
2061
|
});
|
|
@@ -2067,7 +2067,7 @@ var Ve = {
|
|
|
2067
2067
|
showTooltip: P.value.style.chart.tooltip.show
|
|
2068
2068
|
};
|
|
2069
2069
|
}, { immediate: !0 });
|
|
2070
|
-
let Ft =
|
|
2070
|
+
let Ft = d(() => ie(P.value.customPalette)), z = d(() => P.value.projection || "globe"), B = d(() => {
|
|
2071
2071
|
let { height: e, width: t } = P.value.style.chart.dimensions;
|
|
2072
2072
|
return {
|
|
2073
2073
|
aitoff: {
|
|
@@ -2123,7 +2123,7 @@ var Ve = {
|
|
|
2123
2123
|
height: e || 1e3
|
|
2124
2124
|
}
|
|
2125
2125
|
}[z.value];
|
|
2126
|
-
}), V =
|
|
2126
|
+
}), V = d(() => {
|
|
2127
2127
|
let { minX: e, minY: t, width: n, height: r } = Et(Tt[z.value], N.features, B.value.width, B.value.height, q.value);
|
|
2128
2128
|
return {
|
|
2129
2129
|
str: `${e} ${t} ${n} ${r}`,
|
|
@@ -2132,9 +2132,9 @@ var Ve = {
|
|
|
2132
2132
|
width: n,
|
|
2133
2133
|
height: r
|
|
2134
2134
|
};
|
|
2135
|
-
}), It =
|
|
2135
|
+
}), It = d(() => Object.values(I.value).map((e) => e.value)), Lt = d(() => Math.min(...It.value)), Rt = d(() => Math.max(...It.value));
|
|
2136
2136
|
function zt(e) {
|
|
2137
|
-
return typeof e == "number" ?
|
|
2137
|
+
return typeof e == "number" ? ae(P.value.style.chart.territory.colors.min || "#FFFFFF00", P.value.style.chart.territory.colors.max || Ft.value[0] || i[0], Lt.value, Rt.value, e) : P.value.style.chart.territory.emptyColor;
|
|
2138
2138
|
}
|
|
2139
2139
|
function Bt(e) {
|
|
2140
2140
|
return Ot(e, {
|
|
@@ -2144,7 +2144,7 @@ var Ve = {
|
|
|
2144
2144
|
center: q.value
|
|
2145
2145
|
});
|
|
2146
2146
|
}
|
|
2147
|
-
let Vt =
|
|
2147
|
+
let Vt = d(() => {
|
|
2148
2148
|
let e = Object.values(I.value).filter((e) => !!e.category), t = {};
|
|
2149
2149
|
return e.forEach((e) => {
|
|
2150
2150
|
t[e.category] || (t[e.category] = e);
|
|
@@ -2159,9 +2159,9 @@ var Ve = {
|
|
|
2159
2159
|
}
|
|
2160
2160
|
let Ut = /* @__PURE__ */ new Map();
|
|
2161
2161
|
function Wt(e) {
|
|
2162
|
-
return Ut.has(e) || Ut.set(e, `territory-${
|
|
2162
|
+
return Ut.has(e) || Ut.set(e, `territory-${ne()}`), Ut.get(e);
|
|
2163
2163
|
}
|
|
2164
|
-
let H =
|
|
2164
|
+
let H = d(() => (q.value, N.features.map((e) => {
|
|
2165
2165
|
let t = e.properties.iso_a3;
|
|
2166
2166
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2167
2167
|
let n = I.value[t];
|
|
@@ -2191,27 +2191,27 @@ var Ve = {
|
|
|
2191
2191
|
function Jt() {
|
|
2192
2192
|
R.value.showTooltip = !R.value.showTooltip;
|
|
2193
2193
|
}
|
|
2194
|
-
let Yt =
|
|
2194
|
+
let Yt = d(() => P.value.userOptions.show && !P.value.style.chart.title.text), { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = le({
|
|
2195
2195
|
elementId: `world_${A.value}`,
|
|
2196
2196
|
fileName: P.value.style.chart.title.text || "vue-ui-world",
|
|
2197
2197
|
options: P.value.userOptions.print
|
|
2198
|
-
}), G = S(!1), en = S(null), K = S(null), tn =
|
|
2198
|
+
}), G = S(!1), en = S(null), K = S(null), tn = d(() => K.value ? Bt(K.value.geometry) : "");
|
|
2199
2199
|
function nn(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 rn =
|
|
2202
|
+
let rn = d(() => {
|
|
2203
2203
|
let e = K.value?.geometry;
|
|
2204
2204
|
if (!e) return "";
|
|
2205
2205
|
let t = nn(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 = Tt[z.value] || Tt.globe, a = B.value.width, ee = B.value.height,
|
|
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 = Tt[z.value] || Tt.globe, a = B.value.width, ee = B.value.height, o = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), s = o.flat(), c = s.map(([e, t]) => e), l = s.map(([e, t]) => t), te = Math.min(...c), ne = Math.max(...c), re = Math.min(...l), ie = Math.max(...l), ae = ne - te || 1, oe = ie - re || 1, se = Math.min(64 / ae, 64 / oe);
|
|
2208
|
+
function ce([e, t]) {
|
|
2209
|
+
return [(e - te) * se + 8, (t - re) * se + 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="${
|
|
2214
|
+
<path d="${o.map((e) => "M" + e.map(ce).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${K.value?.color || P.value.style.chart.territory.emptyColor}" stroke="${P.value.style.chart.territory.stroke}" stroke-width="1"/>
|
|
2215
2215
|
</svg>
|
|
2216
2216
|
`;
|
|
2217
2217
|
});
|
|
@@ -2236,9 +2236,9 @@ var Ve = {
|
|
|
2236
2236
|
config: P.value,
|
|
2237
2237
|
series: H.value
|
|
2238
2238
|
}, j.value = !0;
|
|
2239
|
-
let
|
|
2240
|
-
if (G.value = !1,
|
|
2241
|
-
let t =
|
|
2239
|
+
let r = "", i = P.value.style.chart.tooltip.customFormat;
|
|
2240
|
+
if (G.value = !1, n(i)) try {
|
|
2241
|
+
let t = i({
|
|
2242
2242
|
datapoint: e,
|
|
2243
2243
|
config: P.value,
|
|
2244
2244
|
series: H.value
|
|
@@ -2247,7 +2247,7 @@ var Ve = {
|
|
|
2247
2247
|
} catch {
|
|
2248
2248
|
console.warn("Custom format cannot be applied."), G.value = !1;
|
|
2249
2249
|
}
|
|
2250
|
-
G.value || (
|
|
2250
|
+
G.value || (r += `
|
|
2251
2251
|
<div style="width:100%;">
|
|
2252
2252
|
${P.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${rn.value}</div>` : ""}
|
|
2253
2253
|
<div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
|
|
@@ -2256,7 +2256,7 @@ var Ve = {
|
|
|
2256
2256
|
</svg>
|
|
2257
2257
|
<span>${e.name}:</span>
|
|
2258
2258
|
<b>
|
|
2259
|
-
${
|
|
2259
|
+
${l(P.value.style.chart.dataLabels.formatter, e.value, ee({
|
|
2260
2260
|
p: P.value.style.chart.dataLabels.prefix,
|
|
2261
2261
|
v: e.value,
|
|
2262
2262
|
s: P.value.style.chart.dataLabels.suffix,
|
|
@@ -2265,7 +2265,7 @@ var Ve = {
|
|
|
2265
2265
|
</b>
|
|
2266
2266
|
</div>
|
|
2267
2267
|
</div>
|
|
2268
|
-
`, xt.value = `<div>${
|
|
2268
|
+
`, xt.value = `<div>${r}</div>`);
|
|
2269
2269
|
}
|
|
2270
2270
|
let cn = S(!1), ln = S({
|
|
2271
2271
|
x: 0,
|
|
@@ -2329,7 +2329,7 @@ var Ve = {
|
|
|
2329
2329
|
Oe(() => {
|
|
2330
2330
|
Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null);
|
|
2331
2331
|
});
|
|
2332
|
-
let X =
|
|
2332
|
+
let X = d(() => {
|
|
2333
2333
|
let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2334
2334
|
return {
|
|
2335
2335
|
head: e.map((e) => ({
|
|
@@ -2339,7 +2339,7 @@ var Ve = {
|
|
|
2339
2339
|
})),
|
|
2340
2340
|
body: e.map((e) => e.value || 0)
|
|
2341
2341
|
};
|
|
2342
|
-
}), wn =
|
|
2342
|
+
}), wn = d(() => {
|
|
2343
2343
|
let e = [
|
|
2344
2344
|
P.value.table.columnNames.series,
|
|
2345
2345
|
P.value.table.columnNames.value,
|
|
@@ -2397,7 +2397,7 @@ var Ve = {
|
|
|
2397
2397
|
function Dn(e) {
|
|
2398
2398
|
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), dt("selectLegend", { name: e });
|
|
2399
2399
|
}
|
|
2400
|
-
let Q =
|
|
2400
|
+
let Q = d(() => pt ? Vt.value.map(({ name: e, color: t }, n) => ({
|
|
2401
2401
|
name: e,
|
|
2402
2402
|
color: t,
|
|
2403
2403
|
shape: "circle",
|
|
@@ -2407,7 +2407,7 @@ var Ve = {
|
|
|
2407
2407
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2408
2408
|
segregate: () => Dn(e.name),
|
|
2409
2409
|
isSegregated: Z.value.includes(e.name)
|
|
2410
|
-
})) : []), On =
|
|
2410
|
+
})) : []), On = d(() => ({
|
|
2411
2411
|
cy: "donut-div-legend",
|
|
2412
2412
|
backgroundColor: P.value.style.chart.legend.backgroundColor,
|
|
2413
2413
|
color: P.value.style.chart.legend.color,
|
|
@@ -2420,7 +2420,7 @@ var Ve = {
|
|
|
2420
2420
|
}
|
|
2421
2421
|
async function An({ scale: e = 2 } = {}) {
|
|
2422
2422
|
if (!k.value) return;
|
|
2423
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
2423
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
|
|
2424
2424
|
domElement: k.value,
|
|
2425
2425
|
base64: !0,
|
|
2426
2426
|
img: !0,
|
|
@@ -2435,7 +2435,7 @@ var Ve = {
|
|
|
2435
2435
|
aspectRatio: r
|
|
2436
2436
|
};
|
|
2437
2437
|
}
|
|
2438
|
-
let $ =
|
|
2438
|
+
let $ = d(() => {
|
|
2439
2439
|
let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
|
|
2440
2440
|
return {
|
|
2441
2441
|
component: e ? lt : ze,
|
|
@@ -2472,7 +2472,7 @@ var Ve = {
|
|
|
2472
2472
|
function jn() {
|
|
2473
2473
|
R.value.showTable = !1, wt.value && wt.value.setTableIconState(!1);
|
|
2474
2474
|
}
|
|
2475
|
-
let Mn =
|
|
2475
|
+
let Mn = d(() => P.value.style.chart.backgroundColor), Nn = d(() => P.value.style.chart.legend), Pn = d(() => P.value.style.chart.title), { isCallbackImaging: Fn, isCallbackSvg: In, generateSvg: Ln, onGenerateImage: Rn } = pe({
|
|
2476
2476
|
svg: L,
|
|
2477
2477
|
title: Pn,
|
|
2478
2478
|
legend: Nn,
|
|
@@ -2494,7 +2494,7 @@ var Ve = {
|
|
|
2494
2494
|
dataset: H.value
|
|
2495
2495
|
}));
|
|
2496
2496
|
}
|
|
2497
|
-
return
|
|
2497
|
+
return ge({
|
|
2498
2498
|
getData: kn,
|
|
2499
2499
|
getImage: An,
|
|
2500
2500
|
generatePdf: Qt,
|
|
@@ -2506,7 +2506,7 @@ var Ve = {
|
|
|
2506
2506
|
toggleAnnotator: Kt,
|
|
2507
2507
|
toggleFullscreen: Gt,
|
|
2508
2508
|
copyAlt: zn
|
|
2509
|
-
}), (e, t) => (x(),
|
|
2509
|
+
}), (e, t) => (x(), m("div", {
|
|
2510
2510
|
ref_key: "worldChart",
|
|
2511
2511
|
ref: k,
|
|
2512
2512
|
id: `world_${A.value}`,
|
|
@@ -2515,13 +2515,14 @@ var Ve = {
|
|
|
2515
2515
|
onMouseenter: t[2] ||= () => T(Nt)(!0),
|
|
2516
2516
|
onMouseleave: t[3] ||= () => T(Nt)(!1)
|
|
2517
2517
|
}, [
|
|
2518
|
-
P.value.userOptions.buttons.annotator && T(L) ? (x(),
|
|
2518
|
+
P.value.userOptions.buttons.annotator && T(L) ? (x(), f(T(He), {
|
|
2519
2519
|
key: 0,
|
|
2520
2520
|
color: P.value.style.chart.color,
|
|
2521
2521
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
2522
2522
|
active: W.value,
|
|
2523
2523
|
svgRef: T(L),
|
|
2524
2524
|
isCursorPointer: F.value,
|
|
2525
|
+
palette: P.value.userOptions.annotatorPalette,
|
|
2525
2526
|
onClose: Kt
|
|
2526
2527
|
}, {
|
|
2527
2528
|
"annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -2536,22 +2537,23 @@ var Ve = {
|
|
|
2536
2537
|
"backgroundColor",
|
|
2537
2538
|
"active",
|
|
2538
2539
|
"svgRef",
|
|
2539
|
-
"isCursorPointer"
|
|
2540
|
-
|
|
2540
|
+
"isCursorPointer",
|
|
2541
|
+
"palette"
|
|
2542
|
+
])) : p("", !0),
|
|
2541
2543
|
C(e.$slots, "userConfig", {}, void 0, !0),
|
|
2542
|
-
Yt.value ? (x(),
|
|
2544
|
+
Yt.value ? (x(), m("div", {
|
|
2543
2545
|
key: 1,
|
|
2544
2546
|
ref_key: "noTitle",
|
|
2545
2547
|
ref: _t,
|
|
2546
2548
|
class: "vue-data-ui-no-title-space",
|
|
2547
2549
|
style: "height:36px; width: 100%;background:transparent"
|
|
2548
|
-
}, null, 512)) :
|
|
2549
|
-
P.value.style.chart.title.text ? (x(),
|
|
2550
|
+
}, null, 512)) : p("", !0),
|
|
2551
|
+
P.value.style.chart.title.text ? (x(), m("div", {
|
|
2550
2552
|
key: 2,
|
|
2551
2553
|
ref_key: "chartTitle",
|
|
2552
2554
|
ref: mt,
|
|
2553
2555
|
style: "width:100%;background:transparent"
|
|
2554
|
-
}, [(x(),
|
|
2556
|
+
}, [(x(), f(T(Fe), {
|
|
2555
2557
|
key: `title_${vt.value}`,
|
|
2556
2558
|
config: {
|
|
2557
2559
|
title: {
|
|
@@ -2563,9 +2565,9 @@ var Ve = {
|
|
|
2563
2565
|
...P.value.style.chart.title.subtitle
|
|
2564
2566
|
}
|
|
2565
2567
|
}
|
|
2566
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2567
|
-
|
|
2568
|
-
P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(),
|
|
2568
|
+
}, null, 8, ["config"]))], 512)) : p("", !0),
|
|
2569
|
+
h("div", { id: `legend-top-${A.value}` }, null, 8, We),
|
|
2570
|
+
P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(), f(T(st), {
|
|
2569
2571
|
ref_key: "userOptionsRef",
|
|
2570
2572
|
ref: wt,
|
|
2571
2573
|
key: `user_option_${St.value}`,
|
|
@@ -2604,7 +2606,7 @@ var Ve = {
|
|
|
2604
2606
|
onToggleAnnotator: Kt,
|
|
2605
2607
|
onCopyAlt: zn,
|
|
2606
2608
|
style: b({ visibility: T(Pt) ? T(Mt) ? "visible" : "hidden" : "visible" })
|
|
2607
|
-
},
|
|
2609
|
+
}, Ce({ _: 2 }, [
|
|
2608
2610
|
e.$slots.menuIcon ? {
|
|
2609
2611
|
name: "menuIcon",
|
|
2610
2612
|
fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
|
|
@@ -2674,12 +2676,12 @@ var Ve = {
|
|
|
2674
2676
|
fn: D(() => [C(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
|
-
(x(),
|
|
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("."))) : p("", !0),
|
|
2680
|
+
(x(), m("svg", {
|
|
2679
2681
|
ref_key: "svgRef",
|
|
2680
2682
|
ref: L,
|
|
2681
2683
|
viewBox: V.value.str,
|
|
2682
|
-
xmlns: T(
|
|
2684
|
+
xmlns: T(re),
|
|
2683
2685
|
class: De({
|
|
2684
2686
|
"vue-data-ui-fullscreen--on": U.value,
|
|
2685
2687
|
"vue-data-ui-fullscreen--off": !U.value
|
|
@@ -2703,18 +2705,18 @@ var Ve = {
|
|
|
2703
2705
|
onTouchend: Cn
|
|
2704
2706
|
}, [
|
|
2705
2707
|
g(T(ct)),
|
|
2706
|
-
e.$slots["chart-background"] ? (x(),
|
|
2708
|
+
e.$slots["chart-background"] ? (x(), m("foreignObject", {
|
|
2707
2709
|
key: 0,
|
|
2708
2710
|
x: V.value.minX,
|
|
2709
2711
|
y: V.value.minY,
|
|
2710
2712
|
width: V.value.width,
|
|
2711
2713
|
height: V.value.height,
|
|
2712
2714
|
style: { pointerEvents: "none" }
|
|
2713
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) :
|
|
2714
|
-
ft.value ? (x(),
|
|
2715
|
-
z.value === "globe" ? (x(),
|
|
2716
|
-
|
|
2717
|
-
g(
|
|
2715
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : p("", !0),
|
|
2716
|
+
ft.value ? (x(), m("g", qe, [
|
|
2717
|
+
z.value === "globe" ? (x(), m(u, { key: 0 }, [
|
|
2718
|
+
h("defs", null, [
|
|
2719
|
+
g(_e, {
|
|
2718
2720
|
t: "radial",
|
|
2719
2721
|
id: `water-${A.value}`,
|
|
2720
2722
|
cx: .48,
|
|
@@ -2725,7 +2727,7 @@ var Ve = {
|
|
|
2725
2727
|
stops: [
|
|
2726
2728
|
[
|
|
2727
2729
|
"0%",
|
|
2728
|
-
T(
|
|
2730
|
+
T(te)(P.value.style.chart.globe.waterColor, .4),
|
|
2729
2731
|
1
|
|
2730
2732
|
],
|
|
2731
2733
|
[
|
|
@@ -2735,17 +2737,17 @@ var Ve = {
|
|
|
2735
2737
|
],
|
|
2736
2738
|
[
|
|
2737
2739
|
"80%",
|
|
2738
|
-
T(
|
|
2740
|
+
T(o)(P.value.style.chart.globe.waterColor, .2),
|
|
2739
2741
|
1
|
|
2740
2742
|
],
|
|
2741
2743
|
[
|
|
2742
2744
|
"100%",
|
|
2743
|
-
T(
|
|
2745
|
+
T(o)(P.value.style.chart.globe.waterColor, .5),
|
|
2744
2746
|
.95
|
|
2745
2747
|
]
|
|
2746
2748
|
]
|
|
2747
2749
|
}, null, 8, ["id", "stops"]),
|
|
2748
|
-
g(
|
|
2750
|
+
g(_e, {
|
|
2749
2751
|
t: "radial",
|
|
2750
2752
|
id: `atmo-realistic-${A.value}`,
|
|
2751
2753
|
cx: .5,
|
|
@@ -2769,25 +2771,25 @@ var Ve = {
|
|
|
2769
2771
|
]
|
|
2770
2772
|
]
|
|
2771
2773
|
}, null, 8, ["id", "stops"]),
|
|
2772
|
-
|
|
2774
|
+
h("filter", {
|
|
2773
2775
|
id: `blur-${A.value}`,
|
|
2774
2776
|
x: "-30%",
|
|
2775
2777
|
y: "-30%",
|
|
2776
2778
|
width: "160%",
|
|
2777
2779
|
height: "160%"
|
|
2778
|
-
}, [...t[4] ||= [
|
|
2780
|
+
}, [...t[4] ||= [h("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
|
|
2779
2781
|
]),
|
|
2780
|
-
e.$slots.pattern ? (x(),
|
|
2782
|
+
e.$slots.pattern ? (x(), m("g", Ye, [(x(!0), m(u, null, Ae(H.value, (t, n) => (x(), m("defs", null, [C(e.$slots, "pattern", Te({ ref_for: !0 }, {
|
|
2781
2783
|
...t,
|
|
2782
2784
|
patternId: `pattern_${A.value}_${t.code}`
|
|
2783
|
-
}), void 0, !0)]))), 256))])) :
|
|
2784
|
-
|
|
2785
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
2786
|
+
h("circle", {
|
|
2785
2787
|
cx: V.value.width / 2 + 20,
|
|
2786
2788
|
cy: V.value.height / 2 + 20,
|
|
2787
2789
|
r: V.value.height / 2,
|
|
2788
2790
|
fill: `url(#water-${A.value})`
|
|
2789
2791
|
}, null, 8, Xe),
|
|
2790
|
-
|
|
2792
|
+
h("circle", {
|
|
2791
2793
|
cx: V.value.width / 2 + 20,
|
|
2792
2794
|
cy: V.value.height / 2 + 20,
|
|
2793
2795
|
r: V.value.height / 2 + 10,
|
|
@@ -2795,8 +2797,8 @@ var Ve = {
|
|
|
2795
2797
|
"pointer-events": "none",
|
|
2796
2798
|
filter: `url(#blur-${A.value})`
|
|
2797
2799
|
}, null, 8, Ze)
|
|
2798
|
-
], 64)) :
|
|
2799
|
-
(x(!0),
|
|
2800
|
+
], 64)) : p("", !0),
|
|
2801
|
+
(x(!0), m(u, null, Ae(H.value, (t, n) => (x(), m(u, { key: t.code }, [h("path", {
|
|
2800
2802
|
d: t.path,
|
|
2801
2803
|
fill: t.category && Z.value.includes(t.category) ? P.value.style.chart.territory.emptyColor : t.color,
|
|
2802
2804
|
stroke: P.value.style.chart.territory.stroke,
|
|
@@ -2814,7 +2816,7 @@ var Ve = {
|
|
|
2814
2816
|
seriesIndex: n
|
|
2815
2817
|
}),
|
|
2816
2818
|
class: "vue-ui-world-territory"
|
|
2817
|
-
}, [!j.value || !R.value.showTooltip ? (x(),
|
|
2819
|
+
}, [!j.value || !R.value.showTooltip ? (x(), m("title", $e, [we(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), m(u, { key: 0 }, [we(" : " + w(t.value), 1)], 64)) : p("", !0)])) : p("", !0)], 40, Qe), e.$slots.pattern ? (x(), m("path", {
|
|
2818
2820
|
key: 0,
|
|
2819
2821
|
d: t.path,
|
|
2820
2822
|
fill: `url(#pattern_${A.value}_${t.code})`,
|
|
@@ -2822,8 +2824,8 @@ var Ve = {
|
|
|
2822
2824
|
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
2823
2825
|
style: { "pointer-events": "none" },
|
|
2824
2826
|
class: "vue-ui-world-territory"
|
|
2825
|
-
}, null, 8, et)) :
|
|
2826
|
-
K.value ? (x(),
|
|
2827
|
+
}, null, 8, et)) : p("", !0)], 64))), 128)),
|
|
2828
|
+
K.value ? (x(), m("path", {
|
|
2827
2829
|
key: 1,
|
|
2828
2830
|
d: tn.value,
|
|
2829
2831
|
fill: "transparent",
|
|
@@ -2831,8 +2833,8 @@ var Ve = {
|
|
|
2831
2833
|
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
2832
2834
|
style: { "pointer-events": "none" },
|
|
2833
2835
|
class: "vue-ui-world-territory"
|
|
2834
|
-
}, null, 8, tt)) :
|
|
2835
|
-
])) :
|
|
2836
|
+
}, null, 8, tt)) : p("", !0)
|
|
2837
|
+
])) : p("", !0),
|
|
2836
2838
|
C(e.$slots, "svg", { svg: {
|
|
2837
2839
|
height: B.value.height,
|
|
2838
2840
|
width: B.value.width,
|
|
@@ -2840,27 +2842,27 @@ var Ve = {
|
|
|
2840
2842
|
isPrintingSvg: T(In)
|
|
2841
2843
|
} }, void 0, !0)
|
|
2842
2844
|
], 46, Ge)),
|
|
2843
|
-
e.$slots.watermark ? (x(),
|
|
2844
|
-
|
|
2845
|
-
Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(),
|
|
2845
|
+
e.$slots.watermark ? (x(), m("div", nt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Xt) || T(Zt) || T(Fn) || T(In) })), void 0, !0)])) : p("", !0),
|
|
2846
|
+
h("div", { id: `legend-bottom-${A.value}` }, null, 8, rt),
|
|
2847
|
+
Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Se, {
|
|
2846
2848
|
key: 5,
|
|
2847
2849
|
to: P.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
2848
|
-
}, [pt.value ? (x(),
|
|
2850
|
+
}, [pt.value ? (x(), m("div", {
|
|
2849
2851
|
key: 0,
|
|
2850
2852
|
ref_key: "chartLegend",
|
|
2851
2853
|
ref: ht
|
|
2852
|
-
}, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(),
|
|
2854
|
+
}, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(), f(T(Ie), {
|
|
2853
2855
|
key: `legend_${yt.value}`,
|
|
2854
2856
|
legendSet: Q.value,
|
|
2855
2857
|
config: On.value,
|
|
2856
2858
|
isCursorPointer: F.value,
|
|
2857
2859
|
onClickMarker: t[0] ||= (e) => Dn(e)
|
|
2858
|
-
},
|
|
2859
|
-
item: D(({ legend: e, index: t }) => [
|
|
2860
|
+
}, Ce({
|
|
2861
|
+
item: D(({ legend: e, index: t }) => [h("div", {
|
|
2860
2862
|
style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2861
2863
|
onClick: (t) => e.segregate()
|
|
2862
2864
|
}, w(e.name), 13, it)]),
|
|
2863
|
-
legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(),
|
|
2865
|
+
legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(), f(ve, {
|
|
2864
2866
|
key: 0,
|
|
2865
2867
|
backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2866
2868
|
color: P.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -2874,11 +2876,11 @@ var Ve = {
|
|
|
2874
2876
|
"fontSize",
|
|
2875
2877
|
"checked",
|
|
2876
2878
|
"isCursorPointer"
|
|
2877
|
-
])) :
|
|
2879
|
+
])) : p("", !0)]),
|
|
2878
2880
|
_: 2
|
|
2879
2881
|
}, [e.$slots.pattern ? {
|
|
2880
2882
|
name: "legend-pattern",
|
|
2881
|
-
fn: D(({ legend: e, index: t }) => [g(
|
|
2883
|
+
fn: D(({ legend: e, index: t }) => [g(he, {
|
|
2882
2884
|
shape: e.shape,
|
|
2883
2885
|
radius: 30,
|
|
2884
2886
|
stroke: "none",
|
|
@@ -2893,13 +2895,13 @@ var Ve = {
|
|
|
2893
2895
|
"legendSet",
|
|
2894
2896
|
"config",
|
|
2895
2897
|
"isCursorPointer"
|
|
2896
|
-
])) :
|
|
2897
|
-
e.$slots.source ? (x(),
|
|
2898
|
+
])) : p("", !0)], !0)], 512)) : p("", !0)], 8, ["to"])) : p("", !0),
|
|
2899
|
+
e.$slots.source ? (x(), m("div", {
|
|
2898
2900
|
key: 6,
|
|
2899
2901
|
ref_key: "source",
|
|
2900
2902
|
ref: gt,
|
|
2901
2903
|
dir: "auto"
|
|
2902
|
-
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
2904
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
2903
2905
|
g(T(Le), {
|
|
2904
2906
|
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
2905
2907
|
show: R.value.showTooltip && j.value,
|
|
@@ -2948,12 +2950,12 @@ var Ve = {
|
|
|
2948
2950
|
"smoothForce",
|
|
2949
2951
|
"smoothSnapThreshold"
|
|
2950
2952
|
]),
|
|
2951
|
-
ft.value && P.value.userOptions.buttons.table ? (x(),
|
|
2953
|
+
ft.value && P.value.userOptions.buttons.table ? (x(), f(je($.value.component), Te({ key: 7 }, $.value.props, {
|
|
2952
2954
|
ref_key: "tableUnit",
|
|
2953
2955
|
ref: M,
|
|
2954
2956
|
onClose: jn
|
|
2955
|
-
}),
|
|
2956
|
-
content: D(() => [(x(),
|
|
2957
|
+
}), Ce({
|
|
2958
|
+
content: D(() => [(x(), f(T(Be), {
|
|
2957
2959
|
key: `table_${bt.value}`,
|
|
2958
2960
|
colNames: wn.value.colNames,
|
|
2959
2961
|
head: wn.value.head,
|
|
@@ -2964,8 +2966,8 @@ var Ve = {
|
|
|
2964
2966
|
isCursorPointer: F.value,
|
|
2965
2967
|
onClose: jn
|
|
2966
2968
|
}, {
|
|
2967
|
-
th: D(({ th: e }) => [
|
|
2968
|
-
td: D(({ td: e }) => [
|
|
2969
|
+
th: D(({ th: e }) => [h("div", at, w(e), 1)]),
|
|
2970
|
+
td: D(({ td: e }) => [we(w(e.name ? e.name : e.category ? e.category : T(l)(P.value.style.chart.dataLabels.formatter, e, T(ee)({
|
|
2969
2971
|
p: P.value.style.chart.dataLabels.prefix,
|
|
2970
2972
|
v: e,
|
|
2971
2973
|
s: P.value.style.chart.dataLabels.suffix,
|
|
@@ -2984,11 +2986,11 @@ var Ve = {
|
|
|
2984
2986
|
_: 2
|
|
2985
2987
|
}, [P.value.table.useDialog ? {
|
|
2986
2988
|
name: "title",
|
|
2987
|
-
fn: D(() => [
|
|
2989
|
+
fn: D(() => [we(w($.value.title), 1)]),
|
|
2988
2990
|
key: "0"
|
|
2989
2991
|
} : void 0, P.value.table.useDialog ? {
|
|
2990
2992
|
name: "actions",
|
|
2991
|
-
fn: D(() => [
|
|
2993
|
+
fn: D(() => [h("button", {
|
|
2992
2994
|
tabindex: "0",
|
|
2993
2995
|
class: "vue-ui-user-options-button",
|
|
2994
2996
|
onClick: t[1] ||= (e) => Tn(P.value.userOptions.callbacks.csv),
|
|
@@ -2998,10 +3000,10 @@ var Ve = {
|
|
|
2998
3000
|
stroke: $.value.props.color
|
|
2999
3001
|
}, null, 8, ["stroke"])], 4)]),
|
|
3000
3002
|
key: "1"
|
|
3001
|
-
} : void 0]), 1040)) :
|
|
3002
|
-
C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(),
|
|
3003
|
+
} : void 0]), 1040)) : p("", !0),
|
|
3004
|
+
C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(), f(de, { key: 0 })) : p("", !0)], !0)
|
|
3003
3005
|
], 46, Ue));
|
|
3004
3006
|
}
|
|
3005
|
-
}, [["__scopeId", "data-v-
|
|
3007
|
+
}, [["__scopeId", "data-v-68cc6539"]]);
|
|
3006
3008
|
//#endregion
|
|
3007
3009
|
export { He as n, st as t };
|