vue-data-ui 3.26.4 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.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-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
- package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
- 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 +212 -60
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
- package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
- package/dist/vue-ui-funnel-eVH871L3.js +0 -749
- package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
- package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
- package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
- package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
- package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
- package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
- package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
- package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
- package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
- package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
- package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
- package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
- package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
- package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, $t as n, D as r,
|
|
2
|
+
import { $ as t, $t as n, D as r, Dt as i, Ft as a, Ht as o, Q as s, S as c, X as l, at as u, en as d, et as f, i as p, nn as m, nt as ee, q as h, r as g, t as te, w as ne, zt as re } from "./lib-D4wK6ljP.js";
|
|
3
3
|
import { n as ie, t 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-D_6ZrPMD.js";
|
|
5
|
+
import { t as se } from "./usePrinter-DdW2GSm0.js";
|
|
6
6
|
import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as ue } from "./useNestedProp-
|
|
7
|
+
import { t as ue } from "./useNestedProp-DR_8JPol.js";
|
|
8
8
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as fe } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as pe } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as me } from "./img
|
|
12
|
-
import { n as he } from "./Title-
|
|
11
|
+
import { t as me } from "./img-Bb5rHcpO.js";
|
|
12
|
+
import { n as he } from "./Title-BMCuINbv.js";
|
|
13
13
|
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as ye } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -296,7 +296,7 @@ var Ye = class {
|
|
|
296
296
|
emits: ["selectDatapoint", "copyAlt"],
|
|
297
297
|
setup(e, { expose: ge, emit: ze }) {
|
|
298
298
|
Ie((e) => ({ e036d6dc: fr.value }));
|
|
299
|
-
let Ve = C(() => import("./Tooltip-
|
|
299
|
+
let Ve = C(() => import("./Tooltip-C4ZTwkLF.js")), N = C(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), He = C(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Ue = C(() => import("./DataTable-CjF_An2h.js")), We = C(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), Ge = C(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), Ke = C(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), qe = C(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), P = e, Je = ze, { vue_ui_circle_pack: Ye } = oe(), { isThemeValid: Xe, warnInvalidTheme: _t } = de(), vt = v(() => !!P.dataset && P.dataset.length), F = O(l()), I = O(null), yt = O(null), bt = O(null), xt = O(0), St = O(0), Ct = O(0), wt = O(null), L = O(null), Tt = O(null), Et = O(!1), Dt = O(""), R = O(null), z = O(null), Ot = O({
|
|
300
300
|
x: 0,
|
|
301
301
|
y: 0
|
|
302
302
|
}), kt = O("pointer"), At = O(!1), B = O(Rt()), V = v(() => B.value.style.chart.circles.labels), H = v(() => B.value.style.chart.circles), U = v(() => B.value.style.chart);
|
|
@@ -327,7 +327,7 @@ var Ye = class {
|
|
|
327
327
|
let { transitionEnabled: W } = pe({
|
|
328
328
|
config: () => B.value.transitions,
|
|
329
329
|
dataset: () => P.dataset
|
|
330
|
-
}), jt = v(() => B.value.userOptions.useCursorPointer), Mt = v(() =>
|
|
330
|
+
}), jt = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => m({
|
|
331
331
|
defaultConfig: {
|
|
332
332
|
userOptions: { show: !1 },
|
|
333
333
|
table: { show: !1 },
|
|
@@ -379,7 +379,7 @@ var Ye = class {
|
|
|
379
379
|
color: "#696969"
|
|
380
380
|
}
|
|
381
381
|
],
|
|
382
|
-
skeletonConfig:
|
|
382
|
+
skeletonConfig: m({
|
|
383
383
|
defaultConfig: B.value,
|
|
384
384
|
userConfig: Mt.value
|
|
385
385
|
})
|
|
@@ -391,20 +391,20 @@ var Ye = class {
|
|
|
391
391
|
}), t = e.theme;
|
|
392
392
|
if (!t) return e;
|
|
393
393
|
if (!Xe.value(e)) return _t(e), e;
|
|
394
|
-
let
|
|
394
|
+
let n = ue({
|
|
395
395
|
userConfig: we[t] || P.config,
|
|
396
396
|
defaultConfig: e
|
|
397
|
-
}),
|
|
397
|
+
}), r = ue({
|
|
398
398
|
userConfig: P.config,
|
|
399
|
-
defaultConfig:
|
|
399
|
+
defaultConfig: n
|
|
400
400
|
});
|
|
401
401
|
return {
|
|
402
|
-
...
|
|
403
|
-
customPalette:
|
|
402
|
+
...r,
|
|
403
|
+
customPalette: r.customPalette.length ? r.customPalette : d[t] || o
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function zt(e) {
|
|
407
|
-
let t =
|
|
407
|
+
let t = f(e);
|
|
408
408
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
409
409
|
}
|
|
410
410
|
let Bt = zt(P.config);
|
|
@@ -506,8 +506,8 @@ var Ye = class {
|
|
|
506
506
|
return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + $t(t), 0) : 0;
|
|
507
507
|
}
|
|
508
508
|
function en(e, t) {
|
|
509
|
-
let
|
|
510
|
-
return
|
|
509
|
+
let n = d[B.value.theme || "default"] || o, r = dn.value.length ? dn.value : n.length ? n : o;
|
|
510
|
+
return c(e.color) || r[t % r.length] || o[t % o.length];
|
|
511
511
|
}
|
|
512
512
|
function tn(e) {
|
|
513
513
|
return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + tn(t), 0);
|
|
@@ -516,10 +516,10 @@ var Ye = class {
|
|
|
516
516
|
return Array.isArray(e) ? e.map((e, i) => {
|
|
517
517
|
let a = $t(e);
|
|
518
518
|
if (!Number.isFinite(a) || a <= 0) return null;
|
|
519
|
-
let o =
|
|
519
|
+
let o = l(), s = [...r, i], u = s.reduce((e, t, n) => e + t + n, 0), d = e.color || t?.color ? c(e.color || t?.color) : en(e, u), f = nn(e.children, {
|
|
520
520
|
id: o,
|
|
521
521
|
name: e.name,
|
|
522
|
-
color:
|
|
522
|
+
color: d,
|
|
523
523
|
rootId: t?.rootId ?? o
|
|
524
524
|
}, n + 1, s);
|
|
525
525
|
return {
|
|
@@ -527,7 +527,7 @@ var Ye = class {
|
|
|
527
527
|
value: a,
|
|
528
528
|
r: a,
|
|
529
529
|
id: o,
|
|
530
|
-
color:
|
|
530
|
+
color: d,
|
|
531
531
|
depth: n,
|
|
532
532
|
parentId: t?.id ?? null,
|
|
533
533
|
parentName: t?.name ?? null,
|
|
@@ -588,7 +588,7 @@ var Ye = class {
|
|
|
588
588
|
X.value && (Z.value && X.value.unobserve(Z.value), X.value.disconnect(), X.value = null, Z.value = null);
|
|
589
589
|
}
|
|
590
590
|
async function un() {
|
|
591
|
-
|
|
591
|
+
re(P.dataset) && u({
|
|
592
592
|
componentName: "VueUiCirclePack",
|
|
593
593
|
type: "dataset",
|
|
594
594
|
debug: Jt.value
|
|
@@ -601,7 +601,7 @@ var Ye = class {
|
|
|
601
601
|
}), Le(() => Pt.value, async (e) => {
|
|
602
602
|
await un();
|
|
603
603
|
}, { deep: !0 });
|
|
604
|
-
let dn = v(() =>
|
|
604
|
+
let dn = v(() => ne(B.value.customPalette)), fn = v(() => nn(Pt.value)), pn = v(() => J.value.length ? Math.max(...J.value.map((e) => e.r)) : 0);
|
|
605
605
|
function mn(e, t) {
|
|
606
606
|
return pn.value ? t / pn.value * e : 0;
|
|
607
607
|
}
|
|
@@ -658,7 +658,7 @@ var Ye = class {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
function bn(e) {
|
|
661
|
-
return
|
|
661
|
+
return p(V.value.value.formatter, e.value, t({
|
|
662
662
|
p: V.value.value.prefix,
|
|
663
663
|
v: e.value,
|
|
664
664
|
s: V.value.value.suffix,
|
|
@@ -1065,8 +1065,8 @@ var Ye = class {
|
|
|
1065
1065
|
if (!Number.isFinite(e) || !G.value) return;
|
|
1066
1066
|
let t = J.value[e];
|
|
1067
1067
|
if (!t) return;
|
|
1068
|
-
let
|
|
1069
|
-
|
|
1068
|
+
let r = n(t.x, t.y, G.value);
|
|
1069
|
+
r && (Ot.value = r);
|
|
1070
1070
|
}
|
|
1071
1071
|
function or() {
|
|
1072
1072
|
if (z.value !== null) {
|
|
@@ -1367,7 +1367,7 @@ var Ye = class {
|
|
|
1367
1367
|
],
|
|
1368
1368
|
[
|
|
1369
1369
|
"90%",
|
|
1370
|
-
j(
|
|
1370
|
+
j(s)(t.color, .1),
|
|
1371
1371
|
1
|
|
1372
1372
|
],
|
|
1373
1373
|
[
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { Teleport as o, computed as s, createBlock as
|
|
2
|
+
import { Jt as t, X as n, t as ee } from "./lib-D4wK6ljP.js";
|
|
3
|
+
import { t as r } from "./useConfig-D_6ZrPMD.js";
|
|
4
|
+
import { t as i } from "./useNestedProp-DR_8JPol.js";
|
|
5
|
+
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
+
import { n as te } from "./PackageVersion-D7H9nfK0.js";
|
|
7
|
+
import { Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, nextTick as ne, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-cursor.vue
|
|
9
9
|
var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
10
10
|
"xmlns",
|
|
@@ -20,66 +20,66 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
20
20
|
"stroke",
|
|
21
21
|
"stroke-width",
|
|
22
22
|
"stroke-dasharray"
|
|
23
|
-
], se = ["r"],
|
|
23
|
+
], se = ["r"], ce = {
|
|
24
24
|
key: 2,
|
|
25
25
|
class: "wave"
|
|
26
|
-
},
|
|
26
|
+
}, S = ["id"], C = ["id"], w = ["filter", "stroke"], T = {
|
|
27
27
|
key: 3,
|
|
28
28
|
class: "crosshair"
|
|
29
|
-
},
|
|
29
|
+
}, E = [
|
|
30
30
|
"x1",
|
|
31
31
|
"stroke",
|
|
32
32
|
"stroke-width",
|
|
33
33
|
"stroke-dasharray"
|
|
34
|
-
],
|
|
34
|
+
], D = [
|
|
35
35
|
"x1",
|
|
36
36
|
"stroke",
|
|
37
37
|
"stroke-width",
|
|
38
38
|
"stroke-dasharray"
|
|
39
|
-
],
|
|
39
|
+
], O = [
|
|
40
40
|
"y1",
|
|
41
41
|
"stroke",
|
|
42
42
|
"stroke-width",
|
|
43
43
|
"stroke-dasharray"
|
|
44
|
-
],
|
|
44
|
+
], k = [
|
|
45
45
|
"y1",
|
|
46
46
|
"stroke",
|
|
47
47
|
"stroke-width",
|
|
48
48
|
"stroke-dasharray"
|
|
49
|
-
],
|
|
49
|
+
], A = [
|
|
50
50
|
"cy",
|
|
51
51
|
"r",
|
|
52
52
|
"fill"
|
|
53
|
-
],
|
|
53
|
+
], j = [
|
|
54
54
|
"cy",
|
|
55
55
|
"r",
|
|
56
56
|
"fill"
|
|
57
|
-
],
|
|
57
|
+
], M = [
|
|
58
58
|
"cx",
|
|
59
59
|
"r",
|
|
60
60
|
"fill"
|
|
61
|
-
],
|
|
61
|
+
], N = [
|
|
62
62
|
"cx",
|
|
63
63
|
"r",
|
|
64
64
|
"fill"
|
|
65
|
-
],
|
|
65
|
+
], P = {
|
|
66
66
|
key: 5,
|
|
67
67
|
class: "coordinates"
|
|
68
|
-
},
|
|
68
|
+
}, F = [
|
|
69
69
|
"x",
|
|
70
70
|
"y",
|
|
71
71
|
"font-size",
|
|
72
72
|
"fill"
|
|
73
|
-
],
|
|
73
|
+
], I = ["transform"], L = ["font-size", "fill"], R = /*#__PURE__*/ a({
|
|
74
74
|
__name: "vue-ui-cursor",
|
|
75
75
|
props: { config: {
|
|
76
76
|
type: Object,
|
|
77
77
|
default: {}
|
|
78
78
|
} },
|
|
79
79
|
setup(e) {
|
|
80
|
-
let { vue_ui_cursor:
|
|
80
|
+
let { vue_ui_cursor: a } = r(), x = e, R = v(n()), z = s(() => i({
|
|
81
81
|
userConfig: x.config,
|
|
82
|
-
defaultConfig:
|
|
82
|
+
defaultConfig: a
|
|
83
83
|
})), B = v({
|
|
84
84
|
x: -100,
|
|
85
85
|
y: -100
|
|
@@ -96,7 +96,7 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
96
96
|
}
|
|
97
97
|
let q = v(!1), J = v(null);
|
|
98
98
|
function Y() {
|
|
99
|
-
q.value = !1, J.value && clearTimeout(J.value),
|
|
99
|
+
q.value = !1, J.value && clearTimeout(J.value), ne(() => {
|
|
100
100
|
q.value = !0, J.value = setTimeout(() => {
|
|
101
101
|
q.value = !1;
|
|
102
102
|
}, 1e3);
|
|
@@ -129,56 +129,56 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
129
129
|
}), Z.value = t;
|
|
130
130
|
}), h(() => {
|
|
131
131
|
Z.value &&= (Z.value.disconnect(), null), X.value &&= (le(X.value), null);
|
|
132
|
-
}), (e,
|
|
132
|
+
}), (e, n) => (_(), c(o, { to: "body" }, [G.value ? (_(), u("svg", {
|
|
133
133
|
key: 0,
|
|
134
134
|
"data-dom-to-png-ignore": "",
|
|
135
|
-
xmlns: b(
|
|
135
|
+
xmlns: b(ee),
|
|
136
136
|
style: m(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${B.value.y}px; left:${B.value.x}px;`),
|
|
137
137
|
viewBox: "0 0 100 100",
|
|
138
138
|
height: V.value * 2,
|
|
139
139
|
width: V.value * 2
|
|
140
140
|
}, [
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
f(te),
|
|
142
|
+
d("defs", null, [d("radialGradient", ie, [d("stop", {
|
|
143
143
|
offset: "10%",
|
|
144
144
|
"stop-color": z.value.bubbleEffectColor,
|
|
145
145
|
"stop-opacity": z.value.bubbleEffectOpacity
|
|
146
|
-
}, null, 8, ae),
|
|
146
|
+
}, null, 8, ae), n[0] ||= d("stop", {
|
|
147
147
|
offset: "95%",
|
|
148
148
|
"stop-color": "transparent"
|
|
149
149
|
}, null, -1)])]),
|
|
150
|
-
z.value.showCenterCircle ? (_(),
|
|
150
|
+
z.value.showCenterCircle ? (_(), u("circle", {
|
|
151
151
|
key: 0,
|
|
152
152
|
cx: 50,
|
|
153
153
|
cy: 50,
|
|
154
154
|
r: V.value,
|
|
155
|
-
fill: b(
|
|
155
|
+
fill: b(t)(z.value.centerCircleColor, z.value.centerCircleOpacity * 100),
|
|
156
156
|
stroke: z.value.centerCircleStroke,
|
|
157
157
|
"stroke-width": z.value.centerCircleStrokeWidth,
|
|
158
158
|
"stroke-dasharray": z.value.centerCircleDasharray
|
|
159
|
-
}, null, 8, oe)) :
|
|
160
|
-
z.value.bubbleEffect ? (_(),
|
|
159
|
+
}, null, 8, oe)) : l("", !0),
|
|
160
|
+
z.value.bubbleEffect ? (_(), u("circle", {
|
|
161
161
|
key: 1,
|
|
162
162
|
cx: 50,
|
|
163
163
|
cy: 50,
|
|
164
164
|
r: V.value,
|
|
165
165
|
fill: "url(#follower)",
|
|
166
166
|
stroke: "none"
|
|
167
|
-
}, null, 8, se)) :
|
|
168
|
-
z.value.useWaveOnClick ? (_(),
|
|
167
|
+
}, null, 8, se)) : l("", !0),
|
|
168
|
+
z.value.useWaveOnClick ? (_(), u("g", ce, [d("defs", null, [d("filter", {
|
|
169
169
|
id: `blur_${R.value}`,
|
|
170
170
|
x: "-50%",
|
|
171
171
|
y: "-50%",
|
|
172
172
|
width: "200%",
|
|
173
173
|
height: "200%"
|
|
174
|
-
}, [
|
|
174
|
+
}, [d("feGaussianBlur", {
|
|
175
175
|
in: "SourceGraphic",
|
|
176
176
|
stdDeviation: 4,
|
|
177
177
|
id: `blur_std_${R.value}`
|
|
178
|
-
}, null, 8,
|
|
178
|
+
}, null, 8, C), n[1] ||= d("feColorMatrix", {
|
|
179
179
|
type: "saturate",
|
|
180
180
|
values: "0"
|
|
181
|
-
}, null, -1)], 8,
|
|
181
|
+
}, null, -1)], 8, S)]), q.value ? (_(), u("circle", {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: p({ "circle-wave": q.value }),
|
|
184
184
|
cx: 50,
|
|
@@ -188,9 +188,9 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
188
188
|
stroke: z.value.centerCircleStroke,
|
|
189
189
|
fill: "none",
|
|
190
190
|
"stroke-width": "3"
|
|
191
|
-
}, null, 10,
|
|
192
|
-
z.value.showCrosshair ? (_(),
|
|
193
|
-
|
|
191
|
+
}, null, 10, w)) : l("", !0)])) : l("", !0),
|
|
192
|
+
z.value.showCrosshair ? (_(), u("g", T, [
|
|
193
|
+
d("line", {
|
|
194
194
|
x1: -V.value + 50,
|
|
195
195
|
x2: -5e3,
|
|
196
196
|
y1: 50,
|
|
@@ -199,8 +199,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
199
199
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
200
200
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
201
201
|
"stroke-linecap": "round"
|
|
202
|
-
}, null, 8,
|
|
203
|
-
|
|
202
|
+
}, null, 8, E),
|
|
203
|
+
d("line", {
|
|
204
204
|
x1: 50 + V.value,
|
|
205
205
|
x2: 5e3,
|
|
206
206
|
y1: 50,
|
|
@@ -209,8 +209,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
209
209
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
210
210
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
211
211
|
"stroke-linecap": "round"
|
|
212
|
-
}, null, 8,
|
|
213
|
-
|
|
212
|
+
}, null, 8, D),
|
|
213
|
+
d("line", {
|
|
214
214
|
x1: 50,
|
|
215
215
|
x2: 50,
|
|
216
216
|
y1: -V.value + 50,
|
|
@@ -219,8 +219,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
219
219
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
220
220
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
221
221
|
"stroke-linecap": "round"
|
|
222
|
-
}, null, 8,
|
|
223
|
-
|
|
222
|
+
}, null, 8, O),
|
|
223
|
+
d("line", {
|
|
224
224
|
x1: 50,
|
|
225
225
|
x2: 50,
|
|
226
226
|
y1: V.value + 50,
|
|
@@ -229,38 +229,38 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
229
229
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
230
230
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
231
231
|
"stroke-linecap": "round"
|
|
232
|
-
}, null, 8,
|
|
233
|
-
])) :
|
|
234
|
-
z.value.showIntersectCircles ? (_(),
|
|
232
|
+
}, null, 8, k)
|
|
233
|
+
])) : l("", !0),
|
|
234
|
+
z.value.showIntersectCircles ? (_(), u("g", {
|
|
235
235
|
key: 4,
|
|
236
236
|
class: p({ "rotating-circles": z.value.isLoading })
|
|
237
237
|
}, [
|
|
238
|
-
|
|
238
|
+
d("circle", {
|
|
239
239
|
cx: 50,
|
|
240
240
|
cy: V.value + 50,
|
|
241
241
|
r: z.value.intersectCirclesRadius,
|
|
242
242
|
fill: z.value.intersectCirclesFill
|
|
243
|
-
}, null, 8,
|
|
244
|
-
|
|
243
|
+
}, null, 8, A),
|
|
244
|
+
d("circle", {
|
|
245
245
|
cx: 50,
|
|
246
246
|
cy: -V.value + 50,
|
|
247
247
|
r: z.value.intersectCirclesRadius,
|
|
248
248
|
fill: z.value.intersectCirclesFill
|
|
249
|
-
}, null, 8,
|
|
250
|
-
|
|
249
|
+
}, null, 8, j),
|
|
250
|
+
d("circle", {
|
|
251
251
|
cx: -V.value + 50,
|
|
252
252
|
cy: 50,
|
|
253
253
|
r: z.value.intersectCirclesRadius,
|
|
254
254
|
fill: z.value.intersectCirclesFill
|
|
255
|
-
}, null, 8,
|
|
256
|
-
|
|
255
|
+
}, null, 8, M),
|
|
256
|
+
d("circle", {
|
|
257
257
|
cx: V.value + 50,
|
|
258
258
|
cy: 50,
|
|
259
259
|
r: z.value.intersectCirclesRadius,
|
|
260
260
|
fill: z.value.intersectCirclesFill
|
|
261
|
-
}, null, 8,
|
|
262
|
-
], 2)) :
|
|
263
|
-
z.value.showCoordinates ? (_(),
|
|
261
|
+
}, null, 8, N)
|
|
262
|
+
], 2)) : l("", !0),
|
|
263
|
+
z.value.showCoordinates ? (_(), u("g", P, [d("text", {
|
|
264
264
|
"text-anchor": "end",
|
|
265
265
|
x: -V.value + 50 - z.value.coordinatesFontSize / 2 + H.value,
|
|
266
266
|
y: 50 - z.value.coordinatesFontSize / 2 + H.value,
|
|
@@ -268,15 +268,15 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
268
268
|
fill: z.value.coordinatesColor,
|
|
269
269
|
style: { "font-variant-numeric": "tabular-nums" },
|
|
270
270
|
"font-family": "Arial"
|
|
271
|
-
}, y(B.value.x.toFixed(0)), 9,
|
|
271
|
+
}, y(B.value.x.toFixed(0)), 9, F), d("g", { transform: `translate(${50 - z.value.coordinatesFontSize / 2 + H.value}, ${-V.value + 50 - z.value.coordinatesFontSize / 2 + H.value})` }, [d("text", {
|
|
272
272
|
"text-anchor": "start",
|
|
273
273
|
"font-size": z.value.coordinatesFontSize,
|
|
274
274
|
fill: z.value.coordinatesColor,
|
|
275
275
|
style: { "font-variant-numeric": "tabular-nums" },
|
|
276
276
|
transform: "rotate(-90)",
|
|
277
277
|
"font-family": "Arial"
|
|
278
|
-
}, y(B.value.y.toFixed(0)), 9,
|
|
279
|
-
], 12, re)) :
|
|
278
|
+
}, y(B.value.y.toFixed(0)), 9, L)], 8, I)])) : l("", !0)
|
|
279
|
+
], 12, re)) : l("", !0)]));
|
|
280
280
|
}
|
|
281
281
|
}, [["__scopeId", "data-v-4b1f566e"]]);
|
|
282
282
|
//#endregion
|