vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import { defineAsyncComponent as ce, ref as h, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { u as
|
|
4
|
-
import { t as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import { g as
|
|
14
|
-
import
|
|
15
|
-
import { B as Tt } from "./BaseZoomControls-
|
|
16
|
-
import { _ as
|
|
17
|
-
const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", controls: { backgroundColor: "#2A2A2A", buttonColor: "#2A2A2A", color: "#CCCCCC", border: "1px solid #4A4A4A" }, territory: { fill: "#2A2A2A", stroke: "#5A5A5A", hover: { fill: "#3A3A3A", stroke: "#6A6A6A" } }, points: { stroke: "#1A1A1A", fill: "#CCCCCC", labels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } } },
|
|
1
|
+
import { defineAsyncComponent as ce, ref as h, toRefs as Ao, computed as d, watch as ne, nextTick as re, onBeforeUnmount as Nt, onMounted as ko, createElementBlock as N, openBlock as g, normalizeStyle as fe, normalizeClass as wt, createCommentVNode as M, createBlock as V, createVNode as Pt, unref as y, withCtx as F, renderSlot as b, normalizeProps as $, guardReactiveProps as T, createSlots as Fo, createElementVNode as ie, Fragment as de, renderList as me, mergeProps as No, toDisplayString as wo } from "vue";
|
|
2
|
+
import { c as Po, t as $o, m as Ee, X as To, y as $t } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { u as xo } from "./usePanZoom-CDF7rb3o.js";
|
|
4
|
+
import { t as Eo, u as Io } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as Bo, a as Ie } from "./useNestedProp-Ckf_2P_V.js";
|
|
6
|
+
import { u as So, B as Oo } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as Mo } from "./usePrinter-1NmjuP-i.js";
|
|
8
|
+
import { u as Ro } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
+
import { u as _o } from "./useThemeCheck-D1ZYXUwG.js";
|
|
10
|
+
import { u as jo } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as Go } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import zo from "./img-6fNF_rG0.js";
|
|
13
|
+
import { g as Do } from "./geoProjections-D0Vxsz_O.js";
|
|
14
|
+
import Zo from "./Title-NgeRXqRA.js";
|
|
15
|
+
import { B as Tt } from "./BaseZoomControls-Cb-Qq9_R.js";
|
|
16
|
+
import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Et = { userOptions: { show: !1 } }, It = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", controls: { backgroundColor: "#2A2A2A", buttonColor: "#2A2A2A", color: "#CCCCCC", border: "1px solid #4A4A4A" }, territory: { fill: "#2A2A2A", stroke: "#5A5A5A", hover: { fill: "#3A3A3A", stroke: "#6A6A6A" } }, points: { stroke: "#1A1A1A", fill: "#CCCCCC", labels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } } }, Bt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", controls: { backgroundColor: "#2A2A2A", buttonColor: "#2A2A2A", color: "#CCCCCC", border: "1px solid #4A4A4A" }, territory: { fill: "#2A2A2A", stroke: "#5A5A5A", hover: { fill: "#3A3A3A", stroke: "#6A6A6A" } }, points: { stroke: "#1A1A1A", fill: "#CCCCCC", labels: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } } }, St = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", controls: { backgroundColor: "#FFF8E1", buttonColor: "#FFF8E1", color: "#424242", border: "1px solid #d9bbb2" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, territory: { fill: "#e3dcc8", stroke: "#f7c0b0", hover: { fill: "#FFECB3", stroke: "#FF8A65" } }, points: { stroke: "#FFF8E1", fill: "#424242", labels: { color: "#424242" } } } } }, Ot = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", controls: { backgroundColor: "#1E1E1E", buttonColor: "#1E1E1E", color: "#BDBDBD", border: "1px solid #3A3A3A" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, territory: { fill: "#2A1E1E", stroke: "#6e483c", hover: { fill: "#403e39", stroke: "#805244" } }, points: { stroke: "#1E1E1E", fill: "#BDBDBD", labels: { color: "#BDBDBD" } } } } }, Mt = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", controls: { backgroundColor: "#fbfafa", buttonColor: "#fbfafa", color: "#99AA99", border: "1px solid #ebded3" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, territory: { fill: "#e6e2df", stroke: "#fbfafa", hover: { fill: "#dbd5d0", stroke: "#fbfafa" } }, points: { stroke: "#fbfafa", fill: "#8A9892", labels: { color: "#8A9892" } } } } }, Rt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", controls: { backgroundColor: "#1A1A1A", buttonColor: "#1A1A1A", color: "#99AA99", border: "1px solid #1e361e" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, territory: { fill: "#1A1F1A", stroke: "#2c5c2c", hover: { fill: "#3A3A3A", stroke: "#66CC66" } }, points: { stroke: "#2c5c2c", fill: "#66CC66", labels: { color: "#99AA99" } } } } }, _t = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", controls: { backgroundColor: "#f6f6fb", buttonColor: "#f6f6fb", color: "#50606C", border: "1px solid #98aab8", borderRadius: "0" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, territory: { fill: "#cfdae3", stroke: "#98aab8", hover: { fill: "#bcc8d1", stroke: "#50606C" } }, points: { stroke: "#f6f6fb", fill: "#50606C", labels: { color: "#50606C" } } } } }, jt = {
|
|
18
18
|
default: {},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
minimal: Et,
|
|
20
|
+
minimalDark: It,
|
|
21
|
+
dark: Bt,
|
|
22
|
+
celebration: St,
|
|
23
|
+
celebrationNight: Ot,
|
|
24
|
+
zen: Mt,
|
|
25
|
+
hack: Rt,
|
|
26
|
+
concrete: _t
|
|
27
|
+
}, yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26
28
|
__proto__: null,
|
|
27
|
-
celebration:
|
|
28
|
-
celebrationNight:
|
|
29
|
-
concrete:
|
|
30
|
-
dark:
|
|
31
|
-
default:
|
|
32
|
-
hack:
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
celebration: St,
|
|
30
|
+
celebrationNight: Ot,
|
|
31
|
+
concrete: _t,
|
|
32
|
+
dark: Bt,
|
|
33
|
+
default: jt,
|
|
34
|
+
hack: Rt,
|
|
35
|
+
minimal: Et,
|
|
36
|
+
minimalDark: It,
|
|
37
|
+
zen: Mt
|
|
38
|
+
}, Symbol.toStringTag, { value: "Module" })), Wo = ["id"], Yo = ["xmlns", "viewBox", "id"], qo = ["transform"], Ho = ["d", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Xo = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Uo = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter"], Vo = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Jo = ["x", "y", "fill", "font-size"], Ko = {
|
|
35
39
|
key: 5,
|
|
36
40
|
class: "vue-data-ui-watermark"
|
|
37
|
-
}, xt = 1.5,
|
|
41
|
+
}, xt = 1.5, Qo = {
|
|
38
42
|
__name: "vue-ui-geo",
|
|
39
43
|
props: {
|
|
40
44
|
config: {
|
|
@@ -50,21 +54,21 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
},
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
57
|
+
setup(Gt, { expose: zt }) {
|
|
58
|
+
const Dt = ce(() => import("./Tooltip-B6qvABDL.js")), Zt = ce(() => import("./UserOptions-CX7Xsusk.js")), Lt = ce(() => import("./PenAndPaper-LTuSTmWE.js")), Wt = ce(() => import("./PackageVersion-CQxJyGQr.js")), J = Gt, { vue_ui_geo: Yt } = Bo(), { isThemeValid: qt, warnInvalidTheme: Ht } = _o(), R = h(Po()), he = h(0), Be = h(0), I = h(null), _ = h(!1), le = h(null), Se = h(null), Oe = h(null), Me = h(null), L = h(null), W = h(null), Re = h(null), _e = h(null), j = h(!1);
|
|
55
59
|
function je(e) {
|
|
56
60
|
j.value = e, he.value += 1;
|
|
57
61
|
}
|
|
58
62
|
function ve() {
|
|
59
63
|
const e = Ie({
|
|
60
64
|
userConfig: J.config,
|
|
61
|
-
defaultConfig:
|
|
65
|
+
defaultConfig: Yt
|
|
62
66
|
}), o = e.theme;
|
|
63
67
|
if (!o) return e;
|
|
64
|
-
if (!
|
|
65
|
-
return
|
|
68
|
+
if (!qt.value(e))
|
|
69
|
+
return Ht(e), e;
|
|
66
70
|
const t = Ie({
|
|
67
|
-
userConfig:
|
|
71
|
+
userConfig: jt[o] || J.config,
|
|
68
72
|
defaultConfig: e
|
|
69
73
|
});
|
|
70
74
|
return Ie({
|
|
@@ -72,17 +76,17 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
72
76
|
defaultConfig: t
|
|
73
77
|
});
|
|
74
78
|
}
|
|
75
|
-
const r = h(ve()), { userOptionsVisible: Ge, keepUserOptionState: ze } =
|
|
79
|
+
const r = h(ve()), { userOptionsVisible: Ge, keepUserOptionState: ze } = jo({
|
|
76
80
|
config: r.value
|
|
77
|
-
}), { svgRef: ae } =
|
|
81
|
+
}), { svgRef: ae } = Go({
|
|
78
82
|
config: r.value.style.chart.title
|
|
79
|
-
}), { loading: pe, FINAL_DATASET:
|
|
80
|
-
...
|
|
83
|
+
}), { loading: pe, FINAL_DATASET: Xt } = So({
|
|
84
|
+
...Ao(J),
|
|
81
85
|
FINAL_CONFIG: r,
|
|
82
86
|
prepareConfig: ve,
|
|
83
87
|
allowEmptyDataset: !0,
|
|
84
88
|
skeletonDataset: [],
|
|
85
|
-
skeletonConfig:
|
|
89
|
+
skeletonConfig: $o({
|
|
86
90
|
defaultConfig: r.value,
|
|
87
91
|
userConfig: {
|
|
88
92
|
map: {
|
|
@@ -169,11 +173,11 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
})
|
|
172
|
-
}), { isPrinting: De, isImaging: Ze, generatePdf: Le, generateImage: We } =
|
|
176
|
+
}), { isPrinting: De, isImaging: Ze, generatePdf: Le, generateImage: We } = Mo({
|
|
173
177
|
elementId: `vue-ui-geo_${R.value}`,
|
|
174
178
|
fileName: r.value.style.chart.title.text || "vue-ui-geo",
|
|
175
179
|
options: r.value.userOptions.print
|
|
176
|
-
}),
|
|
180
|
+
}), Ut = d(() => r.value.style.chart.controls.show ? r.value.style.chart.controls.position === "top" ? Re.value?.$el ?? null : r.value.style.chart.controls.position === "bottom" ? _e.value?.$el ?? null : null : null);
|
|
177
181
|
function ge() {
|
|
178
182
|
L.value && (W.value && L.value.unobserve(W.value), L.value.disconnect(), L.value = null, W.value = null);
|
|
179
183
|
}
|
|
@@ -192,13 +196,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
192
196
|
);
|
|
193
197
|
function ye() {
|
|
194
198
|
if (ge(), !Y.value) return;
|
|
195
|
-
const e =
|
|
199
|
+
const e = Eo(() => {
|
|
196
200
|
if (!I.value) return;
|
|
197
|
-
const { width: o, height: t } =
|
|
201
|
+
const { width: o, height: t } = Io({
|
|
198
202
|
chart: I.value,
|
|
199
203
|
noTitle: Ye.value ? Oe.value : null,
|
|
200
204
|
title: r.value.style.chart.title.text ? Se.value : null,
|
|
201
|
-
legend:
|
|
205
|
+
legend: Ut.value,
|
|
202
206
|
source: Me.value
|
|
203
207
|
});
|
|
204
208
|
requestAnimationFrame(() => {
|
|
@@ -217,7 +221,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
217
221
|
},
|
|
218
222
|
{ deep: !0 }
|
|
219
223
|
);
|
|
220
|
-
const { projections: qe } =
|
|
224
|
+
const { projections: qe } = Do, He = d(() => r.value?.projection || "equirectangular"), Vt = d(() => {
|
|
221
225
|
const e = qe?.[He.value];
|
|
222
226
|
return typeof e == "function" ? e : qe.equirectangular;
|
|
223
227
|
}), Xe = d(() => r.value.map.geoJson ?? null), Ue = {
|
|
@@ -250,21 +254,21 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
250
254
|
return { width: t * l, height: t };
|
|
251
255
|
}
|
|
252
256
|
return { width: e.width, height: e.height };
|
|
253
|
-
}),
|
|
257
|
+
}), Jt = d(() => {
|
|
254
258
|
const e = r.value?.map?.center, o = [0, 0];
|
|
255
259
|
if (!Array.isArray(e) || e.length !== 2) return o;
|
|
256
260
|
const t = Number(e[0]), n = Number(e[1]);
|
|
257
261
|
return !Number.isFinite(t) || !Number.isFinite(n) ? o : [t, n];
|
|
258
262
|
});
|
|
259
263
|
function H([e, o]) {
|
|
260
|
-
return
|
|
264
|
+
return Vt.value(
|
|
261
265
|
[e, o],
|
|
262
266
|
be.value.width,
|
|
263
267
|
be.value.height,
|
|
264
|
-
|
|
268
|
+
Jt.value
|
|
265
269
|
);
|
|
266
270
|
}
|
|
267
|
-
function
|
|
271
|
+
function Kt(e, o = {}) {
|
|
268
272
|
const {
|
|
269
273
|
defaultName: t = "",
|
|
270
274
|
namePropertyCandidates: n = [
|
|
@@ -403,7 +407,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
403
407
|
const E = [];
|
|
404
408
|
return C(e, E, 0), { ...l, features: E };
|
|
405
409
|
}
|
|
406
|
-
function
|
|
410
|
+
function Qt(e) {
|
|
407
411
|
const o = Array.isArray(e?.features) ? e.features : [];
|
|
408
412
|
function t(n) {
|
|
409
413
|
if (!n || typeof n != "object") return "";
|
|
@@ -443,13 +447,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
443
447
|
};
|
|
444
448
|
});
|
|
445
449
|
}
|
|
446
|
-
const
|
|
447
|
-
() =>
|
|
450
|
+
const eo = d(
|
|
451
|
+
() => Kt(Xe.value, {
|
|
448
452
|
defaultName: "",
|
|
449
453
|
includeNullGeometries: !1
|
|
450
454
|
})
|
|
451
455
|
), se = d(
|
|
452
|
-
() =>
|
|
456
|
+
() => Qt(eo.value)
|
|
453
457
|
);
|
|
454
458
|
function Ce(e) {
|
|
455
459
|
if (!e || typeof e.type != "string") return "";
|
|
@@ -478,29 +482,29 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
478
482
|
function Je(e) {
|
|
479
483
|
return !e || typeof e.type != "string" ? !1 : e.type === "GeometryCollection" ? (Array.isArray(e.geometries) ? e.geometries : []).some((t) => Je(t)) : e.type === "Point" || e.type === "MultiPoint";
|
|
480
484
|
}
|
|
481
|
-
const
|
|
485
|
+
const to = d(
|
|
482
486
|
() => se.value.filter((e) => {
|
|
483
487
|
const o = e.geometry;
|
|
484
488
|
return o ? o.type === "GeometryCollection" ? (Array.isArray(o.geometries) ? o.geometries : []).some(
|
|
485
489
|
(n) => n?.type === "Polygon" || n?.type === "MultiPolygon"
|
|
486
490
|
) : o.type === "Polygon" || o.type === "MultiPolygon" : !1;
|
|
487
491
|
})
|
|
488
|
-
),
|
|
492
|
+
), oo = d(
|
|
489
493
|
() => se.value.filter((e) => {
|
|
490
494
|
const o = e.geometry;
|
|
491
495
|
return o ? o.type === "GeometryCollection" ? (Array.isArray(o.geometries) ? o.geometries : []).some(
|
|
492
496
|
(n) => n?.type === "LineString" || n?.type === "MultiLineString"
|
|
493
497
|
) : o.type === "LineString" || o.type === "MultiLineString" : !1;
|
|
494
498
|
})
|
|
495
|
-
),
|
|
499
|
+
), no = d(
|
|
496
500
|
() => se.value.filter((e) => {
|
|
497
501
|
const o = e.geometry;
|
|
498
502
|
return o ? Je(o) : !1;
|
|
499
503
|
})
|
|
500
|
-
), Ke = d(() =>
|
|
504
|
+
), Ke = d(() => to.value.map((e) => {
|
|
501
505
|
const o = Ce(e.geometry);
|
|
502
506
|
return o ? { ...e, path: o } : null;
|
|
503
|
-
}).filter(Boolean)), Qe = d(() =>
|
|
507
|
+
}).filter(Boolean)), Qe = d(() => oo.value.map((e) => {
|
|
504
508
|
const o = Ce(e.geometry);
|
|
505
509
|
return o ? { ...e, path: o } : null;
|
|
506
510
|
}).filter(Boolean)), et = d(() => {
|
|
@@ -509,7 +513,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
509
513
|
const n = t?.style && typeof t.style == "object" ? t.style : {}, i = t.radius ?? t.r ?? n.radius ?? n.r, l = t.color ?? t.fill ?? n.color ?? n.fill, a = t.stroke ?? n.stroke, c = t.strokeWidth ?? t.stroke_width ?? n.strokeWidth ?? n.stroke_width, f = Number.isFinite(Number(i)) ? Number(i) : Number(r.value.style.chart.points.radius), s = l != null && String(l).trim() ? Ee(String(l).trim()) : r.value.style.chart.points.fill, w = a != null && String(a).trim() ? Ee(String(a).trim()) : r.value.style.chart.points.stroke, C = Number.isFinite(Number(c)) ? Number(c) : Number(r.value.style.chart.points.strokeWidth);
|
|
510
514
|
return { radius: f, fill: s, stroke: w, strokeWidth: C };
|
|
511
515
|
}
|
|
512
|
-
for (const t of
|
|
516
|
+
for (const t of no.value) {
|
|
513
517
|
const n = Ve(t.geometry);
|
|
514
518
|
for (let i = 0; i < n.length; i += 1) {
|
|
515
519
|
const l = n[i];
|
|
@@ -558,7 +562,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
558
562
|
}
|
|
559
563
|
return e.type === "Point" ? (t(e.coordinates), o) : e.type === "MultiPoint" ? ((e.coordinates || []).forEach(t), o) : (n(e.coordinates), o);
|
|
560
564
|
}
|
|
561
|
-
function
|
|
565
|
+
function ro(e) {
|
|
562
566
|
const o = [];
|
|
563
567
|
for (const f of e)
|
|
564
568
|
o.push(...tt(f.geometry));
|
|
@@ -569,8 +573,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
569
573
|
const a = i - t, c = l - n;
|
|
570
574
|
return !(a > 0) || !(c > 0) ? null : { minX: t, minY: n, maxX: i, maxY: l, width: a, height: c };
|
|
571
575
|
}
|
|
572
|
-
const
|
|
573
|
-
function
|
|
576
|
+
const io = d(() => ro(se.value));
|
|
577
|
+
function lo({ bounds: e, targetWidth: o, targetHeight: t, padding: n }) {
|
|
574
578
|
if (!e || !(e.width > 0) || !(e.height > 0))
|
|
575
579
|
return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
576
580
|
const i = Number.isFinite(Number(n)) ? Number(n) : 0, l = Math.max(1, o - i * 2), a = Math.max(1, t - i * 2), c = l / e.width, f = a / e.height, s = Math.min(c, f), w = e.width * s, C = e.height * s, E = i + (l - w) / 2, u = i + (a - C) / 2, v = E - e.minX * s, A = u - e.minY * s;
|
|
@@ -582,16 +586,16 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
582
586
|
};
|
|
583
587
|
}
|
|
584
588
|
const ot = d(() => {
|
|
585
|
-
const e =
|
|
589
|
+
const e = io.value;
|
|
586
590
|
if (!e) return { scale: 1, translateX: 0, translateY: 0, transform: "" };
|
|
587
591
|
const o = r.value?.map?.fitPadding, t = Number.isFinite(Number(o)) ? Number(o) : 0;
|
|
588
|
-
return
|
|
592
|
+
return lo({
|
|
589
593
|
bounds: e,
|
|
590
594
|
targetWidth: P.value.width,
|
|
591
595
|
targetHeight: P.value.height,
|
|
592
596
|
padding: t
|
|
593
597
|
});
|
|
594
|
-
}),
|
|
598
|
+
}), ao = d(() => {
|
|
595
599
|
const e = P.value.width, o = P.value.height;
|
|
596
600
|
return `0 0 ${e} ${o}`;
|
|
597
601
|
}), {
|
|
@@ -600,13 +604,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
600
604
|
setInitialViewBox: Ae,
|
|
601
605
|
scale: rt,
|
|
602
606
|
zoomByFactor: it
|
|
603
|
-
} =
|
|
607
|
+
} = xo(
|
|
604
608
|
ae,
|
|
605
609
|
{ x: 0, y: 0, width: P.value.width, height: P.value.height },
|
|
606
610
|
1,
|
|
607
611
|
B
|
|
608
612
|
);
|
|
609
|
-
function
|
|
613
|
+
function so() {
|
|
610
614
|
B.value = !B.value;
|
|
611
615
|
}
|
|
612
616
|
function lt(e) {
|
|
@@ -637,7 +641,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
637
641
|
}
|
|
638
642
|
const st = d(() => {
|
|
639
643
|
const e = Q.value;
|
|
640
|
-
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` :
|
|
644
|
+
return e ? `${e.x} ${e.y} ${e.width} ${e.height}` : ao.value;
|
|
641
645
|
});
|
|
642
646
|
function ke() {
|
|
643
647
|
it(xt, !0);
|
|
@@ -675,7 +679,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
675
679
|
},
|
|
676
680
|
{ flush: "post" }
|
|
677
681
|
);
|
|
678
|
-
function
|
|
682
|
+
function uo(e) {
|
|
679
683
|
return e ? e.type === "FeatureCollection" && Array.isArray(e.features) ? e.features.filter((o) => o?.type === "Feature" && o.geometry?.type === "Point").map((o, t) => {
|
|
680
684
|
const n = o.properties || {}, i = n.name || n.label || n.title || `Point ${t + 1}`, l = o.geometry.coordinates;
|
|
681
685
|
return {
|
|
@@ -722,7 +726,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
722
726
|
};
|
|
723
727
|
}).filter(Boolean) : [] : [];
|
|
724
728
|
}
|
|
725
|
-
const ct = d(() =>
|
|
729
|
+
const ct = d(() => uo(Xt.value)), ft = d(() => ct.value.map((e) => {
|
|
726
730
|
const o = H(e.coordinates), t = o?.[0], n = o?.[1];
|
|
727
731
|
return !Number.isFinite(t) || !Number.isFinite(n) ? null : {
|
|
728
732
|
...e,
|
|
@@ -741,7 +745,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
741
745
|
function $e(e) {
|
|
742
746
|
return String(e ?? "").replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">").replaceAll('"', """).replaceAll("'", "'");
|
|
743
747
|
}
|
|
744
|
-
function
|
|
748
|
+
function co(e) {
|
|
745
749
|
le.value = {
|
|
746
750
|
datapoint: e,
|
|
747
751
|
seriesIndex: e.index,
|
|
@@ -800,7 +804,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
800
804
|
});
|
|
801
805
|
}
|
|
802
806
|
function pt(e) {
|
|
803
|
-
ee.value = e.uid, Pe(
|
|
807
|
+
ee.value = e.uid, Pe(co(e)), r.value.events.datapointEnter && r.value.events.datapointEnter({
|
|
804
808
|
datapoint: e,
|
|
805
809
|
seriesIndex: e.index
|
|
806
810
|
});
|
|
@@ -819,7 +823,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
819
823
|
});
|
|
820
824
|
}
|
|
821
825
|
const S = d(() => r.value.style.chart.territory), Ct = d(() => r.value.style.chart.points);
|
|
822
|
-
function
|
|
826
|
+
function fo(e) {
|
|
823
827
|
const o = typeof e?.name == "string" ? e.name.trim() : "";
|
|
824
828
|
if (!o) {
|
|
825
829
|
x.value = null, te();
|
|
@@ -833,7 +837,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
833
837
|
};
|
|
834
838
|
x.value = e.uid, Pe(dt(t));
|
|
835
839
|
}
|
|
836
|
-
function
|
|
840
|
+
function mo() {
|
|
837
841
|
x.value = null, te();
|
|
838
842
|
}
|
|
839
843
|
const oe = h(!1);
|
|
@@ -849,23 +853,23 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
849
853
|
function At() {
|
|
850
854
|
K.value.showTooltip = !K.value.showTooltip;
|
|
851
855
|
}
|
|
852
|
-
const
|
|
856
|
+
const ho = d(() => r.value.style.chart.backgroundColor), vo = d(() => r.value.style.chart.title), { exportSvg: po, getSvg: go } = Ro({
|
|
853
857
|
svg: ae,
|
|
854
|
-
title:
|
|
858
|
+
title: vo,
|
|
855
859
|
legend: void 0,
|
|
856
860
|
legendItems: void 0,
|
|
857
|
-
backgroundColor:
|
|
861
|
+
backgroundColor: ho
|
|
858
862
|
});
|
|
859
863
|
async function kt({ isCb: e }) {
|
|
860
864
|
if (e) {
|
|
861
|
-
const { blob: o, url: t, text: n, dataUrl: i } = await
|
|
865
|
+
const { blob: o, url: t, text: n, dataUrl: i } = await go();
|
|
862
866
|
r.value.userOptions.callbacks.svg({ blob: o, url: t, text: n, dataUrl: i });
|
|
863
867
|
} else
|
|
864
|
-
|
|
868
|
+
po();
|
|
865
869
|
}
|
|
866
|
-
async function
|
|
870
|
+
async function yo({ scale: e = 2 } = {}) {
|
|
867
871
|
if (!I.value) return;
|
|
868
|
-
const { width: o, height: t } = I.value.getBoundingClientRect(), n = o / t, { imageUri: i, base64: l } = await
|
|
872
|
+
const { width: o, height: t } = I.value.getBoundingClientRect(), n = o / t, { imageUri: i, base64: l } = await zo({
|
|
869
873
|
domElement: I.value,
|
|
870
874
|
base64: !0,
|
|
871
875
|
img: !0,
|
|
@@ -882,13 +886,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
882
886
|
}
|
|
883
887
|
const Z = h(!1);
|
|
884
888
|
let X = null;
|
|
885
|
-
function
|
|
889
|
+
function bo() {
|
|
886
890
|
B.value && (Z.value = !0);
|
|
887
891
|
}
|
|
888
892
|
function xe() {
|
|
889
893
|
Z.value = !1;
|
|
890
894
|
}
|
|
891
|
-
function
|
|
895
|
+
function Co() {
|
|
892
896
|
B.value && (Z.value = !0, X && clearTimeout(X), X = setTimeout(() => {
|
|
893
897
|
Z.value = !1, X = null;
|
|
894
898
|
}, 140));
|
|
@@ -925,14 +929,14 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
925
929
|
};
|
|
926
930
|
requestAnimationFrame(A);
|
|
927
931
|
}
|
|
928
|
-
return
|
|
932
|
+
return ko(async () => {
|
|
929
933
|
ye(), await re(), requestAnimationFrame(() => {
|
|
930
934
|
_.value || (ue(), (r.value.map.center?.[0] || r.value.map.center?.[1]) && Ft(r.value.map.center, { animated: !1 }));
|
|
931
935
|
});
|
|
932
936
|
}), Nt(() => {
|
|
933
937
|
ge();
|
|
934
|
-
}),
|
|
935
|
-
getImage:
|
|
938
|
+
}), zt({
|
|
939
|
+
getImage: yo,
|
|
936
940
|
generatePdf: Le,
|
|
937
941
|
generateImage: We,
|
|
938
942
|
generateSvg: kt,
|
|
@@ -969,7 +973,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
969
973
|
ref: Se,
|
|
970
974
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
971
975
|
}, [
|
|
972
|
-
(g(), V(
|
|
976
|
+
(g(), V(Zo, {
|
|
973
977
|
key: `title_${Be.value}`,
|
|
974
978
|
config: {
|
|
975
979
|
title: {
|
|
@@ -983,7 +987,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
983
987
|
}
|
|
984
988
|
}, null, 8, ["config"]))
|
|
985
989
|
], 512)) : M("", !0),
|
|
986
|
-
r.value.userOptions.buttons.annotator ? (g(), V(y(
|
|
990
|
+
r.value.userOptions.buttons.annotator ? (g(), V(y(Lt), {
|
|
987
991
|
key: 2,
|
|
988
992
|
svgRef: y(ae),
|
|
989
993
|
backgroundColor: r.value.style.chart.backgroundColor,
|
|
@@ -1011,7 +1015,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1011
1015
|
]),
|
|
1012
1016
|
_: 3
|
|
1013
1017
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : M("", !0),
|
|
1014
|
-
r.value.userOptions.show && (y(ze) || y(Ge)) ? (g(), V(y(
|
|
1018
|
+
r.value.userOptions.show && (y(ze) || y(Ge)) ? (g(), V(y(Zt), {
|
|
1015
1019
|
ref: "userOptionsRef",
|
|
1016
1020
|
key: `user_options_${he.value}`,
|
|
1017
1021
|
backgroundColor: r.value.style.chart.backgroundColor,
|
|
@@ -1043,11 +1047,11 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1043
1047
|
onGenerateSvg: kt,
|
|
1044
1048
|
onToggleTooltip: At,
|
|
1045
1049
|
onToggleAnnotator: Te,
|
|
1046
|
-
onToggleZoom:
|
|
1050
|
+
onToggleZoom: so,
|
|
1047
1051
|
style: fe({
|
|
1048
1052
|
visibility: y(ze) ? y(Ge) ? "visible" : "hidden" : "visible"
|
|
1049
1053
|
})
|
|
1050
|
-
},
|
|
1054
|
+
}, Fo({ _: 2 }, [
|
|
1051
1055
|
e.$slots.menuIcon ? {
|
|
1052
1056
|
name: "menuIcon",
|
|
1053
1057
|
fn: F(({ isOpen: t, color: n }) => [
|
|
@@ -1119,7 +1123,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1119
1123
|
(g(), N("svg", {
|
|
1120
1124
|
ref_key: "svgRef",
|
|
1121
1125
|
ref: ae,
|
|
1122
|
-
xmlns: y(
|
|
1126
|
+
xmlns: y(To),
|
|
1123
1127
|
viewBox: st.value,
|
|
1124
1128
|
preserveAspectRatio: "xMidYMid meet",
|
|
1125
1129
|
style: fe({
|
|
@@ -1131,13 +1135,13 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1131
1135
|
cursor: B.value ? Z.value ? "grabbing" : "grab" : "default"
|
|
1132
1136
|
}),
|
|
1133
1137
|
id: `vue-ui-geo_${R.value}`,
|
|
1134
|
-
onPointerdown:
|
|
1138
|
+
onPointerdown: bo,
|
|
1135
1139
|
onPointerup: xe,
|
|
1136
1140
|
onPointercancel: xe,
|
|
1137
1141
|
onPointerleave: xe,
|
|
1138
|
-
onWheel:
|
|
1142
|
+
onWheel: Co
|
|
1139
1143
|
}, [
|
|
1140
|
-
Pt(y(
|
|
1144
|
+
Pt(y(Wt)),
|
|
1141
1145
|
ie("g", {
|
|
1142
1146
|
transform: ot.value.transform,
|
|
1143
1147
|
style: fe({ pointerEvents: Z.value ? "none" : "auto" })
|
|
@@ -1154,7 +1158,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1154
1158
|
onMouseenter: (n) => mt(t),
|
|
1155
1159
|
onMouseleave: (n) => ht(t),
|
|
1156
1160
|
onClick: (n) => vt(t)
|
|
1157
|
-
}, null, 40,
|
|
1161
|
+
}, null, 40, Ho))), 128))
|
|
1158
1162
|
]),
|
|
1159
1163
|
ie("g", null, [
|
|
1160
1164
|
(g(!0), N(de, null, me(Qe.value, (t) => (g(), N("path", {
|
|
@@ -1168,7 +1172,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1168
1172
|
onMouseenter: (n) => mt(t),
|
|
1169
1173
|
onMouseleave: (n) => ht(t),
|
|
1170
1174
|
onClick: (n) => vt(t)
|
|
1171
|
-
}, null, 40,
|
|
1175
|
+
}, null, 40, Xo))), 128))
|
|
1172
1176
|
]),
|
|
1173
1177
|
ie("g", null, [
|
|
1174
1178
|
(g(!0), N(de, null, me(et.value, (t) => (g(), N("circle", {
|
|
@@ -1180,14 +1184,14 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1180
1184
|
stroke: t.stroke,
|
|
1181
1185
|
"stroke-width": t.strokeWidth,
|
|
1182
1186
|
"vector-effect": "non-scaling-stroke",
|
|
1183
|
-
onMouseenter: (n) =>
|
|
1184
|
-
onMouseleave:
|
|
1185
|
-
}, null, 40,
|
|
1187
|
+
onMouseenter: (n) => fo(t),
|
|
1188
|
+
onMouseleave: mo
|
|
1189
|
+
}, null, 40, Uo))), 128))
|
|
1186
1190
|
]),
|
|
1187
1191
|
(g(!0), N(de, null, me(ft.value, (t) => (g(), N("g", {
|
|
1188
1192
|
key: t.uid
|
|
1189
1193
|
}, [
|
|
1190
|
-
b(e.$slots, "datapoint",
|
|
1194
|
+
b(e.$slots, "datapoint", No({ ref_for: !0 }, {
|
|
1191
1195
|
point: t,
|
|
1192
1196
|
onPointEnter: pt,
|
|
1193
1197
|
onPointLeave: gt,
|
|
@@ -1209,7 +1213,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1209
1213
|
onMouseenter: (n) => pt(t),
|
|
1210
1214
|
onMouseleave: (n) => gt(t),
|
|
1211
1215
|
onClick: (n) => bt(t)
|
|
1212
|
-
}, null, 42,
|
|
1216
|
+
}, null, 42, Vo)
|
|
1213
1217
|
], !0),
|
|
1214
1218
|
r.value.style.chart.points.labels.show ? (g(), N("text", {
|
|
1215
1219
|
key: 0,
|
|
@@ -1219,7 +1223,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1219
1223
|
"text-anchor": "middle",
|
|
1220
1224
|
fill: r.value.style.chart.points.labels.color,
|
|
1221
1225
|
"font-size": 1 * r.value.style.chart.points.labels.fontSizeRatio
|
|
1222
|
-
},
|
|
1226
|
+
}, wo(t.name), 9, Jo)) : M("", !0)
|
|
1223
1227
|
]))), 128)),
|
|
1224
1228
|
b(e.$slots, "svg", {
|
|
1225
1229
|
svg: {
|
|
@@ -1232,9 +1236,9 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1232
1236
|
}
|
|
1233
1237
|
}
|
|
1234
1238
|
}, void 0, !0)
|
|
1235
|
-
], 12,
|
|
1236
|
-
], 44,
|
|
1237
|
-
e.$slots.watermark ? (g(), N("div",
|
|
1239
|
+
], 12, qo)
|
|
1240
|
+
], 44, Yo)),
|
|
1241
|
+
e.$slots.watermark ? (g(), N("div", Ko, [
|
|
1238
1242
|
b(e.$slots, "watermark", $(T({ isPrinting: y(De) || y(Ze) })), void 0, !0)
|
|
1239
1243
|
])) : M("", !0),
|
|
1240
1244
|
r.value.style.chart.controls.position === "bottom" && r.value.style.chart.controls.show && !y(pe) ? (g(), V(Tt, {
|
|
@@ -1248,7 +1252,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1248
1252
|
onZoomOut: Fe,
|
|
1249
1253
|
onResetZoom: ut
|
|
1250
1254
|
}, null, 8, ["config", "scale", "isFullscreen"])) : M("", !0),
|
|
1251
|
-
Pt(y(
|
|
1255
|
+
Pt(y(Dt), {
|
|
1252
1256
|
teleportTo: r.value.style.chart.tooltip.teleportTo,
|
|
1253
1257
|
show: K.value.showTooltip && Ne.value,
|
|
1254
1258
|
backgroundColor: r.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1285,15 +1289,15 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", con
|
|
|
1285
1289
|
}, [
|
|
1286
1290
|
b(e.$slots, "source", {}, void 0, !0)
|
|
1287
1291
|
], 512)) : M("", !0),
|
|
1288
|
-
y(pe) ? (g(), V(
|
|
1289
|
-
], 14,
|
|
1292
|
+
y(pe) ? (g(), V(Oo, { key: 8 })) : M("", !0)
|
|
1293
|
+
], 14, Wo));
|
|
1290
1294
|
}
|
|
1291
|
-
},
|
|
1295
|
+
}, en = /* @__PURE__ */ Lo(Qo, [["__scopeId", "data-v-b42bc761"]]), bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1292
1296
|
__proto__: null,
|
|
1293
|
-
default:
|
|
1297
|
+
default: en
|
|
1294
1298
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1295
1299
|
export {
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1300
|
+
yn as a,
|
|
1301
|
+
bn as b,
|
|
1302
|
+
en as v
|
|
1299
1303
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as V, ref as k, useSlots as $, onMounted as y, computed as i, toRefs as D, watch as F, createElementBlock as a, openBlock as o, createBlock as I, createCommentVNode as r, normalizeStyle as M, createVNode as S, unref as l, createElementVNode as t, Fragment as C, toDisplayString as x } from "vue";
|
|
2
|
-
import { u as U, a as P } from "./useNestedProp-
|
|
3
|
-
import { c as E, g as O, t as T, a as w, d as b } from "./lib-
|
|
2
|
+
import { u as U, a as P } from "./useNestedProp-Ckf_2P_V.js";
|
|
3
|
+
import { c as E, g as O, t as T, a as w, d as b } from "./lib-CVHM9FhP.js";
|
|
4
4
|
import { u as j, B as R } from "./BaseScanner-BMpwQAfz.js";
|
|
5
5
|
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const H = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, J = ["viewBox", "width"], K = { key: 0 }, Q = ["id"], W = ["stop-color"], X = ["stop-color"], Y = ["stroke"], Z = ["stroke"], ee = ["width", "fill"], te = ["fill"], oe = { key: 0 }, ae = ["id"], se = ["stroke"], re = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ne = ["filter"], le = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ie = ["fill"], ue = {
|
|
@@ -17,7 +17,7 @@ const H = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, J = ["viewBox
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(z) {
|
|
20
|
-
const A = V(() => import("./PackageVersion-
|
|
20
|
+
const A = V(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_gizmo: G } = U(), s = z, u = k(E()), L = $();
|
|
21
21
|
y(() => {
|
|
22
22
|
g();
|
|
23
23
|
}), y(() => {
|