vue-data-ui 3.23.9 → 3.23.11
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 +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.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-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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- 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 +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -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, At as n, D as r, It as i, S as a, St as ee, X as te, Xt as o, Y as s, bt as ne, i as c, q as re, t as ie, w as ae, yt as oe } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as le } from "./useConfig-DwdGsXTx.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as pe } from "./useNestedProp-CulPqtou.js";
|
|
8
|
+
import { t as me } from "./useChartExport-DNiwdPmb.js";
|
|
9
|
+
import { t as he } from "./img-Bkzj3lDD.js";
|
|
10
|
+
import { t as ge } from "./Shape-BAL5bQmA.js";
|
|
11
|
+
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { t as ve } from "./DefGrad-DVBqDjhO.js";
|
|
13
|
+
import { t as ye } from "./BaseLegendToggle-CtEdLr4R.js";
|
|
14
|
+
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as Se } from "./geoProjections-CEo3dVaL.js";
|
|
17
|
+
import { Fragment as l, Teleport as Ce, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as we, createTextVNode as h, 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",
|
|
@@ -1978,7 +1978,10 @@ var Ve = {
|
|
|
1978
1978
|
], nt = {
|
|
1979
1979
|
key: 4,
|
|
1980
1980
|
class: "vue-data-ui-watermark"
|
|
1981
|
-
}, rt = ["id"], it = ["onClick"], at =
|
|
1981
|
+
}, rt = ["id"], it = ["onClick"], at = { style: {
|
|
1982
|
+
display: "flex",
|
|
1983
|
+
"align-items": "center"
|
|
1984
|
+
} }, ot = .5, st = /*#__PURE__*/ _e({
|
|
1982
1985
|
__name: "vue-ui-world",
|
|
1983
1986
|
props: {
|
|
1984
1987
|
config: {
|
|
@@ -1999,34 +2002,34 @@ var Ve = {
|
|
|
1999
2002
|
"selectLegend",
|
|
2000
2003
|
"copyAlt"
|
|
2001
2004
|
],
|
|
2002
|
-
setup(e, { expose:
|
|
2003
|
-
let Fe = _(() => import("./Title-
|
|
2005
|
+
setup(e, { expose: _e, emit: Pe }) {
|
|
2006
|
+
let Fe = _(() => import("./Title-CaVA8EIw.js").then((e) => e.t)), Ie = _(() => import("./Legend-BJtY2RA9.js").then((e) => e.n)), Le = _(() => import("./Tooltip-CVxJe3UW.js")), Re = _(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), ze = _(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), Be = _(() => import("./DataTable-CmyEubtT.js")), He = _(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), st = _(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), ct = _(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), lt = _(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_world: ut } = le(), O = e, dt = Pe, ft = u({
|
|
2004
2007
|
get() {
|
|
2005
2008
|
return !!I.value;
|
|
2006
2009
|
},
|
|
2007
2010
|
set(e) {
|
|
2008
2011
|
return e;
|
|
2009
2012
|
}
|
|
2010
|
-
}), pt =
|
|
2013
|
+
}), pt = u(() => 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(re()), j = S(!1), xt = S(""), St = S(0), Ct = S(!1), M = S(null), wt = S(null);
|
|
2011
2014
|
ke(() => {
|
|
2012
2015
|
Ct.value = !0;
|
|
2013
2016
|
});
|
|
2014
|
-
let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } =
|
|
2017
|
+
let N = Ve, { projections: Tt, getProjectedBounds: Et, setupTerritories: Dt, geoToPath: Ot } = Se;
|
|
2015
2018
|
function kt() {
|
|
2016
|
-
let e =
|
|
2019
|
+
let e = pe({
|
|
2017
2020
|
userConfig: O.config,
|
|
2018
2021
|
defaultConfig: ut
|
|
2019
2022
|
});
|
|
2020
|
-
return O.config &&
|
|
2023
|
+
return O.config && oe(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 && oe(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;
|
|
2021
2024
|
}
|
|
2022
2025
|
let P = S(kt());
|
|
2023
|
-
|
|
2026
|
+
se({
|
|
2024
2027
|
config: () => P.value,
|
|
2025
2028
|
dataset: () => O.dataset,
|
|
2026
2029
|
component: "VueUiWorld",
|
|
2027
|
-
rules: [
|
|
2030
|
+
rules: [ce.noHint]
|
|
2028
2031
|
});
|
|
2029
|
-
let F =
|
|
2032
|
+
let F = u(() => P.value.userOptions.useCursorPointer), At = u(() => o({
|
|
2030
2033
|
defaultConfig: {
|
|
2031
2034
|
userOptions: { show: !1 },
|
|
2032
2035
|
table: { show: !1 },
|
|
@@ -2043,16 +2046,16 @@ var Ve = {
|
|
|
2043
2046
|
} }
|
|
2044
2047
|
},
|
|
2045
2048
|
userConfig: P.value.skeletonConfig ?? {}
|
|
2046
|
-
})), { loading: jt, FINAL_DATASET: I } =
|
|
2049
|
+
})), { loading: jt, FINAL_DATASET: I } = de({
|
|
2047
2050
|
...Me(O),
|
|
2048
2051
|
FINAL_CONFIG: P,
|
|
2049
2052
|
prepareConfig: kt,
|
|
2050
2053
|
skeletonDataset: O.config?.skeletonDataset ?? [],
|
|
2051
|
-
skeletonConfig:
|
|
2054
|
+
skeletonConfig: o({
|
|
2052
2055
|
defaultConfig: P.value,
|
|
2053
2056
|
userConfig: At.value
|
|
2054
2057
|
})
|
|
2055
|
-
}), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } =
|
|
2058
|
+
}), { userOptionsVisible: Mt, setUserOptionsVisibility: Nt, keepUserOptionState: Pt } = be({ config: P.value }), { svgRef: L } = xe({ config: P.value.style.chart.title }), R = S({
|
|
2056
2059
|
showTable: P.value.table.show,
|
|
2057
2060
|
showTooltip: P.value.style.chart.tooltip.show
|
|
2058
2061
|
});
|
|
@@ -2064,7 +2067,7 @@ var Ve = {
|
|
|
2064
2067
|
showTooltip: P.value.style.chart.tooltip.show
|
|
2065
2068
|
};
|
|
2066
2069
|
}, { immediate: !0 });
|
|
2067
|
-
let Ft =
|
|
2070
|
+
let Ft = u(() => ae(P.value.customPalette)), z = u(() => P.value.projection || "globe"), B = u(() => {
|
|
2068
2071
|
let { height: e, width: t } = P.value.style.chart.dimensions;
|
|
2069
2072
|
return {
|
|
2070
2073
|
aitoff: {
|
|
@@ -2120,7 +2123,7 @@ var Ve = {
|
|
|
2120
2123
|
height: e || 1e3
|
|
2121
2124
|
}
|
|
2122
2125
|
}[z.value];
|
|
2123
|
-
}), V =
|
|
2126
|
+
}), V = u(() => {
|
|
2124
2127
|
let { minX: e, minY: t, width: n, height: r } = Et(Tt[z.value], N.features, B.value.width, B.value.height, q.value);
|
|
2125
2128
|
return {
|
|
2126
2129
|
str: `${e} ${t} ${n} ${r}`,
|
|
@@ -2129,9 +2132,9 @@ var Ve = {
|
|
|
2129
2132
|
width: n,
|
|
2130
2133
|
height: r
|
|
2131
2134
|
};
|
|
2132
|
-
}), It =
|
|
2135
|
+
}), It = u(() => Object.values(I.value).map((e) => e.value)), Lt = u(() => Math.min(...It.value)), Rt = u(() => Math.max(...It.value));
|
|
2133
2136
|
function zt(e) {
|
|
2134
|
-
return typeof e == "number" ?
|
|
2137
|
+
return typeof e == "number" ? ne(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;
|
|
2135
2138
|
}
|
|
2136
2139
|
function Bt(e) {
|
|
2137
2140
|
return Ot(e, {
|
|
@@ -2141,7 +2144,7 @@ var Ve = {
|
|
|
2141
2144
|
center: q.value
|
|
2142
2145
|
});
|
|
2143
2146
|
}
|
|
2144
|
-
let Vt =
|
|
2147
|
+
let Vt = u(() => {
|
|
2145
2148
|
let e = Object.values(I.value).filter((e) => !!e.category), t = {};
|
|
2146
2149
|
return e.forEach((e) => {
|
|
2147
2150
|
t[e.category] || (t[e.category] = e);
|
|
@@ -2156,9 +2159,9 @@ var Ve = {
|
|
|
2156
2159
|
}
|
|
2157
2160
|
let Ut = /* @__PURE__ */ new Map();
|
|
2158
2161
|
function Wt(e) {
|
|
2159
|
-
return Ut.has(e) || Ut.set(e, `territory-${
|
|
2162
|
+
return Ut.has(e) || Ut.set(e, `territory-${re()}`), Ut.get(e);
|
|
2160
2163
|
}
|
|
2161
|
-
let H =
|
|
2164
|
+
let H = u(() => (q.value, N.features.map((e) => {
|
|
2162
2165
|
let t = e.properties.iso_a3;
|
|
2163
2166
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
2164
2167
|
let n = I.value[t];
|
|
@@ -2188,27 +2191,27 @@ var Ve = {
|
|
|
2188
2191
|
function Jt() {
|
|
2189
2192
|
R.value.showTooltip = !R.value.showTooltip;
|
|
2190
2193
|
}
|
|
2191
|
-
let Yt =
|
|
2194
|
+
let Yt = u(() => P.value.userOptions.show && !P.value.style.chart.title.text), { isPrinting: Xt, isImaging: Zt, generatePdf: Qt, generateImage: $t } = ue({
|
|
2192
2195
|
elementId: `world_${A.value}`,
|
|
2193
2196
|
fileName: P.value.style.chart.title.text || "vue-ui-world",
|
|
2194
2197
|
options: P.value.userOptions.print
|
|
2195
|
-
}), G = S(!1), en = S(null), K = S(null), tn =
|
|
2198
|
+
}), G = S(!1), en = S(null), K = S(null), tn = u(() => K.value ? Bt(K.value.geometry) : "");
|
|
2196
2199
|
function nn(e) {
|
|
2197
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, []) : [] : [];
|
|
2198
2201
|
}
|
|
2199
|
-
let rn =
|
|
2202
|
+
let rn = u(() => {
|
|
2200
2203
|
let e = K.value?.geometry;
|
|
2201
2204
|
if (!e) return "";
|
|
2202
2205
|
let t = nn(e);
|
|
2203
2206
|
if (!t.length) return "";
|
|
2204
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length],
|
|
2205
|
-
function
|
|
2206
|
-
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, te = t.map((e) => e.map(([e, t]) => i([e, t], a, ee, r))), o = te.flat(), s = o.map(([e, t]) => e), ne = o.map(([e, t]) => t), c = Math.min(...s), re = Math.max(...s), ie = Math.min(...ne), ae = Math.max(...ne), oe = re - c || 1, se = ae - ie || 1, ce = Math.min(64 / oe, 64 / se);
|
|
2208
|
+
function le([e, t]) {
|
|
2209
|
+
return [(e - c) * ce + 8, (t - ie) * ce + 8];
|
|
2207
2210
|
}
|
|
2208
2211
|
return `
|
|
2209
2212
|
<svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
|
|
2210
2213
|
<rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
|
|
2211
|
-
<path d="${
|
|
2214
|
+
<path d="${te.map((e) => "M" + e.map(le).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"/>
|
|
2212
2215
|
</svg>
|
|
2213
2216
|
`;
|
|
2214
2217
|
});
|
|
@@ -2234,7 +2237,7 @@ var Ve = {
|
|
|
2234
2237
|
series: H.value
|
|
2235
2238
|
}, j.value = !0;
|
|
2236
2239
|
let n = "", r = P.value.style.chart.tooltip.customFormat;
|
|
2237
|
-
if (G.value = !1,
|
|
2240
|
+
if (G.value = !1, ee(r)) try {
|
|
2238
2241
|
let t = r({
|
|
2239
2242
|
datapoint: e,
|
|
2240
2243
|
config: P.value,
|
|
@@ -2253,7 +2256,7 @@ var Ve = {
|
|
|
2253
2256
|
</svg>
|
|
2254
2257
|
<span>${e.name}:</span>
|
|
2255
2258
|
<b>
|
|
2256
|
-
${c(P.value.style.chart.dataLabels.formatter, e.value,
|
|
2259
|
+
${c(P.value.style.chart.dataLabels.formatter, e.value, te({
|
|
2257
2260
|
p: P.value.style.chart.dataLabels.prefix,
|
|
2258
2261
|
v: e.value,
|
|
2259
2262
|
s: P.value.style.chart.dataLabels.suffix,
|
|
@@ -2326,7 +2329,7 @@ var Ve = {
|
|
|
2326
2329
|
Oe(() => {
|
|
2327
2330
|
Y !== null && typeof cancelAnimationFrame < "u" && (cancelAnimationFrame(Y), Y = null);
|
|
2328
2331
|
});
|
|
2329
|
-
let X =
|
|
2332
|
+
let X = u(() => {
|
|
2330
2333
|
let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
2331
2334
|
return {
|
|
2332
2335
|
head: e.map((e) => ({
|
|
@@ -2336,7 +2339,7 @@ var Ve = {
|
|
|
2336
2339
|
})),
|
|
2337
2340
|
body: e.map((e) => e.value || 0)
|
|
2338
2341
|
};
|
|
2339
|
-
}), wn =
|
|
2342
|
+
}), wn = u(() => {
|
|
2340
2343
|
let e = [
|
|
2341
2344
|
P.value.table.columnNames.series,
|
|
2342
2345
|
P.value.table.columnNames.value,
|
|
@@ -2370,7 +2373,7 @@ var Ve = {
|
|
|
2370
2373
|
});
|
|
2371
2374
|
function Tn(e = null) {
|
|
2372
2375
|
Ee(() => {
|
|
2373
|
-
let
|
|
2376
|
+
let n = X.value.head.map((e, t) => [[e.name], [X.value.body[t]]]), i = [
|
|
2374
2377
|
[P.value.style.chart.title.text],
|
|
2375
2378
|
[P.value.style.chart.title.subtitle.text],
|
|
2376
2379
|
[[
|
|
@@ -2378,9 +2381,9 @@ var Ve = {
|
|
|
2378
2381
|
P.value.table.columnNames.value,
|
|
2379
2382
|
P.value.table.columnNames.category
|
|
2380
2383
|
]]
|
|
2381
|
-
].concat(
|
|
2382
|
-
e ? e(
|
|
2383
|
-
csvContent:
|
|
2384
|
+
].concat(n), a = r(i);
|
|
2385
|
+
e ? e(a) : t({
|
|
2386
|
+
csvContent: a,
|
|
2384
2387
|
title: P.value.style.chart.title.text || "vue-ui-world"
|
|
2385
2388
|
});
|
|
2386
2389
|
});
|
|
@@ -2394,7 +2397,7 @@ var Ve = {
|
|
|
2394
2397
|
function Dn(e) {
|
|
2395
2398
|
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), dt("selectLegend", { name: e });
|
|
2396
2399
|
}
|
|
2397
|
-
let Q =
|
|
2400
|
+
let Q = u(() => pt ? Vt.value.map(({ name: e, color: t }, n) => ({
|
|
2398
2401
|
name: e,
|
|
2399
2402
|
color: t,
|
|
2400
2403
|
shape: "circle",
|
|
@@ -2404,7 +2407,7 @@ var Ve = {
|
|
|
2404
2407
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
2405
2408
|
segregate: () => Dn(e.name),
|
|
2406
2409
|
isSegregated: Z.value.includes(e.name)
|
|
2407
|
-
})) : []), On =
|
|
2410
|
+
})) : []), On = u(() => ({
|
|
2408
2411
|
cy: "donut-div-legend",
|
|
2409
2412
|
backgroundColor: P.value.style.chart.legend.backgroundColor,
|
|
2410
2413
|
color: P.value.style.chart.legend.color,
|
|
@@ -2417,22 +2420,22 @@ var Ve = {
|
|
|
2417
2420
|
}
|
|
2418
2421
|
async function An({ scale: e = 2 } = {}) {
|
|
2419
2422
|
if (!k.value) return;
|
|
2420
|
-
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri:
|
|
2423
|
+
let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
|
|
2421
2424
|
domElement: k.value,
|
|
2422
2425
|
base64: !0,
|
|
2423
2426
|
img: !0,
|
|
2424
2427
|
scale: e
|
|
2425
2428
|
});
|
|
2426
2429
|
return {
|
|
2427
|
-
imageUri:
|
|
2428
|
-
base64:
|
|
2430
|
+
imageUri: i,
|
|
2431
|
+
base64: a,
|
|
2429
2432
|
title: P.value.style.chart.title.text,
|
|
2430
2433
|
width: t,
|
|
2431
2434
|
height: n,
|
|
2432
2435
|
aspectRatio: r
|
|
2433
2436
|
};
|
|
2434
2437
|
}
|
|
2435
|
-
let $ =
|
|
2438
|
+
let $ = u(() => {
|
|
2436
2439
|
let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
|
|
2437
2440
|
return {
|
|
2438
2441
|
component: e ? lt : ze,
|
|
@@ -2469,7 +2472,7 @@ var Ve = {
|
|
|
2469
2472
|
function jn() {
|
|
2470
2473
|
R.value.showTable = !1, wt.value && wt.value.setTableIconState(!1);
|
|
2471
2474
|
}
|
|
2472
|
-
let Mn =
|
|
2475
|
+
let Mn = u(() => P.value.style.chart.backgroundColor), Nn = u(() => P.value.style.chart.legend), Pn = u(() => P.value.style.chart.title), { isCallbackImaging: Fn, isCallbackSvg: In, generateSvg: Ln, onGenerateImage: Rn } = me({
|
|
2473
2476
|
svg: L,
|
|
2474
2477
|
title: Pn,
|
|
2475
2478
|
legend: Nn,
|
|
@@ -2491,7 +2494,7 @@ var Ve = {
|
|
|
2491
2494
|
dataset: H.value
|
|
2492
2495
|
}));
|
|
2493
2496
|
}
|
|
2494
|
-
return
|
|
2497
|
+
return _e({
|
|
2495
2498
|
getData: kn,
|
|
2496
2499
|
getImage: An,
|
|
2497
2500
|
generatePdf: Qt,
|
|
@@ -2503,7 +2506,7 @@ var Ve = {
|
|
|
2503
2506
|
toggleAnnotator: Kt,
|
|
2504
2507
|
toggleFullscreen: Gt,
|
|
2505
2508
|
copyAlt: zn
|
|
2506
|
-
}), (e, t) => (x(),
|
|
2509
|
+
}), (e, t) => (x(), p("div", {
|
|
2507
2510
|
ref_key: "worldChart",
|
|
2508
2511
|
ref: k,
|
|
2509
2512
|
id: `world_${A.value}`,
|
|
@@ -2512,7 +2515,7 @@ var Ve = {
|
|
|
2512
2515
|
onMouseenter: t[2] ||= () => T(Nt)(!0),
|
|
2513
2516
|
onMouseleave: t[3] ||= () => T(Nt)(!1)
|
|
2514
2517
|
}, [
|
|
2515
|
-
P.value.userOptions.buttons.annotator && T(L) ? (x(),
|
|
2518
|
+
P.value.userOptions.buttons.annotator && T(L) ? (x(), d(T(He), {
|
|
2516
2519
|
key: 0,
|
|
2517
2520
|
color: P.value.style.chart.color,
|
|
2518
2521
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
@@ -2534,21 +2537,21 @@ var Ve = {
|
|
|
2534
2537
|
"active",
|
|
2535
2538
|
"svgRef",
|
|
2536
2539
|
"isCursorPointer"
|
|
2537
|
-
])) :
|
|
2540
|
+
])) : f("", !0),
|
|
2538
2541
|
C(e.$slots, "userConfig", {}, void 0, !0),
|
|
2539
|
-
Yt.value ? (x(),
|
|
2542
|
+
Yt.value ? (x(), p("div", {
|
|
2540
2543
|
key: 1,
|
|
2541
2544
|
ref_key: "noTitle",
|
|
2542
2545
|
ref: _t,
|
|
2543
2546
|
class: "vue-data-ui-no-title-space",
|
|
2544
2547
|
style: "height:36px; width: 100%;background:transparent"
|
|
2545
|
-
}, null, 512)) :
|
|
2546
|
-
P.value.style.chart.title.text ? (x(),
|
|
2548
|
+
}, null, 512)) : f("", !0),
|
|
2549
|
+
P.value.style.chart.title.text ? (x(), p("div", {
|
|
2547
2550
|
key: 2,
|
|
2548
2551
|
ref_key: "chartTitle",
|
|
2549
2552
|
ref: mt,
|
|
2550
2553
|
style: "width:100%;background:transparent"
|
|
2551
|
-
}, [(x(),
|
|
2554
|
+
}, [(x(), d(T(Fe), {
|
|
2552
2555
|
key: `title_${vt.value}`,
|
|
2553
2556
|
config: {
|
|
2554
2557
|
title: {
|
|
@@ -2560,9 +2563,9 @@ var Ve = {
|
|
|
2560
2563
|
...P.value.style.chart.title.subtitle
|
|
2561
2564
|
}
|
|
2562
2565
|
}
|
|
2563
|
-
}, null, 8, ["config"]))], 512)) :
|
|
2564
|
-
|
|
2565
|
-
P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(),
|
|
2566
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
2567
|
+
m("div", { id: `legend-top-${A.value}` }, null, 8, We),
|
|
2568
|
+
P.value.userOptions.show && ft.value && (T(Pt) || T(Mt)) ? (x(), d(T(st), {
|
|
2566
2569
|
ref_key: "userOptionsRef",
|
|
2567
2570
|
ref: wt,
|
|
2568
2571
|
key: `user_option_${St.value}`,
|
|
@@ -2601,7 +2604,7 @@ var Ve = {
|
|
|
2601
2604
|
onToggleAnnotator: Kt,
|
|
2602
2605
|
onCopyAlt: zn,
|
|
2603
2606
|
style: b({ visibility: T(Pt) ? T(Mt) ? "visible" : "hidden" : "visible" })
|
|
2604
|
-
},
|
|
2607
|
+
}, we({ _: 2 }, [
|
|
2605
2608
|
e.$slots.menuIcon ? {
|
|
2606
2609
|
name: "menuIcon",
|
|
2607
2610
|
fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
|
|
@@ -2671,12 +2674,12 @@ var Ve = {
|
|
|
2671
2674
|
fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
2672
2675
|
key: "11"
|
|
2673
2676
|
} : void 0
|
|
2674
|
-
]), 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("."))) :
|
|
2675
|
-
(x(),
|
|
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("."))) : f("", !0),
|
|
2678
|
+
(x(), p("svg", {
|
|
2676
2679
|
ref_key: "svgRef",
|
|
2677
2680
|
ref: L,
|
|
2678
2681
|
viewBox: V.value.str,
|
|
2679
|
-
xmlns: T(
|
|
2682
|
+
xmlns: T(ie),
|
|
2680
2683
|
class: De({
|
|
2681
2684
|
"vue-data-ui-fullscreen--on": U.value,
|
|
2682
2685
|
"vue-data-ui-fullscreen--off": !U.value
|
|
@@ -2700,18 +2703,18 @@ var Ve = {
|
|
|
2700
2703
|
onTouchend: Cn
|
|
2701
2704
|
}, [
|
|
2702
2705
|
g(T(ct)),
|
|
2703
|
-
e.$slots["chart-background"] ? (x(),
|
|
2706
|
+
e.$slots["chart-background"] ? (x(), p("foreignObject", {
|
|
2704
2707
|
key: 0,
|
|
2705
2708
|
x: V.value.minX,
|
|
2706
2709
|
y: V.value.minY,
|
|
2707
2710
|
width: V.value.width,
|
|
2708
2711
|
height: V.value.height,
|
|
2709
2712
|
style: { pointerEvents: "none" }
|
|
2710
|
-
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) :
|
|
2711
|
-
ft.value ? (x(),
|
|
2712
|
-
z.value === "globe" ? (x(),
|
|
2713
|
-
|
|
2714
|
-
g(
|
|
2713
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Ke)) : f("", !0),
|
|
2714
|
+
ft.value ? (x(), p("g", qe, [
|
|
2715
|
+
z.value === "globe" ? (x(), p(l, { key: 0 }, [
|
|
2716
|
+
m("defs", null, [
|
|
2717
|
+
g(ve, {
|
|
2715
2718
|
t: "radial",
|
|
2716
2719
|
id: `water-${A.value}`,
|
|
2717
2720
|
cx: .48,
|
|
@@ -2722,7 +2725,7 @@ var Ve = {
|
|
|
2722
2725
|
stops: [
|
|
2723
2726
|
[
|
|
2724
2727
|
"0%",
|
|
2725
|
-
T(
|
|
2728
|
+
T(n)(P.value.style.chart.globe.waterColor, .4),
|
|
2726
2729
|
1
|
|
2727
2730
|
],
|
|
2728
2731
|
[
|
|
@@ -2742,7 +2745,7 @@ var Ve = {
|
|
|
2742
2745
|
]
|
|
2743
2746
|
]
|
|
2744
2747
|
}, null, 8, ["id", "stops"]),
|
|
2745
|
-
g(
|
|
2748
|
+
g(ve, {
|
|
2746
2749
|
t: "radial",
|
|
2747
2750
|
id: `atmo-realistic-${A.value}`,
|
|
2748
2751
|
cx: .5,
|
|
@@ -2766,25 +2769,25 @@ var Ve = {
|
|
|
2766
2769
|
]
|
|
2767
2770
|
]
|
|
2768
2771
|
}, null, 8, ["id", "stops"]),
|
|
2769
|
-
|
|
2772
|
+
m("filter", {
|
|
2770
2773
|
id: `blur-${A.value}`,
|
|
2771
2774
|
x: "-30%",
|
|
2772
2775
|
y: "-30%",
|
|
2773
2776
|
width: "160%",
|
|
2774
2777
|
height: "160%"
|
|
2775
|
-
}, [...t[4] ||= [
|
|
2778
|
+
}, [...t[4] ||= [m("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, Je)
|
|
2776
2779
|
]),
|
|
2777
|
-
e.$slots.pattern ? (x(),
|
|
2780
|
+
e.$slots.pattern ? (x(), p("g", Ye, [(x(!0), p(l, null, Ae(H.value, (t, n) => (x(), p("defs", null, [C(e.$slots, "pattern", Te({ ref_for: !0 }, {
|
|
2778
2781
|
...t,
|
|
2779
2782
|
patternId: `pattern_${A.value}_${t.code}`
|
|
2780
|
-
}), void 0, !0)]))), 256))])) :
|
|
2781
|
-
|
|
2783
|
+
}), void 0, !0)]))), 256))])) : f("", !0),
|
|
2784
|
+
m("circle", {
|
|
2782
2785
|
cx: V.value.width / 2 + 20,
|
|
2783
2786
|
cy: V.value.height / 2 + 20,
|
|
2784
2787
|
r: V.value.height / 2,
|
|
2785
2788
|
fill: `url(#water-${A.value})`
|
|
2786
2789
|
}, null, 8, Xe),
|
|
2787
|
-
|
|
2790
|
+
m("circle", {
|
|
2788
2791
|
cx: V.value.width / 2 + 20,
|
|
2789
2792
|
cy: V.value.height / 2 + 20,
|
|
2790
2793
|
r: V.value.height / 2 + 10,
|
|
@@ -2792,8 +2795,8 @@ var Ve = {
|
|
|
2792
2795
|
"pointer-events": "none",
|
|
2793
2796
|
filter: `url(#blur-${A.value})`
|
|
2794
2797
|
}, null, 8, Ze)
|
|
2795
|
-
], 64)) :
|
|
2796
|
-
(x(!0),
|
|
2798
|
+
], 64)) : f("", !0),
|
|
2799
|
+
(x(!0), p(l, null, Ae(H.value, (t, n) => (x(), p(l, { key: t.code }, [m("path", {
|
|
2797
2800
|
d: t.path,
|
|
2798
2801
|
fill: t.category && Z.value.includes(t.category) ? P.value.style.chart.territory.emptyColor : t.color,
|
|
2799
2802
|
stroke: P.value.style.chart.territory.stroke,
|
|
@@ -2811,7 +2814,7 @@ var Ve = {
|
|
|
2811
2814
|
seriesIndex: n
|
|
2812
2815
|
}),
|
|
2813
2816
|
class: "vue-ui-world-territory"
|
|
2814
|
-
}, [!j.value || !R.value.showTooltip ? (x(),
|
|
2817
|
+
}, [!j.value || !R.value.showTooltip ? (x(), p("title", $e, [h(w(t.name) + " ", 1), typeof t.value == "number" ? (x(), p(l, { key: 0 }, [h(" : " + w(t.value), 1)], 64)) : f("", !0)])) : f("", !0)], 40, Qe), e.$slots.pattern ? (x(), p("path", {
|
|
2815
2818
|
key: 0,
|
|
2816
2819
|
d: t.path,
|
|
2817
2820
|
fill: `url(#pattern_${A.value}_${t.code})`,
|
|
@@ -2819,8 +2822,8 @@ var Ve = {
|
|
|
2819
2822
|
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
2820
2823
|
style: { "pointer-events": "none" },
|
|
2821
2824
|
class: "vue-ui-world-territory"
|
|
2822
|
-
}, null, 8, et)) :
|
|
2823
|
-
K.value ? (x(),
|
|
2825
|
+
}, null, 8, et)) : f("", !0)], 64))), 128)),
|
|
2826
|
+
K.value ? (x(), p("path", {
|
|
2824
2827
|
key: 1,
|
|
2825
2828
|
d: tn.value,
|
|
2826
2829
|
fill: "transparent",
|
|
@@ -2828,8 +2831,8 @@ var Ve = {
|
|
|
2828
2831
|
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
2829
2832
|
style: { "pointer-events": "none" },
|
|
2830
2833
|
class: "vue-ui-world-territory"
|
|
2831
|
-
}, null, 8, tt)) :
|
|
2832
|
-
])) :
|
|
2834
|
+
}, null, 8, tt)) : f("", !0)
|
|
2835
|
+
])) : f("", !0),
|
|
2833
2836
|
C(e.$slots, "svg", { svg: {
|
|
2834
2837
|
height: B.value.height,
|
|
2835
2838
|
width: B.value.width,
|
|
@@ -2837,27 +2840,27 @@ var Ve = {
|
|
|
2837
2840
|
isPrintingSvg: T(In)
|
|
2838
2841
|
} }, void 0, !0)
|
|
2839
2842
|
], 46, Ge)),
|
|
2840
|
-
e.$slots.watermark ? (x(),
|
|
2841
|
-
|
|
2842
|
-
Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(),
|
|
2843
|
+
e.$slots.watermark ? (x(), p("div", nt, [C(e.$slots, "watermark", y(v({ isPrinting: T(Xt) || T(Zt) || T(Fn) || T(In) })), void 0, !0)])) : f("", !0),
|
|
2844
|
+
m("div", { id: `legend-bottom-${A.value}` }, null, 8, rt),
|
|
2845
|
+
Ct.value && pt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(Ce, {
|
|
2843
2846
|
key: 5,
|
|
2844
2847
|
to: P.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
2845
|
-
}, [pt.value ? (x(),
|
|
2848
|
+
}, [pt.value ? (x(), p("div", {
|
|
2846
2849
|
key: 0,
|
|
2847
2850
|
ref_key: "chartLegend",
|
|
2848
2851
|
ref: ht
|
|
2849
|
-
}, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(),
|
|
2852
|
+
}, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(), d(T(Ie), {
|
|
2850
2853
|
key: `legend_${yt.value}`,
|
|
2851
2854
|
legendSet: Q.value,
|
|
2852
2855
|
config: On.value,
|
|
2853
2856
|
isCursorPointer: F.value,
|
|
2854
2857
|
onClickMarker: t[0] ||= (e) => Dn(e)
|
|
2855
|
-
},
|
|
2856
|
-
item: D(({ legend: e, index: t }) => [
|
|
2858
|
+
}, we({
|
|
2859
|
+
item: D(({ legend: e, index: t }) => [m("div", {
|
|
2857
2860
|
style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
2858
2861
|
onClick: (t) => e.segregate()
|
|
2859
2862
|
}, w(e.name), 13, it)]),
|
|
2860
|
-
legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(),
|
|
2863
|
+
legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(jt) ? (x(), d(ye, {
|
|
2861
2864
|
key: 0,
|
|
2862
2865
|
backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
2863
2866
|
color: P.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -2871,11 +2874,11 @@ var Ve = {
|
|
|
2871
2874
|
"fontSize",
|
|
2872
2875
|
"checked",
|
|
2873
2876
|
"isCursorPointer"
|
|
2874
|
-
])) :
|
|
2877
|
+
])) : f("", !0)]),
|
|
2875
2878
|
_: 2
|
|
2876
2879
|
}, [e.$slots.pattern ? {
|
|
2877
2880
|
name: "legend-pattern",
|
|
2878
|
-
fn: D(({ legend: e, index: t }) => [g(
|
|
2881
|
+
fn: D(({ legend: e, index: t }) => [g(ge, {
|
|
2879
2882
|
shape: e.shape,
|
|
2880
2883
|
radius: 30,
|
|
2881
2884
|
stroke: "none",
|
|
@@ -2890,13 +2893,13 @@ var Ve = {
|
|
|
2890
2893
|
"legendSet",
|
|
2891
2894
|
"config",
|
|
2892
2895
|
"isCursorPointer"
|
|
2893
|
-
])) :
|
|
2894
|
-
e.$slots.source ? (x(),
|
|
2896
|
+
])) : f("", !0)], !0)], 512)) : f("", !0)], 8, ["to"])) : f("", !0),
|
|
2897
|
+
e.$slots.source ? (x(), p("div", {
|
|
2895
2898
|
key: 6,
|
|
2896
2899
|
ref_key: "source",
|
|
2897
2900
|
ref: gt,
|
|
2898
2901
|
dir: "auto"
|
|
2899
|
-
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
2902
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
2900
2903
|
g(T(Le), {
|
|
2901
2904
|
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
2902
2905
|
show: R.value.showTooltip && j.value,
|
|
@@ -2945,12 +2948,12 @@ var Ve = {
|
|
|
2945
2948
|
"smoothForce",
|
|
2946
2949
|
"smoothSnapThreshold"
|
|
2947
2950
|
]),
|
|
2948
|
-
ft.value && P.value.userOptions.buttons.table ? (x(),
|
|
2951
|
+
ft.value && P.value.userOptions.buttons.table ? (x(), d(je($.value.component), Te({ key: 7 }, $.value.props, {
|
|
2949
2952
|
ref_key: "tableUnit",
|
|
2950
2953
|
ref: M,
|
|
2951
2954
|
onClose: jn
|
|
2952
|
-
}),
|
|
2953
|
-
content: D(() => [(x(),
|
|
2955
|
+
}), we({
|
|
2956
|
+
content: D(() => [(x(), d(T(Be), {
|
|
2954
2957
|
key: `table_${bt.value}`,
|
|
2955
2958
|
colNames: wn.value.colNames,
|
|
2956
2959
|
head: wn.value.head,
|
|
@@ -2961,14 +2964,8 @@ var Ve = {
|
|
|
2961
2964
|
isCursorPointer: F.value,
|
|
2962
2965
|
onClose: jn
|
|
2963
2966
|
}, {
|
|
2964
|
-
th: D(({ th: e }) => [
|
|
2965
|
-
|
|
2966
|
-
style: {
|
|
2967
|
-
display: "flex",
|
|
2968
|
-
"align-items": "center"
|
|
2969
|
-
}
|
|
2970
|
-
}, null, 8, at)]),
|
|
2971
|
-
td: D(({ td: e }) => [we(w(e.name ? e.name : e.category ? e.category : T(c)(P.value.style.chart.dataLabels.formatter, e, T(o)({
|
|
2967
|
+
th: D(({ th: e }) => [m("div", at, w(e), 1)]),
|
|
2968
|
+
td: D(({ td: e }) => [h(w(e.name ? e.name : e.category ? e.category : T(c)(P.value.style.chart.dataLabels.formatter, e, T(te)({
|
|
2972
2969
|
p: P.value.style.chart.dataLabels.prefix,
|
|
2973
2970
|
v: e,
|
|
2974
2971
|
s: P.value.style.chart.dataLabels.suffix,
|
|
@@ -2987,11 +2984,11 @@ var Ve = {
|
|
|
2987
2984
|
_: 2
|
|
2988
2985
|
}, [P.value.table.useDialog ? {
|
|
2989
2986
|
name: "title",
|
|
2990
|
-
fn: D(() => [
|
|
2987
|
+
fn: D(() => [h(w($.value.title), 1)]),
|
|
2991
2988
|
key: "0"
|
|
2992
2989
|
} : void 0, P.value.table.useDialog ? {
|
|
2993
2990
|
name: "actions",
|
|
2994
|
-
fn: D(() => [
|
|
2991
|
+
fn: D(() => [m("button", {
|
|
2995
2992
|
tabindex: "0",
|
|
2996
2993
|
class: "vue-ui-user-options-button",
|
|
2997
2994
|
onClick: t[1] ||= (e) => Tn(P.value.userOptions.callbacks.csv),
|
|
@@ -3001,10 +2998,10 @@ var Ve = {
|
|
|
3001
2998
|
stroke: $.value.props.color
|
|
3002
2999
|
}, null, 8, ["stroke"])], 4)]),
|
|
3003
3000
|
key: "1"
|
|
3004
|
-
} : void 0]), 1040)) :
|
|
3005
|
-
C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(),
|
|
3001
|
+
} : void 0]), 1040)) : f("", !0),
|
|
3002
|
+
C(e.$slots, "skeleton", {}, () => [T(jt) ? (x(), d(fe, { key: 0 })) : f("", !0)], !0)
|
|
3006
3003
|
], 46, Ue));
|
|
3007
3004
|
}
|
|
3008
|
-
}, [["__scopeId", "data-v-
|
|
3005
|
+
}, [["__scopeId", "data-v-a7e72f2b"]]);
|
|
3009
3006
|
//#endregion
|
|
3010
3007
|
export { He as n, st as t };
|