vue-data-ui 3.23.10 → 3.23.12
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/README.md +40 -40
- package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
- package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.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/{dom-to-png-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
- package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
- package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
- 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 +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
- package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
- package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
- package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
- package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
- package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
- package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
- package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
- package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
- package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
- package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
- package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
- package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
- package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
- package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
- package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
- package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
- package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
- package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
- package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
- package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
- package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
- package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
- package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
- package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
- package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
- package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
- package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
- package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
- package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
- package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
- package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
- package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
- package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
- package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
- package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
- package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
- package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
- package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
- package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
- package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
- package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
- package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
- package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
- package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
- package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
- package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
- package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
- package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
- package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
- package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
- package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
- package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
- package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
- package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
- package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
- package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
- package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
- package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/package.json +1 -1
- package/dist/exposedLib-vfRiIvq_.js +0 -28
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
- package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
- package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
- package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
- package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
- package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
- package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
- package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
- package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
- package/dist/vue-ui-onion-C27GpneA.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
- package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
- package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
- package/dist/vue-ui-rings-obVfb09j.js +0 -1250
- package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
- package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
- package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
- package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
- package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
- package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
- package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Yt as t, q as n, t as r } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as o } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as s } from "./useNestedProp-
|
|
6
|
-
import { n as c } from "./Title-
|
|
5
|
+
import { t as s } from "./useNestedProp-CulPqtou.js";
|
|
6
|
+
import { n as c } from "./Title-CaVA8EIw.js";
|
|
7
7
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { l as ee, t as te } from "./useResponsive-ZtArZtUf.js";
|
|
9
|
-
import { t as u } from "./BaseIcon-
|
|
9
|
+
import { t as u } from "./BaseIcon-BbElSC8_.js";
|
|
10
10
|
import { t as ne } from "./DefGrad-DVBqDjhO.js";
|
|
11
11
|
import { t as re } from "./useChartAccessibility-DYqac8yF.js";
|
|
12
12
|
import { computed as d, createBlock as ie, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as ae, guardReactiveProps as g, mergeProps as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as oe, onMounted as se, openBlock as b, ref as x, renderSlot as S, shallowRef as C, toDisplayString as ce, unref as w, watch as le } from "vue";
|
|
@@ -103,33 +103,33 @@ var ue = class {
|
|
|
103
103
|
"lap"
|
|
104
104
|
],
|
|
105
105
|
setup(e, { expose: l, emit: T }) {
|
|
106
|
-
let E = ae(() => import("./PackageVersion-
|
|
106
|
+
let E = ae(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), { vue_ui_timer: De } = o(), D = e, O = T, k = x(null), A = x(null), j = x(null), M = C(null), N = C(null), P = x(n()), F = x(0);
|
|
107
107
|
se(() => {
|
|
108
108
|
I();
|
|
109
109
|
});
|
|
110
110
|
function I() {
|
|
111
111
|
if (L.value.responsive) {
|
|
112
112
|
let e = ee(() => {
|
|
113
|
-
let { width: e, height:
|
|
113
|
+
let { width: e, height: n } = te({
|
|
114
114
|
chart: k.value,
|
|
115
115
|
title: L.value.style.title.text ? A.value : null,
|
|
116
116
|
legend: j.value
|
|
117
117
|
});
|
|
118
118
|
requestAnimationFrame(() => {
|
|
119
|
-
B.value.width = e, B.value.height =
|
|
120
|
-
relator: Math.min(e,
|
|
119
|
+
B.value.width = e, B.value.height = n, L.value.responsiveProportionalSizing ? (B.value.tracker.core = t({
|
|
120
|
+
relator: Math.min(e, n),
|
|
121
121
|
adjuster: L.value.style.width,
|
|
122
122
|
source: 6 * L.value.stopwatch.tracker.radiusRatio,
|
|
123
123
|
threshold: 1,
|
|
124
124
|
fallback: 1
|
|
125
|
-
}), B.value.tracker.aura =
|
|
126
|
-
relator: Math.min(e,
|
|
125
|
+
}), B.value.tracker.aura = t({
|
|
126
|
+
relator: Math.min(e, n),
|
|
127
127
|
adjuster: L.value.style.width,
|
|
128
128
|
source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
|
|
129
129
|
threshold: 1,
|
|
130
130
|
fallback: 1
|
|
131
|
-
}), B.value.label =
|
|
132
|
-
relator: Math.min(e,
|
|
131
|
+
}), B.value.label = t({
|
|
132
|
+
relator: Math.min(e, n),
|
|
133
133
|
adjuster: L.value.style.width,
|
|
134
134
|
source: L.value.stopwatch.label.fontSize,
|
|
135
135
|
threshold: 10,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Nt as t, Ut as n, X as r, Xt as i, b as a, i as o, nt as s, q as c, t as l } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as ee, t as te } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ne } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as re } from "./usePrinter-
|
|
5
|
+
import { t as re } from "./usePrinter-CEiH1b6R.js";
|
|
6
6
|
import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as u } from "./useNestedProp-
|
|
7
|
+
import { t as u } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as se } from "./useChartExport-DNiwdPmb.js";
|
|
10
|
-
import { t as ce } from "./img-
|
|
11
|
-
import { n as le } from "./Title-
|
|
10
|
+
import { t as ce } from "./img-Bkzj3lDD.js";
|
|
11
|
+
import { n as le } from "./Title-CaVA8EIw.js";
|
|
12
12
|
import { t as ue } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as de, t as fe } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
@@ -65,14 +65,14 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
65
65
|
},
|
|
66
66
|
emits: ["copyAlt"],
|
|
67
67
|
setup(e, { expose: ue, emit: Te }) {
|
|
68
|
-
let E = h(() => import("./PenAndPaper-
|
|
68
|
+
let E = h(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), ze = h(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Be = h(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), { vue_ui_tiremarks: Ve } = ne(), { isThemeValid: He, warnInvalidTheme: Ue } = oe(), D = he(), O = e, We = Te, Ge = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(c()), A = x(null), Ke = x(null), qe = x(null), Je = x(null), Ye = x(0), Xe = x(0), j = x(null), M = x(null), N = x(R());
|
|
69
69
|
ee({
|
|
70
70
|
config: () => N.value,
|
|
71
71
|
dataset: () => O.dataset,
|
|
72
72
|
component: "VueUiTiremarks",
|
|
73
73
|
rules: [te.noHint]
|
|
74
74
|
});
|
|
75
|
-
let Ze = d(() => N.value.userOptions.useCursorPointer), Qe = d(() =>
|
|
75
|
+
let Ze = d(() => N.value.userOptions.useCursorPointer), Qe = d(() => i({
|
|
76
76
|
defaultConfig: {
|
|
77
77
|
userOptions: { show: !1 },
|
|
78
78
|
style: { chart: {
|
|
@@ -91,7 +91,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
91
91
|
FINAL_CONFIG: N,
|
|
92
92
|
prepareConfig: R,
|
|
93
93
|
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
94
|
-
skeletonConfig:
|
|
94
|
+
skeletonConfig: i({
|
|
95
95
|
defaultConfig: N.value,
|
|
96
96
|
userConfig: Qe.value
|
|
97
97
|
})
|
|
@@ -119,7 +119,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
119
119
|
elementId: k.value,
|
|
120
120
|
fileName: N.value.style.chart.title.text || "vue-ui-tiremarks",
|
|
121
121
|
options: N.value.userOptions.print
|
|
122
|
-
}), rt = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), V = x(N.value.style.chart.animation.use && !D.value ? 0 :
|
|
122
|
+
}), rt = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), V = x(N.value.style.chart.animation.use && !D.value ? 0 : a(F.value.percentage));
|
|
123
123
|
we(() => F.value, (e) => {
|
|
124
124
|
N.value.style.chart.animation.use && !D.value ? it(e.percentage) : V.value = e.percentage || 0;
|
|
125
125
|
}, { deep: !0 }), xe(() => {
|
|
@@ -134,7 +134,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
134
134
|
}
|
|
135
135
|
let at = d(() => N.value.debug);
|
|
136
136
|
function ot() {
|
|
137
|
-
if (
|
|
137
|
+
if (t(O.dataset) && s({
|
|
138
138
|
componentName: "VueUiTiremarks",
|
|
139
139
|
type: "dataset",
|
|
140
140
|
debug: at.value
|
|
@@ -273,7 +273,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
273
273
|
dataset: F.value
|
|
274
274
|
}));
|
|
275
275
|
}
|
|
276
|
-
let vt = d(() => `${k.value}-title`), yt = d(() => `${k.value}-desc`), $ = d(() =>
|
|
276
|
+
let vt = d(() => `${k.value}-title`), yt = d(() => `${k.value}-desc`), $ = d(() => o(N.value.style.chart.percentage.formatter, V.value, r({
|
|
277
277
|
v: V.value,
|
|
278
278
|
s: "%",
|
|
279
279
|
r: N.value.style.chart.percentage.rounding
|
|
@@ -456,7 +456,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
456
456
|
(b(), m("svg", {
|
|
457
457
|
ref_key: "svgRef",
|
|
458
458
|
ref: L,
|
|
459
|
-
xmlns: w(
|
|
459
|
+
xmlns: w(l),
|
|
460
460
|
class: _({
|
|
461
461
|
"vue-data-ui-fullscreen--on": X.value,
|
|
462
462
|
"vue-data-ui-fulscreen--off": !X.value
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, At as n, D as r, It as i, Jt as a, Nt as o, S as s, St as c, X as l, Xt as u, Z as d, i as f, lt as ee, nt as te, q as ne, r as re, t as ie, w as ae } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ce } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
5
|
+
import { t as le } from "./usePrinter-CEiH1b6R.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-
|
|
7
|
+
import { t as fe } from "./useNestedProp-CulPqtou.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as me } from "./useChartExport-DNiwdPmb.js";
|
|
10
10
|
import { t as he } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as ge } from "./img-
|
|
12
|
-
import { n as _e } from "./Title-
|
|
11
|
+
import { t as ge } from "./img-Bkzj3lDD.js";
|
|
12
|
+
import { n as _e } from "./Title-CaVA8EIw.js";
|
|
13
13
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as xe } from "./BaseIcon-
|
|
15
|
+
import { t as xe } from "./BaseIcon-BbElSC8_.js";
|
|
16
16
|
import { t as Se } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Ce } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Ce } from "./BaseLegendToggle-CtEdLr4R.js";
|
|
18
18
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as De } from "./Legend-
|
|
21
|
+
import { t as De } from "./Legend-BJtY2RA9.js";
|
|
22
22
|
import { t as Oe } from "./usePanZoom-CYU3B4T3.js";
|
|
23
23
|
import { t as ke } from "./vue_ui_treemap-DoEtkRN6.js";
|
|
24
24
|
import { Fragment as p, Teleport as Ae, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as Pe, guardReactiveProps as y, mergeProps as Fe, nextTick as Ie, normalizeClass as Le, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Re, onMounted as ze, openBlock as S, ref as C, renderList as Be, renderSlot as w, resolveDynamicComponent as Ve, shallowRef as T, toDisplayString as He, toRefs as Ue, unref as E, useCssVars as We, useSlots as Ge, watch as D, withCtx as O, withKeys as Ke, withModifiers as qe } from "vue";
|
|
@@ -262,7 +262,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
262
262
|
],
|
|
263
263
|
setup(e, { expose: ve, emit: Je }) {
|
|
264
264
|
We((e) => ({ v16bf5434: vi.value }));
|
|
265
|
-
let Ye = Pe(() => import("./DataTable-
|
|
265
|
+
let Ye = Pe(() => import("./DataTable-CmyEubtT.js")), Xe = Pe(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Ze = Pe(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), $e = Pe(() => import("./Tooltip-CVxJe3UW.js")), et = Pe(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), tt = Pe(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), nt = Pe(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_treemap: rt } = ce(), { isThemeValid: it, warnInvalidTheme: at } = pe(), k = e, ot = Je, Ft = Ge(), It = m(() => !!k.dataset && k.dataset.length), Lt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = C(ne()), Rt = C(!1), zt = C(""), j = C(!1), Bt = C(0), M = C([]), N = T(null), Vt = T(null), Ht = T(null), Ut = T(null), Wt = T(null), Gt = C(0), Kt = C(0), qt = C(0), P = C([]), Jt = C(null), Yt = C(!1), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(/* @__PURE__ */ new Map()), F = C(null), en = C({
|
|
266
266
|
x: 0,
|
|
267
267
|
y: 0
|
|
268
268
|
}), tn = C("pointer"), nn = C(!1), I = C(dn());
|
|
@@ -293,7 +293,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
293
293
|
let { transitionEnabled: rn } = he({
|
|
294
294
|
config: () => I.value.transitions,
|
|
295
295
|
dataset: () => k.dataset
|
|
296
|
-
}), L = m(() => I.value.userOptions.useCursorPointer), an = m(() =>
|
|
296
|
+
}), L = m(() => I.value.userOptions.useCursorPointer), an = m(() => u({
|
|
297
297
|
defaultConfig: {
|
|
298
298
|
userOptions: { show: !1 },
|
|
299
299
|
style: { chart: {
|
|
@@ -345,7 +345,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
345
345
|
}
|
|
346
346
|
]
|
|
347
347
|
}],
|
|
348
|
-
skeletonConfig:
|
|
348
|
+
skeletonConfig: u({
|
|
349
349
|
defaultConfig: I.value,
|
|
350
350
|
userConfig: an.value
|
|
351
351
|
})
|
|
@@ -366,7 +366,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
366
366
|
});
|
|
367
367
|
return {
|
|
368
368
|
...r,
|
|
369
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
369
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || i
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
D(() => k.config, (e) => {
|
|
@@ -376,7 +376,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
376
376
|
elementId: `treemap_${A.value}`,
|
|
377
377
|
fileName: I.value.style.chart.title.text || "vue-ui-treemap",
|
|
378
378
|
options: I.value.userOptions.print
|
|
379
|
-
}), gn = m(() => I.value.userOptions.show && !I.value.style.chart.title.text), _n = m(() =>
|
|
379
|
+
}), gn = m(() => I.value.userOptions.show && !I.value.style.chart.title.text), _n = m(() => ae(I.value.customPalette)), B = C({
|
|
380
380
|
showTable: I.value.table.show,
|
|
381
381
|
showTooltip: I.value.style.chart.tooltip.show,
|
|
382
382
|
showZoom: I.value.style.chart.zoom?.show ?? !1
|
|
@@ -414,7 +414,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
414
414
|
vbHeight: n - r,
|
|
415
415
|
offsetY: r
|
|
416
416
|
};
|
|
417
|
-
}), H = C(
|
|
417
|
+
}), H = C(d(on.value)), U = C(H.value), xn = T(/* @__PURE__ */ new Map());
|
|
418
418
|
D([H, () => I.value], () => {
|
|
419
419
|
Qt.value = null, $t.value = /* @__PURE__ */ new Map();
|
|
420
420
|
}, { deep: !0 }), D(() => M.value, () => {
|
|
@@ -424,14 +424,14 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
424
424
|
});
|
|
425
425
|
function Sn(e) {
|
|
426
426
|
Array.isArray(e) && e.forEach((e, t) => {
|
|
427
|
-
e.id ||=
|
|
428
|
-
let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] ||
|
|
427
|
+
e.id ||= ne(), e.sourceColor === void 0 && (e.sourceColor = s(e.color) || null);
|
|
428
|
+
let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || i[t] || i[t % i.length];
|
|
429
429
|
n = s(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
function Cn(e, t) {
|
|
433
433
|
Array.isArray(e.children) && e.children.forEach((n) => {
|
|
434
|
-
n.id ||=
|
|
434
|
+
n.id ||= ne(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = s(n.color) || null);
|
|
435
435
|
let r = n.sourceColor || t;
|
|
436
436
|
n.color = r, Cn(n, r);
|
|
437
437
|
});
|
|
@@ -460,7 +460,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
460
460
|
U.value = [n];
|
|
461
461
|
}
|
|
462
462
|
D(() => on.value, () => {
|
|
463
|
-
H.value =
|
|
463
|
+
H.value = d(on.value), Sn(H.value), Tn(), qt.value += 1, Kt.value += 1;
|
|
464
464
|
}, {
|
|
465
465
|
deep: !0,
|
|
466
466
|
immediate: !0,
|
|
@@ -475,11 +475,11 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
475
475
|
Ft["chart-background"] && Dn.value && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
476
476
|
});
|
|
477
477
|
function On() {
|
|
478
|
-
if (
|
|
478
|
+
if (o(k.dataset) && te({
|
|
479
479
|
componentName: "VueUiTreemap",
|
|
480
480
|
type: "dataset",
|
|
481
481
|
debug: Dn.value
|
|
482
|
-
}), Sn(H.value),
|
|
482
|
+
}), Sn(H.value), o(k.dataset) || (sn.value = I.value.loading), I.value.responsive) {
|
|
483
483
|
let e = ye(() => {
|
|
484
484
|
let { width: e, height: t } = be({
|
|
485
485
|
chart: N.value,
|
|
@@ -500,7 +500,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
500
500
|
});
|
|
501
501
|
let kn = m(() => U.value.map((e, t) => ({
|
|
502
502
|
...e,
|
|
503
|
-
color: s(e.color) || _n.value[t] ||
|
|
503
|
+
color: s(e.color) || _n.value[t] || i[t] || i[t % i.length]
|
|
504
504
|
})).filter((e) => !M.value.includes(e.id))), An = m(() => H.value.filter((e) => !M.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), jn = m({
|
|
505
505
|
get() {
|
|
506
506
|
let e = [...kn.value];
|
|
@@ -513,9 +513,9 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
513
513
|
function Mn(e, t) {
|
|
514
514
|
return e.value / t;
|
|
515
515
|
}
|
|
516
|
-
function Nn(e, t,
|
|
517
|
-
let
|
|
518
|
-
return
|
|
516
|
+
function Nn(e, t, r) {
|
|
517
|
+
let i = I.value.style.chart.layout.rects.colorRatio - Mn(t, r);
|
|
518
|
+
return n(e, i < 0 ? 0 : i);
|
|
519
519
|
}
|
|
520
520
|
function Pn(e) {
|
|
521
521
|
return Array.isArray(e.children) && e.children.length > 0;
|
|
@@ -528,9 +528,9 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
528
528
|
return (Number(t.value) || 0) - i;
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
|
-
function In(e, t, n, r,
|
|
532
|
-
return Fn(e).map((e,
|
|
533
|
-
let c = e.sourceColor || s(e.color) || s(t) || _n.value[
|
|
531
|
+
function In(e, t, n, r, a) {
|
|
532
|
+
return Fn(e).map((e, o) => {
|
|
533
|
+
let c = e.sourceColor || s(e.color) || s(t) || _n.value[o] || i[o] || i[o % i.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, r), u = Mn(e, r), d = a ?? e.parentId ?? e.id, f = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
|
|
534
534
|
return {
|
|
535
535
|
...e,
|
|
536
536
|
color: l,
|
|
@@ -583,10 +583,10 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
583
583
|
let Vn = m(() => {
|
|
584
584
|
let e = U.value.length ? U.value : jn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
|
|
585
585
|
return Bn(e.map((e, n) => {
|
|
586
|
-
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children:
|
|
586
|
+
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...o } = e, c = e.sourceColor || s(e.color) || xn.value.get(e.id) || _n.value[n] || i[n] || i[n % i.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, t);
|
|
587
587
|
return {
|
|
588
|
-
...
|
|
589
|
-
id: e.id ||
|
|
588
|
+
...o,
|
|
589
|
+
id: e.id || ne(),
|
|
590
590
|
parentId: e.parentId ?? null,
|
|
591
591
|
name: e.name,
|
|
592
592
|
value: e.value,
|
|
@@ -635,7 +635,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
637
|
function Kn(e, t) {
|
|
638
|
-
return
|
|
638
|
+
return f(I.value.style.chart.layout.labels.formatter, e.value, l({
|
|
639
639
|
p: I.value.style.chart.layout.labels.prefix,
|
|
640
640
|
v: e.value,
|
|
641
641
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -767,7 +767,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
767
767
|
return e;
|
|
768
768
|
}), Z = T(null), or = m(() => H.value.map((e, t) => ({
|
|
769
769
|
...e,
|
|
770
|
-
color: s(e.color) || _n.value[t] ||
|
|
770
|
+
color: s(e.color) || _n.value[t] || i[t] || i[t % i.length],
|
|
771
771
|
shape: "square"
|
|
772
772
|
})).sort((e, t) => t.value - e.value).map((e, t) => {
|
|
773
773
|
let n = e.value / H.value.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
@@ -777,7 +777,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
777
777
|
isSegregated: M.value.includes(e.id),
|
|
778
778
|
segregate: () => ur(e),
|
|
779
779
|
opacity: M.value.includes(e.id) ? .5 : 1,
|
|
780
|
-
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ?
|
|
780
|
+
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? f(I.value.style.chart.layout.labels.formatter, e.value, l({
|
|
781
781
|
p: I.value.style.chart.layout.labels.prefix,
|
|
782
782
|
v: e.value,
|
|
783
783
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -830,7 +830,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
830
830
|
series: kn.value
|
|
831
831
|
};
|
|
832
832
|
let r = I.value.style.chart.tooltip.customFormat;
|
|
833
|
-
if (
|
|
833
|
+
if (c(r) && ee(() => r({
|
|
834
834
|
seriesIndex: t,
|
|
835
835
|
datapoint: e,
|
|
836
836
|
series: kn.value,
|
|
@@ -843,7 +843,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
843
843
|
});
|
|
844
844
|
else {
|
|
845
845
|
let n = "";
|
|
846
|
-
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${
|
|
846
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${f(I.value.style.chart.layout.labels.formatter, e.value, l({
|
|
847
847
|
p: I.value.style.chart.layout.labels.prefix,
|
|
848
848
|
v: e.value,
|
|
849
849
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -864,7 +864,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
864
864
|
}));
|
|
865
865
|
function _r(e = null) {
|
|
866
866
|
Ie(() => {
|
|
867
|
-
let
|
|
867
|
+
let n = Q.value.head.map((e, t) => [
|
|
868
868
|
[e.name],
|
|
869
869
|
[Q.value.body[t]],
|
|
870
870
|
[isNaN(Q.value.body[t] / An.value) ? "-" : Q.value.body[t] / An.value * 100]
|
|
@@ -876,7 +876,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
876
876
|
["val"],
|
|
877
877
|
["%"]
|
|
878
878
|
]
|
|
879
|
-
].concat(
|
|
879
|
+
].concat(n), a = r(i);
|
|
880
880
|
e ? e(a) : t({
|
|
881
881
|
csvContent: a,
|
|
882
882
|
title: I.value.style.chart.title.text || "vue-ui-treemap"
|
|
@@ -889,7 +889,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
889
889
|
I.value.table.columnNames.value,
|
|
890
890
|
I.value.table.columnNames.percentage
|
|
891
891
|
], t = Q.value.head.map((e, t) => {
|
|
892
|
-
let n =
|
|
892
|
+
let n = f(I.value.style.chart.layout.labels.formatter, Q.value.body[t], l({
|
|
893
893
|
p: I.value.style.chart.layout.labels.prefix,
|
|
894
894
|
v: Q.value.body[t],
|
|
895
895
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -902,7 +902,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
902
902
|
shape: "square"
|
|
903
903
|
},
|
|
904
904
|
n,
|
|
905
|
-
isNaN(Q.value.body[t] / An.value) ? "-" :
|
|
905
|
+
isNaN(Q.value.body[t] / An.value) ? "-" : l({
|
|
906
906
|
v: Q.value.body[t] / An.value * 100,
|
|
907
907
|
s: "%",
|
|
908
908
|
r: I.value.table.td.roundingPercentage
|
|
@@ -1067,7 +1067,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1067
1067
|
};
|
|
1068
1068
|
}
|
|
1069
1069
|
function ti(e) {
|
|
1070
|
-
return
|
|
1070
|
+
return re(e.color ?? I.value.style.chart.backgroundColor);
|
|
1071
1071
|
}
|
|
1072
1072
|
function ni({ availableHeight: e, lineHeight: t, lineIndex: n }) {
|
|
1073
1073
|
if (n === 0) return Infinity;
|
|
@@ -1434,7 +1434,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1434
1434
|
(S(), _("svg", {
|
|
1435
1435
|
ref_key: "svgRef",
|
|
1436
1436
|
ref: z,
|
|
1437
|
-
xmlns: E(
|
|
1437
|
+
xmlns: E(ie),
|
|
1438
1438
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1439
1439
|
class: Le({
|
|
1440
1440
|
"vue-data-ui-fullscreen--on": j.value,
|
|
@@ -1467,7 +1467,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1467
1467
|
1
|
|
1468
1468
|
], [
|
|
1469
1469
|
"100%",
|
|
1470
|
-
E(
|
|
1470
|
+
E(n)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100),
|
|
1471
1471
|
1
|
|
1472
1472
|
]]
|
|
1473
1473
|
}, null, 8, ["id", "stops"])])) : g("", !0)]))), 128)),
|
|
@@ -1545,7 +1545,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1545
1545
|
shouldShow: zn(t) || $n.value,
|
|
1546
1546
|
fontSize: Xn(t, n),
|
|
1547
1547
|
isZoom: $n.value,
|
|
1548
|
-
textColor: E(
|
|
1548
|
+
textColor: E(re)(t.color)
|
|
1549
1549
|
}), void 0, !0, 0)])], 8, Et))]))), 128))])) : g("", !0)
|
|
1550
1550
|
]),
|
|
1551
1551
|
w(e.$slots, "svg", b(y({
|
|
@@ -1641,7 +1641,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1641
1641
|
parent: N.value,
|
|
1642
1642
|
content: zt.value,
|
|
1643
1643
|
isFullscreen: j.value,
|
|
1644
|
-
isCustom: E(
|
|
1644
|
+
isCustom: E(c)(I.value.style.chart.tooltip.customFormat),
|
|
1645
1645
|
smooth: I.value.style.chart.tooltip.smooth,
|
|
1646
1646
|
backdropFilter: I.value.style.chart.tooltip.backdropFilter,
|
|
1647
1647
|
smoothForce: I.value.style.chart.tooltip.smoothForce,
|