vue-data-ui 3.23.0 → 3.23.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-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-DXU7nRr9.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/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-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.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 +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- 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-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- 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-DlNpz6P8.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-DegI2lzR.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);
|