vue-data-ui 3.25.3 → 3.25.5
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 +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n,
|
|
2
|
+
import { $ as t, D as n, Pt as r, m as i, nt as a, q as o, r as ee, xt as te } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as ne, t as re } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ie } from "./useConfig-
|
|
5
|
-
import { t as ae } from "./usePrinter-
|
|
6
|
-
import { t as s } from "./useNestedProp-
|
|
4
|
+
import { t as ie } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as ae } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { t as s } from "./useNestedProp-Chvyfpl-.js";
|
|
7
7
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as se } from "./Shape-
|
|
8
|
+
import { t as se } from "./Shape-CIqU-p2F.js";
|
|
9
9
|
import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
10
|
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
11
11
|
import { t as le } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
@@ -56,7 +56,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
56
56
|
v1ad1563c: Ae.value,
|
|
57
57
|
v63a351d2: ke.value
|
|
58
58
|
}));
|
|
59
|
-
let E = pe(() => import("./UserOptions-
|
|
59
|
+
let E = pe(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_table_heatmap: N } = ie(), { isThemeValid: Se, warnInvalidTheme: P } = oe(), F = e, I = x(o()), L = x(!1), R = x(null), z = x(!1), B = x(0), Ce = ge(), V = u({
|
|
60
60
|
get: () => K(),
|
|
61
61
|
set: (e) => e
|
|
62
62
|
}), H = u(() => V.value.debug);
|
|
@@ -115,7 +115,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
115
115
|
Y();
|
|
116
116
|
});
|
|
117
117
|
function Y() {
|
|
118
|
-
r(F.dataset) &&
|
|
118
|
+
r(F.dataset) && a({
|
|
119
119
|
componentName: "VueUiTableHeatmap",
|
|
120
120
|
type: "dataset",
|
|
121
121
|
debug: H.value
|
|
@@ -138,7 +138,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
138
138
|
},
|
|
139
139
|
sum: n,
|
|
140
140
|
average: n / t.length,
|
|
141
|
-
median:
|
|
141
|
+
median: i(t),
|
|
142
142
|
displayValues: [e.name, ...e.values],
|
|
143
143
|
id: o()
|
|
144
144
|
};
|
|
@@ -151,7 +151,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
151
151
|
});
|
|
152
152
|
function Oe(e, t) {
|
|
153
153
|
let n = V.value.style.heatmapColors.useIndividualScale;
|
|
154
|
-
return
|
|
154
|
+
return te(V.value.style.heatmapColors.min, V.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
|
|
155
155
|
}
|
|
156
156
|
let Q = u(() => X.value.map((e) => ({
|
|
157
157
|
...e,
|
|
@@ -336,7 +336,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
336
336
|
type: typeof r,
|
|
337
337
|
isResponsive: L.value,
|
|
338
338
|
color: t.colors[i],
|
|
339
|
-
textColor: w(
|
|
339
|
+
textColor: w(ee)(t.colors[i])
|
|
340
340
|
}), void 0, !0, 1) : d("", !0)], 64))], 8, xe))), 256)),
|
|
341
341
|
V.value.table.showSum ? (b(), f("td", k, [C(e.$slots, "sum", h({ ref_for: !0 }, {
|
|
342
342
|
value: t.sum,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n,
|
|
2
|
+
import { $ as t, D as n, Lt as r, Pt as i, S as a, X as o, Yt as ee, ht as te, i as ne, m as re, nt as ie, q as ae, w as oe } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
6
|
-
import { t as s } from "./useNestedProp-
|
|
4
|
+
import { t as le } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-DISD7q5m.js";
|
|
6
|
+
import { t as s } from "./useNestedProp-Chvyfpl-.js";
|
|
7
7
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
9
|
import { t as pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
@@ -51,7 +51,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
51
51
|
emits: ["copyAlt"],
|
|
52
52
|
setup(e, { expose: fe, emit: Ee }) {
|
|
53
53
|
Se((e) => ({ v4821b9e9: e.tdo }));
|
|
54
|
-
let T = m(() => import("./vue-ui-sparkline-
|
|
54
|
+
let T = m(() => import("./vue-ui-sparkline-9qkNNZG6.js").then((e) => e.n)), E = m(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Be = m(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_table_sparkline: Ve } = le(), { isThemeValid: He, warnInvalidTheme: Ue } = de(), D = e, We = Ee, O = y(ae()), Ge = y(0), k = y(0), A = y(null), Ke = Ce(), qe = y(!1), j = l({
|
|
55
55
|
get: () => Ze(),
|
|
56
56
|
set: (e) => e
|
|
57
57
|
});
|
|
@@ -92,13 +92,13 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
92
92
|
let n = s({
|
|
93
93
|
userConfig: he[t] || D.config,
|
|
94
94
|
defaultConfig: e
|
|
95
|
-
}),
|
|
95
|
+
}), i = s({
|
|
96
96
|
userConfig: D.config,
|
|
97
97
|
defaultConfig: n
|
|
98
98
|
});
|
|
99
99
|
return {
|
|
100
|
-
...
|
|
101
|
-
customPalette:
|
|
100
|
+
...i,
|
|
101
|
+
customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
we(() => D.config, (e) => {
|
|
@@ -116,7 +116,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
116
116
|
});
|
|
117
117
|
let F = y(j.value.colNames), I = xe(null);
|
|
118
118
|
function it() {
|
|
119
|
-
|
|
119
|
+
i(D.dataset) && ie({
|
|
120
120
|
componentName: "VueUiTableSparkline",
|
|
121
121
|
type: "dataset"
|
|
122
122
|
}), I.value && I.value.disconnect(), I.value = new ResizeObserver((e) => {
|
|
@@ -146,7 +146,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
146
146
|
}
|
|
147
147
|
function B(e, t, n = {}) {
|
|
148
148
|
let r = L(e);
|
|
149
|
-
return r === null ? "-" :
|
|
149
|
+
return r === null ? "-" : ne(j.value.formatter, r, o({
|
|
150
150
|
p: j.value.prefix,
|
|
151
151
|
v: r,
|
|
152
152
|
s: j.value.suffix,
|
|
@@ -154,7 +154,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
154
154
|
}), n);
|
|
155
155
|
}
|
|
156
156
|
let V = l(() => (D.dataset.forEach((e, t) => {
|
|
157
|
-
|
|
157
|
+
te({
|
|
158
158
|
datasetObject: e,
|
|
159
159
|
requiredAttributes: ["name", "values"]
|
|
160
160
|
}).forEach((e) => {
|
|
@@ -166,12 +166,12 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
168
|
}), D.dataset.map((e, t) => {
|
|
169
|
-
let n = e.values || [], i = at(n),
|
|
169
|
+
let n = e.values || [], i = at(n), o = i.length ? i.reduce((e, t) => e + t, 0) : null, ee = i.length ? o / i.length : null, te = i.length ? re(i) : null;
|
|
170
170
|
return {
|
|
171
171
|
...e,
|
|
172
172
|
values: n,
|
|
173
|
-
color:
|
|
174
|
-
sum:
|
|
173
|
+
color: a(e.color) || nt.value[t] || r[t] || r[t % r.length],
|
|
174
|
+
sum: o,
|
|
175
175
|
average: ee,
|
|
176
176
|
median: te,
|
|
177
177
|
sparklineDataset: n.map((e, t) => ({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Lt as t, Pt as n, S as r, Ut as i, X as a, Yt as ee, Zt as o, b as s, ht as te, i as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as c } from "./useNestedProp-
|
|
7
|
+
import { t as c } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as me } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as he } from "./img-
|
|
11
|
-
import { n as ge } from "./Title-
|
|
10
|
+
import { t as he } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as ge } from "./Title-CPHi-evi.js";
|
|
12
12
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as be } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -140,11 +140,11 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
140
140
|
emits: ["copyAlt"],
|
|
141
141
|
setup(e, { expose: _e, emit: Pe }) {
|
|
142
142
|
Me((e) => ({
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
v116705d8: jt.value,
|
|
144
|
+
v081b3db6: At.value,
|
|
145
|
+
v63a8c823: kt.value
|
|
146
146
|
}));
|
|
147
|
-
let T = h(() => import("./PackageVersion-
|
|
147
|
+
let T = h(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), ot = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
|
|
148
148
|
ke(() => {
|
|
149
149
|
xt();
|
|
150
150
|
});
|
|
@@ -185,11 +185,11 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
185
185
|
})
|
|
186
186
|
}), bt = u(() => j.value.debug);
|
|
187
187
|
function xt() {
|
|
188
|
-
if (
|
|
188
|
+
if (n(E.dataset) ? re({
|
|
189
189
|
componentName: "VueUiThermometer",
|
|
190
190
|
type: "dataset",
|
|
191
191
|
debug: bt.value
|
|
192
|
-
}) :
|
|
192
|
+
}) : te({
|
|
193
193
|
datasetObject: E.dataset,
|
|
194
194
|
requiredAttributes: [
|
|
195
195
|
"value",
|
|
@@ -223,19 +223,19 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
223
223
|
let e = c({
|
|
224
224
|
userConfig: E.config,
|
|
225
225
|
defaultConfig: st
|
|
226
|
-
}),
|
|
227
|
-
if (!
|
|
226
|
+
}), n = e.theme;
|
|
227
|
+
if (!n) return e;
|
|
228
228
|
if (!ct.value(e)) return lt(e), e;
|
|
229
|
-
let
|
|
230
|
-
userConfig: Te[
|
|
229
|
+
let r = c({
|
|
230
|
+
userConfig: Te[n] || E.config,
|
|
231
231
|
defaultConfig: e
|
|
232
|
-
}),
|
|
232
|
+
}), i = c({
|
|
233
233
|
userConfig: E.config,
|
|
234
|
-
defaultConfig:
|
|
234
|
+
defaultConfig: r
|
|
235
235
|
});
|
|
236
236
|
return {
|
|
237
|
-
...
|
|
238
|
-
customPalette:
|
|
237
|
+
...i,
|
|
238
|
+
customPalette: i.customPalette.length ? i.customPalette : ee[n] || t
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
241
|
Ne(() => E.config, (e) => {
|
|
@@ -285,10 +285,10 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
285
285
|
return n = s(F.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(F.value.from)) + s(F.value.value)) / n) * K.value.thermoHeight;
|
|
286
286
|
}), kt = u(() => `${q.value}px`), At = u(() => `${K.value.thermoHeight}px`), jt = u(() => ut.value ? "0ms" : `${j.value.style.chart.animation.speedMs}ms`), Mt = u(() => {
|
|
287
287
|
if (F.value.colors) {
|
|
288
|
-
if (!F.value.colors.from) return U(V.value[0] ||
|
|
289
|
-
if (!F.value.colors.to) return U(
|
|
290
|
-
} else return U(V.value[1] ||
|
|
291
|
-
return U(
|
|
288
|
+
if (!F.value.colors.from) return U(V.value[0] || t[0], r(F.value.colors.to), H.value || 10);
|
|
289
|
+
if (!F.value.colors.to) return U(r(F.value.colors.from), V.value[1] || t[1], H.value || 10);
|
|
290
|
+
} else return U(V.value[1] || t[1], V.value[0] || t[0], H.value || 10);
|
|
291
|
+
return U(r(F.value.colors.from), r(F.value.colors.to), H.value || 10);
|
|
292
292
|
}), Nt = u(() => {
|
|
293
293
|
let e = [], t = 0, n = K.value.thermoHeight;
|
|
294
294
|
for (let r = 0; r < n - 1; r += n / H.value) e.push({
|
|
@@ -357,7 +357,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
357
357
|
dataset: F.value
|
|
358
358
|
}));
|
|
359
359
|
}
|
|
360
|
-
let Ut = u(() => `${D.value}-title`), Wt = u(() => `${D.value}-desc`), $ = u(() =>
|
|
360
|
+
let Ut = u(() => `${D.value}-title`), Wt = u(() => `${D.value}-desc`), $ = u(() => ne(j.value.style.chart.label.formatter, F.value.value, a({
|
|
361
361
|
p: j.value.style.chart.label.prefix,
|
|
362
362
|
v: F.value.value,
|
|
363
363
|
s: j.value.style.chart.label.suffix,
|
|
@@ -375,14 +375,14 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
375
375
|
toggleAnnotator: X,
|
|
376
376
|
toggleFullscreen: Pt,
|
|
377
377
|
copyAlt: Ht
|
|
378
|
-
}), (e,
|
|
378
|
+
}), (e, t) => (y(), p("div", {
|
|
379
379
|
ref_key: "thermoChart",
|
|
380
380
|
ref: O,
|
|
381
381
|
class: _(`vue-data-ui-component vue-ui-thermometer ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
382
382
|
style: Oe(`width:100%;background:${j.value.style.chart.backgroundColor};color:${j.value.style.chart.color};font-family:${j.value.style.fontFamily}`),
|
|
383
383
|
id: `thermometer__${D.value}`,
|
|
384
|
-
onMouseenter:
|
|
385
|
-
onMouseleave:
|
|
384
|
+
onMouseenter: t[0] ||= () => C(St)(!0),
|
|
385
|
+
onMouseleave: t[1] ||= () => C(St)(!1)
|
|
386
386
|
}, [
|
|
387
387
|
j.value.userOptions.buttons.annotator ? (y(), d(C(at), {
|
|
388
388
|
key: 0,
|
|
@@ -391,6 +391,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
391
391
|
color: j.value.style.chart.color,
|
|
392
392
|
active: Y.value,
|
|
393
393
|
isCursorPointer: vt.value,
|
|
394
|
+
palette: j.value.userOptions.annotatorPalette,
|
|
394
395
|
onClose: X
|
|
395
396
|
}, {
|
|
396
397
|
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -405,7 +406,8 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
405
406
|
"backgroundColor",
|
|
406
407
|
"color",
|
|
407
408
|
"active",
|
|
408
|
-
"isCursorPointer"
|
|
409
|
+
"isCursorPointer",
|
|
410
|
+
"palette"
|
|
409
411
|
])) : f("", !0),
|
|
410
412
|
Et.value ? (y(), p("div", Ie, null, 512)) : f("", !0),
|
|
411
413
|
j.value.style.title.text ? (y(), p("div", {
|
|
@@ -571,10 +573,10 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
571
573
|
height: K.value.thermoHeight,
|
|
572
574
|
rx: K.value.thermoWidth / 2,
|
|
573
575
|
ry: K.value.thermoWidth / 2
|
|
574
|
-
}, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Nt.value, (e,
|
|
576
|
+
}, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), d(be, {
|
|
575
577
|
t: "linear",
|
|
576
|
-
id: `vueUiThermometerGradient_${
|
|
577
|
-
key: `t_${
|
|
578
|
+
id: `vueUiThermometerGradient_${t}_${D.value}`,
|
|
579
|
+
key: `t_${t}_${D.value}`,
|
|
578
580
|
x1: "0%",
|
|
579
581
|
y1: "0%",
|
|
580
582
|
x2: "100%",
|
|
@@ -587,7 +589,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
587
589
|
],
|
|
588
590
|
[
|
|
589
591
|
"50%",
|
|
590
|
-
C(
|
|
592
|
+
C(i)(e.color, 100 - j.value.style.chart.graduations.gradient.intensity),
|
|
591
593
|
1
|
|
592
594
|
],
|
|
593
595
|
[
|
|
@@ -751,6 +753,6 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
|
|
|
751
753
|
x(e.$slots, "skeleton", {}, () => [C(P) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
|
|
752
754
|
], 46, Fe));
|
|
753
755
|
}
|
|
754
|
-
}, [["__scopeId", "data-v-
|
|
756
|
+
}, [["__scopeId", "data-v-21d6fcb2"]]);
|
|
755
757
|
//#endregion
|
|
756
758
|
export { Pe as n, T as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Xt as t, q as n, t as r } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as o } from "./useConfig-
|
|
5
|
-
import { t as s } from "./useNestedProp-
|
|
6
|
-
import { n as c } from "./Title-
|
|
4
|
+
import { t as o } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as s } from "./useNestedProp-Chvyfpl-.js";
|
|
6
|
+
import { n as c } from "./Title-CPHi-evi.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-t83PDe9k.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,7 +103,7 @@ 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-M2Ws-VwJ.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
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Pt as t, Wt as n, X as r, Zt as i, b as a, i as o, nt as s, q as c, t as l } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as ee, t as te } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ne } from "./useConfig-
|
|
5
|
-
import { t as re } from "./usePrinter-
|
|
4
|
+
import { t as ne } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as re } from "./usePrinter-DISD7q5m.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-Chvyfpl-.js";
|
|
8
8
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as se } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ce } from "./img-
|
|
11
|
-
import { n as le } from "./Title-
|
|
10
|
+
import { t as ce } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as le } from "./Title-CPHi-evi.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,7 +65,7 @@ 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-BgH3m_LP.js").then((e) => e.t)), ze = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Be = h(() => import("./PackageVersion-M2Ws-VwJ.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,
|
|
@@ -302,6 +302,7 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
302
302
|
color: N.value.style.chart.color,
|
|
303
303
|
active: Z.value,
|
|
304
304
|
isCursorPointer: Ze.value,
|
|
305
|
+
palette: N.value.userOptions.annotatorPalette,
|
|
305
306
|
onClose: Q
|
|
306
307
|
}, {
|
|
307
308
|
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -316,7 +317,8 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
316
317
|
"backgroundColor",
|
|
317
318
|
"color",
|
|
318
319
|
"active",
|
|
319
|
-
"isCursorPointer"
|
|
320
|
+
"isCursorPointer",
|
|
321
|
+
"palette"
|
|
320
322
|
])) : p("", !0),
|
|
321
323
|
rt.value ? (b(), m("div", {
|
|
322
324
|
key: 1,
|
|
@@ -533,6 +535,6 @@ var Te = /* @__PURE__ */ e({ default: () => E }), Ee = ["id"], De = [
|
|
|
533
535
|
S(e.$slots, "skeleton", {}, () => [w(P) ? (b(), f(ae, { key: 0 })) : p("", !0)], !0)
|
|
534
536
|
], 46, Ee));
|
|
535
537
|
}
|
|
536
|
-
}, [["__scopeId", "data-v-
|
|
538
|
+
}, [["__scopeId", "data-v-906b1b95"]]);
|
|
537
539
|
//#endregion
|
|
538
540
|
export { Te as n, E as t };
|