vue-data-ui 3.23.9 → 3.23.11
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-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.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-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { Fragment as
|
|
2
|
+
import { $ as t, D as n, Nt as r, bt as i, m as a, nt as ee, q as o, r as te } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as ne, t as re } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as ie } from "./useConfig-DwdGsXTx.js";
|
|
5
|
+
import { t as ae } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { t as s } from "./useNestedProp-CulPqtou.js";
|
|
7
|
+
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
+
import { t as se } from "./Shape-BAL5bQmA.js";
|
|
9
|
+
import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
|
+
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
11
|
+
import { t as le } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
12
|
+
import { Fragment as l, computed as u, createBlock as ue, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as de, createVNode as fe, defineAsyncComponent as pe, guardReactiveProps as m, mergeProps as h, nextTick as me, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, unref as w, useCssVars as he, useSlots as ge, watch as _e, withCtx as T } from "vue";
|
|
13
13
|
//#region src/components/vue-ui-table-heatmap.vue
|
|
14
|
-
var
|
|
14
|
+
var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell" }, be = { role: "row" }, xe = ["data-cell"], D = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: {
|
|
17
17
|
display: "flex",
|
|
@@ -35,7 +35,7 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
35
35
|
key: 1,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
}, N = /*#__PURE__*/
|
|
38
|
+
}, N = /*#__PURE__*/ c({
|
|
39
39
|
__name: "vue-ui-table-heatmap",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -51,23 +51,23 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
setup(e, { expose:
|
|
55
|
-
|
|
54
|
+
setup(e, { expose: c }) {
|
|
55
|
+
he((e) => ({
|
|
56
56
|
v1ad1563c: Ae.value,
|
|
57
57
|
v63a351d2: ke.value
|
|
58
58
|
}));
|
|
59
|
-
let
|
|
59
|
+
let E = pe(() => import("./UserOptions-WH7-49V0.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
|
-
}), H =
|
|
63
|
-
|
|
62
|
+
}), H = u(() => V.value.debug);
|
|
63
|
+
y(() => {
|
|
64
64
|
Ce["chart-background"] && H.value && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
65
|
-
}),
|
|
65
|
+
}), ne({
|
|
66
66
|
config: () => V.value,
|
|
67
67
|
dataset: () => F.dataset,
|
|
68
68
|
component: "VueUiTableHeatmap",
|
|
69
69
|
rules: [
|
|
70
|
-
|
|
70
|
+
re.emptyArray,
|
|
71
71
|
{
|
|
72
72
|
test: (e) => e.length > 31,
|
|
73
73
|
message: [
|
|
@@ -86,36 +86,36 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
86
86
|
}
|
|
87
87
|
]
|
|
88
88
|
});
|
|
89
|
-
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } =
|
|
89
|
+
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } = ce({ config: V.value });
|
|
90
90
|
function K() {
|
|
91
|
-
let e =
|
|
91
|
+
let e = s({
|
|
92
92
|
userConfig: F.config,
|
|
93
93
|
defaultConfig: N
|
|
94
94
|
}), t = e.theme;
|
|
95
95
|
if (!t) return e;
|
|
96
96
|
if (!Se.value(e)) return P(e), e;
|
|
97
|
-
let n =
|
|
98
|
-
userConfig:
|
|
97
|
+
let n = s({
|
|
98
|
+
userConfig: le[t] || F.config,
|
|
99
99
|
defaultConfig: e
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return s({
|
|
102
102
|
userConfig: F.config,
|
|
103
103
|
defaultConfig: n
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
_e(() => F.config, (e) => {
|
|
107
107
|
V.value = K(), U.value = !V.value.userOptions.showOnChartHover, Y();
|
|
108
108
|
}, { deep: !0 });
|
|
109
|
-
let { isPrinting: we, isImaging: Te, generatePdf: q, generateImage: J } =
|
|
109
|
+
let { isPrinting: we, isImaging: Te, generatePdf: q, generateImage: J } = ae({
|
|
110
110
|
elementId: `table_heatmap_${I.value}`,
|
|
111
111
|
fileName: "vue-ui-table-heatmap",
|
|
112
112
|
options: V.value.userOptions.print
|
|
113
|
-
}), Ee =
|
|
114
|
-
|
|
113
|
+
}), Ee = u(() => V.value.table.responsiveBreakpoint), De = u(() => !!F.dataset && F.dataset.length);
|
|
114
|
+
y(() => {
|
|
115
115
|
Y();
|
|
116
116
|
});
|
|
117
117
|
function Y() {
|
|
118
|
-
r(F.dataset) &&
|
|
118
|
+
r(F.dataset) && ee({
|
|
119
119
|
componentName: "VueUiTableHeatmap",
|
|
120
120
|
type: "dataset",
|
|
121
121
|
debug: H.value
|
|
@@ -127,7 +127,7 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
127
127
|
});
|
|
128
128
|
R.value && e.observe(R.value);
|
|
129
129
|
}
|
|
130
|
-
let X =
|
|
130
|
+
let X = u(() => F.dataset.map((e) => {
|
|
131
131
|
let t = e.values.map((e) => isNaN(e) ? 0 : e), n = t.reduce((e, t) => e + t, 0);
|
|
132
132
|
return {
|
|
133
133
|
...e,
|
|
@@ -138,11 +138,11 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
138
138
|
},
|
|
139
139
|
sum: n,
|
|
140
140
|
average: n / t.length,
|
|
141
|
-
median:
|
|
141
|
+
median: a(t),
|
|
142
142
|
displayValues: [e.name, ...e.values],
|
|
143
|
-
id:
|
|
143
|
+
id: o()
|
|
144
144
|
};
|
|
145
|
-
})), Z =
|
|
145
|
+
})), Z = u(() => {
|
|
146
146
|
let e = X.value.flatMap((e) => e.values);
|
|
147
147
|
return {
|
|
148
148
|
min: Math.min(...e),
|
|
@@ -151,14 +151,14 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
151
151
|
});
|
|
152
152
|
function Oe(e, t) {
|
|
153
153
|
let n = V.value.style.heatmapColors.useIndividualScale;
|
|
154
|
-
return
|
|
154
|
+
return i(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
|
-
let Q =
|
|
156
|
+
let Q = u(() => X.value.map((e) => ({
|
|
157
157
|
...e,
|
|
158
158
|
colors: e.displayValues.map((t) => isNaN(t) ? V.value.style.backgroundColor : Oe(t, e.serieExtremes))
|
|
159
|
-
}))), ke =
|
|
159
|
+
}))), ke = u(() => V.value.style.backgroundColor), Ae = u(() => `${V.value.table.borderWidth}px`);
|
|
160
160
|
function $(e = null) {
|
|
161
|
-
|
|
161
|
+
me(() => {
|
|
162
162
|
let r = Q.value.map((e) => [
|
|
163
163
|
[e.name],
|
|
164
164
|
e.displayValues,
|
|
@@ -181,29 +181,29 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
181
181
|
function je(e) {
|
|
182
182
|
z.value = e, B.value += 1;
|
|
183
183
|
}
|
|
184
|
-
return
|
|
184
|
+
return c({
|
|
185
185
|
generatePdf: q,
|
|
186
186
|
generateCsv: $,
|
|
187
187
|
generateImage: J
|
|
188
|
-
}), (e, t) => (
|
|
188
|
+
}), (e, t) => (b(), f("div", {
|
|
189
189
|
ref_key: "tableContainer",
|
|
190
190
|
ref: R,
|
|
191
|
-
style:
|
|
192
|
-
class:
|
|
191
|
+
style: v(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${V.value.userOptions.show ? "36px" : ""}; ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
192
|
+
class: g({
|
|
193
193
|
"vue-data-ui-component": !0,
|
|
194
194
|
"vue-ui-responsive": L.value
|
|
195
195
|
}),
|
|
196
196
|
id: `table_heatmap_${I.value}`,
|
|
197
|
-
onMouseenter: t[0] ||= () =>
|
|
198
|
-
onMouseleave: t[1] ||= () =>
|
|
197
|
+
onMouseenter: t[0] ||= () => w(W)(!0),
|
|
198
|
+
onMouseleave: t[1] ||= () => w(W)(!1)
|
|
199
199
|
}, [
|
|
200
|
-
V.value.userOptions.show && De.value && (
|
|
200
|
+
V.value.userOptions.show && De.value && (w(G) || w(U)) ? (b(), ue(w(E), {
|
|
201
201
|
ref: "details",
|
|
202
202
|
key: `user_option_${B.value}`,
|
|
203
203
|
backgroundColor: V.value.style.backgroundColor,
|
|
204
204
|
color: V.value.style.color,
|
|
205
|
-
isPrinting:
|
|
206
|
-
isImaging:
|
|
205
|
+
isPrinting: w(we),
|
|
206
|
+
isImaging: w(Te),
|
|
207
207
|
uid: I.value,
|
|
208
208
|
hasPdf: V.value.userOptions.buttons.pdf,
|
|
209
209
|
hasXls: V.value.userOptions.buttons.csv,
|
|
@@ -216,14 +216,14 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
216
216
|
callbacks: V.value.userOptions.callbacks,
|
|
217
217
|
printScale: V.value.userOptions.print.scale,
|
|
218
218
|
onToggleFullscreen: je,
|
|
219
|
-
onGeneratePdf:
|
|
219
|
+
onGeneratePdf: w(q),
|
|
220
220
|
onGenerateCsv: $,
|
|
221
|
-
onGenerateImage:
|
|
222
|
-
style:
|
|
223
|
-
},
|
|
221
|
+
onGenerateImage: w(J),
|
|
222
|
+
style: v({ visibility: w(G) ? w(U) ? "visible" : "hidden" : "visible" })
|
|
223
|
+
}, de({ _: 2 }, [
|
|
224
224
|
e.$slots.menuIcon ? {
|
|
225
225
|
name: "menuIcon",
|
|
226
|
-
fn:
|
|
226
|
+
fn: T(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", _(m({
|
|
227
227
|
isOpen: t,
|
|
228
228
|
color: n
|
|
229
229
|
})), void 0, !0)]),
|
|
@@ -231,22 +231,22 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
231
231
|
} : void 0,
|
|
232
232
|
e.$slots.optionPdf ? {
|
|
233
233
|
name: "optionPdf",
|
|
234
|
-
fn:
|
|
234
|
+
fn: T(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
235
235
|
key: "1"
|
|
236
236
|
} : void 0,
|
|
237
237
|
e.$slots.optionCsv ? {
|
|
238
238
|
name: "optionCsv",
|
|
239
|
-
fn:
|
|
239
|
+
fn: T(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
240
240
|
key: "2"
|
|
241
241
|
} : void 0,
|
|
242
242
|
e.$slots.optionImg ? {
|
|
243
243
|
name: "optionImg",
|
|
244
|
-
fn:
|
|
244
|
+
fn: T(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
245
245
|
key: "3"
|
|
246
246
|
} : void 0,
|
|
247
247
|
e.$slots.optionFullscreen ? {
|
|
248
248
|
name: "optionFullscreen",
|
|
249
|
-
fn:
|
|
249
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", _(m({
|
|
250
250
|
toggleFullscreen: t,
|
|
251
251
|
isFullscreen: n
|
|
252
252
|
})), void 0, !0)]),
|
|
@@ -254,12 +254,12 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
254
254
|
} : void 0,
|
|
255
255
|
e.$slots["custom-menu-before"] ? {
|
|
256
256
|
name: "custom-menu-before",
|
|
257
|
-
fn:
|
|
257
|
+
fn: T(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
258
258
|
key: "5"
|
|
259
259
|
} : void 0,
|
|
260
260
|
e.$slots["custom-menu-after"] ? {
|
|
261
261
|
name: "custom-menu-after",
|
|
262
|
-
fn:
|
|
262
|
+
fn: T(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
263
263
|
key: "6"
|
|
264
264
|
} : void 0
|
|
265
265
|
]), 1032, [
|
|
@@ -281,26 +281,26 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
281
281
|
"onGeneratePdf",
|
|
282
282
|
"onGenerateImage",
|
|
283
283
|
"style"
|
|
284
|
-
])) :
|
|
285
|
-
|
|
286
|
-
class:
|
|
287
|
-
style:
|
|
284
|
+
])) : d("", !0),
|
|
285
|
+
p("table", {
|
|
286
|
+
class: g({ "vue-ui-table-heatmap": !0 }),
|
|
287
|
+
style: v(`width:100%;font-family:${V.value.style.fontFamily};background:${V.value.style.backgroundColor};`)
|
|
288
288
|
}, [
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
p("caption", null, [C(e.$slots, "caption", {}, void 0, !0)]),
|
|
290
|
+
p("thead", null, [p("tr", {
|
|
291
291
|
role: "row",
|
|
292
|
-
style:
|
|
293
|
-
}, [(
|
|
292
|
+
style: v(`background:${V.value.table.head.backgroundColor};color:${V.value.table.head.color}`)
|
|
293
|
+
}, [(b(!0), f(l, null, S(V.value.table.head.values, (t, n) => (b(), f("th", ye, [C(e.$slots, "head", h({ ref_for: !0 }, {
|
|
294
294
|
value: t,
|
|
295
295
|
rowIndex: n,
|
|
296
296
|
type: typeof t,
|
|
297
297
|
isResponsive: L.value
|
|
298
298
|
}), void 0, !0)]))), 256))], 4)]),
|
|
299
|
-
|
|
300
|
-
(
|
|
299
|
+
p("tbody", null, [(b(!0), f(l, null, S(Q.value, (t, n) => (b(), f("tr", be, [
|
|
300
|
+
(b(!0), f(l, null, S(t.displayValues, (r, i) => (b(), f("td", {
|
|
301
301
|
role: "cell",
|
|
302
302
|
"data-cell": V.value.table.head.values[i]
|
|
303
|
-
}, [t.color && i === 0 ? (
|
|
303
|
+
}, [t.color && i === 0 ? (b(), f("div", D, [t.color ? (b(), f("svg", {
|
|
304
304
|
key: 0,
|
|
305
305
|
height: V.value.style.shapeSize,
|
|
306
306
|
width: V.value.style.shapeSize,
|
|
@@ -309,7 +309,7 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
309
309
|
background: "none",
|
|
310
310
|
overflow: "visible"
|
|
311
311
|
}
|
|
312
|
-
}, [
|
|
312
|
+
}, [fe(se, {
|
|
313
313
|
plot: {
|
|
314
314
|
x: 10,
|
|
315
315
|
y: 10
|
|
@@ -317,47 +317,47 @@ var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell
|
|
|
317
317
|
color: t.color,
|
|
318
318
|
radius: 9,
|
|
319
319
|
shape: t.shape || "circle"
|
|
320
|
-
}, null, 8, ["color", "shape"])], 8, O)) :
|
|
320
|
+
}, null, 8, ["color", "shape"])], 8, O)) : d("", !0), C(e.$slots, "rowTitle", h({ ref_for: !0 }, {
|
|
321
321
|
value: r,
|
|
322
322
|
rowIndex: n,
|
|
323
323
|
colIndex: i,
|
|
324
324
|
type: typeof r,
|
|
325
325
|
isResponsive: L.value
|
|
326
|
-
}), void 0, !0)])) : (
|
|
326
|
+
}), void 0, !0)])) : (b(), f(l, { key: 1 }, [i === 0 ? C(e.$slots, "rowTitle", h({ ref_for: !0 }, {
|
|
327
327
|
value: r,
|
|
328
328
|
rowIndex: n,
|
|
329
329
|
colIndex: i,
|
|
330
330
|
type: typeof r,
|
|
331
331
|
isResponsive: L.value
|
|
332
|
-
}), void 0, !0, 0) :
|
|
332
|
+
}), void 0, !0, 0) : d("", !0), i > 0 ? C(e.$slots, "cell", h({ ref_for: !0 }, {
|
|
333
333
|
value: r,
|
|
334
334
|
rowIndex: n,
|
|
335
335
|
colIndex: i,
|
|
336
336
|
type: typeof r,
|
|
337
337
|
isResponsive: L.value,
|
|
338
338
|
color: t.colors[i],
|
|
339
|
-
textColor:
|
|
340
|
-
}), void 0, !0, 1) :
|
|
341
|
-
V.value.table.showSum ? (
|
|
339
|
+
textColor: w(te)(t.colors[i])
|
|
340
|
+
}), void 0, !0, 1) : d("", !0)], 64))], 8, xe))), 256)),
|
|
341
|
+
V.value.table.showSum ? (b(), f("td", k, [C(e.$slots, "sum", h({ ref_for: !0 }, {
|
|
342
342
|
value: t.sum,
|
|
343
343
|
rowIndex: n,
|
|
344
344
|
isResponsive: L.value
|
|
345
|
-
}), void 0, !0)])) :
|
|
346
|
-
V.value.table.showAverage ? (
|
|
345
|
+
}), void 0, !0)])) : d("", !0),
|
|
346
|
+
V.value.table.showAverage ? (b(), f("td", A, [C(e.$slots, "average", h({ ref_for: !0 }, {
|
|
347
347
|
value: t.average,
|
|
348
348
|
rowIndex: n,
|
|
349
349
|
isResponsive: L.value
|
|
350
|
-
}), void 0, !0)])) :
|
|
351
|
-
V.value.table.showMedian ? (
|
|
350
|
+
}), void 0, !0)])) : d("", !0),
|
|
351
|
+
V.value.table.showMedian ? (b(), f("td", j, [C(e.$slots, "median", h({ ref_for: !0 }, {
|
|
352
352
|
value: t.median,
|
|
353
353
|
rowIndex: n,
|
|
354
354
|
isResponsive: L.value
|
|
355
|
-
}), void 0, !0)])) :
|
|
355
|
+
}), void 0, !0)])) : d("", !0)
|
|
356
356
|
]))), 256))])
|
|
357
357
|
], 4),
|
|
358
|
-
e.$slots.source ? (
|
|
359
|
-
], 46,
|
|
358
|
+
e.$slots.source ? (b(), f("div", M, [C(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0)
|
|
359
|
+
], 46, ve));
|
|
360
360
|
}
|
|
361
361
|
}, [["__scopeId", "data-v-38352ed2"]]);
|
|
362
362
|
//#endregion
|
|
363
|
-
export {
|
|
363
|
+
export { E as n, N as t };
|
|
@@ -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, It as r, Jt as i, Nt as a, S as o, X as ee, i as te, m as ne, mt as re, nt as ie, q as ae, w as oe } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as le } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
6
|
-
import { t as s } from "./useNestedProp-
|
|
5
|
+
import { t as ue } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { t as s } from "./useNestedProp-CulPqtou.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-B8cyY_P1.js").then((e) => e.n)), E = m(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), Be = m(() => import("./UserOptions-WH7-49V0.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
|
});
|
|
@@ -98,7 +98,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
98
98
|
});
|
|
99
99
|
return {
|
|
100
100
|
...a,
|
|
101
|
-
customPalette: a.customPalette.length ? a.customPalette :
|
|
101
|
+
customPalette: a.customPalette.length ? a.customPalette : i[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
|
+
a(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 ? "-" : te(j.value.formatter, r, ee({
|
|
150
150
|
p: j.value.prefix,
|
|
151
151
|
v: r,
|
|
152
152
|
s: j.value.suffix,
|
|
@@ -158,7 +158,7 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
158
158
|
datasetObject: e,
|
|
159
159
|
requiredAttributes: ["name", "values"]
|
|
160
160
|
}).forEach((e) => {
|
|
161
|
-
|
|
161
|
+
ie({
|
|
162
162
|
componentName: "VueUiTableSparkline",
|
|
163
163
|
type: "datasetSerieAttribute",
|
|
164
164
|
property: 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 || [],
|
|
169
|
+
let n = e.values || [], i = at(n), a = i.length ? i.reduce((e, t) => e + t, 0) : null, ee = i.length ? a / i.length : null, te = i.length ? ne(i) : null;
|
|
170
170
|
return {
|
|
171
171
|
...e,
|
|
172
172
|
values: n,
|
|
173
|
-
color:
|
|
174
|
-
sum:
|
|
173
|
+
color: o(e.color) || nt.value[t] || r[t] || r[t % r.length],
|
|
174
|
+
sum: a,
|
|
175
175
|
average: ee,
|
|
176
176
|
median: te,
|
|
177
177
|
sparklineDataset: n.map((e, t) => ({
|