vue-data-ui 3.25.11 → 3.25.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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 +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
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 { D as t, Rt as n, X as r, at as i, m as ee, nt as te, r as ne, wt as re } from "./lib-DOpaUOQx.js";
|
|
3
|
+
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as oe } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as se } from "./usePrinter-BBBooAGP.js";
|
|
6
|
+
import { t as a } from "./useNestedProp-Bux0f4iY.js";
|
|
7
|
+
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
+
import { t as le } from "./Shape-VCdxvFV9.js";
|
|
9
|
+
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
10
|
+
import { t as ue } from "./useUserOptionState-DK-_1ddE.js";
|
|
11
|
+
import { t as de } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
12
|
+
import { Fragment as s, computed as c, createBlock as fe, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, 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
|
|
14
|
+
var T = /* @__PURE__ */ e({ default: () => P }), ye = ["id"], be = { role: "cell" }, E = { role: "row" }, D = ["data-cell"], O = {
|
|
15
15
|
key: 0,
|
|
16
16
|
style: {
|
|
17
17
|
display: "flex",
|
|
@@ -19,23 +19,23 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
19
19
|
gap: "2px",
|
|
20
20
|
"align-items": "center"
|
|
21
21
|
}
|
|
22
|
-
},
|
|
22
|
+
}, k = ["height", "width"], A = {
|
|
23
23
|
key: 0,
|
|
24
24
|
role: "cell",
|
|
25
25
|
"data-cell": "sum"
|
|
26
|
-
},
|
|
26
|
+
}, j = {
|
|
27
27
|
key: 1,
|
|
28
28
|
role: "cell",
|
|
29
29
|
"data-cell": "average"
|
|
30
|
-
},
|
|
30
|
+
}, M = {
|
|
31
31
|
key: 2,
|
|
32
32
|
role: "cell",
|
|
33
33
|
"data-cell": "median"
|
|
34
|
-
},
|
|
34
|
+
}, N = {
|
|
35
35
|
key: 1,
|
|
36
36
|
ref: "source",
|
|
37
37
|
dir: "auto"
|
|
38
|
-
},
|
|
38
|
+
}, P = /*#__PURE__*/ o({
|
|
39
39
|
__name: "vue-ui-table-heatmap",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -51,23 +51,23 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
|
-
setup(e, { expose:
|
|
55
|
-
|
|
54
|
+
setup(e, { expose: o }) {
|
|
55
|
+
ge((e) => ({
|
|
56
56
|
v1ad1563c: Ae.value,
|
|
57
57
|
v63a351d2: ke.value
|
|
58
58
|
}));
|
|
59
|
-
let
|
|
59
|
+
let T = me(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = oe(), { isThemeValid: xe, warnInvalidTheme: Se } = ce(), F = e, I = b(r()), L = b(!1), R = b(null), z = b(!1), B = b(0), Ce = _e(), V = c({
|
|
60
60
|
get: () => K(),
|
|
61
61
|
set: (e) => e
|
|
62
|
-
}), H =
|
|
63
|
-
|
|
62
|
+
}), H = c(() => V.value.debug);
|
|
63
|
+
v(() => {
|
|
64
64
|
Ce["chart-background"] && H.value && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
65
|
-
}),
|
|
65
|
+
}), ie({
|
|
66
66
|
config: () => V.value,
|
|
67
67
|
dataset: () => F.dataset,
|
|
68
68
|
component: "VueUiTableHeatmap",
|
|
69
69
|
rules: [
|
|
70
|
-
|
|
70
|
+
ae.emptyArray,
|
|
71
71
|
{
|
|
72
72
|
test: (e) => e.length > 31,
|
|
73
73
|
message: [
|
|
@@ -86,36 +86,36 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
86
86
|
}
|
|
87
87
|
]
|
|
88
88
|
});
|
|
89
|
-
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } =
|
|
89
|
+
let { userOptionsVisible: U, setUserOptionsVisibility: W, keepUserOptionState: G } = ue({ config: V.value });
|
|
90
90
|
function K() {
|
|
91
|
-
let e =
|
|
91
|
+
let e = a({
|
|
92
92
|
userConfig: F.config,
|
|
93
|
-
defaultConfig:
|
|
93
|
+
defaultConfig: P
|
|
94
94
|
}), t = e.theme;
|
|
95
95
|
if (!t) return e;
|
|
96
|
-
if (!
|
|
97
|
-
let n =
|
|
98
|
-
userConfig:
|
|
96
|
+
if (!xe.value(e)) return Se(e), e;
|
|
97
|
+
let n = a({
|
|
98
|
+
userConfig: de[t] || F.config,
|
|
99
99
|
defaultConfig: e
|
|
100
100
|
});
|
|
101
|
-
return
|
|
101
|
+
return a({
|
|
102
102
|
userConfig: F.config,
|
|
103
103
|
defaultConfig: n
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
|
-
|
|
106
|
+
ve(() => 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 } = se({
|
|
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 = c(() => V.value.table.responsiveBreakpoint), De = c(() => !!F.dataset && F.dataset.length);
|
|
114
|
+
v(() => {
|
|
115
115
|
Y();
|
|
116
116
|
});
|
|
117
117
|
function Y() {
|
|
118
|
-
|
|
118
|
+
n(F.dataset) && i({
|
|
119
119
|
componentName: "VueUiTableHeatmap",
|
|
120
120
|
type: "dataset",
|
|
121
121
|
debug: H.value
|
|
@@ -127,7 +127,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
127
127
|
});
|
|
128
128
|
R.value && e.observe(R.value);
|
|
129
129
|
}
|
|
130
|
-
let X =
|
|
130
|
+
let X = c(() => 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 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: ee(t),
|
|
142
142
|
displayValues: [e.name, ...e.values],
|
|
143
|
-
id:
|
|
143
|
+
id: r()
|
|
144
144
|
};
|
|
145
|
-
})), Z =
|
|
145
|
+
})), Z = c(() => {
|
|
146
146
|
let e = X.value.flatMap((e) => e.values);
|
|
147
147
|
return {
|
|
148
148
|
min: Math.min(...e),
|
|
@@ -151,29 +151,29 @@ 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 re(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 = c(() => 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 = c(() => V.value.style.backgroundColor), Ae = c(() => `${V.value.table.borderWidth}px`);
|
|
160
160
|
function $(e = null) {
|
|
161
|
-
|
|
162
|
-
let
|
|
161
|
+
he(() => {
|
|
162
|
+
let n = Q.value.map((e) => [
|
|
163
163
|
[e.name],
|
|
164
164
|
e.displayValues,
|
|
165
165
|
[e.sum],
|
|
166
166
|
[e.average],
|
|
167
167
|
[e.median]
|
|
168
|
-
]),
|
|
168
|
+
]), r = [[
|
|
169
169
|
[""],
|
|
170
170
|
V.value.table.head.values,
|
|
171
171
|
["sum"],
|
|
172
172
|
["average"],
|
|
173
173
|
["median"]
|
|
174
|
-
]].concat(
|
|
175
|
-
e ? e(
|
|
176
|
-
csvContent:
|
|
174
|
+
]].concat(n), i = t(r);
|
|
175
|
+
e ? e(i) : te({
|
|
176
|
+
csvContent: i,
|
|
177
177
|
title: "vue-ui-table-heatmap"
|
|
178
178
|
});
|
|
179
179
|
});
|
|
@@ -181,29 +181,29 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
181
181
|
function je(e) {
|
|
182
182
|
z.value = e, B.value += 1;
|
|
183
183
|
}
|
|
184
|
-
return
|
|
184
|
+
return o({
|
|
185
185
|
generatePdf: q,
|
|
186
186
|
generateCsv: $,
|
|
187
187
|
generateImage: J
|
|
188
|
-
}), (e, t) => (
|
|
188
|
+
}), (e, t) => (y(), u("div", {
|
|
189
189
|
ref_key: "tableContainer",
|
|
190
190
|
ref: R,
|
|
191
|
-
style:
|
|
192
|
-
class:
|
|
191
|
+
style: _(`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: h({
|
|
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] ||= () => C(W)(!0),
|
|
198
|
+
onMouseleave: t[1] ||= () => C(W)(!1)
|
|
199
199
|
}, [
|
|
200
|
-
V.value.userOptions.show && De.value && (
|
|
200
|
+
V.value.userOptions.show && De.value && (C(G) || C(U)) ? (y(), fe(C(T), {
|
|
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: C(we),
|
|
206
|
+
isImaging: C(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 E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { 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: C(q),
|
|
220
220
|
onGenerateCsv: $,
|
|
221
|
-
onGenerateImage:
|
|
222
|
-
style:
|
|
223
|
-
},
|
|
221
|
+
onGenerateImage: C(J),
|
|
222
|
+
style: _({ visibility: C(G) ? C(U) ? "visible" : "hidden" : "visible" })
|
|
223
|
+
}, f({ _: 2 }, [
|
|
224
224
|
e.$slots.menuIcon ? {
|
|
225
225
|
name: "menuIcon",
|
|
226
|
-
fn:
|
|
226
|
+
fn: w(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", g(p({
|
|
227
227
|
isOpen: t,
|
|
228
228
|
color: n
|
|
229
229
|
})), void 0, !0)]),
|
|
@@ -231,22 +231,22 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
231
231
|
} : void 0,
|
|
232
232
|
e.$slots.optionPdf ? {
|
|
233
233
|
name: "optionPdf",
|
|
234
|
-
fn:
|
|
234
|
+
fn: w(() => [S(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: w(() => [S(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: w(() => [S(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: w(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", g(p({
|
|
250
250
|
toggleFullscreen: t,
|
|
251
251
|
isFullscreen: n
|
|
252
252
|
})), void 0, !0)]),
|
|
@@ -254,12 +254,12 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
254
254
|
} : void 0,
|
|
255
255
|
e.$slots["custom-menu-before"] ? {
|
|
256
256
|
name: "custom-menu-before",
|
|
257
|
-
fn:
|
|
257
|
+
fn: w(() => [S(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: w(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
263
263
|
key: "6"
|
|
264
264
|
} : void 0
|
|
265
265
|
]), 1032, [
|
|
@@ -281,26 +281,26 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
281
281
|
"onGeneratePdf",
|
|
282
282
|
"onGenerateImage",
|
|
283
283
|
"style"
|
|
284
|
-
])) :
|
|
285
|
-
|
|
286
|
-
class:
|
|
287
|
-
style:
|
|
284
|
+
])) : l("", !0),
|
|
285
|
+
d("table", {
|
|
286
|
+
class: h({ "vue-ui-table-heatmap": !0 }),
|
|
287
|
+
style: _(`width:100%;font-family:${V.value.style.fontFamily};background:${V.value.style.backgroundColor};`)
|
|
288
288
|
}, [
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
d("caption", null, [S(e.$slots, "caption", {}, void 0, !0)]),
|
|
290
|
+
d("thead", null, [d("tr", {
|
|
291
291
|
role: "row",
|
|
292
|
-
style:
|
|
293
|
-
}, [(
|
|
292
|
+
style: _(`background:${V.value.table.head.backgroundColor};color:${V.value.table.head.color}`)
|
|
293
|
+
}, [(y(!0), u(s, null, x(V.value.table.head.values, (t, n) => (y(), u("th", be, [S(e.$slots, "head", m({ 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
|
+
d("tbody", null, [(y(!0), u(s, null, x(Q.value, (t, n) => (y(), u("tr", E, [
|
|
300
|
+
(y(!0), u(s, null, x(t.displayValues, (r, i) => (y(), u("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 ? (y(), u("div", O, [t.color ? (y(), u("svg", {
|
|
304
304
|
key: 0,
|
|
305
305
|
height: V.value.style.shapeSize,
|
|
306
306
|
width: V.value.style.shapeSize,
|
|
@@ -309,7 +309,7 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
309
309
|
background: "none",
|
|
310
310
|
overflow: "visible"
|
|
311
311
|
}
|
|
312
|
-
}, [
|
|
312
|
+
}, [pe(le, {
|
|
313
313
|
plot: {
|
|
314
314
|
x: 10,
|
|
315
315
|
y: 10
|
|
@@ -317,47 +317,47 @@ var E = /* @__PURE__ */ e({ default: () => N }), ve = ["id"], ye = { role: "cell
|
|
|
317
317
|
color: t.color,
|
|
318
318
|
radius: 9,
|
|
319
319
|
shape: t.shape || "circle"
|
|
320
|
-
}, null, 8, ["color", "shape"])], 8,
|
|
320
|
+
}, null, 8, ["color", "shape"])], 8, k)) : l("", !0), S(e.$slots, "rowTitle", m({ 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)])) : (y(), u(s, { key: 1 }, [i === 0 ? S(e.$slots, "rowTitle", m({ 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) : l("", !0), i > 0 ? S(e.$slots, "cell", m({ 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: C(ne)(t.colors[i])
|
|
340
|
+
}), void 0, !0, 1) : l("", !0)], 64))], 8, D))), 256)),
|
|
341
|
+
V.value.table.showSum ? (y(), u("td", A, [S(e.$slots, "sum", m({ 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)])) : l("", !0),
|
|
346
|
+
V.value.table.showAverage ? (y(), u("td", j, [S(e.$slots, "average", m({ 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)])) : l("", !0),
|
|
351
|
+
V.value.table.showMedian ? (y(), u("td", M, [S(e.$slots, "median", m({ 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)])) : l("", !0)
|
|
356
356
|
]))), 256))])
|
|
357
357
|
], 4),
|
|
358
|
-
e.$slots.source ? (
|
|
359
|
-
], 46,
|
|
358
|
+
e.$slots.source ? (y(), u("div", N, [S(e.$slots, "source", {}, void 0, !0)], 512)) : l("", !0)
|
|
359
|
+
], 46, ye));
|
|
360
360
|
}
|
|
361
361
|
}, [["__scopeId", "data-v-38352ed2"]]);
|
|
362
362
|
//#endregion
|
|
363
|
-
export {
|
|
363
|
+
export { T as n, P as t };
|