vue-data-ui 3.23.0 → 3.23.2
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-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
- package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
- package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
- package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
- package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
- package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
- package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
- package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
- package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
- package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
- package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
- package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
- package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
- package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
- package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
- package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
- package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.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/composables.js +1 -1
- package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
- package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
- package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
- package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
- package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
- package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
- package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
- package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
- package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.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 +9 -0
- package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
- package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
- package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
- package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
- package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
- package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
- package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
- package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
- package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
- package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
- package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
- package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
- package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
- package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
- package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
- package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
- package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
- package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
- package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
- package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
- package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
- package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
- package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
- package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
- package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
- package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
- package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
- package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
- package/dist/vue-ui-gauge-CJstpakj.js +932 -0
- package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
- package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
- package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
- package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
- package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
- package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
- package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
- package/dist/vue-ui-molecule-paWHp18h.js +935 -0
- package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
- package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
- package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
- package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
- package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
- package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
- package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
- package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
- package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
- package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
- package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
- package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
- package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
- package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
- package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
- package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
- package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
- package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
- package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
- package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
- package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
- package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
- package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
- package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
- package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
- package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
- package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
- package/dist/vue-ui-wheel-DrefGLos.js +871 -0
- package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
- package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
- package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
- package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
- package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
- package/package.json +4 -4
- package/dist/Slicer-5yIrdoJv.js +0 -1149
- package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
- package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
- package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
- package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
- package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
- package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
- package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
- package/dist/vue-ui-funnel-CjYosIik.js +0 -797
- package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
- package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
- package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
- package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
- package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
- package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
- package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
- package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
- package/dist/vue-ui-table-rFy16bp0.js +0 -1347
- package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
- package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
- package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, jt as r, m as i, q as a, r as ee, tt as te, yt as ne } from "./lib-
|
|
2
|
+
import { $ as t, D as n, jt as r, m as i, q as a, r as ee, tt as te, yt as ne } from "./lib-Bttd6u5E.js";
|
|
3
3
|
import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ae } from "./useConfig-
|
|
5
|
-
import { t as oe } from "./usePrinter-
|
|
6
|
-
import { t as o } from "./useNestedProp
|
|
4
|
+
import { t as ae } from "./useConfig-DlNpz6P8.js";
|
|
5
|
+
import { t as oe } from "./usePrinter-DN5bYhTG.js";
|
|
6
|
+
import { t as o } from "./useNestedProp-vPNvh7rV.js";
|
|
7
7
|
import { t as se } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
-
import { t as ce } from "./Shape-
|
|
8
|
+
import { t as ce } from "./Shape-C21CMlWS.js";
|
|
9
9
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
10
|
import { t as le } from "./useUserOptionState-DK-_1ddE.js";
|
|
11
11
|
import { t as ue } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
12
12
|
import { Fragment as c, computed as l, createBlock as de, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as fe, createVNode as pe, defineAsyncComponent as me, guardReactiveProps as p, mergeProps as m, nextTick as he, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onMounted as v, openBlock as y, ref as b, renderList as x, renderSlot as S, unref as C, useCssVars as ge, useSlots as _e, watch as ve, withCtx as w } from "vue";
|
|
13
13
|
//#region src/components/vue-ui-table-heatmap.vue
|
|
14
|
-
var T = /* @__PURE__ */ e({ default: () =>
|
|
14
|
+
var T = /* @__PURE__ */ e({ default: () => N }), ye = ["id"], be = { role: "cell" }, xe = { role: "row" }, E = ["data-cell"], D = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: {
|
|
17
17
|
display: "flex",
|
|
@@ -19,23 +19,23 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
19
19
|
gap: "2px",
|
|
20
20
|
"align-items": "center"
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, O = ["height", "width"], k = {
|
|
23
23
|
key: 0,
|
|
24
24
|
role: "cell",
|
|
25
25
|
"data-cell": "sum"
|
|
26
|
-
},
|
|
26
|
+
}, A = {
|
|
27
27
|
key: 1,
|
|
28
28
|
role: "cell",
|
|
29
29
|
"data-cell": "average"
|
|
30
|
-
},
|
|
30
|
+
}, j = {
|
|
31
31
|
key: 2,
|
|
32
32
|
role: "cell",
|
|
33
33
|
"data-cell": "median"
|
|
34
|
-
},
|
|
34
|
+
}, M = {
|
|
35
35
|
key: 1,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
},
|
|
38
|
+
}, N = /*#__PURE__*/ s({
|
|
39
39
|
__name: "vue-ui-table-heatmap",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -53,18 +53,16 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
53
53
|
},
|
|
54
54
|
setup(e, { expose: s }) {
|
|
55
55
|
ge((e) => ({
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
v1ad1563c: Ae.value,
|
|
57
|
+
v63a351d2: ke.value
|
|
58
58
|
}));
|
|
59
|
-
let T = me(() => import("./UserOptions-
|
|
60
|
-
|
|
61
|
-
Ce["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
62
|
-
});
|
|
63
|
-
let V = l({
|
|
64
|
-
get: () => G(),
|
|
59
|
+
let T = me(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_table_heatmap: N } = ae(), { isThemeValid: Se, warnInvalidTheme: P } = se(), F = e, I = b(a()), L = b(!1), R = b(null), z = b(!1), B = b(0), Ce = _e(), V = l({
|
|
60
|
+
get: () => K(),
|
|
65
61
|
set: (e) => e
|
|
66
|
-
});
|
|
67
|
-
|
|
62
|
+
}), H = l(() => V.value.debug);
|
|
63
|
+
v(() => {
|
|
64
|
+
Ce["chart-background"] && H.value && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
65
|
+
}), re({
|
|
68
66
|
config: () => V.value,
|
|
69
67
|
dataset: () => F.dataset,
|
|
70
68
|
component: "VueUiTableHeatmap",
|
|
@@ -88,14 +86,14 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
88
86
|
}
|
|
89
87
|
]
|
|
90
88
|
});
|
|
91
|
-
let { userOptionsVisible:
|
|
92
|
-
function
|
|
89
|
+
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } = le({ config: V.value });
|
|
90
|
+
function K() {
|
|
93
91
|
let e = o({
|
|
94
92
|
userConfig: F.config,
|
|
95
|
-
defaultConfig:
|
|
93
|
+
defaultConfig: N
|
|
96
94
|
}), t = e.theme;
|
|
97
95
|
if (!t) return e;
|
|
98
|
-
if (!
|
|
96
|
+
if (!Se.value(e)) return P(e), e;
|
|
99
97
|
let n = o({
|
|
100
98
|
userConfig: ue[t] || F.config,
|
|
101
99
|
defaultConfig: e
|
|
@@ -106,24 +104,25 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
106
104
|
});
|
|
107
105
|
}
|
|
108
106
|
ve(() => F.config, (e) => {
|
|
109
|
-
V.value =
|
|
107
|
+
V.value = K(), U.value = !V.value.userOptions.showOnChartHover, Y();
|
|
110
108
|
}, { deep: !0 });
|
|
111
|
-
let { isPrinting: we, isImaging: Te, generatePdf:
|
|
109
|
+
let { isPrinting: we, isImaging: Te, generatePdf: q, generateImage: J } = oe({
|
|
112
110
|
elementId: `table_heatmap_${I.value}`,
|
|
113
111
|
fileName: "vue-ui-table-heatmap",
|
|
114
112
|
options: V.value.userOptions.print
|
|
115
|
-
}),
|
|
113
|
+
}), Ee = l(() => V.value.table.responsiveBreakpoint), De = l(() => !!F.dataset && F.dataset.length);
|
|
116
114
|
v(() => {
|
|
117
115
|
Y();
|
|
118
116
|
});
|
|
119
117
|
function Y() {
|
|
120
118
|
r(F.dataset) && te({
|
|
121
119
|
componentName: "VueUiTableHeatmap",
|
|
122
|
-
type: "dataset"
|
|
120
|
+
type: "dataset",
|
|
121
|
+
debug: H.value
|
|
123
122
|
});
|
|
124
123
|
let e = new ResizeObserver((e) => {
|
|
125
124
|
e.forEach((e) => {
|
|
126
|
-
L.value = e.contentRect.width <
|
|
125
|
+
L.value = e.contentRect.width < Ee.value;
|
|
127
126
|
});
|
|
128
127
|
});
|
|
129
128
|
R.value && e.observe(R.value);
|
|
@@ -150,14 +149,14 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
150
149
|
max: Math.max(...e)
|
|
151
150
|
};
|
|
152
151
|
});
|
|
153
|
-
function
|
|
152
|
+
function Oe(e, t) {
|
|
154
153
|
let n = V.value.style.heatmapColors.useIndividualScale;
|
|
155
154
|
return ne(V.value.style.heatmapColors.min, V.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
|
|
156
155
|
}
|
|
157
156
|
let Q = l(() => X.value.map((e) => ({
|
|
158
157
|
...e,
|
|
159
|
-
colors: e.displayValues.map((t) => isNaN(t) ? V.value.style.backgroundColor :
|
|
160
|
-
}))),
|
|
158
|
+
colors: e.displayValues.map((t) => isNaN(t) ? V.value.style.backgroundColor : Oe(t, e.serieExtremes))
|
|
159
|
+
}))), ke = l(() => V.value.style.backgroundColor), Ae = l(() => `${V.value.table.borderWidth}px`);
|
|
161
160
|
function $(e = null) {
|
|
162
161
|
he(() => {
|
|
163
162
|
let r = Q.value.map((e) => [
|
|
@@ -166,26 +165,26 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
166
165
|
[e.sum],
|
|
167
166
|
[e.average],
|
|
168
167
|
[e.median]
|
|
169
|
-
]), i =
|
|
168
|
+
]), i = [[
|
|
170
169
|
[""],
|
|
171
170
|
V.value.table.head.values,
|
|
172
171
|
["sum"],
|
|
173
172
|
["average"],
|
|
174
173
|
["median"]
|
|
175
|
-
]].concat(r));
|
|
176
|
-
e ? e(
|
|
177
|
-
csvContent:
|
|
174
|
+
]].concat(r), a = n(i);
|
|
175
|
+
e ? e(a) : t({
|
|
176
|
+
csvContent: a,
|
|
178
177
|
title: "vue-ui-table-heatmap"
|
|
179
178
|
});
|
|
180
179
|
});
|
|
181
180
|
}
|
|
182
|
-
function
|
|
181
|
+
function je(e) {
|
|
183
182
|
z.value = e, B.value += 1;
|
|
184
183
|
}
|
|
185
184
|
return s({
|
|
186
|
-
generatePdf:
|
|
185
|
+
generatePdf: q,
|
|
187
186
|
generateCsv: $,
|
|
188
|
-
generateImage:
|
|
187
|
+
generateImage: J
|
|
189
188
|
}), (e, t) => (y(), d("div", {
|
|
190
189
|
ref_key: "tableContainer",
|
|
191
190
|
ref: R,
|
|
@@ -195,10 +194,10 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
195
194
|
"vue-ui-responsive": L.value
|
|
196
195
|
}),
|
|
197
196
|
id: `table_heatmap_${I.value}`,
|
|
198
|
-
onMouseenter: t[0] ||= () => C(
|
|
199
|
-
onMouseleave: t[1] ||= () => C(
|
|
197
|
+
onMouseenter: t[0] ||= () => C(W)(!0),
|
|
198
|
+
onMouseleave: t[1] ||= () => C(W)(!1)
|
|
200
199
|
}, [
|
|
201
|
-
V.value.userOptions.show &&
|
|
200
|
+
V.value.userOptions.show && De.value && (C(G) || C(U)) ? (y(), de(C(T), {
|
|
202
201
|
ref: "details",
|
|
203
202
|
key: `user_option_${B.value}`,
|
|
204
203
|
backgroundColor: V.value.style.backgroundColor,
|
|
@@ -216,11 +215,11 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
216
215
|
position: V.value.userOptions.position,
|
|
217
216
|
callbacks: V.value.userOptions.callbacks,
|
|
218
217
|
printScale: V.value.userOptions.print.scale,
|
|
219
|
-
onToggleFullscreen:
|
|
220
|
-
onGeneratePdf: C(
|
|
218
|
+
onToggleFullscreen: je,
|
|
219
|
+
onGeneratePdf: C(q),
|
|
221
220
|
onGenerateCsv: $,
|
|
222
|
-
onGenerateImage: C(
|
|
223
|
-
style: _({ visibility: C(
|
|
221
|
+
onGenerateImage: C(J),
|
|
222
|
+
style: _({ visibility: C(G) ? C(U) ? "visible" : "hidden" : "visible" })
|
|
224
223
|
}, fe({ _: 2 }, [
|
|
225
224
|
e.$slots.menuIcon ? {
|
|
226
225
|
name: "menuIcon",
|
|
@@ -297,11 +296,11 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
297
296
|
type: typeof t,
|
|
298
297
|
isResponsive: L.value
|
|
299
298
|
}), void 0, !0)]))), 256))], 4)]),
|
|
300
|
-
f("tbody", null, [(y(!0), d(c, null, x(Q.value, (t, n) => (y(), d("tr",
|
|
299
|
+
f("tbody", null, [(y(!0), d(c, null, x(Q.value, (t, n) => (y(), d("tr", xe, [
|
|
301
300
|
(y(!0), d(c, null, x(t.displayValues, (r, i) => (y(), d("td", {
|
|
302
301
|
role: "cell",
|
|
303
302
|
"data-cell": V.value.table.head.values[i]
|
|
304
|
-
}, [t.color && i === 0 ? (y(), d("div",
|
|
303
|
+
}, [t.color && i === 0 ? (y(), d("div", D, [t.color ? (y(), d("svg", {
|
|
305
304
|
key: 0,
|
|
306
305
|
height: V.value.style.shapeSize,
|
|
307
306
|
width: V.value.style.shapeSize,
|
|
@@ -318,7 +317,7 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
318
317
|
color: t.color,
|
|
319
318
|
radius: 9,
|
|
320
319
|
shape: t.shape || "circle"
|
|
321
|
-
}, null, 8, ["color", "shape"])], 8,
|
|
320
|
+
}, null, 8, ["color", "shape"])], 8, O)) : u("", !0), S(e.$slots, "rowTitle", m({ ref_for: !0 }, {
|
|
322
321
|
value: r,
|
|
323
322
|
rowIndex: n,
|
|
324
323
|
colIndex: i,
|
|
@@ -338,27 +337,27 @@ var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell
|
|
|
338
337
|
isResponsive: L.value,
|
|
339
338
|
color: t.colors[i],
|
|
340
339
|
textColor: C(ee)(t.colors[i])
|
|
341
|
-
}), void 0, !0, 1) : u("", !0)], 64))], 8,
|
|
342
|
-
V.value.table.showSum ? (y(), d("td",
|
|
340
|
+
}), void 0, !0, 1) : u("", !0)], 64))], 8, E))), 256)),
|
|
341
|
+
V.value.table.showSum ? (y(), d("td", k, [S(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
343
342
|
value: t.sum,
|
|
344
343
|
rowIndex: n,
|
|
345
344
|
isResponsive: L.value
|
|
346
345
|
}), void 0, !0)])) : u("", !0),
|
|
347
|
-
V.value.table.showAverage ? (y(), d("td",
|
|
346
|
+
V.value.table.showAverage ? (y(), d("td", A, [S(e.$slots, "average", m({ ref_for: !0 }, {
|
|
348
347
|
value: t.average,
|
|
349
348
|
rowIndex: n,
|
|
350
349
|
isResponsive: L.value
|
|
351
350
|
}), void 0, !0)])) : u("", !0),
|
|
352
|
-
V.value.table.showMedian ? (y(), d("td",
|
|
351
|
+
V.value.table.showMedian ? (y(), d("td", j, [S(e.$slots, "median", m({ ref_for: !0 }, {
|
|
353
352
|
value: t.median,
|
|
354
353
|
rowIndex: n,
|
|
355
354
|
isResponsive: L.value
|
|
356
355
|
}), void 0, !0)])) : u("", !0)
|
|
357
356
|
]))), 256))])
|
|
358
357
|
], 4),
|
|
359
|
-
e.$slots.source ? (y(), d("div",
|
|
358
|
+
e.$slots.source ? (y(), d("div", M, [S(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
|
|
360
359
|
], 46, ye));
|
|
361
360
|
}
|
|
362
|
-
}, [["__scopeId", "data-v-
|
|
361
|
+
}, [["__scopeId", "data-v-38352ed2"]]);
|
|
363
362
|
//#endregion
|
|
364
|
-
export { T as n,
|
|
363
|
+
export { T 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, Kt as r, Pt as i, S as a, X as o, i as ee, jt as te, m as ne, pt as re, q as ie, tt as ae, w as oe } from "./lib-
|
|
2
|
+
import { $ as t, D as n, Kt as r, Pt as i, S as a, X as o, i as ee, jt as te, m as ne, pt as re, q as ie, tt as ae, w as oe } from "./lib-Bttd6u5E.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-DlNpz6P8.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-DN5bYhTG.js";
|
|
6
|
+
import { t as s } from "./useNestedProp-vPNvh7rV.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";
|
|
@@ -50,16 +50,14 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
50
50
|
},
|
|
51
51
|
emits: ["copyAlt"],
|
|
52
52
|
setup(e, { expose: fe, emit: Ee }) {
|
|
53
|
-
Se((e) => ({
|
|
54
|
-
let T = m(() => import("./vue-ui-sparkline-
|
|
55
|
-
be(() => {
|
|
56
|
-
Ke["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
57
|
-
});
|
|
58
|
-
let j = l({
|
|
53
|
+
Se((e) => ({ v4821b9e9: e.tdo }));
|
|
54
|
+
let T = m(() => import("./vue-ui-sparkline-RbeYtLWp.js").then((e) => e.n)), E = m(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), Be = m(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_table_sparkline: Ve } = le(), { isThemeValid: He, warnInvalidTheme: Ue } = de(), D = e, We = Ee, O = y(ie()), Ge = y(0), k = y(0), A = y(null), Ke = Ce(), qe = y(!1), j = l({
|
|
59
55
|
get: () => Ze(),
|
|
60
56
|
set: (e) => e
|
|
61
57
|
});
|
|
62
|
-
|
|
58
|
+
be(() => {
|
|
59
|
+
Ke["chart-background"] && j.value.debug && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
60
|
+
}), se({
|
|
63
61
|
config: () => j.value,
|
|
64
62
|
dataset: () => D.dataset,
|
|
65
63
|
component: "VueUiTableSparkline",
|
|
@@ -293,9 +291,9 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
293
291
|
[e.sum],
|
|
294
292
|
[e.average],
|
|
295
293
|
[e.median]
|
|
296
|
-
]), a =
|
|
297
|
-
e ? e(
|
|
298
|
-
csvContent:
|
|
294
|
+
]), a = [r].concat(i), o = n(a);
|
|
295
|
+
e ? e(o) : t({
|
|
296
|
+
csvContent: o,
|
|
299
297
|
title: j.value.title.text || "vue-ui-table-sparkline"
|
|
300
298
|
});
|
|
301
299
|
});
|
|
@@ -735,6 +733,6 @@ var Ee = /* @__PURE__ */ e({ default: () => T }), De = ["id"], Oe = { style: {
|
|
|
735
733
|
e.$slots.source ? (v(), d("div", ze, [x(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0)
|
|
736
734
|
], 42, De));
|
|
737
735
|
}
|
|
738
|
-
}, [["__scopeId", "data-v-
|
|
736
|
+
}, [["__scopeId", "data-v-004f0a63"]]);
|
|
739
737
|
//#endregion
|
|
740
738
|
export { Ee as n, T as t };
|