vue-data-ui 3.20.11 → 3.21.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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { Fragment as
|
|
2
|
+
import { G as t, H as n, Ht as r, J as i, Ot as a, S as ee, St as te, W as o, ht as ne, i as s, mt as re, pt as ie, t as ae, x as oe, y as c } from "./lib-AJRHFE5U.js";
|
|
3
|
+
import { t as se } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
+
import { t as ce } from "./usePrinter-6n2MzVyV.js";
|
|
5
|
+
import { n as le, t as ue } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
|
+
import { t as de } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as fe } from "./useNestedProp-DtcXIg7n.js";
|
|
8
|
+
import { t as pe } from "./img-C_RNNswI.js";
|
|
9
|
+
import { t as me } from "./Shape-BxFtoF1z.js";
|
|
10
|
+
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
11
|
+
import { t as ge } from "./BaseLegendToggle-BNRi408o.js";
|
|
12
|
+
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
13
|
+
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
14
|
+
import { t as ye } from "./geoProjections-Czak6Jn1.js";
|
|
15
|
+
import { Fragment as l, Teleport as be, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as xe, createTextVNode as h, createVNode as g, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Se, nextTick as Ce, normalizeClass as we, normalizeProps as y, normalizeStyle as b, onMounted as Te, openBlock as x, ref as S, renderList as Ee, renderSlot as C, resolveDynamicComponent as De, toDisplayString as w, toRefs as Oe, unref as T, watch as E, withCtx as D, withModifiers as ke } from "vue";
|
|
16
16
|
//#region src/resources/worldGeo.js
|
|
17
|
-
var
|
|
17
|
+
var Ae = {
|
|
18
18
|
type: "FeatureCollection",
|
|
19
19
|
features: [
|
|
20
20
|
{
|
|
@@ -13209,23 +13209,23 @@ var ke = {
|
|
|
13209
13209
|
}
|
|
13210
13210
|
}
|
|
13211
13211
|
]
|
|
13212
|
-
},
|
|
13212
|
+
}, je = /* @__PURE__ */ e({ default: () => nt }), Me = ["id"], Ne = ["id"], Pe = ["viewBox", "xmlns"], Fe = [
|
|
13213
13213
|
"x",
|
|
13214
13214
|
"y",
|
|
13215
13215
|
"width",
|
|
13216
13216
|
"height"
|
|
13217
|
-
],
|
|
13217
|
+
], Ie = { key: 1 }, Le = ["id"], Re = ["stop-color"], ze = ["stop-color"], Be = ["stop-color"], Ve = ["stop-color"], He = ["id"], Ue = ["stop-color"], We = ["id"], Ge = { key: 0 }, Ke = [
|
|
13218
13218
|
"cx",
|
|
13219
13219
|
"cy",
|
|
13220
13220
|
"r",
|
|
13221
13221
|
"fill"
|
|
13222
|
-
],
|
|
13222
|
+
], qe = [
|
|
13223
13223
|
"cx",
|
|
13224
13224
|
"cy",
|
|
13225
13225
|
"r",
|
|
13226
13226
|
"fill",
|
|
13227
13227
|
"filter"
|
|
13228
|
-
],
|
|
13228
|
+
], Je = [
|
|
13229
13229
|
"d",
|
|
13230
13230
|
"fill",
|
|
13231
13231
|
"stroke",
|
|
@@ -13233,19 +13233,19 @@ var ke = {
|
|
|
13233
13233
|
"onMouseenter",
|
|
13234
13234
|
"onMouseleave",
|
|
13235
13235
|
"onClick"
|
|
13236
|
-
],
|
|
13236
|
+
], Ye = { key: 0 }, Xe = [
|
|
13237
13237
|
"d",
|
|
13238
13238
|
"fill",
|
|
13239
13239
|
"stroke",
|
|
13240
13240
|
"stroke-width"
|
|
13241
|
-
],
|
|
13241
|
+
], Ze = [
|
|
13242
13242
|
"d",
|
|
13243
13243
|
"stroke",
|
|
13244
13244
|
"stroke-width"
|
|
13245
|
-
],
|
|
13245
|
+
], Qe = {
|
|
13246
13246
|
key: 4,
|
|
13247
13247
|
class: "vue-data-ui-watermark"
|
|
13248
|
-
},
|
|
13248
|
+
}, $e = ["id"], et = ["onClick"], tt = ["innerHTML"], nt = /* @__PURE__ */ he({
|
|
13249
13249
|
__name: "vue-ui-world",
|
|
13250
13250
|
props: {
|
|
13251
13251
|
config: {
|
|
@@ -13266,27 +13266,27 @@ var ke = {
|
|
|
13266
13266
|
"selectLegend",
|
|
13267
13267
|
"copyAlt"
|
|
13268
13268
|
],
|
|
13269
|
-
setup(e, { expose:
|
|
13270
|
-
let
|
|
13269
|
+
setup(e, { expose: he, emit: je }) {
|
|
13270
|
+
let nt = _(() => import("./Title-DH6G8_cZ.js").then((e) => e.t)), rt = _(() => import("./Legend-BLhREbj7.js").then((e) => e.n)), it = _(() => import("./Tooltip-979Ytd8R.js")), at = _(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), ot = _(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), st = _(() => import("./DataTable-DweDyHc1.js")), ct = _(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), lt = _(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), ut = _(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), dt = _(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_world: ft } = se(), O = e, pt = je, k = u({
|
|
13271
13271
|
get() {
|
|
13272
|
-
return !!
|
|
13272
|
+
return !!I.value;
|
|
13273
13273
|
},
|
|
13274
13274
|
set(e) {
|
|
13275
13275
|
return e;
|
|
13276
13276
|
}
|
|
13277
|
-
}),
|
|
13278
|
-
|
|
13279
|
-
|
|
13277
|
+
}), mt = u(() => k ? Object.values(I.value).some((e) => Object.hasOwn(e, "category")) : !1), A = S(null), ht = S(null), gt = S(null), _t = S(null), vt = S(null), yt = S(0), bt = S(0), xt = S(0), j = S(n()), St = S(!1), Ct = S(""), wt = S(0), Tt = S(!1), M = S(null), Et = S(null), Dt = S(!1), Ot = S(!1);
|
|
13278
|
+
Te(() => {
|
|
13279
|
+
Tt.value = !0;
|
|
13280
13280
|
});
|
|
13281
|
-
let
|
|
13282
|
-
function
|
|
13283
|
-
let e =
|
|
13284
|
-
userConfig:
|
|
13285
|
-
defaultConfig:
|
|
13281
|
+
let kt = Ae, { projections: N, getProjectedBounds: At, setupTerritories: jt } = ye;
|
|
13282
|
+
function Mt() {
|
|
13283
|
+
let e = fe({
|
|
13284
|
+
userConfig: O.config,
|
|
13285
|
+
defaultConfig: ft
|
|
13286
13286
|
});
|
|
13287
|
-
return
|
|
13287
|
+
return O.config && ie(O.config, "style.chart.territory.colors.min") ? e.style.chart.territory.colors.min = c(O.config.style.chart.territory.colors.min) : e.style.chart.territory.colors.min = e.style.chart.territory.emptyColor, O.config && ie(O.config, "style.chart.territory.colors.max") ? e.style.chart.territory.colors.max = c(O.config.style.chart.territory.colors.max) : e.style.chart.territory.colors.max = a[0], kt = jt(e, kt), e;
|
|
13288
13288
|
}
|
|
13289
|
-
let
|
|
13289
|
+
let P = S(Mt()), F = u(() => P.value.userOptions.useCursorPointer), Nt = u(() => r({
|
|
13290
13290
|
defaultConfig: {
|
|
13291
13291
|
userOptions: { show: !1 },
|
|
13292
13292
|
table: { show: !1 },
|
|
@@ -13302,30 +13302,30 @@ var ke = {
|
|
|
13302
13302
|
}
|
|
13303
13303
|
} }
|
|
13304
13304
|
},
|
|
13305
|
-
userConfig:
|
|
13306
|
-
})), { loading:
|
|
13307
|
-
...
|
|
13308
|
-
FINAL_CONFIG:
|
|
13309
|
-
prepareConfig:
|
|
13310
|
-
skeletonDataset:
|
|
13311
|
-
skeletonConfig:
|
|
13312
|
-
defaultConfig:
|
|
13313
|
-
userConfig:
|
|
13305
|
+
userConfig: P.value.skeletonConfig ?? {}
|
|
13306
|
+
})), { loading: Pt, FINAL_DATASET: I } = le({
|
|
13307
|
+
...Oe(O),
|
|
13308
|
+
FINAL_CONFIG: P,
|
|
13309
|
+
prepareConfig: Mt,
|
|
13310
|
+
skeletonDataset: O.config?.skeletonDataset ?? [],
|
|
13311
|
+
skeletonConfig: r({
|
|
13312
|
+
defaultConfig: P.value,
|
|
13313
|
+
userConfig: Nt.value
|
|
13314
13314
|
})
|
|
13315
|
-
}), { userOptionsVisible:
|
|
13316
|
-
showTable:
|
|
13317
|
-
showTooltip:
|
|
13315
|
+
}), { userOptionsVisible: Ft, setUserOptionsVisibility: It, keepUserOptionState: Lt } = _e({ config: P.value }), { svgRef: L } = ve({ config: P.value.style.chart.title }), R = S({
|
|
13316
|
+
showTable: P.value.table.show,
|
|
13317
|
+
showTooltip: P.value.style.chart.tooltip.show
|
|
13318
13318
|
});
|
|
13319
|
-
|
|
13320
|
-
|
|
13321
|
-
}),
|
|
13322
|
-
|
|
13323
|
-
showTable:
|
|
13324
|
-
showTooltip:
|
|
13319
|
+
E(() => O.config, (e) => {
|
|
13320
|
+
P.value = Mt(), Ft.value = !P.value.userOptions.showOnChartHover, yt.value += 1, xt.value += 1, bt.value += 1, R.value.showTable = P.value.table.show, R.value.showTooltip = P.value.style.chart.tooltip.show;
|
|
13321
|
+
}), E(P, () => {
|
|
13322
|
+
R.value = {
|
|
13323
|
+
showTable: P.value.table.show,
|
|
13324
|
+
showTooltip: P.value.style.chart.tooltip.show
|
|
13325
13325
|
};
|
|
13326
13326
|
}, { immediate: !0 });
|
|
13327
|
-
let
|
|
13328
|
-
let { height: e, width: t } =
|
|
13327
|
+
let Rt = u(() => oe(P.value.customPalette)), z = u(() => P.value.projection || "globe"), B = u(() => {
|
|
13328
|
+
let { height: e, width: t } = P.value.style.chart.dimensions;
|
|
13329
13329
|
return {
|
|
13330
13330
|
aitoff: {
|
|
13331
13331
|
width: t || 1e3,
|
|
@@ -13379,9 +13379,9 @@ var ke = {
|
|
|
13379
13379
|
width: t || 1e3,
|
|
13380
13380
|
height: e || 1e3
|
|
13381
13381
|
}
|
|
13382
|
-
}[
|
|
13383
|
-
}),
|
|
13384
|
-
let { minX: e, minY: t, width: n, height: r } =
|
|
13382
|
+
}[z.value];
|
|
13383
|
+
}), V = u(() => {
|
|
13384
|
+
let { minX: e, minY: t, width: n, height: r } = At(N[z.value], kt.features, B.value.width, B.value.height);
|
|
13385
13385
|
return {
|
|
13386
13386
|
str: `${e} ${t} ${n} ${r}`,
|
|
13387
13387
|
minX: e,
|
|
@@ -13389,144 +13389,144 @@ var ke = {
|
|
|
13389
13389
|
width: n,
|
|
13390
13390
|
height: r
|
|
13391
13391
|
};
|
|
13392
|
-
}),
|
|
13393
|
-
function
|
|
13394
|
-
return typeof e == "number" ?
|
|
13392
|
+
}), zt = u(() => Object.values(I.value).map((e) => e.value)), Bt = u(() => Math.min(...zt.value)), Vt = u(() => Math.max(...zt.value));
|
|
13393
|
+
function Ht(e) {
|
|
13394
|
+
return typeof e == "number" ? re(P.value.style.chart.territory.colors.min || "#FFFFFF00", P.value.style.chart.territory.colors.max || Rt.value[0] || a[0], Bt.value, Vt.value, e) : P.value.style.chart.territory.emptyColor;
|
|
13395
13395
|
}
|
|
13396
|
-
function
|
|
13397
|
-
return (
|
|
13396
|
+
function Ut([e, t]) {
|
|
13397
|
+
return (N[z.value] || N.globe)([e, t], B.value.width, B.value.height, X.value);
|
|
13398
13398
|
}
|
|
13399
|
-
function
|
|
13399
|
+
function Wt(e) {
|
|
13400
13400
|
let t = (e) => e.map((e) => {
|
|
13401
|
-
let t = e.map(([e, t]) =>
|
|
13401
|
+
let t = e.map(([e, t]) => Ut([e, t])).filter(([e, t]) => Number.isFinite(e) && Number.isFinite(t));
|
|
13402
13402
|
return t.length < 3 ? "" : "M" + t.map(([e, t]) => `${e},${t}`).join("L") + "Z";
|
|
13403
13403
|
}).filter(Boolean).join(" ");
|
|
13404
13404
|
return e.type === "Polygon" ? t(e.coordinates) : e.type === "MultiPolygon" ? e.coordinates.map(t).join(" ") : "";
|
|
13405
13405
|
}
|
|
13406
|
-
let
|
|
13407
|
-
let e = Object.values(
|
|
13406
|
+
let Gt = u(() => {
|
|
13407
|
+
let e = Object.values(I.value).filter((e) => !!e.category), t = {};
|
|
13408
13408
|
return e.forEach((e) => {
|
|
13409
13409
|
t[e.category] || (t[e.category] = e);
|
|
13410
13410
|
}), Object.values(t).map((e, t) => ({
|
|
13411
13411
|
name: e.category,
|
|
13412
|
-
color: e.color ?
|
|
13412
|
+
color: e.color ? c(e.color) : Rt.value[t] || a[t] || a[t % a.length]
|
|
13413
13413
|
}));
|
|
13414
13414
|
});
|
|
13415
|
-
function
|
|
13416
|
-
let t =
|
|
13415
|
+
function Kt(e) {
|
|
13416
|
+
let t = Gt.value.find((t) => t.name === e);
|
|
13417
13417
|
return t ? t.color : "#000000";
|
|
13418
13418
|
}
|
|
13419
|
-
let
|
|
13419
|
+
let H = u(() => (X.value, kt.features.map((e) => {
|
|
13420
13420
|
let t = e.properties.iso_a3;
|
|
13421
13421
|
(!t || t === "-99") && (t = e.properties.iso_a3_eh);
|
|
13422
|
-
let
|
|
13422
|
+
let r = I.value[t];
|
|
13423
13423
|
return {
|
|
13424
|
-
path:
|
|
13424
|
+
path: Wt(e.geometry),
|
|
13425
13425
|
name: e.properties.name,
|
|
13426
13426
|
geo: e,
|
|
13427
13427
|
code: t,
|
|
13428
13428
|
geometry: e.geometry,
|
|
13429
|
-
color:
|
|
13430
|
-
value:
|
|
13431
|
-
category:
|
|
13432
|
-
isActive: !!
|
|
13433
|
-
uid: `territory-${
|
|
13429
|
+
color: r && r.color ? c(r.color) : r && r.category ? Kt(r.category) : Ht(r ? r.value : null),
|
|
13430
|
+
value: r ? r.value : null,
|
|
13431
|
+
category: r && r.category || null,
|
|
13432
|
+
isActive: !!r,
|
|
13433
|
+
uid: `territory-${n()}`
|
|
13434
13434
|
};
|
|
13435
|
-
}))),
|
|
13436
|
-
function
|
|
13437
|
-
|
|
13438
|
-
}
|
|
13439
|
-
let G = C(!1);
|
|
13440
|
-
function qt() {
|
|
13441
|
-
G.value = !G.value;
|
|
13435
|
+
}))), U = S(!1);
|
|
13436
|
+
function qt(e) {
|
|
13437
|
+
U.value = e, wt.value += 1;
|
|
13442
13438
|
}
|
|
13439
|
+
let W = S(!1);
|
|
13443
13440
|
function Jt() {
|
|
13444
|
-
|
|
13441
|
+
W.value = !W.value;
|
|
13445
13442
|
}
|
|
13446
13443
|
function Yt() {
|
|
13447
|
-
|
|
13444
|
+
R.value.showTable = !R.value.showTable;
|
|
13448
13445
|
}
|
|
13449
|
-
|
|
13450
|
-
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13446
|
+
function Xt() {
|
|
13447
|
+
R.value.showTooltip = !R.value.showTooltip;
|
|
13448
|
+
}
|
|
13449
|
+
let Zt = u(() => P.value.userOptions.show && !P.value.style.chart.title.text), { isPrinting: Qt, isImaging: $t, generatePdf: en, generateImage: tn } = ce({
|
|
13450
|
+
elementId: `world_${j.value}`,
|
|
13451
|
+
fileName: P.value.style.chart.title.text || "vue-ui-world",
|
|
13452
|
+
options: P.value.userOptions.print
|
|
13453
|
+
}), G = S(!1), K = S(null), q = S(null);
|
|
13454
13454
|
function nn(e) {
|
|
13455
13455
|
return e ? e.type === "Polygon" ? e.coordinates : e.type === "MultiPolygon" ? e.coordinates.reduce((e, t) => t[0].length > (e[0]?.length || 0) ? t : e, []) : [] : [];
|
|
13456
13456
|
}
|
|
13457
|
-
let rn =
|
|
13457
|
+
let rn = u(() => {
|
|
13458
13458
|
let e = q.value?.geometry;
|
|
13459
13459
|
if (!e) return "";
|
|
13460
13460
|
let t = nn(e);
|
|
13461
13461
|
if (!t.length) return "";
|
|
13462
|
-
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i =
|
|
13463
|
-
function
|
|
13464
|
-
return [(e -
|
|
13462
|
+
let n = t.flat(), r = [n.reduce((e, [t]) => e + t, 0) / n.length, n.reduce((e, [, t]) => e + t, 0) / n.length], i = N[z.value] || N.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(), ne = o.map(([e, t]) => e), s = o.map(([e, t]) => t), re = Math.min(...ne), ie = Math.max(...ne), ae = Math.min(...s), oe = Math.max(...s), c = ie - re || 1, se = oe - ae || 1, ce = Math.min(64 / c, 64 / se);
|
|
13463
|
+
function le([e, t]) {
|
|
13464
|
+
return [(e - re) * ce + 8, (t - ae) * ce + 8];
|
|
13465
13465
|
}
|
|
13466
13466
|
return `
|
|
13467
13467
|
<svg width="80" height="80" viewBox="0 0 80 80" style="display:block;margin:auto;">
|
|
13468
13468
|
<rect x="0" y="0" width="80" height="80" rx="12" fill="transparent" opacity="0.93"/>
|
|
13469
|
-
<path d="${
|
|
13469
|
+
<path d="${te.map((e) => "M" + e.map(le).map(([e, t]) => `${e},${t}`).join("L") + "Z").join(" ")}" fill="${q.value?.color || P.value.style.chart.territory.emptyColor}" stroke="${P.value.style.chart.territory.stroke}" stroke-width="1"/>
|
|
13470
13470
|
</svg>
|
|
13471
13471
|
`;
|
|
13472
13472
|
});
|
|
13473
13473
|
function an({ datapoint: e, seriesIndex: t }) {
|
|
13474
|
-
|
|
13474
|
+
St.value = !1, q.value = null, P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
13475
13475
|
datapoint: e,
|
|
13476
13476
|
seriesIndex: t
|
|
13477
13477
|
});
|
|
13478
13478
|
}
|
|
13479
13479
|
function on({ datapoint: e, seriesIndex: t }) {
|
|
13480
|
-
|
|
13480
|
+
pt("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
|
|
13481
13481
|
datapoint: e,
|
|
13482
13482
|
seriesIndex: t
|
|
13483
13483
|
});
|
|
13484
13484
|
}
|
|
13485
|
-
function sn({ datapoint: e, seriesIndex:
|
|
13486
|
-
|
|
13485
|
+
function sn({ datapoint: e, seriesIndex: n }) {
|
|
13486
|
+
P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
13487
13487
|
datapoint: e,
|
|
13488
|
-
seriesIndex:
|
|
13489
|
-
}), q.value = e,
|
|
13488
|
+
seriesIndex: n
|
|
13489
|
+
}), q.value = e, K.value = {
|
|
13490
13490
|
datapoint: e,
|
|
13491
|
-
config:
|
|
13492
|
-
series:
|
|
13493
|
-
},
|
|
13494
|
-
let
|
|
13495
|
-
if (
|
|
13491
|
+
config: P.value,
|
|
13492
|
+
series: H.value
|
|
13493
|
+
}, St.value = !0;
|
|
13494
|
+
let r = "", i = P.value.style.chart.tooltip.customFormat;
|
|
13495
|
+
if (G.value = !1, ne(i)) try {
|
|
13496
13496
|
let t = i({
|
|
13497
13497
|
datapoint: e,
|
|
13498
|
-
config:
|
|
13499
|
-
series:
|
|
13498
|
+
config: P.value,
|
|
13499
|
+
series: H.value
|
|
13500
13500
|
});
|
|
13501
|
-
typeof t == "string" && (
|
|
13501
|
+
typeof t == "string" && (Ct.value = t, G.value = !0);
|
|
13502
13502
|
} catch {
|
|
13503
|
-
console.warn("Custom format cannot be applied."),
|
|
13503
|
+
console.warn("Custom format cannot be applied."), G.value = !1;
|
|
13504
13504
|
}
|
|
13505
|
-
|
|
13505
|
+
G.value || (r += `
|
|
13506
13506
|
<div style="width:100%;">
|
|
13507
|
-
${
|
|
13507
|
+
${P.value.style.chart.tooltip.showMinimap ? `<div class="vue-ui-world-minimap">${rn.value}</div>` : ""}
|
|
13508
13508
|
<div style="display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:center;gap:4px">
|
|
13509
13509
|
<svg viewBox="0 0 20 20" height="14" width="14">
|
|
13510
13510
|
<circle cx="10" cy="10" r="10" fill="${e.color}"/>
|
|
13511
13511
|
</svg>
|
|
13512
13512
|
<span>${e.name}:</span>
|
|
13513
13513
|
<b>
|
|
13514
|
-
${
|
|
13515
|
-
p:
|
|
13514
|
+
${s(P.value.style.chart.dataLabels.formatter, e.value, t({
|
|
13515
|
+
p: P.value.style.chart.dataLabels.prefix,
|
|
13516
13516
|
v: e.value,
|
|
13517
|
-
s:
|
|
13518
|
-
r:
|
|
13517
|
+
s: P.value.style.chart.dataLabels.suffix,
|
|
13518
|
+
r: P.value.style.chart.dataLabels.rounding
|
|
13519
13519
|
}))}
|
|
13520
13520
|
</b>
|
|
13521
13521
|
</div>
|
|
13522
13522
|
</div>
|
|
13523
|
-
`,
|
|
13523
|
+
`, Ct.value = `<div>${r}</div>`);
|
|
13524
13524
|
}
|
|
13525
|
-
let J =
|
|
13525
|
+
let J = S(!1), Y = S({
|
|
13526
13526
|
x: 0,
|
|
13527
13527
|
y: 0
|
|
13528
|
-
}), X =
|
|
13529
|
-
|
|
13528
|
+
}), X = S([P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y]);
|
|
13529
|
+
E(() => [P.value.style.chart.globe.center.x, P.value.style.chart.globe.center.y], ([e, t]) => {
|
|
13530
13530
|
X.value = [e, t];
|
|
13531
13531
|
});
|
|
13532
13532
|
function cn(e) {
|
|
@@ -13536,7 +13536,7 @@ var ke = {
|
|
|
13536
13536
|
};
|
|
13537
13537
|
}
|
|
13538
13538
|
function ln(e) {
|
|
13539
|
-
if (!J.value ||
|
|
13539
|
+
if (!J.value || z.value !== "globe" || W.value) return;
|
|
13540
13540
|
let t = e.clientX - Y.value.x, n = e.clientY - Y.value.y, r = X.value[0] - t * .5, i = X.value[1] + n * .5;
|
|
13541
13541
|
i = Math.max(-90, Math.min(90, i)), X.value = [r, i], Y.value = {
|
|
13542
13542
|
x: e.clientX,
|
|
@@ -13555,7 +13555,7 @@ var ke = {
|
|
|
13555
13555
|
};
|
|
13556
13556
|
}
|
|
13557
13557
|
function fn(e) {
|
|
13558
|
-
if (!J.value ||
|
|
13558
|
+
if (!J.value || z.value !== "globe" || W.value) return;
|
|
13559
13559
|
let t = e.touches[0], n = t.clientX - Y.value.x, r = t.clientY - Y.value.y, i = X.value[0] - n * .5, a = X.value[1] + r * .5;
|
|
13560
13560
|
a = Math.max(-90, Math.min(90, a)), X.value = [i, a], Y.value = {
|
|
13561
13561
|
x: t.clientX,
|
|
@@ -13565,8 +13565,8 @@ var ke = {
|
|
|
13565
13565
|
function pn() {
|
|
13566
13566
|
J.value = !1;
|
|
13567
13567
|
}
|
|
13568
|
-
let mn =
|
|
13569
|
-
let e =
|
|
13568
|
+
let mn = u(() => {
|
|
13569
|
+
let e = H.value.toSorted((e, t) => (t.value || 0) - (e.value || 0));
|
|
13570
13570
|
return {
|
|
13571
13571
|
head: e.map((e) => ({
|
|
13572
13572
|
name: e.name,
|
|
@@ -13575,11 +13575,11 @@ var ke = {
|
|
|
13575
13575
|
})),
|
|
13576
13576
|
body: e.map((e) => e.value || 0)
|
|
13577
13577
|
};
|
|
13578
|
-
}), hn =
|
|
13578
|
+
}), hn = u(() => {
|
|
13579
13579
|
let e = [
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13580
|
+
P.value.table.columnNames.series,
|
|
13581
|
+
P.value.table.columnNames.value,
|
|
13582
|
+
P.value.table.columnNames.category
|
|
13583
13583
|
], t = mn.value.head.map((e, t) => [
|
|
13584
13584
|
{
|
|
13585
13585
|
color: e.color,
|
|
@@ -13589,51 +13589,51 @@ var ke = {
|
|
|
13589
13589
|
{ category: e.category }
|
|
13590
13590
|
]), n = {
|
|
13591
13591
|
th: {
|
|
13592
|
-
backgroundColor:
|
|
13593
|
-
color:
|
|
13594
|
-
outline:
|
|
13592
|
+
backgroundColor: P.value.table.th.backgroundColor,
|
|
13593
|
+
color: P.value.table.th.color,
|
|
13594
|
+
outline: P.value.table.th.outline
|
|
13595
13595
|
},
|
|
13596
13596
|
td: {
|
|
13597
|
-
backgroundColor:
|
|
13598
|
-
color:
|
|
13599
|
-
outline:
|
|
13597
|
+
backgroundColor: P.value.table.td.backgroundColor,
|
|
13598
|
+
color: P.value.table.td.color,
|
|
13599
|
+
outline: P.value.table.td.outline
|
|
13600
13600
|
},
|
|
13601
|
-
breakpoint:
|
|
13601
|
+
breakpoint: P.value.table.responsiveBreakpoint
|
|
13602
13602
|
};
|
|
13603
13603
|
return {
|
|
13604
|
-
colNames: [
|
|
13604
|
+
colNames: [P.value.table.columnNames.series, P.value.table.columnNames.value],
|
|
13605
13605
|
head: e,
|
|
13606
13606
|
body: t,
|
|
13607
13607
|
config: n
|
|
13608
13608
|
};
|
|
13609
13609
|
});
|
|
13610
13610
|
function gn(e = null) {
|
|
13611
|
-
|
|
13611
|
+
Ce(() => {
|
|
13612
13612
|
let t = mn.value.head.map((e, t) => [[e.name], [mn.value.body[t]]]), n = ee([
|
|
13613
|
-
[
|
|
13614
|
-
[
|
|
13613
|
+
[P.value.style.chart.title.text],
|
|
13614
|
+
[P.value.style.chart.title.subtitle.text],
|
|
13615
13615
|
[[
|
|
13616
|
-
|
|
13617
|
-
|
|
13618
|
-
|
|
13616
|
+
P.value.table.columnNames.series,
|
|
13617
|
+
P.value.table.columnNames.value,
|
|
13618
|
+
P.value.table.columnNames.category
|
|
13619
13619
|
]]
|
|
13620
13620
|
].concat(t));
|
|
13621
|
-
e ? e(n) :
|
|
13621
|
+
e ? e(n) : i({
|
|
13622
13622
|
csvContent: n,
|
|
13623
|
-
title:
|
|
13623
|
+
title: P.value.style.chart.title.text || "vue-ui-world"
|
|
13624
13624
|
});
|
|
13625
13625
|
});
|
|
13626
13626
|
}
|
|
13627
|
-
let Z =
|
|
13627
|
+
let Z = S([]);
|
|
13628
13628
|
function _n() {
|
|
13629
13629
|
Z.value.length ? Z.value = [] : Q.value.forEach((e) => {
|
|
13630
13630
|
Z.value.push(e.name);
|
|
13631
13631
|
});
|
|
13632
13632
|
}
|
|
13633
13633
|
function vn(e) {
|
|
13634
|
-
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e),
|
|
13634
|
+
Z.value.includes(e) ? Z.value = Z.value.filter((t) => t !== e) : Z.value.push(e), pt("selectLegend", { name: e });
|
|
13635
13635
|
}
|
|
13636
|
-
let Q =
|
|
13636
|
+
let Q = u(() => mt ? Gt.value.map(({ name: e, color: t }, n) => ({
|
|
13637
13637
|
name: e,
|
|
13638
13638
|
color: t,
|
|
13639
13639
|
shape: "circle",
|
|
@@ -13643,21 +13643,21 @@ var ke = {
|
|
|
13643
13643
|
opacity: Z.value.includes(e.name) ? .5 : 1,
|
|
13644
13644
|
segregate: () => vn(e.name),
|
|
13645
13645
|
isSegregated: Z.value.includes(e.name)
|
|
13646
|
-
})) : []), yn =
|
|
13646
|
+
})) : []), yn = u(() => ({
|
|
13647
13647
|
cy: "donut-div-legend",
|
|
13648
|
-
backgroundColor:
|
|
13649
|
-
color:
|
|
13650
|
-
fontSize:
|
|
13648
|
+
backgroundColor: P.value.style.chart.legend.backgroundColor,
|
|
13649
|
+
color: P.value.style.chart.legend.color,
|
|
13650
|
+
fontSize: P.value.style.chart.legend.fontSize,
|
|
13651
13651
|
paddingBottom: 12,
|
|
13652
|
-
fontWeight:
|
|
13652
|
+
fontWeight: P.value.style.chart.legend.bold ? "bold" : ""
|
|
13653
13653
|
}));
|
|
13654
13654
|
function bn() {
|
|
13655
|
-
return
|
|
13655
|
+
return H.value;
|
|
13656
13656
|
}
|
|
13657
13657
|
async function xn({ scale: e = 2 } = {}) {
|
|
13658
|
-
if (!
|
|
13659
|
-
let { width: t, height: n } =
|
|
13660
|
-
domElement:
|
|
13658
|
+
if (!A.value) return;
|
|
13659
|
+
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
13660
|
+
domElement: A.value,
|
|
13661
13661
|
base64: !0,
|
|
13662
13662
|
img: !0,
|
|
13663
13663
|
scale: e
|
|
@@ -13665,62 +13665,62 @@ var ke = {
|
|
|
13665
13665
|
return {
|
|
13666
13666
|
imageUri: i,
|
|
13667
13667
|
base64: a,
|
|
13668
|
-
title:
|
|
13668
|
+
title: P.value.style.chart.title.text,
|
|
13669
13669
|
width: t,
|
|
13670
13670
|
height: n,
|
|
13671
13671
|
aspectRatio: r
|
|
13672
13672
|
};
|
|
13673
13673
|
}
|
|
13674
|
-
let $ =
|
|
13675
|
-
let e =
|
|
13674
|
+
let $ = u(() => {
|
|
13675
|
+
let e = P.value.table.useDialog && !P.value.table.show, t = R.value.showTable;
|
|
13676
13676
|
return {
|
|
13677
|
-
component: e ?
|
|
13678
|
-
title: `${
|
|
13677
|
+
component: e ? dt : ot,
|
|
13678
|
+
title: `${P.value.style.chart.title.text}${P.value.style.chart.title.subtitle.text ? `: ${P.value.style.chart.title.subtitle.text}` : ""}`,
|
|
13679
13679
|
props: e ? {
|
|
13680
|
-
backgroundColor:
|
|
13681
|
-
color:
|
|
13682
|
-
headerColor:
|
|
13683
|
-
headerBg:
|
|
13684
|
-
isFullscreen:
|
|
13685
|
-
fullscreenParent:
|
|
13680
|
+
backgroundColor: P.value.table.th.backgroundColor,
|
|
13681
|
+
color: P.value.table.th.color,
|
|
13682
|
+
headerColor: P.value.table.th.color,
|
|
13683
|
+
headerBg: P.value.table.th.backgroundColor,
|
|
13684
|
+
isFullscreen: U.value,
|
|
13685
|
+
fullscreenParent: A.value,
|
|
13686
13686
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
13687
|
-
isCursorPointer:
|
|
13687
|
+
isCursorPointer: F.value
|
|
13688
13688
|
} : {
|
|
13689
13689
|
hideDetails: !0,
|
|
13690
13690
|
config: {
|
|
13691
13691
|
open: t,
|
|
13692
13692
|
maxHeight: 1e4,
|
|
13693
13693
|
body: {
|
|
13694
|
-
backgroundColor:
|
|
13695
|
-
color:
|
|
13694
|
+
backgroundColor: P.value.style.chart.backgroundColor,
|
|
13695
|
+
color: P.value.style.chart.color
|
|
13696
13696
|
},
|
|
13697
13697
|
head: {
|
|
13698
|
-
backgroundColor:
|
|
13699
|
-
color:
|
|
13698
|
+
backgroundColor: P.value.style.chart.backgroundColor,
|
|
13699
|
+
color: P.value.style.chart.color
|
|
13700
13700
|
}
|
|
13701
13701
|
}
|
|
13702
13702
|
}
|
|
13703
13703
|
};
|
|
13704
13704
|
});
|
|
13705
|
-
|
|
13706
|
-
|
|
13705
|
+
E(() => R.value.showTable, (e) => {
|
|
13706
|
+
P.value.table.show || (e && P.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
13707
13707
|
});
|
|
13708
13708
|
function Sn() {
|
|
13709
|
-
|
|
13709
|
+
R.value.showTable = !1, Et.value && Et.value.setTableIconState(!1);
|
|
13710
13710
|
}
|
|
13711
|
-
let Cn =
|
|
13712
|
-
svg:
|
|
13713
|
-
title:
|
|
13711
|
+
let Cn = u(() => P.value.style.chart.backgroundColor), wn = u(() => P.value.style.chart.legend), { exportSvg: Tn, getSvg: En } = de({
|
|
13712
|
+
svg: L,
|
|
13713
|
+
title: u(() => P.value.style.chart.title),
|
|
13714
13714
|
legend: wn,
|
|
13715
13715
|
legendItems: Q,
|
|
13716
13716
|
backgroundColor: Cn
|
|
13717
13717
|
});
|
|
13718
13718
|
async function Dn({ isCb: e }) {
|
|
13719
|
-
|
|
13719
|
+
Ot.value = !0, await Ce();
|
|
13720
13720
|
try {
|
|
13721
13721
|
if (e) {
|
|
13722
13722
|
let { blob: e, url: t, text: n, dataUrl: r } = await En();
|
|
13723
|
-
await Promise.resolve(
|
|
13723
|
+
await Promise.resolve(P.value.userOptions.callbacks.svg({
|
|
13724
13724
|
blob: e,
|
|
13725
13725
|
url: t,
|
|
13726
13726
|
text: n,
|
|
@@ -13728,69 +13728,69 @@ var ke = {
|
|
|
13728
13728
|
}));
|
|
13729
13729
|
} else await Promise.resolve(Tn());
|
|
13730
13730
|
} finally {
|
|
13731
|
-
|
|
13731
|
+
Ot.value = !1;
|
|
13732
13732
|
}
|
|
13733
13733
|
}
|
|
13734
13734
|
function On(e) {
|
|
13735
13735
|
if (e?.stage === "start") {
|
|
13736
|
-
|
|
13736
|
+
Dt.value = !0;
|
|
13737
13737
|
return;
|
|
13738
13738
|
}
|
|
13739
13739
|
if (e?.stage === "end") {
|
|
13740
|
-
|
|
13740
|
+
Dt.value = !1;
|
|
13741
13741
|
return;
|
|
13742
13742
|
}
|
|
13743
|
-
|
|
13743
|
+
tn();
|
|
13744
13744
|
}
|
|
13745
13745
|
async function kn() {
|
|
13746
|
-
if (
|
|
13747
|
-
config:
|
|
13748
|
-
dataset:
|
|
13749
|
-
}), !
|
|
13746
|
+
if (pt("copyAlt", {
|
|
13747
|
+
config: P.value,
|
|
13748
|
+
dataset: H.value
|
|
13749
|
+
}), !P.value.userOptions.callbacks.altCopy) {
|
|
13750
13750
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
13751
13751
|
return;
|
|
13752
13752
|
}
|
|
13753
|
-
await Promise.resolve(
|
|
13754
|
-
config:
|
|
13755
|
-
dataset:
|
|
13753
|
+
await Promise.resolve(P.value.userOptions.callbacks.altCopy({
|
|
13754
|
+
config: P.value,
|
|
13755
|
+
dataset: H.value
|
|
13756
13756
|
}));
|
|
13757
13757
|
}
|
|
13758
|
-
return
|
|
13758
|
+
return he({
|
|
13759
13759
|
getData: bn,
|
|
13760
13760
|
getImage: xn,
|
|
13761
|
-
generatePdf:
|
|
13761
|
+
generatePdf: en,
|
|
13762
13762
|
generateCsv: gn,
|
|
13763
|
-
generateImage:
|
|
13763
|
+
generateImage: tn,
|
|
13764
13764
|
generateSvg: Dn,
|
|
13765
|
-
toggleTable:
|
|
13766
|
-
toggleTooltip:
|
|
13767
|
-
toggleAnnotator:
|
|
13768
|
-
toggleFullscreen:
|
|
13765
|
+
toggleTable: Yt,
|
|
13766
|
+
toggleTooltip: Xt,
|
|
13767
|
+
toggleAnnotator: Jt,
|
|
13768
|
+
toggleFullscreen: qt,
|
|
13769
13769
|
copyAlt: kn
|
|
13770
|
-
}), (e,
|
|
13770
|
+
}), (e, n) => (x(), p("div", {
|
|
13771
13771
|
ref_key: "worldChart",
|
|
13772
|
-
ref:
|
|
13773
|
-
id: `world_${
|
|
13774
|
-
class:
|
|
13775
|
-
style:
|
|
13776
|
-
onMouseenter:
|
|
13777
|
-
onMouseleave:
|
|
13772
|
+
ref: A,
|
|
13773
|
+
id: `world_${j.value}`,
|
|
13774
|
+
class: we(`vue-data-ui-component vue-ui-world ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
13775
|
+
style: b(`font-family:${P.value.style.fontFamily};width:100%; text-align:center;background:${P.value.style.chart.backgroundColor}`),
|
|
13776
|
+
onMouseenter: n[2] ||= () => T(It)(!0),
|
|
13777
|
+
onMouseleave: n[3] ||= () => T(It)(!1)
|
|
13778
13778
|
}, [
|
|
13779
|
-
|
|
13779
|
+
P.value.userOptions.buttons.annotator && T(L) ? (x(), d(T(ct), {
|
|
13780
13780
|
key: 0,
|
|
13781
|
-
color:
|
|
13782
|
-
backgroundColor:
|
|
13783
|
-
active:
|
|
13784
|
-
svgRef:
|
|
13785
|
-
isCursorPointer:
|
|
13786
|
-
onClose:
|
|
13781
|
+
color: P.value.style.chart.color,
|
|
13782
|
+
backgroundColor: P.value.style.chart.backgroundColor,
|
|
13783
|
+
active: W.value,
|
|
13784
|
+
svgRef: T(L),
|
|
13785
|
+
isCursorPointer: F.value,
|
|
13786
|
+
onClose: Jt
|
|
13787
13787
|
}, {
|
|
13788
|
-
"annotator-action-close":
|
|
13789
|
-
"annotator-action-color":
|
|
13790
|
-
"annotator-action-draw":
|
|
13791
|
-
"annotator-action-undo":
|
|
13792
|
-
"annotator-action-redo":
|
|
13793
|
-
"annotator-action-delete":
|
|
13788
|
+
"annotator-action-close": D(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
13789
|
+
"annotator-action-color": D(({ color: t }) => [C(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
13790
|
+
"annotator-action-draw": D(({ mode: t }) => [C(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
13791
|
+
"annotator-action-undo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
13792
|
+
"annotator-action-redo": D(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
13793
|
+
"annotator-action-delete": D(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
13794
13794
|
_: 3
|
|
13795
13795
|
}, 8, [
|
|
13796
13796
|
"color",
|
|
@@ -13798,77 +13798,77 @@ var ke = {
|
|
|
13798
13798
|
"active",
|
|
13799
13799
|
"svgRef",
|
|
13800
13800
|
"isCursorPointer"
|
|
13801
|
-
])) :
|
|
13802
|
-
|
|
13803
|
-
|
|
13801
|
+
])) : f("", !0),
|
|
13802
|
+
C(e.$slots, "userConfig", {}, void 0, !0),
|
|
13803
|
+
Zt.value ? (x(), p("div", {
|
|
13804
13804
|
key: 1,
|
|
13805
13805
|
ref_key: "noTitle",
|
|
13806
|
-
ref:
|
|
13806
|
+
ref: vt,
|
|
13807
13807
|
class: "vue-data-ui-no-title-space",
|
|
13808
13808
|
style: "height:36px; width: 100%;background:transparent"
|
|
13809
|
-
}, null, 512)) :
|
|
13810
|
-
|
|
13809
|
+
}, null, 512)) : f("", !0),
|
|
13810
|
+
P.value.style.chart.title.text ? (x(), p("div", {
|
|
13811
13811
|
key: 2,
|
|
13812
13812
|
ref_key: "chartTitle",
|
|
13813
|
-
ref:
|
|
13813
|
+
ref: ht,
|
|
13814
13814
|
style: "width:100%;background:transparent"
|
|
13815
|
-
}, [(
|
|
13816
|
-
key: `title_${
|
|
13815
|
+
}, [(x(), d(T(nt), {
|
|
13816
|
+
key: `title_${yt.value}`,
|
|
13817
13817
|
config: {
|
|
13818
13818
|
title: {
|
|
13819
13819
|
cy: "donut-div-title",
|
|
13820
|
-
...
|
|
13820
|
+
...P.value.style.chart.title
|
|
13821
13821
|
},
|
|
13822
13822
|
subtitle: {
|
|
13823
13823
|
cy: "donut-div-subtitle",
|
|
13824
|
-
...
|
|
13824
|
+
...P.value.style.chart.title.subtitle
|
|
13825
13825
|
}
|
|
13826
13826
|
}
|
|
13827
|
-
}, null, 8, ["config"]))], 512)) :
|
|
13828
|
-
|
|
13829
|
-
|
|
13827
|
+
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
13828
|
+
m("div", { id: `legend-top-${j.value}` }, null, 8, Ne),
|
|
13829
|
+
P.value.userOptions.show && k.value && (T(Lt) || T(Ft)) ? (x(), d(T(lt), {
|
|
13830
13830
|
ref_key: "userOptionsRef",
|
|
13831
|
-
ref:
|
|
13832
|
-
key: `user_option_${
|
|
13833
|
-
backgroundColor:
|
|
13834
|
-
color:
|
|
13835
|
-
isPrinting:
|
|
13836
|
-
isImaging:
|
|
13837
|
-
uid:
|
|
13838
|
-
callbacks:
|
|
13839
|
-
hasTooltip:
|
|
13840
|
-
hasPdf:
|
|
13841
|
-
hasImg:
|
|
13842
|
-
hasSvg:
|
|
13843
|
-
hasXls:
|
|
13844
|
-
hasTable:
|
|
13831
|
+
ref: Et,
|
|
13832
|
+
key: `user_option_${wt.value}`,
|
|
13833
|
+
backgroundColor: P.value.style.chart.backgroundColor,
|
|
13834
|
+
color: P.value.style.chart.color,
|
|
13835
|
+
isPrinting: T(Qt),
|
|
13836
|
+
isImaging: T($t),
|
|
13837
|
+
uid: j.value,
|
|
13838
|
+
callbacks: P.value.userOptions.callbacks,
|
|
13839
|
+
hasTooltip: P.value.style.chart.tooltip.show && P.value.userOptions.buttons.tooltip,
|
|
13840
|
+
hasPdf: P.value.userOptions.buttons.pdf,
|
|
13841
|
+
hasImg: P.value.userOptions.buttons.img,
|
|
13842
|
+
hasSvg: P.value.userOptions.buttons.svg,
|
|
13843
|
+
hasXls: P.value.userOptions.buttons.csv,
|
|
13844
|
+
hasTable: P.value.userOptions.buttons.table,
|
|
13845
13845
|
hasLabel: !1,
|
|
13846
|
-
hasFullscreen:
|
|
13847
|
-
hasAltCopy:
|
|
13848
|
-
isFullscreen:
|
|
13849
|
-
chartElement:
|
|
13850
|
-
position:
|
|
13851
|
-
printScale:
|
|
13852
|
-
isTooltip:
|
|
13853
|
-
titles: { ...
|
|
13854
|
-
hasAnnotator:
|
|
13855
|
-
isAnnotation:
|
|
13856
|
-
tableDialog:
|
|
13857
|
-
isCursorPointer:
|
|
13858
|
-
onToggleFullscreen:
|
|
13859
|
-
onGeneratePdf:
|
|
13846
|
+
hasFullscreen: P.value.userOptions.buttons.fullscreen,
|
|
13847
|
+
hasAltCopy: P.value.userOptions.buttons.altCopy,
|
|
13848
|
+
isFullscreen: U.value,
|
|
13849
|
+
chartElement: A.value,
|
|
13850
|
+
position: P.value.userOptions.position,
|
|
13851
|
+
printScale: P.value.userOptions.print.scale,
|
|
13852
|
+
isTooltip: R.value.showTooltip,
|
|
13853
|
+
titles: { ...P.value.userOptions.buttonTitles },
|
|
13854
|
+
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
13855
|
+
isAnnotation: W.value,
|
|
13856
|
+
tableDialog: P.value.table.useDialog,
|
|
13857
|
+
isCursorPointer: F.value,
|
|
13858
|
+
onToggleFullscreen: qt,
|
|
13859
|
+
onGeneratePdf: T(en),
|
|
13860
13860
|
onGenerateCsv: gn,
|
|
13861
13861
|
onGenerateImage: On,
|
|
13862
13862
|
onGenerateSvg: Dn,
|
|
13863
|
-
onToggleTable:
|
|
13864
|
-
onToggleTooltip:
|
|
13865
|
-
onToggleAnnotator:
|
|
13863
|
+
onToggleTable: Yt,
|
|
13864
|
+
onToggleTooltip: Xt,
|
|
13865
|
+
onToggleAnnotator: Jt,
|
|
13866
13866
|
onCopyAlt: kn,
|
|
13867
|
-
style:
|
|
13868
|
-
},
|
|
13867
|
+
style: b({ visibility: T(Lt) ? T(Ft) ? "visible" : "hidden" : "visible" })
|
|
13868
|
+
}, xe({ _: 2 }, [
|
|
13869
13869
|
e.$slots.menuIcon ? {
|
|
13870
13870
|
name: "menuIcon",
|
|
13871
|
-
fn:
|
|
13871
|
+
fn: D(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", y(v({
|
|
13872
13872
|
isOpen: t,
|
|
13873
13873
|
color: n
|
|
13874
13874
|
})), void 0, !0)]),
|
|
@@ -13876,37 +13876,37 @@ var ke = {
|
|
|
13876
13876
|
} : void 0,
|
|
13877
13877
|
e.$slots.optionTooltip ? {
|
|
13878
13878
|
name: "optionTooltip",
|
|
13879
|
-
fn:
|
|
13879
|
+
fn: D(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
13880
13880
|
key: "1"
|
|
13881
13881
|
} : void 0,
|
|
13882
13882
|
e.$slots.optionPdf ? {
|
|
13883
13883
|
name: "optionPdf",
|
|
13884
|
-
fn:
|
|
13884
|
+
fn: D(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
13885
13885
|
key: "2"
|
|
13886
13886
|
} : void 0,
|
|
13887
13887
|
e.$slots.optionCsv ? {
|
|
13888
13888
|
name: "optionCsv",
|
|
13889
|
-
fn:
|
|
13889
|
+
fn: D(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
13890
13890
|
key: "3"
|
|
13891
13891
|
} : void 0,
|
|
13892
13892
|
e.$slots.optionImg ? {
|
|
13893
13893
|
name: "optionImg",
|
|
13894
|
-
fn:
|
|
13894
|
+
fn: D(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
13895
13895
|
key: "4"
|
|
13896
13896
|
} : void 0,
|
|
13897
13897
|
e.$slots.optionSvg ? {
|
|
13898
13898
|
name: "optionSvg",
|
|
13899
|
-
fn:
|
|
13899
|
+
fn: D(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
13900
13900
|
key: "5"
|
|
13901
13901
|
} : void 0,
|
|
13902
13902
|
e.$slots.optionTable ? {
|
|
13903
13903
|
name: "optionTable",
|
|
13904
|
-
fn:
|
|
13904
|
+
fn: D(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
13905
13905
|
key: "6"
|
|
13906
13906
|
} : void 0,
|
|
13907
13907
|
e.$slots.optionFullscreen ? {
|
|
13908
13908
|
name: "optionFullscreen",
|
|
13909
|
-
fn:
|
|
13909
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", y(v({
|
|
13910
13910
|
toggleFullscreen: t,
|
|
13911
13911
|
isFullscreen: n
|
|
13912
13912
|
})), void 0, !0)]),
|
|
@@ -13914,7 +13914,7 @@ var ke = {
|
|
|
13914
13914
|
} : void 0,
|
|
13915
13915
|
e.$slots.optionAnnotator ? {
|
|
13916
13916
|
name: "optionAnnotator",
|
|
13917
|
-
fn:
|
|
13917
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", y(v({
|
|
13918
13918
|
toggleAnnotator: t,
|
|
13919
13919
|
isAnnotator: n
|
|
13920
13920
|
})), void 0, !0)]),
|
|
@@ -13922,135 +13922,135 @@ var ke = {
|
|
|
13922
13922
|
} : void 0,
|
|
13923
13923
|
e.$slots.optionAltCopy ? {
|
|
13924
13924
|
name: "optionAltCopy",
|
|
13925
|
-
fn:
|
|
13925
|
+
fn: D(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
13926
13926
|
key: "9"
|
|
13927
13927
|
} : void 0,
|
|
13928
13928
|
e.$slots["custom-menu-before"] ? {
|
|
13929
13929
|
name: "custom-menu-before",
|
|
13930
|
-
fn:
|
|
13930
|
+
fn: D(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
13931
13931
|
key: "10"
|
|
13932
13932
|
} : void 0,
|
|
13933
13933
|
e.$slots["custom-menu-after"] ? {
|
|
13934
13934
|
name: "custom-menu-after",
|
|
13935
|
-
fn:
|
|
13935
|
+
fn: D(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
13936
13936
|
key: "11"
|
|
13937
13937
|
} : void 0
|
|
13938
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
13939
|
-
(
|
|
13938
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.printScale.isTooltip.titles.hasAnnotator.isAnnotation.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
|
|
13939
|
+
(x(), p("svg", {
|
|
13940
13940
|
ref_key: "svgRef",
|
|
13941
|
-
ref:
|
|
13942
|
-
viewBox:
|
|
13943
|
-
xmlns:
|
|
13944
|
-
class:
|
|
13945
|
-
"vue-data-ui-fullscreen--on":
|
|
13946
|
-
"vue-data-ui-fullscreen--off": !
|
|
13941
|
+
ref: L,
|
|
13942
|
+
viewBox: V.value.str,
|
|
13943
|
+
xmlns: T(ae),
|
|
13944
|
+
class: we({
|
|
13945
|
+
"vue-data-ui-fullscreen--on": U.value,
|
|
13946
|
+
"vue-data-ui-fullscreen--off": !U.value
|
|
13947
13947
|
}),
|
|
13948
|
-
style:
|
|
13948
|
+
style: b({
|
|
13949
13949
|
maxWidth: "100%",
|
|
13950
|
-
overflow:
|
|
13950
|
+
overflow: z.value === "globe" ? "visible" : "hidden",
|
|
13951
13951
|
background: "transparent",
|
|
13952
|
-
color:
|
|
13953
|
-
paddingTop:
|
|
13954
|
-
paddingRight:
|
|
13955
|
-
paddingBottom:
|
|
13956
|
-
paddingLeft:
|
|
13952
|
+
color: P.value.style.chart.color,
|
|
13953
|
+
paddingTop: P.value.style.chart.padding.top + "px",
|
|
13954
|
+
paddingRight: P.value.style.chart.padding.right + "px",
|
|
13955
|
+
paddingBottom: P.value.style.chart.padding.bottom + "px",
|
|
13956
|
+
paddingLeft: P.value.style.chart.padding.left + "px"
|
|
13957
13957
|
}),
|
|
13958
13958
|
onMousedown: cn,
|
|
13959
13959
|
onMousemove: ln,
|
|
13960
13960
|
onMouseup: un,
|
|
13961
13961
|
onMouseleave: un,
|
|
13962
13962
|
onTouchstart: dn,
|
|
13963
|
-
onTouchmove:
|
|
13963
|
+
onTouchmove: ke(fn, ["prevent"]),
|
|
13964
13964
|
onTouchend: pn
|
|
13965
13965
|
}, [
|
|
13966
|
-
|
|
13967
|
-
e.$slots["chart-background"] ? (
|
|
13966
|
+
g(T(ut)),
|
|
13967
|
+
e.$slots["chart-background"] ? (x(), p("foreignObject", {
|
|
13968
13968
|
key: 0,
|
|
13969
|
-
x:
|
|
13970
|
-
y:
|
|
13971
|
-
width:
|
|
13972
|
-
height:
|
|
13969
|
+
x: V.value.minX,
|
|
13970
|
+
y: V.value.minY,
|
|
13971
|
+
width: V.value.width,
|
|
13972
|
+
height: V.value.height,
|
|
13973
13973
|
style: { pointerEvents: "none" }
|
|
13974
|
-
}, [
|
|
13975
|
-
|
|
13976
|
-
|
|
13977
|
-
|
|
13978
|
-
id: `water-${
|
|
13974
|
+
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Fe)) : f("", !0),
|
|
13975
|
+
k.value ? (x(), p("g", Ie, [z.value === "globe" ? (x(), p(l, { key: 0 }, [
|
|
13976
|
+
m("defs", null, [
|
|
13977
|
+
m("radialGradient", {
|
|
13978
|
+
id: `water-${j.value}`,
|
|
13979
13979
|
cx: .48,
|
|
13980
13980
|
cy: .52,
|
|
13981
13981
|
r: "0.55",
|
|
13982
13982
|
fx: "0.40",
|
|
13983
13983
|
fy: "0.48"
|
|
13984
13984
|
}, [
|
|
13985
|
-
|
|
13985
|
+
m("stop", {
|
|
13986
13986
|
offset: "0%",
|
|
13987
|
-
"stop-color":
|
|
13988
|
-
}, null, 8, Le),
|
|
13989
|
-
h("stop", {
|
|
13990
|
-
offset: "45%",
|
|
13991
|
-
"stop-color": F.value.style.chart.globe.waterColor
|
|
13987
|
+
"stop-color": T(te)(P.value.style.chart.globe.waterColor, .4)
|
|
13992
13988
|
}, null, 8, Re),
|
|
13993
|
-
|
|
13994
|
-
offset: "
|
|
13995
|
-
"stop-color":
|
|
13989
|
+
m("stop", {
|
|
13990
|
+
offset: "45%",
|
|
13991
|
+
"stop-color": P.value.style.chart.globe.waterColor
|
|
13996
13992
|
}, null, 8, ze),
|
|
13997
|
-
|
|
13993
|
+
m("stop", {
|
|
13994
|
+
offset: "80%",
|
|
13995
|
+
"stop-color": T(o)(P.value.style.chart.globe.waterColor, .2)
|
|
13996
|
+
}, null, 8, Be),
|
|
13997
|
+
m("stop", {
|
|
13998
13998
|
offset: "100%",
|
|
13999
|
-
"stop-color":
|
|
13999
|
+
"stop-color": T(o)(P.value.style.chart.globe.waterColor, .5),
|
|
14000
14000
|
"stop-opacity": "0.95"
|
|
14001
|
-
}, null, 8,
|
|
14002
|
-
], 8,
|
|
14003
|
-
|
|
14004
|
-
id: `atmo-realistic-${
|
|
14001
|
+
}, null, 8, Ve)
|
|
14002
|
+
], 8, Le),
|
|
14003
|
+
m("radialGradient", {
|
|
14004
|
+
id: `atmo-realistic-${j.value}`,
|
|
14005
14005
|
cx: .5,
|
|
14006
14006
|
cy: .5,
|
|
14007
14007
|
r: "0.54"
|
|
14008
14008
|
}, [
|
|
14009
|
-
|
|
14009
|
+
n[4] ||= m("stop", {
|
|
14010
14010
|
offset: "87%",
|
|
14011
14011
|
"stop-color": "rgba(120,200,255,0)"
|
|
14012
14012
|
}, null, -1),
|
|
14013
|
-
|
|
14013
|
+
m("stop", {
|
|
14014
14014
|
offset: "98%",
|
|
14015
|
-
"stop-color":
|
|
14016
|
-
}, null, 8,
|
|
14017
|
-
|
|
14015
|
+
"stop-color": P.value.style.chart.globe.waterColor
|
|
14016
|
+
}, null, 8, Ue),
|
|
14017
|
+
n[5] ||= m("stop", {
|
|
14018
14018
|
offset: "100%",
|
|
14019
14019
|
"stop-color": "rgba(120,200,255,0)"
|
|
14020
14020
|
}, null, -1)
|
|
14021
|
-
], 8,
|
|
14022
|
-
|
|
14023
|
-
id: `blur-${
|
|
14021
|
+
], 8, He),
|
|
14022
|
+
m("filter", {
|
|
14023
|
+
id: `blur-${j.value}`,
|
|
14024
14024
|
x: "-30%",
|
|
14025
14025
|
y: "-30%",
|
|
14026
14026
|
width: "160%",
|
|
14027
14027
|
height: "160%"
|
|
14028
|
-
}, [...
|
|
14028
|
+
}, [...n[6] ||= [m("feGaussianBlur", { stdDeviation: "8" }, null, -1)]], 8, We)
|
|
14029
14029
|
]),
|
|
14030
|
-
e.$slots.pattern ? (
|
|
14030
|
+
e.$slots.pattern ? (x(), p("g", Ge, [(x(!0), p(l, null, Ee(H.value, (t, n) => (x(), p("defs", null, [C(e.$slots, "pattern", Se({ ref_for: !0 }, {
|
|
14031
14031
|
...t,
|
|
14032
|
-
patternId: `pattern_${
|
|
14033
|
-
}), void 0, !0)]))), 256))])) :
|
|
14034
|
-
|
|
14035
|
-
cx:
|
|
14036
|
-
cy:
|
|
14037
|
-
r:
|
|
14038
|
-
fill: `url(#water-${
|
|
14039
|
-
}, null, 8,
|
|
14040
|
-
|
|
14041
|
-
cx:
|
|
14042
|
-
cy:
|
|
14043
|
-
r:
|
|
14044
|
-
fill: `url(#atmo-realistic-${
|
|
14032
|
+
patternId: `pattern_${j.value}_${t.code}`
|
|
14033
|
+
}), void 0, !0)]))), 256))])) : f("", !0),
|
|
14034
|
+
m("circle", {
|
|
14035
|
+
cx: V.value.width / 2 + 20,
|
|
14036
|
+
cy: V.value.height / 2 + 20,
|
|
14037
|
+
r: V.value.height / 2,
|
|
14038
|
+
fill: `url(#water-${j.value})`
|
|
14039
|
+
}, null, 8, Ke),
|
|
14040
|
+
m("circle", {
|
|
14041
|
+
cx: V.value.width / 2 + 20,
|
|
14042
|
+
cy: V.value.height / 2 + 20,
|
|
14043
|
+
r: V.value.height / 2 + 10,
|
|
14044
|
+
fill: `url(#atmo-realistic-${j.value})`,
|
|
14045
14045
|
"pointer-events": "none",
|
|
14046
|
-
filter: `url(#blur-${
|
|
14047
|
-
}, null, 8,
|
|
14048
|
-
], 64)) :
|
|
14049
|
-
|
|
14046
|
+
filter: `url(#blur-${j.value})`
|
|
14047
|
+
}, null, 8, qe)
|
|
14048
|
+
], 64)) : f("", !0), (x(!0), p(l, null, Ee(H.value, (t, n) => (x(), p(l, { key: t.code }, [
|
|
14049
|
+
m("path", {
|
|
14050
14050
|
d: t.path,
|
|
14051
|
-
fill: t.category && Z.value.includes(t.category) ?
|
|
14052
|
-
stroke:
|
|
14053
|
-
"stroke-width": q.value && q.value.uid === t.uid ?
|
|
14051
|
+
fill: t.category && Z.value.includes(t.category) ? P.value.style.chart.territory.emptyColor : t.color,
|
|
14052
|
+
stroke: P.value.style.chart.territory.stroke,
|
|
14053
|
+
"stroke-width": q.value && q.value.uid === t.uid ? P.value.style.chart.territory.strokeWidthSelected : P.value.style.chart.territory.strokeWidth,
|
|
14054
14054
|
onMouseenter: (e) => sn({
|
|
14055
14055
|
datapoint: t,
|
|
14056
14056
|
seriesIndex: n
|
|
@@ -14064,60 +14064,60 @@ var ke = {
|
|
|
14064
14064
|
seriesIndex: n
|
|
14065
14065
|
}),
|
|
14066
14066
|
class: "vue-ui-world-territory"
|
|
14067
|
-
}, [!
|
|
14068
|
-
e.$slots.pattern ? (
|
|
14067
|
+
}, [!St.value || !R.value.showTooltip ? (x(), p("title", Ye, [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, Je),
|
|
14068
|
+
e.$slots.pattern ? (x(), p("path", {
|
|
14069
14069
|
key: 0,
|
|
14070
14070
|
d: t.path,
|
|
14071
|
-
fill: `url(#pattern_${
|
|
14072
|
-
stroke:
|
|
14073
|
-
"stroke-width":
|
|
14071
|
+
fill: `url(#pattern_${j.value}_${t.code})`,
|
|
14072
|
+
stroke: P.value.style.chart.territory.stroke,
|
|
14073
|
+
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
14074
14074
|
style: { "pointer-events": "none" },
|
|
14075
14075
|
class: "vue-ui-world-territory"
|
|
14076
|
-
}, null, 8,
|
|
14077
|
-
q.value ? (
|
|
14076
|
+
}, null, 8, Xe)) : f("", !0),
|
|
14077
|
+
q.value ? (x(), p("path", {
|
|
14078
14078
|
key: 1,
|
|
14079
|
-
d:
|
|
14079
|
+
d: Wt(q.value.geometry),
|
|
14080
14080
|
fill: "transparent",
|
|
14081
|
-
stroke:
|
|
14082
|
-
"stroke-width":
|
|
14081
|
+
stroke: P.value.style.chart.territory.stroke,
|
|
14082
|
+
"stroke-width": P.value.style.chart.territory.strokeWidthSelected,
|
|
14083
14083
|
style: { "pointer-events": "none" },
|
|
14084
14084
|
class: "vue-ui-world-territory"
|
|
14085
|
-
}, null, 8,
|
|
14086
|
-
], 64))), 128))])) :
|
|
14087
|
-
|
|
14088
|
-
height:
|
|
14089
|
-
width:
|
|
14090
|
-
isPrintingImg:
|
|
14091
|
-
isPrintingSvg:
|
|
14085
|
+
}, null, 8, Ze)) : f("", !0)
|
|
14086
|
+
], 64))), 128))])) : f("", !0),
|
|
14087
|
+
C(e.$slots, "svg", { svg: {
|
|
14088
|
+
height: B.value.height,
|
|
14089
|
+
width: B.value.width,
|
|
14090
|
+
isPrintingImg: T(Qt) || T($t) || Dt.value,
|
|
14091
|
+
isPrintingSvg: Ot.value
|
|
14092
14092
|
} }, void 0, !0)
|
|
14093
|
-
], 46,
|
|
14094
|
-
e.$slots.watermark ? (
|
|
14095
|
-
|
|
14096
|
-
|
|
14093
|
+
], 46, Pe)),
|
|
14094
|
+
e.$slots.watermark ? (x(), p("div", Qe, [C(e.$slots, "watermark", y(v({ isPrinting: T(Qt) || T($t) || Dt.value || Ot.value })), void 0, !0)])) : f("", !0),
|
|
14095
|
+
m("div", { id: `legend-bottom-${j.value}` }, null, 8, $e),
|
|
14096
|
+
Tt.value && mt.value && (P.value.style.chart.legend.show || e.$slots.legend) ? (x(), d(be, {
|
|
14097
14097
|
key: 5,
|
|
14098
|
-
to:
|
|
14099
|
-
}, [
|
|
14098
|
+
to: P.value.style.chart.legend.position === "top" ? `#legend-top-${j.value}` : `#legend-bottom-${j.value}`
|
|
14099
|
+
}, [mt.value ? (x(), p("div", {
|
|
14100
14100
|
key: 0,
|
|
14101
14101
|
ref_key: "chartLegend",
|
|
14102
|
-
ref:
|
|
14103
|
-
}, [
|
|
14104
|
-
key: `legend_${
|
|
14102
|
+
ref: gt
|
|
14103
|
+
}, [C(e.$slots, "legend", { legend: Q.value }, () => [P.value.style.chart.legend.show ? (x(), d(T(rt), {
|
|
14104
|
+
key: `legend_${bt.value}`,
|
|
14105
14105
|
legendSet: Q.value,
|
|
14106
14106
|
config: yn.value,
|
|
14107
|
-
isCursorPointer:
|
|
14108
|
-
onClickMarker:
|
|
14109
|
-
},
|
|
14110
|
-
item:
|
|
14111
|
-
style:
|
|
14107
|
+
isCursorPointer: F.value,
|
|
14108
|
+
onClickMarker: n[0] ||= (e) => vn(e)
|
|
14109
|
+
}, xe({
|
|
14110
|
+
item: D(({ legend: e, index: t }) => [m("div", {
|
|
14111
|
+
style: b(`opacity:${Z.value.includes(e.name) ? .5 : 1}`),
|
|
14112
14112
|
onClick: (t) => e.segregate()
|
|
14113
|
-
},
|
|
14114
|
-
legendToggle:
|
|
14113
|
+
}, w(e.name), 13, et)]),
|
|
14114
|
+
legendToggle: D(() => [Q.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !T(Pt) ? (x(), d(ge, {
|
|
14115
14115
|
key: 0,
|
|
14116
|
-
backgroundColor:
|
|
14117
|
-
color:
|
|
14118
|
-
fontSize:
|
|
14116
|
+
backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
14117
|
+
color: P.value.style.chart.legend.selectAllToggle.color,
|
|
14118
|
+
fontSize: P.value.style.chart.legend.fontSize,
|
|
14119
14119
|
checked: Z.value.length > 0,
|
|
14120
|
-
isCursorPointer:
|
|
14120
|
+
isCursorPointer: F.value,
|
|
14121
14121
|
onToggle: _n
|
|
14122
14122
|
}, null, 8, [
|
|
14123
14123
|
"backgroundColor",
|
|
@@ -14125,11 +14125,11 @@ var ke = {
|
|
|
14125
14125
|
"fontSize",
|
|
14126
14126
|
"checked",
|
|
14127
14127
|
"isCursorPointer"
|
|
14128
|
-
])) :
|
|
14128
|
+
])) : f("", !0)]),
|
|
14129
14129
|
_: 2
|
|
14130
14130
|
}, [e.$slots.pattern ? {
|
|
14131
14131
|
name: "legend-pattern",
|
|
14132
|
-
fn:
|
|
14132
|
+
fn: D(({ legend: e, index: t }) => [g(me, {
|
|
14133
14133
|
shape: e.shape,
|
|
14134
14134
|
radius: 30,
|
|
14135
14135
|
stroke: "none",
|
|
@@ -14137,45 +14137,45 @@ var ke = {
|
|
|
14137
14137
|
x: 30,
|
|
14138
14138
|
y: 30
|
|
14139
14139
|
},
|
|
14140
|
-
fill: `url(#pattern_${
|
|
14140
|
+
fill: `url(#pattern_${j.value}_${t})`
|
|
14141
14141
|
}, null, 8, ["shape", "fill"])]),
|
|
14142
14142
|
key: "0"
|
|
14143
14143
|
} : void 0]), 1032, [
|
|
14144
14144
|
"legendSet",
|
|
14145
14145
|
"config",
|
|
14146
14146
|
"isCursorPointer"
|
|
14147
|
-
])) :
|
|
14148
|
-
e.$slots.source ? (
|
|
14147
|
+
])) : f("", !0)], !0)], 512)) : f("", !0)], 8, ["to"])) : f("", !0),
|
|
14148
|
+
e.$slots.source ? (x(), p("div", {
|
|
14149
14149
|
key: 6,
|
|
14150
14150
|
ref_key: "source",
|
|
14151
|
-
ref:
|
|
14151
|
+
ref: _t,
|
|
14152
14152
|
dir: "auto"
|
|
14153
|
-
}, [
|
|
14154
|
-
|
|
14155
|
-
teleportTo:
|
|
14156
|
-
show:
|
|
14157
|
-
backgroundColor:
|
|
14158
|
-
color:
|
|
14159
|
-
fontSize:
|
|
14160
|
-
borderRadius:
|
|
14161
|
-
borderColor:
|
|
14162
|
-
borderWidth:
|
|
14163
|
-
backgroundOpacity:
|
|
14164
|
-
position:
|
|
14165
|
-
offsetX:
|
|
14166
|
-
offsetY:
|
|
14167
|
-
parent:
|
|
14168
|
-
content:
|
|
14169
|
-
isCustom:
|
|
14170
|
-
isFullscreen:
|
|
14171
|
-
smooth:
|
|
14172
|
-
backdropFilter:
|
|
14173
|
-
smoothForce:
|
|
14174
|
-
smoothSnapThreshold:
|
|
14153
|
+
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
14154
|
+
g(T(it), {
|
|
14155
|
+
teleportTo: P.value.style.chart.tooltip.teleportTo,
|
|
14156
|
+
show: R.value.showTooltip && St.value,
|
|
14157
|
+
backgroundColor: P.value.style.chart.tooltip.backgroundColor,
|
|
14158
|
+
color: P.value.style.chart.tooltip.color,
|
|
14159
|
+
fontSize: P.value.style.chart.tooltip.fontSize,
|
|
14160
|
+
borderRadius: P.value.style.chart.tooltip.borderRadius,
|
|
14161
|
+
borderColor: P.value.style.chart.tooltip.borderColor,
|
|
14162
|
+
borderWidth: P.value.style.chart.tooltip.borderWidth,
|
|
14163
|
+
backgroundOpacity: P.value.style.chart.tooltip.backgroundOpacity,
|
|
14164
|
+
position: P.value.style.chart.tooltip.position,
|
|
14165
|
+
offsetX: P.value.style.chart.tooltip.offsetX,
|
|
14166
|
+
offsetY: P.value.style.chart.tooltip.offsetY,
|
|
14167
|
+
parent: A.value,
|
|
14168
|
+
content: Ct.value,
|
|
14169
|
+
isCustom: G.value,
|
|
14170
|
+
isFullscreen: U.value,
|
|
14171
|
+
smooth: P.value.style.chart.tooltip.smooth,
|
|
14172
|
+
backdropFilter: P.value.style.chart.tooltip.backdropFilter,
|
|
14173
|
+
smoothForce: P.value.style.chart.tooltip.smoothForce,
|
|
14174
|
+
smoothSnapThreshold: P.value.style.chart.tooltip.smoothSnapThreshold
|
|
14175
14175
|
}, {
|
|
14176
|
-
"tooltip-before":
|
|
14177
|
-
tooltip:
|
|
14178
|
-
"tooltip-after":
|
|
14176
|
+
"tooltip-before": D(() => [C(e.$slots, "tooltip-before", y(v({ ...K.value })), void 0, !0)]),
|
|
14177
|
+
tooltip: D(() => [C(e.$slots, "tooltip", y(v({ ...K.value })), void 0, !0)]),
|
|
14178
|
+
"tooltip-after": D(() => [C(e.$slots, "tooltip-after", y(v({ ...K.value })), void 0, !0)]),
|
|
14179
14179
|
_: 3
|
|
14180
14180
|
}, 8, [
|
|
14181
14181
|
"teleportTo",
|
|
@@ -14199,34 +14199,34 @@ var ke = {
|
|
|
14199
14199
|
"smoothForce",
|
|
14200
14200
|
"smoothSnapThreshold"
|
|
14201
14201
|
]),
|
|
14202
|
-
|
|
14202
|
+
k.value && P.value.userOptions.buttons.table ? (x(), d(De($.value.component), Se({ key: 7 }, $.value.props, {
|
|
14203
14203
|
ref_key: "tableUnit",
|
|
14204
|
-
ref:
|
|
14204
|
+
ref: M,
|
|
14205
14205
|
onClose: Sn
|
|
14206
|
-
}),
|
|
14207
|
-
content:
|
|
14208
|
-
key: `table_${
|
|
14206
|
+
}), xe({
|
|
14207
|
+
content: D(() => [(x(), d(T(st), {
|
|
14208
|
+
key: `table_${xt.value}`,
|
|
14209
14209
|
colNames: hn.value.colNames,
|
|
14210
14210
|
head: hn.value.head,
|
|
14211
14211
|
body: hn.value.body,
|
|
14212
14212
|
config: hn.value.config,
|
|
14213
|
-
title:
|
|
14214
|
-
withCloseButton: !
|
|
14215
|
-
isCursorPointer:
|
|
14213
|
+
title: P.value.table.useDialog ? "" : $.value.title,
|
|
14214
|
+
withCloseButton: !P.value.table.useDialog,
|
|
14215
|
+
isCursorPointer: F.value,
|
|
14216
14216
|
onClose: Sn
|
|
14217
14217
|
}, {
|
|
14218
|
-
th:
|
|
14218
|
+
th: D(({ th: e }) => [m("div", {
|
|
14219
14219
|
innerHTML: e,
|
|
14220
14220
|
style: {
|
|
14221
14221
|
display: "flex",
|
|
14222
14222
|
"align-items": "center"
|
|
14223
14223
|
}
|
|
14224
|
-
}, null, 8,
|
|
14225
|
-
td:
|
|
14226
|
-
p:
|
|
14224
|
+
}, null, 8, tt)]),
|
|
14225
|
+
td: D(({ td: e }) => [h(w(e.name ? e.name : e.category ? e.category : T(s)(P.value.style.chart.dataLabels.formatter, e, T(t)({
|
|
14226
|
+
p: P.value.style.chart.dataLabels.prefix,
|
|
14227
14227
|
v: e,
|
|
14228
|
-
s:
|
|
14229
|
-
r:
|
|
14228
|
+
s: P.value.style.chart.dataLabels.suffix,
|
|
14229
|
+
r: P.value.style.chart.dataLabels.rounding
|
|
14230
14230
|
}))), 1)]),
|
|
14231
14231
|
_: 1
|
|
14232
14232
|
}, 8, [
|
|
@@ -14239,26 +14239,26 @@ var ke = {
|
|
|
14239
14239
|
"isCursorPointer"
|
|
14240
14240
|
]))]),
|
|
14241
14241
|
_: 2
|
|
14242
|
-
}, [
|
|
14242
|
+
}, [P.value.table.useDialog ? {
|
|
14243
14243
|
name: "title",
|
|
14244
|
-
fn:
|
|
14244
|
+
fn: D(() => [h(w($.value.title), 1)]),
|
|
14245
14245
|
key: "0"
|
|
14246
|
-
} : void 0,
|
|
14246
|
+
} : void 0, P.value.table.useDialog ? {
|
|
14247
14247
|
name: "actions",
|
|
14248
|
-
fn:
|
|
14248
|
+
fn: D(() => [m("button", {
|
|
14249
14249
|
tabindex: "0",
|
|
14250
14250
|
class: "vue-ui-user-options-button",
|
|
14251
|
-
onClick:
|
|
14252
|
-
style:
|
|
14253
|
-
}, [
|
|
14251
|
+
onClick: n[1] ||= (e) => gn(P.value.userOptions.callbacks.csv),
|
|
14252
|
+
style: b({ cursor: F.value ? "pointer" : "default" })
|
|
14253
|
+
}, [g(T(at), {
|
|
14254
14254
|
name: "fileCsv",
|
|
14255
14255
|
stroke: $.value.props.color
|
|
14256
14256
|
}, null, 8, ["stroke"])], 4)]),
|
|
14257
14257
|
key: "1"
|
|
14258
|
-
} : void 0]), 1040)) :
|
|
14259
|
-
|
|
14260
|
-
], 46,
|
|
14258
|
+
} : void 0]), 1040)) : f("", !0),
|
|
14259
|
+
C(e.$slots, "skeleton", {}, () => [T(Pt) ? (x(), d(ue, { key: 0 })) : f("", !0)], !0)
|
|
14260
|
+
], 46, Me));
|
|
14261
14261
|
}
|
|
14262
14262
|
}, [["__scopeId", "data-v-bf7b6fe6"]]);
|
|
14263
14263
|
//#endregion
|
|
14264
|
-
export {
|
|
14264
|
+
export { je as n, nt as t };
|