vue-data-ui 3.23.0 → 3.23.1
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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-D6d8SCp9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/Slicer-CIk57nL4.js +1163 -0
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-KvlL5CqE.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-oDYGTc5P.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useConfig-BilxnBNr.js → useConfig-D3scuR88.js} +7 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-Brg8mm5J.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-DGWDPCwC.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-C_Su9fve.js} +45 -45
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-BxGriZik.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CgnPWA93.js → vue-ui-age-pyramid-D4k1MkAL.js} +41 -40
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-CCtnM8Rv.js} +41 -68
- package/dist/{vue-ui-bullet-Bc3-WaN1.js → vue-ui-bullet-DLZr2Uk8.js} +21 -21
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-CcdzJZ9n.js} +32 -32
- package/dist/{vue-ui-candlestick-DvvsrIdp.js → vue-ui-candlestick-EEEt7ORC.js} +50 -48
- package/dist/{vue-ui-carousel-table-DtsNVim8.js → vue-ui-carousel-table-BicIpNAD.js} +8 -8
- package/dist/vue-ui-chestnut-BI7mC5dd.js +2068 -0
- package/dist/{vue-ui-chord-xX5gWZy8.js → vue-ui-chord-DXaq8ZMu.js} +46 -46
- package/dist/{vue-ui-circle-pack-D8wykmqg.js → vue-ui-circle-pack-XHJBMG51.js} +362 -341
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-BqHr0n1Z.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-jMLVoQkb.js} +715 -720
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-DVAUFETR.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Dy4gG6qm.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-C0cWRLbU.js} +48 -47
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-CYpxGBhl.js} +18 -17
- package/dist/{vue-ui-donut-evolution-D6vH_hfx.js → vue-ui-donut-evolution-DwR47A2r.js} +58 -53
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-DxVbRjKR.js} +85 -85
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-DWaZF4FS.js} +37 -37
- package/dist/{vue-ui-funnel-CjYosIik.js → vue-ui-funnel-Bmpx5GHR.js} +24 -24
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-CWBP9oH9.js} +151 -151
- package/dist/{vue-ui-gauge-CByT0_vF.js → vue-ui-gauge-ByE_txav.js} +20 -20
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-ZA7CBy8f.js} +186 -186
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-SQCou0bQ.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-CHd9gs_p.js} +385 -385
- package/dist/vue-ui-hill-BT183G-_.js +1768 -0
- package/dist/{vue-ui-history-plot-BhcU94Pt.js → vue-ui-history-plot-BwnlC1mx.js} +511 -510
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-BUar2HUH.js} +235 -235
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-BF_9WWoo.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CvfukjXi.js} +3 -3
- package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-_zpbmvJs.js} +50 -50
- package/dist/{vue-ui-nested-donuts-aS4YzaB3.js → vue-ui-nested-donuts-qHZAJ70u.js} +43 -43
- package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-BUwt-apg.js} +54 -54
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-CoROD3er.js} +74 -74
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-BcH7eY4-.js} +96 -88
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-DGbaXGme.js} +191 -191
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-Bo3zD3yW.js} +3 -3
- package/dist/{vue-ui-relation-circle-FLs8vOxQ.js → vue-ui-relation-circle-DaU1eTsG.js} +32 -32
- package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-BJUBn8_b.js} +40 -40
- package/dist/{vue-ui-scatter-CNA7jF-o.js → vue-ui-scatter-Pcft1bUt.js} +50 -50
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-EeJcGbCo.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-D0gibt5c.js} +3 -3
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-BRoQ7JpQ.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-DFp2k7-7.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-D0Bq85Hs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-BPln7v63.js} +13 -13
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-C6Q45Dqp.js} +7 -6
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-CjK4bcQg.js} +5 -5
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-Ca8EPf3e.js} +83 -80
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Pz5WWlWT.js} +189 -186
- package/dist/{vue-ui-strip-plot-ACeYOoHj.js → vue-ui-strip-plot-Dw4MGDSO.js} +66 -66
- package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-ljeYW8Wc.js} +10 -10
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-iRFmtK5S.js} +8 -8
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-D8uiOaeA.js} +26 -26
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-CYw983oL.js} +6 -6
- package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-h4VbnqPA.js} +77 -77
- package/dist/{vue-ui-waffle-iPpdk1Bm.js → vue-ui-waffle-cu0w_s6L.js} +41 -41
- package/dist/vue-ui-wheel-tLvJadk5.js +892 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-BjpGSsod.js} +68 -68
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-B4fCS3jN.js} +184 -184
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-7ZT9IRD8.js} +60 -60
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-BnLEwBpi.js} +20 -18
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-gyNS0yH0.js} +329 -326
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-chestnut-ArloORzP.js +0 -2068
- package/dist/vue-ui-hill-D7LYAgAL.js +0 -1768
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { C as t, Jt as n, Nt as r, q as i } from "./lib-
|
|
2
|
+
import { C as t, Jt as n, Nt as r, q as i } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as a, t as o } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as s } from "./useConfig-
|
|
5
|
-
import { t as ee } from "./usePrinter-
|
|
6
|
-
import { t as c } from "./dom-to-png-
|
|
4
|
+
import { t as s } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as ee } from "./usePrinter-DN5bYhTG.js";
|
|
6
|
+
import { t as c } from "./dom-to-png-BYIvdTe8.js";
|
|
7
7
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
-
import { t as u } from "./BaseIcon-
|
|
9
|
-
import { t as te } from "./vue-ui-accordion-
|
|
10
|
-
import { t as ne } from "./ColorPicker
|
|
8
|
+
import { t as u } from "./BaseIcon-BfndwIWE.js";
|
|
9
|
+
import { t as te } from "./vue-ui-accordion-BxGriZik.js";
|
|
10
|
+
import { t as ne } from "./ColorPicker--ayG2YHf.js";
|
|
11
11
|
import { Fragment as re, Teleport as ie, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, nextTick as ae, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as oe, onMounted as se, openBlock as b, ref as x, renderList as ce, renderSlot as le, toDisplayString as S, unref as ue, vModelCheckbox as de, vModelText as fe, watch as pe, withCtx as C, withDirectives as me, withModifiers as he } from "vue";
|
|
12
12
|
//#region src/registerAnnotatorShortcuts.js
|
|
13
13
|
function ge(e) {
|
|
@@ -32,10 +32,7 @@ function ge(e) {
|
|
|
32
32
|
case "g":
|
|
33
33
|
e.isSelectMode.value = !0, e.setShapeTo("group"), e.activeShape.value = "group";
|
|
34
34
|
break;
|
|
35
|
-
case "t":
|
|
36
|
-
e.isTextMode.value = !0, e.isWriting.value = !1, e.showCaret.value = !1;
|
|
37
|
-
break;
|
|
38
|
-
default: break;
|
|
35
|
+
case "t": e.isTextMode.value = !0, e.isWriting.value = !1, e.showCaret.value = !1;
|
|
39
36
|
}
|
|
40
37
|
}, o = (t) => {
|
|
41
38
|
switch (t) {
|
|
@@ -48,10 +45,7 @@ function ge(e) {
|
|
|
48
45
|
case "a":
|
|
49
46
|
e.setShapeTo("arrow");
|
|
50
47
|
break;
|
|
51
|
-
case "l":
|
|
52
|
-
e.setShapeTo("line");
|
|
53
|
-
break;
|
|
54
|
-
default: break;
|
|
48
|
+
case "l": e.setShapeTo("line");
|
|
55
49
|
}
|
|
56
50
|
}, s = (t, n) => {
|
|
57
51
|
let r = e.lastSelectedShape.value;
|
|
@@ -65,10 +59,7 @@ function ge(e) {
|
|
|
65
59
|
case "text":
|
|
66
60
|
i("x", t), i("y", n);
|
|
67
61
|
break;
|
|
68
|
-
case "arrow":
|
|
69
|
-
i("x", t), i("y", n), i("endX", t), i("endY", n);
|
|
70
|
-
break;
|
|
71
|
-
default: break;
|
|
62
|
+
case "arrow": i("x", t), i("y", n), i("endX", t), i("endY", n);
|
|
72
63
|
}
|
|
73
64
|
}, ee = () => {
|
|
74
65
|
let t = e.lastSelectedShape.value;
|
|
@@ -345,10 +336,12 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
345
336
|
x(null), x(null);
|
|
346
337
|
let Yt = x(null), J = d(() => {
|
|
347
338
|
let e = s().vue_ui_annotator;
|
|
348
|
-
|
|
339
|
+
if (!Object.keys(ie.config || {}).length) return e;
|
|
340
|
+
let r = n({
|
|
349
341
|
defaultConfig: e,
|
|
350
342
|
userConfig: ie.config
|
|
351
|
-
})
|
|
343
|
+
});
|
|
344
|
+
return t(r);
|
|
352
345
|
});
|
|
353
346
|
a({
|
|
354
347
|
config: () => J.value,
|
|
@@ -490,13 +483,11 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
490
483
|
20
|
|
491
484
|
];
|
|
492
485
|
break;
|
|
493
|
-
default:
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
];
|
|
499
|
-
break;
|
|
486
|
+
default: n = [
|
|
487
|
+
0,
|
|
488
|
+
0,
|
|
489
|
+
0
|
|
490
|
+
];
|
|
500
491
|
}
|
|
501
492
|
return `
|
|
502
493
|
<g id="${e.id}" style="display:${A.value ? "initial" : "none"};">
|
|
@@ -759,7 +750,6 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
759
750
|
`,
|
|
760
751
|
id: e.id
|
|
761
752
|
};
|
|
762
|
-
default: break;
|
|
763
753
|
}
|
|
764
754
|
}));
|
|
765
755
|
function Z(e) {
|
|
@@ -792,7 +782,6 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
792
782
|
B.value.at(-1).path += ` ${R.value.x} ${R.value.y} `;
|
|
793
783
|
break;
|
|
794
784
|
case ["rect", "group"].includes(T.value): B.value.at(-1).rectWidth = Z(E.value.end.x - B.value.at(-1).x) > 0 ? Z(E.value.end.x - B.value.at(-1).x) : 20, B.value.at(-1).rectHeight = Z(E.value.end.y - B.value.at(-1).y) > 0 ? Z(E.value.end.y - B.value.at(-1).y) : 20;
|
|
795
|
-
default: break;
|
|
796
785
|
}
|
|
797
786
|
}
|
|
798
787
|
function cn() {
|
|
@@ -921,12 +910,10 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
921
910
|
dy: i - (n.y || 0)
|
|
922
911
|
};
|
|
923
912
|
break;
|
|
924
|
-
default:
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
};
|
|
929
|
-
break;
|
|
913
|
+
default: Ut.value = {
|
|
914
|
+
dx: 0,
|
|
915
|
+
dy: 0
|
|
916
|
+
};
|
|
930
917
|
}
|
|
931
918
|
}
|
|
932
919
|
function mn(e) {
|
|
@@ -1087,10 +1074,7 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1087
1074
|
case t.type === "rect":
|
|
1088
1075
|
e.x <= t.x && e.y <= t.y && t.x <= e.x + e.rectWidth && t.y <= e.y + e.rectHeight && t.x + t.rectWidth <= e.x + e.rectWidth && t.y + t.rectHeight <= e.y + e.rectHeight && t.rectWidth <= e.rectWidth && t.rectHeight <= e.rectHeight && z.value.push(t);
|
|
1089
1076
|
break;
|
|
1090
|
-
case t.type === "text":
|
|
1091
|
-
e.x <= t.x && e.y <= t.y && z.value.push(t);
|
|
1092
|
-
break;
|
|
1093
|
-
default: break;
|
|
1077
|
+
case t.type === "text": e.x <= t.x && e.y <= t.y && z.value.push(t);
|
|
1094
1078
|
}
|
|
1095
1079
|
}), z.value = z.value.map((t) => ({
|
|
1096
1080
|
...t,
|
|
@@ -1174,8 +1158,6 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1174
1158
|
e.content += `
|
|
1175
1159
|
${an(t, s, t.isBulletTextMode)}
|
|
1176
1160
|
`;
|
|
1177
|
-
break;
|
|
1178
|
-
default: break;
|
|
1179
1161
|
}
|
|
1180
1162
|
});
|
|
1181
1163
|
} else B.value = B.value.filter((t) => t.id !== e.id);
|
|
@@ -1271,7 +1253,6 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1271
1253
|
`;
|
|
1272
1254
|
break;
|
|
1273
1255
|
}
|
|
1274
|
-
default: break;
|
|
1275
1256
|
}
|
|
1276
1257
|
});
|
|
1277
1258
|
}
|
|
@@ -1343,24 +1324,21 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1343
1324
|
isDash: Z(Ct.value)
|
|
1344
1325
|
}), L.value = B.value.at(-1);
|
|
1345
1326
|
break;
|
|
1346
|
-
case T.value === "group":
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
});
|
|
1362
|
-
break;
|
|
1363
|
-
default: break;
|
|
1327
|
+
case T.value === "group": B.value.push({
|
|
1328
|
+
alpha: 1,
|
|
1329
|
+
id: `group_${i()}`,
|
|
1330
|
+
x: R.value.x,
|
|
1331
|
+
y: R.value.y,
|
|
1332
|
+
isFilled: !1,
|
|
1333
|
+
rectHeight: Z(V.value.rect.height),
|
|
1334
|
+
rectWidth: Z(V.value.rect.width),
|
|
1335
|
+
rectStrokeWidth: 1,
|
|
1336
|
+
type: "group",
|
|
1337
|
+
color: "grey",
|
|
1338
|
+
strokeWidth: 1,
|
|
1339
|
+
isDash: !0,
|
|
1340
|
+
content: ""
|
|
1341
|
+
});
|
|
1364
1342
|
}
|
|
1365
1343
|
Jt.value ||= requestAnimationFrame(cn);
|
|
1366
1344
|
}
|
|
@@ -1400,10 +1378,7 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1400
1378
|
case "text":
|
|
1401
1379
|
e.x = a - t, e.y = o - n;
|
|
1402
1380
|
break;
|
|
1403
|
-
case "group":
|
|
1404
|
-
e.x = a - t, e.y = o - n, Tn(e);
|
|
1405
|
-
break;
|
|
1406
|
-
default: break;
|
|
1381
|
+
case "group": e.x = a - t, e.y = o - n, Tn(e);
|
|
1407
1382
|
}
|
|
1408
1383
|
}
|
|
1409
1384
|
function An() {
|
|
@@ -1429,9 +1404,7 @@ var _e = { class: "teleport-tooltip__inner" }, w = /*#__PURE__*/ l({
|
|
|
1429
1404
|
case A.value:
|
|
1430
1405
|
q.value?.begin(), B.value = [...B.value].filter((e) => e.id !== t), L.value = void 0, q.value?.end();
|
|
1431
1406
|
return;
|
|
1432
|
-
default:
|
|
1433
|
-
L.value = B.value.find((e) => e.id === t);
|
|
1434
|
-
break;
|
|
1407
|
+
default: L.value = B.value.find((e) => e.id === t);
|
|
1435
1408
|
}
|
|
1436
1409
|
}
|
|
1437
1410
|
let Pn = x(null);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Jt as t, Ot as n, S as r, X as i, _ as a, i as o, jt as ee, pt as te, q as ne, t as re, tt as ie } from "./lib-
|
|
2
|
+
import { Jt as t, Ot as n, S as r, X as i, _ as a, i as o, jt as ee, pt as te, q as ne, t as re, tt as ie } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-
|
|
5
|
-
import { t as se } from "./usePrinter-
|
|
4
|
+
import { t as oe } from "./useConfig-D3scuR88.js";
|
|
5
|
+
import { t as se } from "./usePrinter-DN5bYhTG.js";
|
|
6
6
|
import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ue } from "./useSvgExport-
|
|
8
|
-
import { t as s } from "./useNestedProp
|
|
7
|
+
import { t as ue } from "./useSvgExport-DH-FfcqQ.js";
|
|
8
|
+
import { t as s } from "./useNestedProp-vPNvh7rV.js";
|
|
9
9
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as fe } from "./img-
|
|
11
|
-
import { n as pe } from "./Title-
|
|
10
|
+
import { t as fe } from "./img-Bnokohej.js";
|
|
11
|
+
import { n as pe } from "./Title-BE3qg9xl.js";
|
|
12
12
|
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
15
|
import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as ye } from "./Legend-
|
|
16
|
+
import { t as ye } from "./Legend-CQxUgOd-.js";
|
|
17
17
|
import { t as be } from "./vue_ui_bullet-ClzdLoOv.js";
|
|
18
18
|
import { Fragment as c, Teleport as xe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Se, createVNode as Ce, defineAsyncComponent as m, guardReactiveProps as h, nextTick as we, normalizeClass as Te, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ee, onMounted as De, openBlock as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, toRefs as Oe, unref as C, watch as ke, withCtx as w } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-bullet.vue
|
|
@@ -103,7 +103,7 @@ var Ae = /* @__PURE__ */ e({ default: () => T }), je = ["id"], Me = {
|
|
|
103
103
|
},
|
|
104
104
|
emits: ["copyAlt"],
|
|
105
105
|
setup(e, { expose: me, emit: Ae }) {
|
|
106
|
-
let T = m(() => import("./PackageVersion
|
|
106
|
+
let T = m(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), Qe = m(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), $e = m(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_bullet: et } = oe(), { isThemeValid: tt, warnInvalidTheme: nt } = de(), E = e, rt = Ae, D = y(null), it = y(null), at = y(0), ot = y(null), st = y(null), ct = y(0), O = y(null), k = y(null), lt = y(!1), A = y(!1), j = y(!1), M = l({
|
|
107
107
|
get: () => R.value.hasOwnProperty("value"),
|
|
108
108
|
set: (e) => e
|
|
109
109
|
}), N = l(() => R.value.segments ? Array.isArray(R.value.segments) ? R.value.segments.length ? !0 : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments must be an array of objects with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n] \n "), M.value = !1, !1) : (console.warn("VueUiBullet: dataset segments is empty. Provide segments with this datastructure:\n\nsegments: [\n {\n name: string;\n from: number;\n to: number;\n color?: string;\n },\n {...}\n]\n "), M.value = !1, !1)), ut = l(() => !!I.value.debug), dt = l(() => {
|
|
@@ -362,30 +362,30 @@ var Ae = /* @__PURE__ */ e({ default: () => T }), je = ["id"], Me = {
|
|
|
362
362
|
let kt = l(() => J.value.map((e) => ({
|
|
363
363
|
...e,
|
|
364
364
|
name: e.display
|
|
365
|
-
}))), At = l(() => I.value.style.chart.backgroundColor), jt = l(() => I.value.style.chart.legend), { exportSvg:
|
|
365
|
+
}))), At = l(() => I.value.style.chart.backgroundColor), jt = l(() => I.value.style.chart.legend), Mt = l(() => I.value.style.chart.title), { exportSvg: Nt, getSvg: Pt } = ue({
|
|
366
366
|
svg: H,
|
|
367
|
-
title:
|
|
367
|
+
title: Mt,
|
|
368
368
|
legend: jt,
|
|
369
369
|
legendItems: kt,
|
|
370
370
|
backgroundColor: At
|
|
371
371
|
});
|
|
372
|
-
async function
|
|
372
|
+
async function Ft({ isCb: e }) {
|
|
373
373
|
j.value = !0, await we();
|
|
374
374
|
try {
|
|
375
375
|
if (e) {
|
|
376
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
376
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await Pt();
|
|
377
377
|
await Promise.resolve(I.value.userOptions.callbacks.svg({
|
|
378
378
|
blob: e,
|
|
379
379
|
url: t,
|
|
380
380
|
text: n,
|
|
381
381
|
dataUrl: r
|
|
382
382
|
}));
|
|
383
|
-
} else await Promise.resolve(
|
|
383
|
+
} else await Promise.resolve(Nt());
|
|
384
384
|
} finally {
|
|
385
385
|
j.value = !1;
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function It(e) {
|
|
389
389
|
if (e?.stage === "start") {
|
|
390
390
|
A.value = !0;
|
|
391
391
|
return;
|
|
@@ -396,7 +396,7 @@ var Ae = /* @__PURE__ */ e({ default: () => T }), je = ["id"], Me = {
|
|
|
396
396
|
}
|
|
397
397
|
wt();
|
|
398
398
|
}
|
|
399
|
-
async function
|
|
399
|
+
async function Lt() {
|
|
400
400
|
if (rt("copyAlt", {
|
|
401
401
|
config: I.value,
|
|
402
402
|
dataset: R.value
|
|
@@ -414,10 +414,10 @@ var Ae = /* @__PURE__ */ e({ default: () => T }), je = ["id"], Me = {
|
|
|
414
414
|
getImage: Ot,
|
|
415
415
|
generatePdf: Ct,
|
|
416
416
|
generateImage: wt,
|
|
417
|
-
generateSvg:
|
|
417
|
+
generateSvg: Ft,
|
|
418
418
|
toggleAnnotator: $,
|
|
419
419
|
toggleFullscreen: Et,
|
|
420
|
-
copyAlt:
|
|
420
|
+
copyAlt: Lt
|
|
421
421
|
}), (e, t) => (v(), f("div", {
|
|
422
422
|
ref_key: "bulletChart",
|
|
423
423
|
ref: D,
|
|
@@ -499,10 +499,10 @@ var Ae = /* @__PURE__ */ e({ default: () => T }), je = ["id"], Me = {
|
|
|
499
499
|
isCursorPointer: pt.value,
|
|
500
500
|
onToggleFullscreen: Et,
|
|
501
501
|
onGeneratePdf: C(Ct),
|
|
502
|
-
onGenerateImage:
|
|
503
|
-
onGenerateSvg:
|
|
502
|
+
onGenerateImage: It,
|
|
503
|
+
onGenerateSvg: Ft,
|
|
504
504
|
onToggleAnnotator: $,
|
|
505
|
-
onCopyAlt:
|
|
505
|
+
onCopyAlt: Lt,
|
|
506
506
|
style: _({ visibility: C(V) ? C(B) ? "visible" : "hidden" : "visible" })
|
|
507
507
|
}, Se({ _: 2 }, [
|
|
508
508
|
e.$slots.menuIcon ? {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Jt as i, Kt as a, P as o, Pt as s, S as c, V as l, X as u, c as ee, i as te, jt as ne, pt as re, q as ie, r as ae, t as oe, tt as se, w as ce, wt as d } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Jt as i, Kt as a, P as o, Pt as s, S as c, V as l, X as u, c as ee, i as te, jt as ne, pt as re, q as ie, r as ae, t as oe, tt as se, w as ce, wt as d } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as de } from "./useTimeLabels-
|
|
5
|
-
import { t as fe } from "./useConfig-
|
|
6
|
-
import { t as pe } from "./usePrinter-
|
|
4
|
+
import { t as de } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
|
+
import { t as fe } from "./useConfig-D3scuR88.js";
|
|
6
|
+
import { t as pe } from "./usePrinter-DN5bYhTG.js";
|
|
7
7
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as ge } from "./useSvgExport-
|
|
9
|
-
import { t as _e } from "./useNestedProp
|
|
8
|
+
import { t as ge } from "./useSvgExport-DH-FfcqQ.js";
|
|
9
|
+
import { t as _e } from "./useNestedProp-vPNvh7rV.js";
|
|
10
10
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
11
11
|
import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { n as be } from "./Title-
|
|
12
|
+
import { n as be } from "./Title-BE3qg9xl.js";
|
|
13
13
|
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
18
|
import { t as De } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
-
import { t as Oe } from "./BaseDraggableDialog-
|
|
19
|
+
import { t as Oe } from "./BaseDraggableDialog-LoqqwRtV.js";
|
|
20
20
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Fe, onMounted as Ie, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as E, toRefs as ze, unref as D, watch as Be, watchEffect as Ve, withCtx as O } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
22
|
var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge = { style: { position: "relative" } }, Ke = [
|
|
@@ -127,7 +127,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
129
|
setup(e, { expose: xe, emit: He }) {
|
|
130
|
-
let lt = v(() => import("./BaseIcon-
|
|
130
|
+
let lt = v(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), ut = v(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), dt = v(() => import("./DataTable-BbKgJ5UI.js")), ft = v(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), pt = v(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), mt = v(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), { vue_ui_bump: ht } = fe(), { isThemeValid: gt, warnInvalidTheme: _t } = ve(), k = e, vt = He, yt = p({
|
|
131
131
|
get() {
|
|
132
132
|
return !!k.dataset && k.dataset.length;
|
|
133
133
|
},
|
|
@@ -582,7 +582,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
582
582
|
if (P.value === null) return;
|
|
583
583
|
let e = q.value[P.value];
|
|
584
584
|
if (!e) return;
|
|
585
|
-
|
|
585
|
+
Pn(e, e);
|
|
586
586
|
return;
|
|
587
587
|
}
|
|
588
588
|
let a = P.value;
|
|
@@ -645,13 +645,13 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
645
645
|
[F.value.style.chart.title.text],
|
|
646
646
|
[F.value.style.chart.title.subtitle.text],
|
|
647
647
|
[""]
|
|
648
|
-
], i = ["", ...K.value.map((e) => e?.text ?? "")], a = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), o = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), s =
|
|
648
|
+
], i = ["", ...K.value.map((e) => e?.text ?? "")], a = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.displayValue}`)]), o = W.value.map((e) => [e.name, ...e.coordinates.map((e) => `${e.rank}`)]), s = r.concat([[F.value.table.columnNames.values]]).concat([i]).concat(a).concat([
|
|
649
649
|
[""],
|
|
650
650
|
[F.value.table.columnNames.ranking],
|
|
651
651
|
[i]
|
|
652
|
-
]).concat(o));
|
|
653
|
-
e ? e(
|
|
654
|
-
csvContent:
|
|
652
|
+
]).concat(o), c = n(s);
|
|
653
|
+
e ? e(c) : t({
|
|
654
|
+
csvContent: c,
|
|
655
655
|
title: F.value.style.chart.title.text || "vue-ui-bump"
|
|
656
656
|
});
|
|
657
657
|
}
|
|
@@ -702,30 +702,30 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
702
702
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
703
703
|
},
|
|
704
704
|
colNames: [F.value.table.columnNames.series]
|
|
705
|
-
})), On = p(() => F.value.style.chart.backgroundColor), { exportSvg:
|
|
705
|
+
})), On = p(() => F.value.style.chart.backgroundColor), kn = p(() => F.value.style.chart.title), { exportSvg: An, getSvg: jn } = ge({
|
|
706
706
|
svg: L,
|
|
707
|
-
title:
|
|
707
|
+
title: kn,
|
|
708
708
|
legend: null,
|
|
709
709
|
legendItems: null,
|
|
710
710
|
backgroundColor: On
|
|
711
711
|
});
|
|
712
|
-
async function
|
|
712
|
+
async function Mn({ isCb: e }) {
|
|
713
713
|
jt.value = !0, await Ne();
|
|
714
714
|
try {
|
|
715
715
|
if (e) {
|
|
716
|
-
let { blob: e, url: t, text: n, dataUrl: r } = await
|
|
716
|
+
let { blob: e, url: t, text: n, dataUrl: r } = await jn();
|
|
717
717
|
await Promise.resolve(F.value.userOptions.callbacks.svg({
|
|
718
718
|
blob: e,
|
|
719
719
|
url: t,
|
|
720
720
|
text: n,
|
|
721
721
|
dataUrl: r
|
|
722
722
|
}));
|
|
723
|
-
} else await Promise.resolve(
|
|
723
|
+
} else await Promise.resolve(An());
|
|
724
724
|
} finally {
|
|
725
725
|
jt.value = !1;
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
|
-
async function
|
|
728
|
+
async function Nn({ scale: e = 2 } = {}) {
|
|
729
729
|
if (!A.value) return;
|
|
730
730
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
731
731
|
domElement: A.value,
|
|
@@ -754,13 +754,13 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
754
754
|
seriesIndex: e?.pointIndex ?? null
|
|
755
755
|
});
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function Pn(e, t) {
|
|
758
758
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
759
759
|
datapoint: e,
|
|
760
760
|
seriesIndex: e?.pointIndex ?? null
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Fn(e) {
|
|
764
764
|
if (e?.stage === "start") {
|
|
765
765
|
At.value = !0;
|
|
766
766
|
return;
|
|
@@ -771,7 +771,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
771
771
|
}
|
|
772
772
|
Yt();
|
|
773
773
|
}
|
|
774
|
-
async function
|
|
774
|
+
async function In() {
|
|
775
775
|
if (vt("copyAlt", {
|
|
776
776
|
config: F.value,
|
|
777
777
|
dataset: W.value
|
|
@@ -786,15 +786,15 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
786
786
|
}
|
|
787
787
|
return xe({
|
|
788
788
|
getData: En,
|
|
789
|
-
getImage:
|
|
789
|
+
getImage: Nn,
|
|
790
790
|
generatePdf: Jt,
|
|
791
791
|
generateCsv: Dn,
|
|
792
792
|
generateImage: Yt,
|
|
793
|
-
generateSvg:
|
|
793
|
+
generateSvg: Mn,
|
|
794
794
|
toggleTable: wn,
|
|
795
795
|
toggleAnnotator: Sn,
|
|
796
796
|
toggleFullscreen: Cn,
|
|
797
|
-
copyAlt:
|
|
797
|
+
copyAlt: In
|
|
798
798
|
}), (e, t) => (S(), g("div", {
|
|
799
799
|
id: `bump_${j.value}`,
|
|
800
800
|
ref_key: "bumpChart",
|
|
@@ -906,11 +906,11 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
906
906
|
onToggleFullscreen: Cn,
|
|
907
907
|
onGeneratePdf: D(Jt),
|
|
908
908
|
onGenerateCsv: Dn,
|
|
909
|
-
onGenerateImage:
|
|
910
|
-
onGenerateSvg:
|
|
909
|
+
onGenerateImage: Fn,
|
|
910
|
+
onGenerateSvg: Mn,
|
|
911
911
|
onToggleTable: wn,
|
|
912
912
|
onToggleAnnotator: Sn,
|
|
913
|
-
onCopyAlt:
|
|
913
|
+
onCopyAlt: In,
|
|
914
914
|
style: x({ visibility: D(Ut) ? D(Vt) ? "visible" : "hidden" : "visible" })
|
|
915
915
|
}, ke({ _: 2 }, [
|
|
916
916
|
e.$slots.menuIcon ? {
|
|
@@ -1053,7 +1053,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1053
1053
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1054
1054
|
onMouseenter: (t) => Q(e, e),
|
|
1055
1055
|
onMouseleave: (t) => $(e, e),
|
|
1056
|
-
onClick: (t) =>
|
|
1056
|
+
onClick: (t) => Pn(e, e)
|
|
1057
1057
|
}, null, 44, Ye)], 64))), 256)),
|
|
1058
1058
|
(S(!0), g(f, null, w(W.value, (t) => (S(), g(f, null, [
|
|
1059
1059
|
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 0 }, w(t.coordinates, (e, n) => (S(), g("circle", {
|
|
@@ -1146,7 +1146,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1146
1146
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1147
1147
|
onMouseenter: (t) => Q(e, e),
|
|
1148
1148
|
onMouseleave: (t) => $(e, e),
|
|
1149
|
-
onClick: (t) =>
|
|
1149
|
+
onClick: (t) => Pn(e, e)
|
|
1150
1150
|
}, null, 44, et))), 256))], 512)) : h("", !0),
|
|
1151
1151
|
F.value.style.chart.layout.nameLabels.rightLabels.show ? (S(), g("g", {
|
|
1152
1152
|
key: 2,
|
|
@@ -1171,7 +1171,7 @@ var He = /* @__PURE__ */ e({ default: () => lt }), Ue = ["id"], We = ["id"], Ge
|
|
|
1171
1171
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1172
1172
|
onMouseenter: (t) => Q(e, e),
|
|
1173
1173
|
onMouseleave: (t) => $(e, e),
|
|
1174
|
-
onClick: (t) =>
|
|
1174
|
+
onClick: (t) => Pn(e, e)
|
|
1175
1175
|
}, null, 44, tt))), 256))], 512)) : h("", !0),
|
|
1176
1176
|
F.value.style.chart.layout.timeLabels.show ? (S(), g("g", {
|
|
1177
1177
|
key: 3,
|