vue-data-ui 3.9.11 → 3.9.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-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-DPLuuWzw.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.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-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-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-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-B2w3blNC.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Cpp-5jo0.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BH8z1r48.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-CmLA4Lxs.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-IspjAN-a.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-9mdO6mvP.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-CC1bTcaA.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-B0pp0mDm.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-CWhq37at.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-DOWNTk2K.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-DlLdvPIA.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-BRAyn8IO.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-C95OcKhs.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-L8fXdkQm.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-CPnYumnP.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-BPnUog47.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-BjtDkIAw.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-CHqgIzG0.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-C3O4GHZF.js → vue-ui-geo-Befu6fkT.js} +20 -20
- package/dist/{vue-ui-gizmo-Dr0gsAOM.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BBshmoO7.js → vue-ui-heatmap-C_ze3bzX.js} +80 -80
- package/dist/{vue-ui-history-plot-BiUyd40D.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-BDtke67D.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-DH-sHfQ-.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-BWASgbMe.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-4ey-UxN-.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-40DoblSj.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-BIV0-SLG.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-Dvuwg4h7.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-CZgZOWsW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-BfoE3AZN.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-EVMDQTCn.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-BO-JV7Qz.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-B0wMY8Cu.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-CyjpTjlf.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-C8Aq8dTp.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-B1pD2N9Z.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-DFlGdgrX.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BMRbWZ_X.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-jI9-0GyS.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-DLB7uHga.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-E8mYJ8eg.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-zhHYnvVo.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-rFr4hLbc.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-DA8uwUaL.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-CldDVgkf.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-D3XfL4kK.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-CU86DLRC.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-CPZBXUbs.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-CLiEtCKe.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-Dht5s1nE.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BQM8XJln.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-CX-gWpDL.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-dolAsuyP.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-su4gjhTo.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-BSBAegJ1.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-BjSuCwQE.js +0 -2078
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useCssVars as Ge, computed as h, defineAsyncComponent as G, ref as v, onMounted as Xe, toRefs as Je, watch as Ke, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as fe, normalizeClass as W, createBlock as D, createCommentVNode as i, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as k, createSlots as Qe, createVNode as Ze, createElementVNode as g, Fragment as U, renderList as ge, toDisplayString as et } from "vue";
|
|
2
|
-
import { c as tt, t as ot, o as st, g as
|
|
2
|
+
import { c as tt, t as ot, o as st, g as me, l as lt, i as at, j as S, k as rt, U as b, m as N, X as nt, s as ut, a as it, d as ct } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as ht, u as dt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as vt, a as X } from "./useNestedProp-
|
|
4
|
+
import { u as vt, a as X } from "./useNestedProp--5lL-kf1.js";
|
|
5
5
|
import { u as ft, B as gt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
6
|
+
import { u as mt } from "./usePrinter-BJzHDpYF.js";
|
|
7
|
+
import { u as yt } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as pt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import { u as wt } from "./useAutoSizeLabelsInsideViewbox-
|
|
12
|
-
import Ct from "./Title-
|
|
13
|
-
import xt from "./img-
|
|
11
|
+
import { u as wt } from "./useAutoSizeLabelsInsideViewbox-DO2dxQ78.js";
|
|
12
|
+
import Ct from "./Title-BhURirpm.js";
|
|
13
|
+
import xt from "./img-DKigoPDs.js";
|
|
14
14
|
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const
|
|
15
|
+
const ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", graduations: { stroke: "#FFF8E1", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", graduations: { stroke: "#5D4037", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, be = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", graduations: { stroke: "#1A1A1A", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#66CC66" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, we = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", graduations: { show: !1, gradient: { show: !0 } }, label: { color: "#B9B99D" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", graduations: { stroke: "#1A1A1A", gradient: { show: !0 } }, label: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, xe = {
|
|
16
16
|
default: {},
|
|
17
|
-
dark:
|
|
17
|
+
dark: ye,
|
|
18
18
|
celebration: pe,
|
|
19
19
|
celebrationNight: ke,
|
|
20
20
|
hack: be,
|
|
@@ -25,7 +25,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
25
25
|
celebration: pe,
|
|
26
26
|
celebrationNight: ke,
|
|
27
27
|
concrete: Ce,
|
|
28
|
-
dark:
|
|
28
|
+
dark: ye,
|
|
29
29
|
default: xe,
|
|
30
30
|
hack: be,
|
|
31
31
|
zen: we
|
|
@@ -59,12 +59,12 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
59
59
|
v7fdfff1a: Be.value,
|
|
60
60
|
b092daf2: ze.value
|
|
61
61
|
}));
|
|
62
|
-
const Ae = G(() => import("./PackageVersion-
|
|
62
|
+
const Ae = G(() => import("./PackageVersion-D3cMhAlf.js")), $e = G(() => import("./PenAndPaper-DxIUvoQ8.js")), Fe = G(() => import("./UserOptions-CzJWRC4s.js")), { vue_ui_thermometer: Oe } = vt(), { isThemeValid: Se, warnInvalidTheme: Ie } = pt(), m = I, w = v(tt()), C = v(null), J = v(0), K = v(0), Q = v(null), Z = v(null), _ = v(null), P = v(null), Pe = h(() => !!m.dataset && Object.keys(m.dataset).length);
|
|
63
63
|
Xe(() => {
|
|
64
64
|
oe();
|
|
65
65
|
});
|
|
66
66
|
const e = v(V()), Te = v(e.value.style.chart.thermometer.width), L = v(e.value.style.chart.height), Y = v(e.value.style.chart.width), { loading: ee, FINAL_DATASET: c } = ft({
|
|
67
|
-
...Je(
|
|
67
|
+
...Je(m),
|
|
68
68
|
FINAL_CONFIG: e,
|
|
69
69
|
prepareConfig: V,
|
|
70
70
|
skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
|
|
@@ -85,15 +85,15 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
85
85
|
})
|
|
86
86
|
}), te = h(() => !!e.value.debug);
|
|
87
87
|
function oe() {
|
|
88
|
-
if (st(
|
|
88
|
+
if (st(m.dataset) ? me({
|
|
89
89
|
componentName: "VueUiThermometer",
|
|
90
90
|
type: "dataset",
|
|
91
91
|
debug: te.value
|
|
92
92
|
}) : lt({
|
|
93
|
-
datasetObject:
|
|
93
|
+
datasetObject: m.dataset,
|
|
94
94
|
requiredAttributes: ["value", "from", "to"]
|
|
95
95
|
}).forEach((o) => {
|
|
96
|
-
|
|
96
|
+
me({
|
|
97
97
|
componentName: "VueUiThermometer",
|
|
98
98
|
type: "datasetAttribute",
|
|
99
99
|
property: o,
|
|
@@ -117,17 +117,17 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
117
117
|
const { userOptionsVisible: H, setUserOptionsVisibility: se, keepUserOptionState: le } = kt({ config: e.value }), { svgRef: T } = bt({ config: e.value.style.title });
|
|
118
118
|
function V() {
|
|
119
119
|
const o = X({
|
|
120
|
-
userConfig:
|
|
120
|
+
userConfig: m.config,
|
|
121
121
|
defaultConfig: Oe
|
|
122
122
|
}), l = o.theme;
|
|
123
123
|
if (!l) return o;
|
|
124
124
|
if (!Se.value(o))
|
|
125
125
|
return Ie(o), o;
|
|
126
126
|
const t = X({
|
|
127
|
-
userConfig: xe[l] ||
|
|
127
|
+
userConfig: xe[l] || m.config,
|
|
128
128
|
defaultConfig: o
|
|
129
129
|
}), a = X({
|
|
130
|
-
userConfig:
|
|
130
|
+
userConfig: m.config,
|
|
131
131
|
defaultConfig: t
|
|
132
132
|
});
|
|
133
133
|
return {
|
|
@@ -135,14 +135,14 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
135
135
|
customPalette: a.customPalette.length ? a.customPalette : at[l] || S
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
Ke(() =>
|
|
138
|
+
Ke(() => m.config, (o) => {
|
|
139
139
|
e.value = V(), H.value = !e.value.userOptions.showOnChartHover, Te.value = e.value.style.chart.thermometer.width, L.value = e.value.style.chart.height, Y.value = e.value.style.chart.width, oe(), K.value += 1;
|
|
140
140
|
}, { deep: !0 });
|
|
141
|
-
const { isPrinting: ae, isImaging: re, generatePdf: ne, generateImage: ue } =
|
|
141
|
+
const { isPrinting: ae, isImaging: re, generatePdf: ne, generateImage: ue } = mt({
|
|
142
142
|
elementId: `thermometer__${w.value}`,
|
|
143
143
|
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
144
144
|
options: e.value.userOptions.print
|
|
145
|
-
}), Ee = h(() => e.value.userOptions.show && !e.value.style.title.text), E = h(() => rt(e.value.customPalette)),
|
|
145
|
+
}), Ee = h(() => e.value.userOptions.show && !e.value.style.title.text), E = h(() => rt(e.value.customPalette)), y = h(() => c.value.steps || 10);
|
|
146
146
|
function M(o, l, t) {
|
|
147
147
|
const a = [], x = ie(o), F = ie(l);
|
|
148
148
|
for (let O = 0; O < t; O++) {
|
|
@@ -184,25 +184,25 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
184
184
|
}), ze = h(() => `${z.value}px`), Be = h(() => `${s.value.thermoHeight}px`), We = h(() => `${e.value.style.chart.animation.speedMs}ms`), De = h(() => {
|
|
185
185
|
if (c.value.colors) {
|
|
186
186
|
if (!c.value.colors.from)
|
|
187
|
-
return M(E.value[0] || S[0], N(c.value.colors.to),
|
|
187
|
+
return M(E.value[0] || S[0], N(c.value.colors.to), y.value || 10);
|
|
188
188
|
if (!c.value.colors.to)
|
|
189
|
-
return M(N(c.value.colors.from), E.value[1] || S[1],
|
|
189
|
+
return M(N(c.value.colors.from), E.value[1] || S[1], y.value || 10);
|
|
190
190
|
} else
|
|
191
|
-
return M(E.value[1] || S[1], E.value[0] || S[0],
|
|
192
|
-
return M(N(c.value.colors.from), N(c.value.colors.to),
|
|
191
|
+
return M(E.value[1] || S[1], E.value[0] || S[0], y.value || 10);
|
|
192
|
+
return M(N(c.value.colors.from), N(c.value.colors.to), y.value || 10);
|
|
193
193
|
}), ce = h(() => {
|
|
194
194
|
const o = [];
|
|
195
195
|
let l = 0;
|
|
196
196
|
const t = s.value.thermoHeight;
|
|
197
|
-
for (let a = 0; a < t - 1; a += t /
|
|
197
|
+
for (let a = 0; a < t - 1; a += t / y.value)
|
|
198
198
|
o.push({
|
|
199
199
|
x: s.value.left,
|
|
200
200
|
y: s.value.top + a,
|
|
201
|
-
qYLess: s.value.top + a + t /
|
|
202
|
-
halfY: s.value.top + a + t /
|
|
203
|
-
qYMore: s.value.top + a + t /
|
|
201
|
+
qYLess: s.value.top + a + t / y.value / 4,
|
|
202
|
+
halfY: s.value.top + a + t / y.value / 2,
|
|
203
|
+
qYMore: s.value.top + a + t / y.value / 4 * 3,
|
|
204
204
|
color: De.value[l],
|
|
205
|
-
height: Math.max(0.1, t /
|
|
205
|
+
height: Math.max(0.1, t / y.value)
|
|
206
206
|
}), l += 1;
|
|
207
207
|
return o;
|
|
208
208
|
}), A = v(!1);
|
|
@@ -234,7 +234,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
|
|
|
234
234
|
minFontSize: e.value.style.chart.label.minFontSize,
|
|
235
235
|
sizeRef: $,
|
|
236
236
|
labelClass: ".vue-ui-thermometer-label"
|
|
237
|
-
}), Ne = h(() => e.value.style.chart.backgroundColor), Le = h(() => e.value.style.title), { exportSvg: Ye, getSvg: He } =
|
|
237
|
+
}), Ne = h(() => e.value.style.chart.backgroundColor), Le = h(() => e.value.style.title), { exportSvg: Ye, getSvg: He } = yt({
|
|
238
238
|
svg: T,
|
|
239
239
|
title: Le,
|
|
240
240
|
backgroundColor: Ne
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne, a as ce } from "./useNestedProp-
|
|
3
|
-
import { c as ve, X as de,
|
|
2
|
+
import { u as ne, a as ce } from "./useNestedProp--5lL-kf1.js";
|
|
3
|
+
import { c as ve, X as de, a2 as X } from "./lib-BwysEpWI.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-BhURirpm.js";
|
|
7
|
+
import R from "./BaseIcon-4i3dd7Ty.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
10
|
constructor(L, N, S, j = !0, A = !0) {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: N }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-D3cMhAlf.js")), { vue_ui_timer: j } = ne(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as d, ref as h, toRefs as He, watch as ve, onMounted as Re, createElementBlock as i, openBlock as r, unref as n, normalizeStyle as X, normalizeClass as V, createBlock as N, createCommentVNode as k, withCtx as f, renderSlot as u, normalizeProps as b, guardReactiveProps as C, createSlots as Ue, createVNode as je, Fragment as he, renderList as de, toDisplayString as Le } from "vue";
|
|
2
|
-
import { c as Ge, t as Xe,
|
|
2
|
+
import { c as Ge, t as Xe, U as Ve, o as Ye, g as qe, h as fe, X as We, a as Je, d as Ke } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as et, a as Y } from "./useNestedProp-
|
|
4
|
+
import { u as et, a as Y } from "./useNestedProp--5lL-kf1.js";
|
|
5
5
|
import { u as tt, B as at } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
-
import { u as ot } from "./usePrinter-
|
|
6
|
+
import { u as ot } from "./usePrinter-BJzHDpYF.js";
|
|
7
7
|
import { u as lt } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as nt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as rt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import it from "./Title-
|
|
12
|
-
import ut from "./img-
|
|
11
|
+
import it from "./Title-BhURirpm.js";
|
|
12
|
+
import ut from "./img-DKigoPDs.js";
|
|
13
13
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { inactiveColor: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, pe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { crescendo: !1, inactiveColor: "#333333", activeColor: "#66CC66", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { crescendo: !0, curved: !0, curveAngleX: 5, curveAngleY: 5, inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, be = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { crescendo: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", ticks: { gradient: { shiftHueIntensity: 10 } } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, Ce = {
|
|
15
15
|
default: {},
|
|
@@ -48,7 +48,7 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
setup(Ae, { expose: we }) {
|
|
51
|
-
const $e = G(() => import("./PenAndPaper-
|
|
51
|
+
const $e = G(() => import("./PenAndPaper-DxIUvoQ8.js")), _e = G(() => import("./UserOptions-CzJWRC4s.js")), Oe = G(() => import("./PackageVersion-D3cMhAlf.js")), { vue_ui_tiremarks: Se } = et(), { isThemeValid: xe, warnInvalidTheme: Ie } = nt(), A = Ae, Pe = d(() => !!A.dataset && Object.keys(A.dataset).length), M = h(Ge()), O = h(null), Fe = h(null), q = h(null), W = h(null), J = h(0), K = h(0), S = h(null), P = h(null), e = h(j()), { loading: Q, FINAL_DATASET: H } = tt({
|
|
52
52
|
...He(A),
|
|
53
53
|
FINAL_CONFIG: e,
|
|
54
54
|
prepareConfig: j,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as Oe, useSlots as kl, onMounted as xo, computed as A, ref as $, shallowRef as me, toRefs as wl, watch as _e, onBeforeUnmount as Al, createElementBlock as T, openBlock as f, unref as m, normalizeStyle as be, normalizeClass as Ht, createBlock as Te, createCommentVNode as I, createElementVNode as U, createVNode as lt, withCtx as F, renderSlot as x, normalizeProps as
|
|
2
|
-
import { c as ut, t as Sl, i as Fl,
|
|
1
|
+
import { defineAsyncComponent as Oe, useSlots as kl, onMounted as xo, computed as A, ref as $, shallowRef as me, toRefs as wl, watch as _e, onBeforeUnmount as Al, createElementBlock as T, openBlock as f, unref as m, normalizeStyle as be, normalizeClass as Ht, createBlock as Te, createCommentVNode as I, createElementVNode as U, createVNode as lt, withCtx as F, renderSlot as x, normalizeProps as Z, guardReactiveProps as J, createSlots as $o, Fragment as je, renderList as at, withKeys as To, withModifiers as Vt, mergeProps as nt, createTextVNode as st, toDisplayString as rt, Teleport as xl, resolveDynamicComponent as $l, nextTick as Tl } from "vue";
|
|
2
|
+
import { c as ut, t as Sl, i as Fl, j, k as Ml, o as So, g as Ol, m as Ye, a as it, d as Xe, X as Wt, q as ct, x as dt, y as Fo, v as _l, r as Bl, aw as vt, ax as Ut, _ as Dl } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as El, u as Ll } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Il, a as jt } from "./useNestedProp-
|
|
4
|
+
import { u as Il, a as jt } from "./useNestedProp--5lL-kf1.js";
|
|
5
5
|
import { u as Pl, B as Rl } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
-
import { u as Nl } from "./usePrinter-
|
|
6
|
+
import { u as Nl } from "./usePrinter-BJzHDpYF.js";
|
|
7
7
|
import { u as zl } from "./useThemeCheck-DGJ31Vi5.js";
|
|
8
8
|
import { u as Hl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import Wl from "./img-
|
|
11
|
-
import Ul from "./Title-
|
|
12
|
-
import jl from "./Legend-
|
|
13
|
-
import Mo from "./BaseIcon-
|
|
10
|
+
import Wl from "./img-DKigoPDs.js";
|
|
11
|
+
import Ul from "./Title-BhURirpm.js";
|
|
12
|
+
import jl from "./Legend-D6z73edh.js";
|
|
13
|
+
import Mo from "./BaseIcon-4i3dd7Ty.js";
|
|
14
14
|
import { u as Yl } from "./useSvgExport-ByUukOZt.js";
|
|
15
15
|
import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
function Oo(r, p) {
|
|
@@ -65,7 +65,7 @@ function Bo(r, p) {
|
|
|
65
65
|
};
|
|
66
66
|
return Eo(d);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Kl(r) {
|
|
69
69
|
return (r.x1 - r.x0) * (r.y1 - r.y0);
|
|
70
70
|
}
|
|
71
71
|
function Do(r, p) {
|
|
@@ -96,7 +96,7 @@ function Do(r, p) {
|
|
|
96
96
|
return Y;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Zl(r) {
|
|
100
100
|
const p = Yt(r), d = p.width, g = p.height;
|
|
101
101
|
return Math.min(d, g);
|
|
102
102
|
}
|
|
@@ -126,7 +126,7 @@ function Ql(r, p, d, g) {
|
|
|
126
126
|
const Y = Do(b, y);
|
|
127
127
|
return M.concat(Y);
|
|
128
128
|
}
|
|
129
|
-
const Ce =
|
|
129
|
+
const Ce = Zl(y), le = v[0], ce = v.slice(1, k);
|
|
130
130
|
if (ql(b, le, Ce)) {
|
|
131
131
|
const Y = b.concat(le);
|
|
132
132
|
v = ce, b = Y, y = y, M = M;
|
|
@@ -146,7 +146,7 @@ function Eo(r) {
|
|
|
146
146
|
{
|
|
147
147
|
const p = Jl(
|
|
148
148
|
r.children,
|
|
149
|
-
|
|
149
|
+
Kl(r)
|
|
150
150
|
), d = Ql(p, [], r, []), g = d.length, v = [];
|
|
151
151
|
for (let y = 0; y < g; y += 1)
|
|
152
152
|
v.push(Eo(d[y]));
|
|
@@ -217,11 +217,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
217
217
|
},
|
|
218
218
|
emits: ["selectLegend", "selectDatapoint"],
|
|
219
219
|
setup(r, { expose: p, emit: d }) {
|
|
220
|
-
const g = Oe(() => import("./DataTable-
|
|
220
|
+
const g = Oe(() => import("./DataTable-WrXCJkfE.js")), v = Oe(() => import("./PenAndPaper-DxIUvoQ8.js")), b = Oe(() => import("./vue-ui-accordion-tQNKwbVi.js")), y = Oe(() => import("./Tooltip-TDyKgLB6.js")), M = Oe(() => import("./UserOptions-CzJWRC4s.js")), k = Oe(() => import("./PackageVersion-D3cMhAlf.js")), Ce = Oe(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_treemap: le } = Il(), { isThemeValid: ce, warnInvalidTheme: Y } = zl(), C = r, P = d, de = kl();
|
|
221
221
|
xo(() => {
|
|
222
222
|
de["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
223
223
|
});
|
|
224
|
-
const ke = A(() => !!C.dataset && C.dataset.length), ve = A(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), we = $(ut()), ht = $(!1), ft = $(""), Se = $(!1), Xt = $(0), V = $([]), ae = me(null), qt = me(null), Gt = me(null),
|
|
224
|
+
const ke = A(() => !!C.dataset && C.dataset.length), ve = A(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), we = $(ut()), ht = $(!1), ft = $(""), Se = $(!1), Xt = $(0), V = $([]), ae = me(null), qt = me(null), Gt = me(null), Kt = me(null), Zt = me(null), Jt = $(0), pt = $(0), gt = $(0), B = $([]), yt = $(null), Qt = $(!1), Pe = $(null), mt = $(null), Re = $(null), W = $(/* @__PURE__ */ new Map()), t = $(wt()), { loading: Fe, FINAL_DATASET: bt, manualLoading: Vo } = Pl({
|
|
225
225
|
...wl(C),
|
|
226
226
|
FINAL_CONFIG: t,
|
|
227
227
|
prepareConfig: wt,
|
|
@@ -391,8 +391,8 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
391
391
|
chart: ae.value,
|
|
392
392
|
title: t.value.style.chart.title.text ? qt.value : null,
|
|
393
393
|
legend: t.value.style.chart.legend.show ? Gt.value : null,
|
|
394
|
-
source:
|
|
395
|
-
noTitle:
|
|
394
|
+
source: Kt.value,
|
|
395
|
+
noTitle: Zt.value
|
|
396
396
|
});
|
|
397
397
|
requestAnimationFrame(() => {
|
|
398
398
|
Me.value.width = l, Me.value.height = o - 12;
|
|
@@ -428,7 +428,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
428
428
|
function co(e) {
|
|
429
429
|
return Array.isArray(e.children) && e.children.length > 0;
|
|
430
430
|
}
|
|
431
|
-
function
|
|
431
|
+
function Ko(e) {
|
|
432
432
|
return [...e].sort((l, o) => {
|
|
433
433
|
const a = co(l), n = co(o);
|
|
434
434
|
if (a !== n)
|
|
@@ -438,7 +438,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
440
|
function vo(e, l, o, a, n) {
|
|
441
|
-
return
|
|
441
|
+
return Ko(e).map((s, i) => {
|
|
442
442
|
const c = Go(
|
|
443
443
|
Ye(l) || qe.value[i] || j[i] || j[i % j.length],
|
|
444
444
|
s,
|
|
@@ -504,7 +504,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
504
504
|
};
|
|
505
505
|
return Bo(l, a);
|
|
506
506
|
});
|
|
507
|
-
function
|
|
507
|
+
function Zo(e) {
|
|
508
508
|
const l = B.value.length ? B.value[B.value.length - 1] : null, o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map();
|
|
509
509
|
for (const i of e) {
|
|
510
510
|
let c = tl(i.id);
|
|
@@ -549,7 +549,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
549
549
|
ancestorsByLeaf: a
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
|
-
const xt = A(() =>
|
|
552
|
+
const xt = A(() => Zo(ho.value)), Jo = A(() => {
|
|
553
553
|
const e = xt.value.wrappers;
|
|
554
554
|
return e.length ? e.filter((l) => Qo(l)) : [];
|
|
555
555
|
});
|
|
@@ -714,7 +714,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
714
714
|
paddingBottom: 12,
|
|
715
715
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
716
716
|
}));
|
|
717
|
-
function
|
|
717
|
+
function Ke(e) {
|
|
718
718
|
G.value = null, V.value.includes(e.id) ? V.value = V.value.filter((l) => l !== e.id) : V.value.length < C.dataset.length - 1 && V.value.push(e.id), P("selectLegend", At.value);
|
|
719
719
|
}
|
|
720
720
|
function po(e) {
|
|
@@ -725,11 +725,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
725
725
|
}
|
|
726
726
|
function al(e) {
|
|
727
727
|
const l = po(e);
|
|
728
|
-
l !== null && V.value.includes(l.id) &&
|
|
728
|
+
l !== null && V.value.includes(l.id) && Ke({ id: l.id });
|
|
729
729
|
}
|
|
730
730
|
function nl(e) {
|
|
731
731
|
const l = po(e);
|
|
732
|
-
l !== null && (V.value.includes(l.id) ||
|
|
732
|
+
l !== null && (V.value.includes(l.id) || Ke({ id: l.id }));
|
|
733
733
|
}
|
|
734
734
|
function sl({ datapoint: e, seriesIndex: l }) {
|
|
735
735
|
G.value = null, ht.value = !1, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: l });
|
|
@@ -781,7 +781,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
781
781
|
e ? e(a) : Bl({ csvContent: a, title: t.value.style.chart.title.text || "vue-ui-treemap" });
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
|
-
const
|
|
784
|
+
const Ze = A(() => {
|
|
785
785
|
const e = [
|
|
786
786
|
t.value.table.columnNames.series,
|
|
787
787
|
t.value.table.columnNames.value,
|
|
@@ -943,12 +943,12 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
943
943
|
{ datapoint: e, seriesIndex: l }
|
|
944
944
|
) : "", We = o ? gl(e) : S;
|
|
945
945
|
function $e(D, ee = c, Ue = "400") {
|
|
946
|
-
const
|
|
947
|
-
|
|
946
|
+
const K = document.createElementNS(Wt, "svg");
|
|
947
|
+
K.setAttribute("width", "0"), K.setAttribute("height", "0"), K.style.position = "absolute", K.style.visibility = "hidden", K.style.pointerEvents = "none";
|
|
948
948
|
const te = document.createElementNS(Wt, "text");
|
|
949
|
-
te.setAttribute("font-size", String(ee)), te.setAttribute("font-family", w), te.setAttribute("font-weight", String(Ue)), te.textContent = D || "",
|
|
949
|
+
te.setAttribute("font-size", String(ee)), te.setAttribute("font-family", w), te.setAttribute("font-weight", String(Ue)), te.textContent = D || "", K.appendChild(te), document.body.appendChild(K);
|
|
950
950
|
const et = te.getComputedTextLength();
|
|
951
|
-
return document.body.removeChild(
|
|
951
|
+
return document.body.removeChild(K), et;
|
|
952
952
|
}
|
|
953
953
|
if (o) {
|
|
954
954
|
let D = "";
|
|
@@ -963,7 +963,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
963
963
|
}
|
|
964
964
|
if (!ee)
|
|
965
965
|
return u && s && W.value.set(s, ""), "";
|
|
966
|
-
const Ue = $t(e),
|
|
966
|
+
const Ue = $t(e), K = typeof e.depth == "number" ? e.depth : 0, te = Ue * 1.4, et = typeof e.labelY0 == "number" ? e.labelY0 : e.y0 + K * te, Pt = e.x0 + i + c / 2, R = et + i + c, oe = `<text
|
|
967
967
|
x="${Pt}"
|
|
968
968
|
y="${R}"
|
|
969
969
|
font-size="${c}"
|
|
@@ -982,11 +982,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
982
982
|
const _t = n ? 1 : 0, Bt = Math.max(0, Math.floor(L / h) - _t);
|
|
983
983
|
if (Bt <= 0 && !n)
|
|
984
984
|
return u && s && W.value.set(s, ""), "";
|
|
985
|
-
function Dt(D, ee, Ue,
|
|
985
|
+
function Dt(D, ee, Ue, K, te, et) {
|
|
986
986
|
const Pt = String(D).split(/\s+/).filter(Boolean), R = [];
|
|
987
987
|
let oe = "";
|
|
988
988
|
function N(_) {
|
|
989
|
-
return $e(_, Ue,
|
|
989
|
+
return $e(_, Ue, K) <= ee;
|
|
990
990
|
}
|
|
991
991
|
function bl(_) {
|
|
992
992
|
if (N(_)) return [_];
|
|
@@ -1138,26 +1138,26 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1138
1138
|
x(e.$slots, "annotator-action-close", {}, void 0, !0)
|
|
1139
1139
|
]),
|
|
1140
1140
|
"annotator-action-color": F(({ color: o }) => [
|
|
1141
|
-
x(e.$slots, "annotator-action-color",
|
|
1141
|
+
x(e.$slots, "annotator-action-color", Z(J({ color: o })), void 0, !0)
|
|
1142
1142
|
]),
|
|
1143
1143
|
"annotator-action-draw": F(({ mode: o }) => [
|
|
1144
|
-
x(e.$slots, "annotator-action-draw",
|
|
1144
|
+
x(e.$slots, "annotator-action-draw", Z(J({ mode: o })), void 0, !0)
|
|
1145
1145
|
]),
|
|
1146
1146
|
"annotator-action-undo": F(({ disabled: o }) => [
|
|
1147
|
-
x(e.$slots, "annotator-action-undo",
|
|
1147
|
+
x(e.$slots, "annotator-action-undo", Z(J({ disabled: o })), void 0, !0)
|
|
1148
1148
|
]),
|
|
1149
1149
|
"annotator-action-redo": F(({ disabled: o }) => [
|
|
1150
|
-
x(e.$slots, "annotator-action-redo",
|
|
1150
|
+
x(e.$slots, "annotator-action-redo", Z(J({ disabled: o })), void 0, !0)
|
|
1151
1151
|
]),
|
|
1152
1152
|
"annotator-action-delete": F(({ disabled: o }) => [
|
|
1153
|
-
x(e.$slots, "annotator-action-delete",
|
|
1153
|
+
x(e.$slots, "annotator-action-delete", Z(J({ disabled: o })), void 0, !0)
|
|
1154
1154
|
]),
|
|
1155
1155
|
_: 3
|
|
1156
1156
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : I("", !0),
|
|
1157
1157
|
Wo.value ? (f(), T("div", {
|
|
1158
1158
|
key: 1,
|
|
1159
1159
|
ref_key: "noTitle",
|
|
1160
|
-
ref:
|
|
1160
|
+
ref: Zt,
|
|
1161
1161
|
class: "vue-data-ui-no-title-space",
|
|
1162
1162
|
style: "height:36px; width: 100%;background:transparent"
|
|
1163
1163
|
}, null, 512)) : I("", !0),
|
|
@@ -1225,7 +1225,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1225
1225
|
e.$slots.menuIcon ? {
|
|
1226
1226
|
name: "menuIcon",
|
|
1227
1227
|
fn: F(({ isOpen: o, color: a }) => [
|
|
1228
|
-
x(e.$slots, "menuIcon",
|
|
1228
|
+
x(e.$slots, "menuIcon", Z(J({ isOpen: o, color: a })), void 0, !0)
|
|
1229
1229
|
]),
|
|
1230
1230
|
key: "0"
|
|
1231
1231
|
} : void 0,
|
|
@@ -1274,14 +1274,14 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1274
1274
|
e.$slots.optionFullscreen ? {
|
|
1275
1275
|
name: "optionFullscreen",
|
|
1276
1276
|
fn: F(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
1277
|
-
x(e.$slots, "optionFullscreen",
|
|
1277
|
+
x(e.$slots, "optionFullscreen", Z(J({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
1278
1278
|
]),
|
|
1279
1279
|
key: "7"
|
|
1280
1280
|
} : void 0,
|
|
1281
1281
|
e.$slots.optionAnnotator ? {
|
|
1282
1282
|
name: "optionAnnotator",
|
|
1283
1283
|
fn: F(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
1284
|
-
x(e.$slots, "optionAnnotator",
|
|
1284
|
+
x(e.$slots, "optionAnnotator", Z(J({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
1285
1285
|
]),
|
|
1286
1286
|
key: "8"
|
|
1287
1287
|
} : void 0
|
|
@@ -1449,10 +1449,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1449
1449
|
], 4)
|
|
1450
1450
|
], 8, ma))
|
|
1451
1451
|
]))), 128)),
|
|
1452
|
-
x(e.$slots, "svg",
|
|
1452
|
+
x(e.$slots, "svg", Z(J({ svg: E.value, isZoom: Le.value, rect: G.value, config: t.value })), void 0, !0)
|
|
1453
1453
|
], 14, ua)),
|
|
1454
1454
|
e.$slots.watermark ? (f(), T("div", ba, [
|
|
1455
|
-
x(e.$slots, "watermark",
|
|
1455
|
+
x(e.$slots, "watermark", Z(J({ isPrinting: m(oo) || m(lo) })), void 0, !0)
|
|
1456
1456
|
])) : I("", !0),
|
|
1457
1457
|
U("div", {
|
|
1458
1458
|
id: `legend-bottom-${we.value}`
|
|
@@ -1470,12 +1470,12 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1470
1470
|
legendSet: Tt.value,
|
|
1471
1471
|
config: ll.value,
|
|
1472
1472
|
id: `treemap_legend_${we.value}`,
|
|
1473
|
-
onClickMarker: l[0] || (l[0] = ({ legend: o }) =>
|
|
1473
|
+
onClickMarker: l[0] || (l[0] = ({ legend: o }) => Ke(o))
|
|
1474
1474
|
}, {
|
|
1475
1475
|
item: F(({ legend: o, index: a }) => [
|
|
1476
1476
|
m(Fe) ? I("", !0) : (f(), T("div", {
|
|
1477
1477
|
key: 0,
|
|
1478
|
-
onClick: (n) =>
|
|
1478
|
+
onClick: (n) => Ke(o),
|
|
1479
1479
|
style: be(`opacity:${V.value.includes(o.id) ? 0.5 : 1}`)
|
|
1480
1480
|
}, rt(o.display), 13, ka))
|
|
1481
1481
|
]),
|
|
@@ -1489,7 +1489,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1489
1489
|
e.$slots.source ? (f(), T("div", {
|
|
1490
1490
|
key: 7,
|
|
1491
1491
|
ref_key: "source",
|
|
1492
|
-
ref:
|
|
1492
|
+
ref: Kt,
|
|
1493
1493
|
dir: "auto"
|
|
1494
1494
|
}, [
|
|
1495
1495
|
x(e.$slots, "source", {}, void 0, !0)
|
|
@@ -1515,10 +1515,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1515
1515
|
smoothSnapThreshold: t.value.style.chart.tooltip.smoothSnapThreshold
|
|
1516
1516
|
}, {
|
|
1517
1517
|
"tooltip-before": F(() => [
|
|
1518
|
-
x(e.$slots, "tooltip-before",
|
|
1518
|
+
x(e.$slots, "tooltip-before", Z(J({ ...St.value })), void 0, !0)
|
|
1519
1519
|
]),
|
|
1520
1520
|
"tooltip-after": F(() => [
|
|
1521
|
-
x(e.$slots, "tooltip-after",
|
|
1521
|
+
x(e.$slots, "tooltip-after", Z(J({ ...St.value })), void 0, !0)
|
|
1522
1522
|
]),
|
|
1523
1523
|
_: 3
|
|
1524
1524
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1530,10 +1530,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1530
1530
|
content: F(() => [
|
|
1531
1531
|
(f(), Te(m(g), {
|
|
1532
1532
|
key: `table_${pt.value}`,
|
|
1533
|
-
colNames:
|
|
1534
|
-
head:
|
|
1535
|
-
body:
|
|
1536
|
-
config:
|
|
1533
|
+
colNames: Ze.value.colNames,
|
|
1534
|
+
head: Ze.value.head,
|
|
1535
|
+
body: Ze.value.body,
|
|
1536
|
+
config: Ze.value.config,
|
|
1537
1537
|
title: t.value.table.useDialog ? "" : He.value.title,
|
|
1538
1538
|
withCloseButton: !t.value.table.useDialog,
|
|
1539
1539
|
onClose: Co
|