vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-label.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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 +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Bt as t, C as n, X as r, tn as i } from "./lib-DOpaUOQx.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 c } from "./usePrinter-
|
|
6
|
-
import { t as l } from "./dom-to-png-
|
|
4
|
+
import { t as s } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as c } from "./usePrinter-BBBooAGP.js";
|
|
6
|
+
import { t as l } from "./dom-to-png-DdqmzDdY.js";
|
|
7
7
|
import { t as ee } 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-Dlz7gfx0.js";
|
|
9
|
+
import { t as te } from "./vue-ui-accordion-yHZMJLaY.js";
|
|
10
|
+
import { t as ne } from "./ColorPicker-DMTwxvi_.js";
|
|
11
11
|
import { Fragment as re, Teleport as ie, computed as ae, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as oe, guardReactiveProps as se, nextTick as ce, normalizeClass as g, normalizeProps as le, normalizeStyle as _, onBeforeUnmount as ue, onMounted as de, openBlock as v, ref as y, renderList as fe, renderSlot as b, toDisplayString as x, unref as pe, vModelCheckbox as me, vModelText as he, watch as ge, withCtx as S, withDirectives as _e, withModifiers as ve } from "vue";
|
|
12
12
|
//#region src/registerAnnotatorShortcuts.js
|
|
13
13
|
function ye(e) {
|
|
@@ -295,7 +295,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
295
295
|
setup(e, { emit: ee }) {
|
|
296
296
|
let be = e, xe = ee, Dt = y(!1), Ot = y(!1);
|
|
297
297
|
de(() => Dt.value = !0);
|
|
298
|
-
let kt = y(
|
|
298
|
+
let kt = y(r()), { isImaging: At, generateImage: jt } = c({
|
|
299
299
|
elementId: kt.value,
|
|
300
300
|
fileName: wt
|
|
301
301
|
}), w = y(void 0), Mt = y(1), T = y({
|
|
@@ -338,7 +338,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
338
338
|
height: 12,
|
|
339
339
|
width: 12
|
|
340
340
|
}
|
|
341
|
-
}), z = y(!1), Jt = y(1), Yt = y(void 0), Xt = y(1), Zt = y(1), B = y("start"), Qt = y(20), $t = y(100), en =
|
|
341
|
+
}), z = y(!1), Jt = y(1), Yt = y(void 0), Xt = y(1), Zt = y(1), B = y("start"), Qt = y(20), $t = y(100), en = t, tn = y(null), nn = y(null), V = y(null), rn = y(null), an = y(null), on = y(!1), sn = y({
|
|
342
342
|
row: 0,
|
|
343
343
|
col: 0
|
|
344
344
|
}), H = y(null), U = y(!1), W = y(null), G = y({
|
|
@@ -352,11 +352,11 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
352
352
|
let mn = y(null), K = ae(() => {
|
|
353
353
|
let e = s().vue_ui_annotator;
|
|
354
354
|
if (!Object.keys(be.config || {}).length) return e;
|
|
355
|
-
let
|
|
355
|
+
let t = i({
|
|
356
356
|
defaultConfig: e,
|
|
357
357
|
userConfig: be.config
|
|
358
358
|
});
|
|
359
|
-
return t
|
|
359
|
+
return n(t);
|
|
360
360
|
}), hn = y(K.value.style.paletteColor), q = ae(() => K.value.style.buttons), J = ae(() => K.value.style);
|
|
361
361
|
a({
|
|
362
362
|
config: () => K.value,
|
|
@@ -1111,7 +1111,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1111
1111
|
if (!F.value?.id) return;
|
|
1112
1112
|
let e = {
|
|
1113
1113
|
...F.value,
|
|
1114
|
-
id: `${F.value.id}_copy_${
|
|
1114
|
+
id: `${F.value.id}_copy_${r()}`,
|
|
1115
1115
|
x: F.value.x - 100 < 0 ? 1 : F.value.x - 100,
|
|
1116
1116
|
y: F.value.y - 100 < 0 ? 1 : F.value.y - 100
|
|
1117
1117
|
};
|
|
@@ -1210,7 +1210,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1210
1210
|
function Qn() {
|
|
1211
1211
|
ln.value?.begin?.();
|
|
1212
1212
|
let e = {
|
|
1213
|
-
id: `text_${
|
|
1213
|
+
id: `text_${r()}`,
|
|
1214
1214
|
type: "text",
|
|
1215
1215
|
lines: 0,
|
|
1216
1216
|
x: I.value.x,
|
|
@@ -1383,45 +1383,45 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1383
1383
|
function dr(e) {
|
|
1384
1384
|
e.content = "";
|
|
1385
1385
|
let t = e.x || 0, n = e.y || 0;
|
|
1386
|
-
(e.source || []).forEach((
|
|
1387
|
-
switch (
|
|
1386
|
+
(e.source || []).forEach((i) => {
|
|
1387
|
+
switch (i.type) {
|
|
1388
1388
|
case "circle": {
|
|
1389
|
-
let
|
|
1389
|
+
let r = t + i.diffX, a = n + i.diffY;
|
|
1390
1390
|
e.content += `
|
|
1391
1391
|
<circle
|
|
1392
|
-
id="${
|
|
1393
|
-
cx="${
|
|
1392
|
+
id="${i.id}"
|
|
1393
|
+
cx="${r}"
|
|
1394
1394
|
cy="${a}"
|
|
1395
|
-
r="${
|
|
1396
|
-
fill="${
|
|
1397
|
-
stroke="${
|
|
1398
|
-
stroke-width="${
|
|
1399
|
-
style="${
|
|
1395
|
+
r="${i.circleRadius ? i.circleRadius : Number.MIN_VALUE}"
|
|
1396
|
+
fill="${i.isFilled ? i.color + i.alpha : "rgba(255,255,255,0.001)"}"
|
|
1397
|
+
stroke="${i.color + i.alpha}"
|
|
1398
|
+
stroke-width="${i.strokeWidth}"
|
|
1399
|
+
style="${i.isDash ? `stroke-dasharray: ${i.strokeWidth * 3}` : ""}"
|
|
1400
1400
|
/>
|
|
1401
1401
|
`;
|
|
1402
1402
|
break;
|
|
1403
1403
|
}
|
|
1404
1404
|
case "rect": {
|
|
1405
|
-
let
|
|
1405
|
+
let r = t + i.diffX, a = n + i.diffY;
|
|
1406
1406
|
e.content += `
|
|
1407
1407
|
<rect
|
|
1408
|
-
id="${A.value ? "" :
|
|
1409
|
-
x="${
|
|
1408
|
+
id="${A.value ? "" : i.id}"
|
|
1409
|
+
x="${r}"
|
|
1410
1410
|
y="${a}"
|
|
1411
|
-
fill="${
|
|
1412
|
-
height="${
|
|
1413
|
-
width="${
|
|
1414
|
-
stroke="${
|
|
1415
|
-
stroke-width="${
|
|
1416
|
-
style="rx:1 !important; ry:1 !important; ${
|
|
1411
|
+
fill="${i.isFilled ? i.color + i.alpha : "rgba(255,255,255,0.001)"}"
|
|
1412
|
+
height="${i.rectHeight}"
|
|
1413
|
+
width="${i.rectWidth}"
|
|
1414
|
+
stroke="${i.color + i.alpha}"
|
|
1415
|
+
stroke-width="${i.strokeWidth}"
|
|
1416
|
+
style="rx:1 !important; ry:1 !important; ${i.isDash ? `stroke-dasharray: ${i.strokeWidth * 3}` : ""}"
|
|
1417
1417
|
/>
|
|
1418
1418
|
`;
|
|
1419
1419
|
break;
|
|
1420
1420
|
}
|
|
1421
1421
|
case "arrow": {
|
|
1422
|
-
let a = t +
|
|
1422
|
+
let a = t + i.diffX, o = n + i.diffY, s = t + i.diffEndX, c = n + i.diffEndY, l = i.strokeWidth > 3 ? 5 : 10, ee = i.strokeWidth > 3 ? 2.5 : 5, u = `m_${i.id}_${r()}`;
|
|
1423
1423
|
e.content += `
|
|
1424
|
-
<g id="${
|
|
1424
|
+
<g id="${i.id}">
|
|
1425
1425
|
<defs>
|
|
1426
1426
|
<marker
|
|
1427
1427
|
id="${u}"
|
|
@@ -1430,15 +1430,15 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1430
1430
|
refX="0"
|
|
1431
1431
|
refY="${ee}"
|
|
1432
1432
|
orient="auto">
|
|
1433
|
-
<polygon points="0 0,${l} ${ee}, 0 ${l}" fill="${
|
|
1433
|
+
<polygon points="0 0,${l} ${ee}, 0 ${l}" fill="${i.color}" />
|
|
1434
1434
|
</marker>
|
|
1435
1435
|
</defs>
|
|
1436
1436
|
<path
|
|
1437
|
-
style="stroke-linecap: round !important; ${
|
|
1438
|
-
stroke="${
|
|
1439
|
-
id="${
|
|
1437
|
+
style="stroke-linecap: round !important; ${i.isDash ? `stroke-dasharray: ${i.strokeWidth * 3}` : ""}"
|
|
1438
|
+
stroke="${i.color}"
|
|
1439
|
+
id="${i.id}"
|
|
1440
1440
|
d="M${a},${o} ${s},${c}"
|
|
1441
|
-
stroke-width="${
|
|
1441
|
+
stroke-width="${i.strokeWidth}"
|
|
1442
1442
|
marker-end="url(#${u})"
|
|
1443
1443
|
/>
|
|
1444
1444
|
</g>
|
|
@@ -1446,40 +1446,40 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1446
1446
|
break;
|
|
1447
1447
|
}
|
|
1448
1448
|
case "line": {
|
|
1449
|
-
let
|
|
1449
|
+
let r = Cn(Array.isArray(i.diffPoints) && i.diffPoints.length ? i.diffPoints.map((e) => ({
|
|
1450
1450
|
x: t + e.x,
|
|
1451
1451
|
y: n + e.y
|
|
1452
|
-
})) : Sn(
|
|
1452
|
+
})) : Sn(i.path));
|
|
1453
1453
|
e.content += `
|
|
1454
1454
|
<path
|
|
1455
|
-
id="${
|
|
1456
|
-
d="M${
|
|
1457
|
-
style="stroke:${
|
|
1455
|
+
id="${i.id}"
|
|
1456
|
+
d="M${r}"
|
|
1457
|
+
style="stroke:${i.color + i.alpha} !important; fill:none; stroke-width:${i.strokeWidth} !important; stroke-linecap:round !important; stroke-linejoin:round !important; ${i.isDash ? `stroke-dasharray: ${i.strokeWidth * 3}` : ""}"
|
|
1458
1458
|
/>
|
|
1459
1459
|
`;
|
|
1460
1460
|
break;
|
|
1461
1461
|
}
|
|
1462
1462
|
case "text": {
|
|
1463
|
-
let
|
|
1464
|
-
${
|
|
1465
|
-
<tspan id="${
|
|
1463
|
+
let r = (i.textContent || "").split("").map((e, r) => `
|
|
1464
|
+
${i.isBulletTextMode ? `<tspan x="${t + i.diffX - i.fontSize}" y="${n + i.diffY + i.fontSize * r}" id="${i.id}" font-size="${i.fontSize / 2}">⬤</tspan>` : ""}
|
|
1465
|
+
<tspan id="${i.id}" x="${t + i.diffX}" y="${n + i.diffY + i.fontSize * r}">
|
|
1466
1466
|
${e}
|
|
1467
1467
|
</tspan>
|
|
1468
1468
|
`).join("");
|
|
1469
1469
|
e.content += `
|
|
1470
|
-
<g id="${
|
|
1470
|
+
<g id="${i.id}">
|
|
1471
1471
|
<text
|
|
1472
1472
|
style="user-select:none; height:100px;"
|
|
1473
|
-
id="${
|
|
1474
|
-
x="${t +
|
|
1475
|
-
y="${n +
|
|
1476
|
-
text-anchor="${
|
|
1477
|
-
font-size="${
|
|
1478
|
-
fill="${
|
|
1479
|
-
font-weight="${
|
|
1480
|
-
font-style="${
|
|
1481
|
-
text-decoration="${
|
|
1482
|
-
${
|
|
1473
|
+
id="${i.id}"
|
|
1474
|
+
x="${t + i.diffX}"
|
|
1475
|
+
y="${n + i.diffY}"
|
|
1476
|
+
text-anchor="${i.textAlign}"
|
|
1477
|
+
font-size="${i.fontSize}"
|
|
1478
|
+
fill="${i.color}"
|
|
1479
|
+
font-weight="${i.isBold ? "bold" : "normal"}"
|
|
1480
|
+
font-style="${i.isItalic ? "italic" : "normal"}"
|
|
1481
|
+
text-decoration="${i.isUnderline ? "underline" : "none"}">
|
|
1482
|
+
${r}
|
|
1483
1483
|
</text>
|
|
1484
1484
|
</g>
|
|
1485
1485
|
`;
|
|
@@ -1497,7 +1497,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1497
1497
|
x: I.value.x,
|
|
1498
1498
|
y: I.value.y
|
|
1499
1499
|
};
|
|
1500
|
-
let e = `${j.value ? "group" : w.value}_${
|
|
1500
|
+
let e = `${j.value ? "group" : w.value}_${r()}`;
|
|
1501
1501
|
switch (!0) {
|
|
1502
1502
|
case w.value === "arrow":
|
|
1503
1503
|
L.value.push({
|
|
@@ -1558,7 +1558,7 @@ var be = { class: "teleport-tooltip__inner" }, C = /*#__PURE__*/ ee({
|
|
|
1558
1558
|
break;
|
|
1559
1559
|
case w.value === "group": L.value.push({
|
|
1560
1560
|
alpha: 1,
|
|
1561
|
-
id: `group_${
|
|
1561
|
+
id: `group_${r()}`,
|
|
1562
1562
|
x: I.value.x,
|
|
1563
1563
|
y: I.value.y,
|
|
1564
1564
|
isFilled: !1,
|