vue-data-ui 3.20.11 → 3.21.1
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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/PackageVersion-C19kRMwz.js +12 -0
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/package-2loQetAS.js +4 -0
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/render-common-ZYTBPta1.js +152 -0
- package/dist/ssr/vue-ui-donut.js +2 -0
- package/dist/ssr/vue-ui-xy.js +2 -0
- package/dist/ssr.js +3 -0
- package/dist/types/ssr.d.ts +182 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-Pk8ey2Zp.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-VTeR1mZx.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-xEOXbRHP.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-CrZLxzj_.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-CTgHWBol.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-BnlUMIhy.js} +276 -276
- package/dist/vue-ui-carousel-table-CUCUCXKo.js +455 -0
- package/dist/vue-ui-chestnut-duBljSlu.js +2010 -0
- package/dist/vue-ui-chord-Bj4slh-a.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-i8NWuWRC.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-gsK2MfeA.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-D1iHafKn.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CHGG2h_R.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-L0CQHwNC.js} +3 -3
- package/dist/vue-ui-donut-BvdCujBD.js +973 -0
- package/dist/vue-ui-donut-DZI7-m5W.js +2410 -0
- package/dist/vue-ui-donut-evolution-6Swt5Bfu.js +1510 -0
- package/dist/vue-ui-dumbbell-Du7kYvcj.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-CCuIvxey.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-CjGDyxgn.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-CgfJo8YL.js} +330 -330
- package/dist/vue-ui-gauge-CQOlEqFH.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-BDmUqZzA.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-C5TF8RsA.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-DNfexjVQ.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-BsRlZ3Ch.js} +74 -74
- package/dist/vue-ui-horizontal-bar-B3FVEoEc.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-DvNkTrdr.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-SSu23l.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-C0uBZS5M.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CvOcH0kV.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-DtQBdJrD.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-Bg2tSMri.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-aMfV7BCQ.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-B9E9JbtT.js} +359 -359
- package/dist/vue-ui-radar-C3sVf4Kk.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-Bh8gBtow.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CvON901U.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-2oM3ddqR.js} +81 -81
- package/dist/vue-ui-scatter-DJJ6I8jn.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-CUf4LhWq.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-5EbTK8CN.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-V1Q7yOzO.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-DVFBXPs-.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram--mzKP-M1.js} +110 -110
- package/dist/vue-ui-sparkline-IbMn1jAF.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-BehvXszi.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-D--yXf7n.js} +81 -81
- package/dist/vue-ui-stackline-DI2_W85f.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-D243ak4S.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-ChiyCBKh.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-BN4D7tBN.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CV4l5Sjx.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-DtvtZpm0.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-Bk3Cy8YN.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-CU7kBoiL.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-CIevmSko.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-CFkx_bUf.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-DJ7e4RZy.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-Cng3zjSW.js} +445 -445
- package/dist/vue-ui-xy-B8jNN9dy.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/dist/vue-ui-xy-yPqdWpyW.js +1263 -0
- package/package.json +5 -1
- package/dist/PackageVersion-eS823iMF.js +0 -11
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { c as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { G as t, H as n, Ht as r, J as i, S as a, Tt as o, Wt as s, X as c, ct as l, ht as u, i as d, it as ee, mt as f, r as p, t as te, v as m } from "./lib-AJRHFE5U.js";
|
|
3
|
+
import { t as ne } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
+
import { t as re } from "./useConfig-DnH7Pf_2.js";
|
|
5
|
+
import { t as ie } from "./usePrinter-6n2MzVyV.js";
|
|
6
|
+
import { n as ae, t as oe } from "./BaseScanner-Dr2a1Msy.js";
|
|
7
|
+
import { t as se } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
+
import { t as ce } from "./useNestedProp-DtcXIg7n.js";
|
|
9
|
+
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as ue } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
+
import { t as de } from "./img-C_RNNswI.js";
|
|
12
|
+
import { n as fe } from "./Title-DH6G8_cZ.js";
|
|
13
|
+
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
|
+
import { c as me } from "./canvas-lib-BOP_HS11.js";
|
|
15
|
+
import { t as he } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
+
import { t as ge } from "./vue-ui-accordion-DLnwuQda.js";
|
|
17
|
+
import { t as _e } from "./A11yDataTable-BCbtxMU6.js";
|
|
18
|
+
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
|
+
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
+
import { t as be } from "./useTableResponsive-B24Uwt2E.js";
|
|
21
|
+
import { t as xe } from "./vue_ui_heatmap-B2BBBSWG.js";
|
|
22
|
+
import { Fragment as h, computed as g, createBlock as Se, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Ce, createTextVNode as we, createVNode as Te, defineAsyncComponent as b, guardReactiveProps as x, mergeProps as Ee, nextTick as S, normalizeClass as De, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Oe, onMounted as ke, openBlock as T, reactive as Ae, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as je, shallowRef as Me, toDisplayString as k, toRefs as Ne, unref as A, useCssVars as Pe, vShow as Fe, watch as Ie, watchEffect as Le, withCtx as j, withDirectives as Re, withKeys as ze } from "vue";
|
|
23
23
|
//#region src/useLabelObserverEfffect.js
|
|
24
24
|
function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
|
|
25
25
|
if (r) return;
|
|
@@ -43,7 +43,7 @@ function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFra
|
|
|
43
43
|
if (!n) return;
|
|
44
44
|
let r = !1;
|
|
45
45
|
(async () => {
|
|
46
|
-
await
|
|
46
|
+
await S();
|
|
47
47
|
for (let t = 0; t < i; t += 1) {
|
|
48
48
|
if (r) return;
|
|
49
49
|
await new Promise((e) => requestAnimationFrame(e));
|
|
@@ -101,10 +101,10 @@ function He(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, in
|
|
|
101
101
|
e.removeAttribute("transform"), e.removeAttribute("visibility");
|
|
102
102
|
let u = !1, d = !1;
|
|
103
103
|
e.setAttribute("font-size", r);
|
|
104
|
-
let
|
|
105
|
-
if (
|
|
104
|
+
let ee = e.getComputedTextLength();
|
|
105
|
+
if (ee <= t) o(a, !1), s(a, !1);
|
|
106
106
|
else {
|
|
107
|
-
let n = Math.floor(r * t /
|
|
107
|
+
let n = Math.floor(r * t / ee);
|
|
108
108
|
n >= i ? (e.setAttribute("font-size", n), o(a, !1), s(a, !1)) : (o(a, !0), s(a, !1), u = !0);
|
|
109
109
|
}
|
|
110
110
|
if (c && (u = !0), u) {
|
|
@@ -264,7 +264,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
264
264
|
"justify-content": "flex-end",
|
|
265
265
|
width: "100%",
|
|
266
266
|
"padding-right": "3px"
|
|
267
|
-
} }, xt = /* @__PURE__ */
|
|
267
|
+
} }, xt = /* @__PURE__ */ pe({
|
|
268
268
|
__name: "vue-ui-heatmap",
|
|
269
269
|
props: {
|
|
270
270
|
config: {
|
|
@@ -281,19 +281,19 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
emits: ["selectDatapoint", "copyAlt"],
|
|
284
|
-
setup(e, { expose:
|
|
284
|
+
setup(e, { expose: pe, emit: He }) {
|
|
285
285
|
Pe((e) => ({ v4596c7e2: e.tdo }));
|
|
286
|
-
let Ue =
|
|
286
|
+
let Ue = b(() => import("./Tooltip-979Ytd8R.js")), xt = b(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), St = b(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Ct = b(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), wt = b(() => import("./PackageVersion-C19kRMwz.js").then((e) => e.t)), Tt = b(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_heatmap: Et } = re(), { isThemeValid: Dt, warnInvalidTheme: Ot } = le(), M = e, kt = He, At = g({
|
|
287
287
|
get() {
|
|
288
288
|
return !!M.dataset && M.dataset.length;
|
|
289
289
|
},
|
|
290
290
|
set(e) {
|
|
291
291
|
return e;
|
|
292
292
|
}
|
|
293
|
-
}), jt = E(
|
|
293
|
+
}), jt = E(n()), N = E(null), Mt = E(!1), Nt = E(""), Pt = E(void 0), P = E(null), Ft = E(0), It = E(null), Lt = E(0), Rt = E(null), zt = E(null), Bt = E(null), Vt = E(!1), Ht = E(!1), Ut = E(null), Wt = E(null), Gt = E(null), Kt = E(null), qt = E(null), Jt = E(null), Yt = E(null), Xt = E(null), Zt = E(null), F = Me(null), I = E(null), Qt = E(null), $t = E({
|
|
294
294
|
x: 0,
|
|
295
295
|
y: 0
|
|
296
|
-
}), en = E("pointer"), tn = E(!1), L = E(fn()), nn =
|
|
296
|
+
}), en = E("pointer"), tn = E(!1), L = E(fn()), nn = g(() => L.value.userOptions.useCursorPointer);
|
|
297
297
|
function rn() {
|
|
298
298
|
let e = Array(7).fill("_"), t = [], n = e.length;
|
|
299
299
|
for (let r = 0; r < n; r += 1) {
|
|
@@ -306,7 +306,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
306
306
|
}
|
|
307
307
|
return t;
|
|
308
308
|
}
|
|
309
|
-
let an =
|
|
309
|
+
let an = g(() => r({
|
|
310
310
|
defaultConfig: {
|
|
311
311
|
table: { show: !1 },
|
|
312
312
|
userOptions: { show: !1 },
|
|
@@ -330,39 +330,39 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
332
|
userConfig: L.value.skeletonConfig ?? {}
|
|
333
|
-
})), { loading: on, FINAL_DATASET: R, manualLoading: sn } =
|
|
333
|
+
})), { loading: on, FINAL_DATASET: R, manualLoading: sn } = ae({
|
|
334
334
|
...Ne(M),
|
|
335
335
|
FINAL_CONFIG: L,
|
|
336
336
|
prepareConfig: fn,
|
|
337
337
|
callback: () => {
|
|
338
338
|
Promise.resolve().then(async () => {
|
|
339
|
-
await
|
|
339
|
+
await S(), N.value && s(N.value, {
|
|
340
340
|
delta: .1,
|
|
341
341
|
delay: 250
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
344
|
},
|
|
345
345
|
skeletonDataset: M.config?.skeletonDataset ?? rn(),
|
|
346
|
-
skeletonConfig:
|
|
346
|
+
skeletonConfig: r({
|
|
347
347
|
defaultConfig: L.value,
|
|
348
348
|
userConfig: an.value
|
|
349
349
|
})
|
|
350
|
-
}), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } =
|
|
350
|
+
}), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = ve({ config: L.value }), { svgRef: z } = ye({ config: L.value.style.title });
|
|
351
351
|
function dn(e) {
|
|
352
352
|
ln(e);
|
|
353
353
|
}
|
|
354
354
|
function fn() {
|
|
355
|
-
let e =
|
|
355
|
+
let e = ce({
|
|
356
356
|
userConfig: M.config,
|
|
357
357
|
defaultConfig: Et
|
|
358
358
|
}), t = {}, n = e.theme;
|
|
359
359
|
if (n) if (!Dt.value(e)) Ot(e), t = e;
|
|
360
360
|
else {
|
|
361
|
-
let r =
|
|
362
|
-
userConfig:
|
|
361
|
+
let r = ce({
|
|
362
|
+
userConfig: xe[n] || M.config,
|
|
363
363
|
defaultConfig: e
|
|
364
364
|
});
|
|
365
|
-
t = { ...
|
|
365
|
+
t = { ...ce({
|
|
366
366
|
userConfig: M.config,
|
|
367
367
|
defaultConfig: r
|
|
368
368
|
}) };
|
|
@@ -375,11 +375,11 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
375
375
|
}, { deep: !0 }), Ie(() => M.dataset, (e) => {
|
|
376
376
|
Array.isArray(e) && e.length > 0 && (sn.value = !1), bn();
|
|
377
377
|
}, { deep: !0 });
|
|
378
|
-
let { isPrinting: pn, isImaging: mn, generatePdf: hn, generateImage: gn } =
|
|
378
|
+
let { isPrinting: pn, isImaging: mn, generatePdf: hn, generateImage: gn } = ie({
|
|
379
379
|
elementId: `heatmap__${jt.value}`,
|
|
380
380
|
fileName: L.value.style.title.text || "vue-ui-heatmap",
|
|
381
381
|
options: L.value.userOptions.print
|
|
382
|
-
}), _n =
|
|
382
|
+
}), _n = g(() => L.value.userOptions.show && !L.value.style.title.text), B = E({
|
|
383
383
|
showTable: L.value.table.show,
|
|
384
384
|
showTooltip: L.value.style.tooltip.show
|
|
385
385
|
});
|
|
@@ -389,15 +389,15 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
389
389
|
showTooltip: L.value.style.tooltip.show
|
|
390
390
|
};
|
|
391
391
|
}, { immediate: !0 });
|
|
392
|
-
let vn =
|
|
392
|
+
let vn = g(() => L.value.table.responsiveBreakpoint), V = E(null), yn = g(() => !!L.value.debug);
|
|
393
393
|
function bn() {
|
|
394
|
-
if (
|
|
394
|
+
if (o(M.dataset) && (c({
|
|
395
395
|
componentName: "VueUiHeatmap",
|
|
396
396
|
type: "dataset",
|
|
397
397
|
debug: yn.value
|
|
398
|
-
}), At.value = !1, sn.value = !0),
|
|
399
|
-
let e =
|
|
400
|
-
let { width: e, height: t } =
|
|
398
|
+
}), At.value = !1, sn.value = !0), o(M.dataset) || (sn.value = L.value.loading), L.value.responsive) {
|
|
399
|
+
let e = me(() => {
|
|
400
|
+
let { width: e, height: t } = he({
|
|
401
401
|
chart: N.value,
|
|
402
402
|
title: L.value.style.title.text ? Ut.value : null,
|
|
403
403
|
source: Zt.value,
|
|
@@ -415,13 +415,13 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
415
415
|
}), ke(() => {
|
|
416
416
|
bn();
|
|
417
417
|
});
|
|
418
|
-
let H =
|
|
418
|
+
let H = g(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), xn = E(L.value.style.layout.width), Sn = E(L.value.style.layout.height), U = g(() => ({
|
|
419
419
|
width: Math.max(10, xn.value),
|
|
420
420
|
height: Math.max(10, Sn.value)
|
|
421
421
|
})), Cn = E(0);
|
|
422
422
|
Be({
|
|
423
423
|
elementRef: Jt,
|
|
424
|
-
callback:
|
|
424
|
+
callback: me((e) => {
|
|
425
425
|
e !== Cn.value && (Cn.value = e);
|
|
426
426
|
}, 100),
|
|
427
427
|
attr: "height"
|
|
@@ -429,7 +429,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
429
429
|
let W = E(0);
|
|
430
430
|
Be({
|
|
431
431
|
elementRef: Kt,
|
|
432
|
-
callback:
|
|
432
|
+
callback: me((e) => {
|
|
433
433
|
e !== W.value && (W.value = e);
|
|
434
434
|
}, 100),
|
|
435
435
|
attr: "width"
|
|
@@ -437,14 +437,14 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
437
437
|
let wn = E(0);
|
|
438
438
|
Be({
|
|
439
439
|
elementRef: Yt,
|
|
440
|
-
callback:
|
|
440
|
+
callback: me((e) => {
|
|
441
441
|
e !== wn.value && (wn.value = e);
|
|
442
442
|
}, 100),
|
|
443
443
|
attr: "height"
|
|
444
444
|
}), Oe(() => {
|
|
445
445
|
Cn.value = 0, W.value = 0, wn.value = 0;
|
|
446
446
|
});
|
|
447
|
-
let G =
|
|
447
|
+
let G = g(() => Math.min(U.value.height, U.value.width) / 1e3 * L.value.style.layout.cells.spacing), K = g(() => {
|
|
448
448
|
let e = 0;
|
|
449
449
|
L.value.style.legend.show && (e = L.value.style.legend.width);
|
|
450
450
|
let t = L.value.style.layout.padding, n = L.value.style.layout.dataLabels.xAxis.fontSize / 3, r = L.value.style.layout.dataLabels.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - Cn.value - n, a = U.value.width / 60, o = {
|
|
@@ -465,14 +465,14 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
465
465
|
width: s,
|
|
466
466
|
cellSize: l
|
|
467
467
|
};
|
|
468
|
-
}), q =
|
|
468
|
+
}), q = g(() => Math.max(...R.value.flatMap((e) => e.values))), Tn = g(() => Math.min(...R.value.flatMap((e) => e.values))), J = g(() => {
|
|
469
469
|
let e = R.value.flatMap((e) => e.values);
|
|
470
470
|
return e.reduce((e, t) => e + t, 0) / e.length;
|
|
471
471
|
}), En = E([]), Dn = E([]), On = 0;
|
|
472
472
|
Le(() => {
|
|
473
473
|
let e = ++On;
|
|
474
474
|
(async () => {
|
|
475
|
-
let t = L.value.style.layout.dataLabels.yAxis, n = await
|
|
475
|
+
let t = L.value.style.layout.dataLabels.yAxis, n = await ne({
|
|
476
476
|
values: t.values.length ? t.values : R.value.map((e) => e.name),
|
|
477
477
|
maxDatapoints: R.value.length,
|
|
478
478
|
formatter: t.datetimeFormatter,
|
|
@@ -486,7 +486,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
486
486
|
Le(() => {
|
|
487
487
|
let e = ++kn;
|
|
488
488
|
(async () => {
|
|
489
|
-
let t = L.value.style.layout.dataLabels.xAxis, n = await
|
|
489
|
+
let t = L.value.style.layout.dataLabels.xAxis, n = await ne({
|
|
490
490
|
values: t.values,
|
|
491
491
|
maxDatapoints: H.value,
|
|
492
492
|
formatter: t.datetimeFormatter,
|
|
@@ -496,7 +496,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
496
496
|
e === kn && (Dn.value = n);
|
|
497
497
|
})();
|
|
498
498
|
});
|
|
499
|
-
let Y =
|
|
499
|
+
let Y = g(() => {
|
|
500
500
|
let e = En.value.map((e) => e.text), t = Dn.value.map((e) => e.text), n = R.value.map((e) => e.values.reduce((e, t) => e + t, 0)), r = Math.max(...n), i = Math.min(...n), a = [];
|
|
501
501
|
for (let e = 0; e < H.value; e += 1) a.push(R.value.map((t) => t.values[e] || 0).reduce((e, t) => e + t, 0));
|
|
502
502
|
let o = Math.max(...a), s = Math.min(...a);
|
|
@@ -504,18 +504,18 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
504
504
|
yTotals: n.map((e) => ({
|
|
505
505
|
total: e,
|
|
506
506
|
proportion: isNaN(e / r) ? 0 : e / r,
|
|
507
|
-
color:
|
|
507
|
+
color: f(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, i, r, e)
|
|
508
508
|
})),
|
|
509
509
|
xTotals: a.map((e) => ({
|
|
510
510
|
total: e,
|
|
511
511
|
proportion: isNaN(e / o) ? 0 : e / o,
|
|
512
|
-
color:
|
|
512
|
+
color: f(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, s, o, e)
|
|
513
513
|
})),
|
|
514
514
|
yLabels: e,
|
|
515
515
|
xLabels: t.slice(0, H.value)
|
|
516
516
|
};
|
|
517
|
-
}), X =
|
|
518
|
-
|
|
517
|
+
}), X = g(() => (R.value.forEach((e, t) => {
|
|
518
|
+
l({
|
|
519
519
|
datasetObject: e,
|
|
520
520
|
requiredAttributes: ["values"]
|
|
521
521
|
}).forEach((e) => {
|
|
@@ -529,28 +529,28 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
529
529
|
});
|
|
530
530
|
}), R.value.map((e, t) => ({
|
|
531
531
|
...e,
|
|
532
|
-
temperatures: (e.values || []).map((e,
|
|
532
|
+
temperatures: (e.values || []).map((e, r) => e >= J.value ? {
|
|
533
533
|
side: "up",
|
|
534
|
-
color:
|
|
534
|
+
color: f(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
535
535
|
ratio: Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)) > 1 ? 1 : Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)),
|
|
536
536
|
value: e,
|
|
537
537
|
yAxisName: Y.value.yLabels[t],
|
|
538
|
-
xAxisName: Y.value.xLabels[
|
|
539
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
538
|
+
xAxisName: Y.value.xLabels[r],
|
|
539
|
+
id: `vue-data-ui-heatmap-cell-${n()}`
|
|
540
540
|
} : {
|
|
541
541
|
side: "down",
|
|
542
542
|
ratio: Math.abs(1 - Math.abs(e) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(J.value)),
|
|
543
|
-
color:
|
|
543
|
+
color: f(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
544
544
|
value: e,
|
|
545
545
|
yAxisName: Y.value.yLabels[t],
|
|
546
|
-
xAxisName: Y.value.xLabels[
|
|
547
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
546
|
+
xAxisName: Y.value.xLabels[r],
|
|
547
|
+
id: `vue-data-ui-heatmap-cell-${n()}`
|
|
548
548
|
})
|
|
549
|
-
})))), An =
|
|
549
|
+
})))), An = g(() => R.value.length), jn = Ae(Array(An.value * H.value || 1).fill(!1)), Mn = g(() => jn.some((e) => e));
|
|
550
550
|
function Nn(e, t) {
|
|
551
551
|
jn[e] = t;
|
|
552
552
|
}
|
|
553
|
-
let Pn = Ae(Array(An.value * H.value || 1).fill(!1)), Fn =
|
|
553
|
+
let Pn = Ae(Array(An.value * H.value || 1).fill(!1)), Fn = g(() => Pn.some((e) => e));
|
|
554
554
|
function In(e, t) {
|
|
555
555
|
Pn[e] = t;
|
|
556
556
|
}
|
|
@@ -568,42 +568,42 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
568
568
|
y: n.top + n.height / 2
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
|
-
function Bn(e,
|
|
571
|
+
function Bn(e, n, r, i, a = "pointer", o = null) {
|
|
572
572
|
if (L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
573
573
|
datapoint: e,
|
|
574
|
-
seriesIndex:
|
|
574
|
+
seriesIndex: n
|
|
575
575
|
}), !B.value.showTooltip) return;
|
|
576
576
|
en.value = a, I.value = o, Qt.value = e.id, P.value = {
|
|
577
|
-
x:
|
|
577
|
+
x: r,
|
|
578
578
|
y: i
|
|
579
579
|
};
|
|
580
|
-
let { value: s, yAxisName: c, xAxisName:
|
|
581
|
-
Pt.value =
|
|
580
|
+
let { value: s, yAxisName: c, xAxisName: l, id: p } = e;
|
|
581
|
+
Pt.value = p, Z.value = s, Ln.value = {
|
|
582
582
|
datapoint: e,
|
|
583
|
-
seriesIndex:
|
|
583
|
+
seriesIndex: n,
|
|
584
584
|
series: X.value,
|
|
585
585
|
config: L.value
|
|
586
586
|
}, Mt.value = !0;
|
|
587
|
-
let
|
|
588
|
-
|
|
587
|
+
let te = "", m = L.value.style.tooltip.customFormat;
|
|
588
|
+
u(m) && ee(() => m({
|
|
589
589
|
datapoint: e,
|
|
590
|
-
seriesIndex:
|
|
590
|
+
seriesIndex: n,
|
|
591
591
|
series: X.value,
|
|
592
592
|
config: L.value
|
|
593
|
-
})) ? Nt.value =
|
|
593
|
+
})) ? Nt.value = m({
|
|
594
594
|
datapoint: e,
|
|
595
|
-
seriesIndex:
|
|
595
|
+
seriesIndex: n,
|
|
596
596
|
series: X.value,
|
|
597
597
|
config: L.value
|
|
598
|
-
}) : (
|
|
598
|
+
}) : (te += `<div>${c} ${l ? c ? ` - ${l}` : `${l}` : ""}</div>`, te += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${f(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, s)}">⬤</span><span>${isNaN(s) ? "-" : d(L.value.style.layout.cells.value.formatter, s, t({
|
|
599
599
|
p: L.value.style.layout.dataLabels.prefix,
|
|
600
600
|
v: s,
|
|
601
601
|
s: L.value.style.layout.dataLabels.suffix,
|
|
602
602
|
r: L.value.style.tooltip.roundingValue
|
|
603
603
|
}), {
|
|
604
604
|
datapoint: e,
|
|
605
|
-
seriesIndex:
|
|
606
|
-
})}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${
|
|
605
|
+
seriesIndex: n
|
|
606
|
+
})}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${te}</div>`), a === "keyboard" && S(() => {
|
|
607
607
|
zn(e.id);
|
|
608
608
|
});
|
|
609
609
|
}
|
|
@@ -614,7 +614,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
614
614
|
}), !(Qt.value === e.id && en.value === "keyboard") && (Mt.value = !1, Pt.value = void 0, Z.value = null, P.value = null);
|
|
615
615
|
}
|
|
616
616
|
function Hn(e) {
|
|
617
|
-
return
|
|
617
|
+
return d(L.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, t({
|
|
618
618
|
p: L.value.style.layout.dataLabels.prefix,
|
|
619
619
|
v: Y.value.yTotals[e].total,
|
|
620
620
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -625,7 +625,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
function Un(e) {
|
|
628
|
-
return
|
|
628
|
+
return d(L.value.style.layout.cells.value.formatter, Y.value.xTotals[e].total, t({
|
|
629
629
|
p: L.value.style.layout.dataLabels.prefix,
|
|
630
630
|
v: Y.value.xTotals[e].total,
|
|
631
631
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -635,19 +635,19 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
635
635
|
colIndex: e
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
|
-
|
|
638
|
+
g(() => ({
|
|
639
639
|
head: R.value.map((e) => ({ name: e.name })),
|
|
640
640
|
body: R.value.map((e) => e.values)
|
|
641
641
|
}));
|
|
642
642
|
function Wn(e = null) {
|
|
643
|
-
|
|
643
|
+
S(() => {
|
|
644
644
|
let t = ["", ...R.value.map((e, t) => e.name)], n = [];
|
|
645
645
|
for (let e = 0; e < Y.value.xLabels.length; e += 1) {
|
|
646
646
|
let t = [Y.value.xLabels[e]];
|
|
647
647
|
for (let n = 0; n < R.value.length; n += 1) t.push([R.value[n].values[e]]);
|
|
648
648
|
n.push(t);
|
|
649
649
|
}
|
|
650
|
-
let r =
|
|
650
|
+
let r = a([
|
|
651
651
|
[L.value.style.title.text],
|
|
652
652
|
[L.value.style.title.subtitle.text],
|
|
653
653
|
[
|
|
@@ -657,7 +657,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
657
657
|
],
|
|
658
658
|
t
|
|
659
659
|
].concat(n));
|
|
660
|
-
e ? e(r) :
|
|
660
|
+
e ? e(r) : i({
|
|
661
661
|
csvContent: r,
|
|
662
662
|
title: L.value.style.title.text || "vue-ui-heatmap"
|
|
663
663
|
});
|
|
@@ -688,7 +688,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
688
688
|
}
|
|
689
689
|
async function Qn({ scale: e = 2 } = {}) {
|
|
690
690
|
if (!N.value) return;
|
|
691
|
-
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
691
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await de({
|
|
692
692
|
domElement: N.value,
|
|
693
693
|
base64: !0,
|
|
694
694
|
img: !0,
|
|
@@ -703,11 +703,11 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
703
703
|
aspectRatio: r
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
|
-
let $n =
|
|
706
|
+
let $n = g(() => ({
|
|
707
707
|
start: 0,
|
|
708
708
|
end: H.value
|
|
709
|
-
})), er =
|
|
710
|
-
|
|
709
|
+
})), er = g(() => Y.value.xLabels);
|
|
710
|
+
ue({
|
|
711
711
|
timeLabelsEls: Jt,
|
|
712
712
|
timeLabels: er,
|
|
713
713
|
slicer: $n,
|
|
@@ -732,7 +732,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
732
732
|
rotation: L.value.style.layout.dataLabels.xAxis.autoRotate.angle,
|
|
733
733
|
width: xn,
|
|
734
734
|
height: Sn
|
|
735
|
-
}),
|
|
735
|
+
}), ue({
|
|
736
736
|
timeLabelsEls: Yt,
|
|
737
737
|
timeLabels: er,
|
|
738
738
|
slicer: $n,
|
|
@@ -760,10 +760,10 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
760
760
|
width: xn,
|
|
761
761
|
height: Sn
|
|
762
762
|
});
|
|
763
|
-
let tr =
|
|
763
|
+
let tr = g(() => {
|
|
764
764
|
let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
|
|
765
765
|
return {
|
|
766
|
-
component: e ? Tt :
|
|
766
|
+
component: e ? Tt : ge,
|
|
767
767
|
title: `${L.value.style.title.text}${L.value.style.title.subtitle.text ? `: ${L.value.style.title.subtitle.text}` : ""}`,
|
|
768
768
|
props: e ? {
|
|
769
769
|
backgroundColor: L.value.table.th.backgroundColor,
|
|
@@ -792,19 +792,19 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
792
792
|
};
|
|
793
793
|
});
|
|
794
794
|
Ie(() => B.value.showTable, async (e) => {
|
|
795
|
-
L.value.table.show || (e && L.value.table.useDialog && zt.value ? (await
|
|
795
|
+
L.value.table.show || (e && L.value.table.useDialog && zt.value ? (await S(), zt.value.open()) : "close" in zt.value && zt.value.close());
|
|
796
796
|
});
|
|
797
|
-
let { isResponsive: nr } =
|
|
797
|
+
let { isResponsive: nr } = be(It, vn);
|
|
798
798
|
function rr() {
|
|
799
799
|
B.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
|
|
800
800
|
}
|
|
801
|
-
let ir =
|
|
801
|
+
let ir = g(() => L.value.style.backgroundColor), { exportSvg: ar, getSvg: or } = se({
|
|
802
802
|
svg: z,
|
|
803
|
-
title:
|
|
803
|
+
title: g(() => L.value.style.title),
|
|
804
804
|
backgroundColor: ir
|
|
805
805
|
});
|
|
806
806
|
async function sr({ isCb: e }) {
|
|
807
|
-
Ht.value = !0, await
|
|
807
|
+
Ht.value = !0, await S();
|
|
808
808
|
try {
|
|
809
809
|
if (e) {
|
|
810
810
|
let { blob: e, url: t, text: n, dataUrl: r } = await or();
|
|
@@ -896,8 +896,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
896
896
|
s < 0 && (s = u - 1), s >= u && (s = 0);
|
|
897
897
|
let d = ur(o, s);
|
|
898
898
|
if (!d) return;
|
|
899
|
-
let
|
|
900
|
-
Bn(d.cell, d.rowIndex,
|
|
899
|
+
let ee = dr(o, s), f = K.value.left + K.value.cellSize.width * d.columnIndex, p = K.value.top + K.value.cellSize.height * d.rowIndex;
|
|
900
|
+
Bn(d.cell, d.rowIndex, f, p, "keyboard", ee);
|
|
901
901
|
return;
|
|
902
902
|
}
|
|
903
903
|
let a = $.value[0];
|
|
@@ -913,33 +913,33 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
913
913
|
c < 0 && (c = u - 1), c >= u && (c = 0);
|
|
914
914
|
let d = X.value[c];
|
|
915
915
|
if (!d || !d.temperatures.length) return;
|
|
916
|
-
let
|
|
917
|
-
l < 0 && (l =
|
|
918
|
-
let
|
|
919
|
-
if (!
|
|
920
|
-
let
|
|
921
|
-
Bn(
|
|
916
|
+
let ee = d.temperatures.length;
|
|
917
|
+
l < 0 && (l = ee - 1), l >= ee && (l = 0);
|
|
918
|
+
let f = ur(c, l);
|
|
919
|
+
if (!f) return;
|
|
920
|
+
let p = dr(c, l), te = K.value.left + K.value.cellSize.width * f.columnIndex, m = K.value.top + K.value.cellSize.height * f.rowIndex;
|
|
921
|
+
Bn(f.cell, f.rowIndex, te, m, "keyboard", p);
|
|
922
922
|
}
|
|
923
|
-
let hr =
|
|
923
|
+
let hr = g(() => ({
|
|
924
924
|
headers: [L.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
|
|
925
|
-
rows: Y.value.xLabels.map((e,
|
|
926
|
-
let
|
|
927
|
-
return isNaN(
|
|
925
|
+
rows: Y.value.xLabels.map((e, n) => [e, ...R.value.map((e) => {
|
|
926
|
+
let r = e.values?.[n];
|
|
927
|
+
return isNaN(r) ? "-" : t({
|
|
928
928
|
p: L.value.style.layout.dataLabels.prefix,
|
|
929
|
-
v:
|
|
929
|
+
v: r,
|
|
930
930
|
s: L.value.style.layout.dataLabels.suffix,
|
|
931
931
|
r: L.value.table.td.roundingValue
|
|
932
932
|
});
|
|
933
933
|
})])
|
|
934
|
-
})), gr =
|
|
934
|
+
})), gr = g(() => ({
|
|
935
935
|
rowCount: X.value.length,
|
|
936
936
|
columnCount: Math.max(0, ...X.value.map((e) => e.temperatures.length))
|
|
937
|
-
})), $ =
|
|
937
|
+
})), $ = g(() => X.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
|
|
938
938
|
cell: e,
|
|
939
939
|
rowIndex: t,
|
|
940
940
|
columnIndex: n
|
|
941
941
|
}))));
|
|
942
|
-
return
|
|
942
|
+
return pe({
|
|
943
943
|
getData: Zn,
|
|
944
944
|
getImage: Qn,
|
|
945
945
|
generatePdf: hn,
|
|
@@ -951,22 +951,22 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
951
951
|
toggleAnnotator: Yn,
|
|
952
952
|
toggleFullscreen: Gn,
|
|
953
953
|
copyAlt: lr
|
|
954
|
-
}), (
|
|
954
|
+
}), (n, r) => (T(), v("div", {
|
|
955
955
|
ref_key: "heatmapChart",
|
|
956
956
|
ref: N,
|
|
957
957
|
class: De(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
958
958
|
style: w(`font-family:${L.value.style.fontFamily};width:100%;${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.backgroundColor}`),
|
|
959
959
|
id: `heatmap__${jt.value}`,
|
|
960
|
-
onMouseenter:
|
|
961
|
-
onMouseleave:
|
|
960
|
+
onMouseenter: r[1] ||= () => dn(!0),
|
|
961
|
+
onMouseleave: r[2] ||= () => {
|
|
962
962
|
dn(!1), tn.value || Rn();
|
|
963
963
|
}
|
|
964
964
|
}, [
|
|
965
|
-
|
|
965
|
+
y("div", {
|
|
966
966
|
id: `chart-instructions-${jt.value}`,
|
|
967
967
|
class: "sr-only"
|
|
968
|
-
}, [
|
|
969
|
-
hr.value?.rows?.length ? (T(),
|
|
968
|
+
}, [y("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
969
|
+
hr.value?.rows?.length ? (T(), Se(_e, {
|
|
970
970
|
key: 0,
|
|
971
971
|
uid: jt.value,
|
|
972
972
|
head: hr.value.headers,
|
|
@@ -979,8 +979,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
979
979
|
"body",
|
|
980
980
|
"notice",
|
|
981
981
|
"caption"
|
|
982
|
-
])) :
|
|
983
|
-
L.value.userOptions.buttons.annotator ? (T(),
|
|
982
|
+
])) : _("", !0),
|
|
983
|
+
L.value.userOptions.buttons.annotator ? (T(), Se(A(St), {
|
|
984
984
|
key: 1,
|
|
985
985
|
svgRef: A(z),
|
|
986
986
|
backgroundColor: L.value.style.backgroundColor,
|
|
@@ -989,12 +989,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
989
989
|
isCursorPointer: nn.value,
|
|
990
990
|
onClose: Yn
|
|
991
991
|
}, {
|
|
992
|
-
"annotator-action-close": j(() => [O(
|
|
993
|
-
"annotator-action-color": j(({ color: e }) => [O(
|
|
994
|
-
"annotator-action-draw": j(({ mode: e }) => [O(
|
|
995
|
-
"annotator-action-undo": j(({ disabled: e }) => [O(
|
|
996
|
-
"annotator-action-redo": j(({ disabled: e }) => [O(
|
|
997
|
-
"annotator-action-delete": j(({ disabled: e }) => [O(
|
|
992
|
+
"annotator-action-close": j(() => [O(n.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
993
|
+
"annotator-action-color": j(({ color: e }) => [O(n.$slots, "annotator-action-color", C(x({ color: e })), void 0, !0)]),
|
|
994
|
+
"annotator-action-draw": j(({ mode: e }) => [O(n.$slots, "annotator-action-draw", C(x({ mode: e })), void 0, !0)]),
|
|
995
|
+
"annotator-action-undo": j(({ disabled: e }) => [O(n.$slots, "annotator-action-undo", C(x({ disabled: e })), void 0, !0)]),
|
|
996
|
+
"annotator-action-redo": j(({ disabled: e }) => [O(n.$slots, "annotator-action-redo", C(x({ disabled: e })), void 0, !0)]),
|
|
997
|
+
"annotator-action-delete": j(({ disabled: e }) => [O(n.$slots, "annotator-action-delete", C(x({ disabled: e })), void 0, !0)]),
|
|
998
998
|
_: 3
|
|
999
999
|
}, 8, [
|
|
1000
1000
|
"svgRef",
|
|
@@ -1002,20 +1002,20 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1002
1002
|
"color",
|
|
1003
1003
|
"active",
|
|
1004
1004
|
"isCursorPointer"
|
|
1005
|
-
])) :
|
|
1006
|
-
_n.value ? (T(),
|
|
1005
|
+
])) : _("", !0),
|
|
1006
|
+
_n.value ? (T(), v("div", {
|
|
1007
1007
|
key: 2,
|
|
1008
1008
|
ref_key: "noTitle",
|
|
1009
1009
|
ref: Wt,
|
|
1010
1010
|
class: "vue-data-ui-no-title-space",
|
|
1011
1011
|
style: "height:36px; width: 100%;background:transparent"
|
|
1012
|
-
}, null, 512)) :
|
|
1013
|
-
L.value.style.title.text ? (T(),
|
|
1012
|
+
}, null, 512)) : _("", !0),
|
|
1013
|
+
L.value.style.title.text ? (T(), v("div", {
|
|
1014
1014
|
key: 3,
|
|
1015
1015
|
ref_key: "chartTitle",
|
|
1016
1016
|
ref: Ut,
|
|
1017
1017
|
style: "width:100%;background:transparent"
|
|
1018
|
-
}, [(T(),
|
|
1018
|
+
}, [(T(), Se(fe, {
|
|
1019
1019
|
key: `title_${Lt.value}`,
|
|
1020
1020
|
config: {
|
|
1021
1021
|
title: {
|
|
@@ -1027,8 +1027,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1027
1027
|
...L.value.style.title.subtitle
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1031
|
-
L.value.userOptions.show && At.value && (A(un) || A(cn)) ? (T(),
|
|
1030
|
+
}, null, 8, ["config"]))], 512)) : _("", !0),
|
|
1031
|
+
L.value.userOptions.show && At.value && (A(un) || A(cn)) ? (T(), Se(A(Ct), {
|
|
1032
1032
|
ref_key: "userOptionsRef",
|
|
1033
1033
|
ref: Bt,
|
|
1034
1034
|
key: `user_options_${Ft.value}`,
|
|
@@ -1066,85 +1066,85 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1066
1066
|
onToggleAnnotator: Yn,
|
|
1067
1067
|
onCopyAlt: lr,
|
|
1068
1068
|
style: w({ visibility: A(un) ? A(cn) ? "visible" : "hidden" : "visible" })
|
|
1069
|
-
},
|
|
1070
|
-
|
|
1069
|
+
}, Ce({ _: 2 }, [
|
|
1070
|
+
n.$slots.menuIcon ? {
|
|
1071
1071
|
name: "menuIcon",
|
|
1072
|
-
fn: j(({ isOpen: e, color:
|
|
1072
|
+
fn: j(({ isOpen: e, color: t }) => [O(n.$slots, "menuIcon", C(x({
|
|
1073
1073
|
isOpen: e,
|
|
1074
|
-
color:
|
|
1074
|
+
color: t
|
|
1075
1075
|
})), void 0, !0)]),
|
|
1076
1076
|
key: "0"
|
|
1077
1077
|
} : void 0,
|
|
1078
|
-
|
|
1078
|
+
n.$slots.optionTooltip ? {
|
|
1079
1079
|
name: "optionTooltip",
|
|
1080
|
-
fn: j(() => [O(
|
|
1080
|
+
fn: j(() => [O(n.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1081
1081
|
key: "1"
|
|
1082
1082
|
} : void 0,
|
|
1083
|
-
|
|
1083
|
+
n.$slots.optionPdf ? {
|
|
1084
1084
|
name: "optionPdf",
|
|
1085
|
-
fn: j(() => [O(
|
|
1085
|
+
fn: j(() => [O(n.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1086
1086
|
key: "2"
|
|
1087
1087
|
} : void 0,
|
|
1088
|
-
|
|
1088
|
+
n.$slots.optionCsv ? {
|
|
1089
1089
|
name: "optionCsv",
|
|
1090
|
-
fn: j(() => [O(
|
|
1090
|
+
fn: j(() => [O(n.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1091
1091
|
key: "3"
|
|
1092
1092
|
} : void 0,
|
|
1093
|
-
|
|
1093
|
+
n.$slots.optionImg ? {
|
|
1094
1094
|
name: "optionImg",
|
|
1095
|
-
fn: j(() => [O(
|
|
1095
|
+
fn: j(() => [O(n.$slots, "optionImg", {}, void 0, !0)]),
|
|
1096
1096
|
key: "4"
|
|
1097
1097
|
} : void 0,
|
|
1098
|
-
|
|
1098
|
+
n.$slots.optionSvg ? {
|
|
1099
1099
|
name: "optionSvg",
|
|
1100
|
-
fn: j(() => [O(
|
|
1100
|
+
fn: j(() => [O(n.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1101
1101
|
key: "5"
|
|
1102
1102
|
} : void 0,
|
|
1103
|
-
|
|
1103
|
+
n.$slots.optionTable ? {
|
|
1104
1104
|
name: "optionTable",
|
|
1105
|
-
fn: j(() => [O(
|
|
1105
|
+
fn: j(() => [O(n.$slots, "optionTable", {}, void 0, !0)]),
|
|
1106
1106
|
key: "6"
|
|
1107
1107
|
} : void 0,
|
|
1108
|
-
|
|
1108
|
+
n.$slots.optionFullscreen ? {
|
|
1109
1109
|
name: "optionFullscreen",
|
|
1110
|
-
fn: j(({ toggleFullscreen: e, isFullscreen:
|
|
1110
|
+
fn: j(({ toggleFullscreen: e, isFullscreen: t }) => [O(n.$slots, "optionFullscreen", C(x({
|
|
1111
1111
|
toggleFullscreen: e,
|
|
1112
|
-
isFullscreen:
|
|
1112
|
+
isFullscreen: t
|
|
1113
1113
|
})), void 0, !0)]),
|
|
1114
1114
|
key: "7"
|
|
1115
1115
|
} : void 0,
|
|
1116
|
-
|
|
1116
|
+
n.$slots.optionAnnotator ? {
|
|
1117
1117
|
name: "optionAnnotator",
|
|
1118
|
-
fn: j(({ toggleAnnotator: e, isAnnotator:
|
|
1118
|
+
fn: j(({ toggleAnnotator: e, isAnnotator: t }) => [O(n.$slots, "optionAnnotator", C(x({
|
|
1119
1119
|
toggleAnnotator: e,
|
|
1120
|
-
isAnnotator:
|
|
1120
|
+
isAnnotator: t
|
|
1121
1121
|
})), void 0, !0)]),
|
|
1122
1122
|
key: "8"
|
|
1123
1123
|
} : void 0,
|
|
1124
|
-
|
|
1124
|
+
n.$slots.optionAltCopy ? {
|
|
1125
1125
|
name: "optionAltCopy",
|
|
1126
|
-
fn: j(({ altCopy: e }) => [O(
|
|
1126
|
+
fn: j(({ altCopy: e }) => [O(n.$slots, "optionAltCopy", C(x({ altCopy: e })), void 0, !0)]),
|
|
1127
1127
|
key: "9"
|
|
1128
1128
|
} : void 0,
|
|
1129
|
-
|
|
1129
|
+
n.$slots["custom-menu-before"] ? {
|
|
1130
1130
|
name: "custom-menu-before",
|
|
1131
|
-
fn: j(() => [O(
|
|
1131
|
+
fn: j(() => [O(n.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1132
1132
|
key: "10"
|
|
1133
1133
|
} : void 0,
|
|
1134
|
-
|
|
1134
|
+
n.$slots["custom-menu-after"] ? {
|
|
1135
1135
|
name: "custom-menu-after",
|
|
1136
|
-
fn: j(() => [O(
|
|
1136
|
+
fn: j(() => [O(n.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1137
1137
|
key: "11"
|
|
1138
1138
|
} : void 0
|
|
1139
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
1140
|
-
|
|
1139
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : _("", !0),
|
|
1140
|
+
y("div", { class: De({
|
|
1141
1141
|
"vue-ui-heatmap-chart-wrapper": !0,
|
|
1142
1142
|
"vue-ui-heatmap-chart-wrapper-legend-right": L.value.style.legend.show
|
|
1143
1143
|
}) }, [
|
|
1144
|
-
(T(),
|
|
1144
|
+
(T(), v("svg", {
|
|
1145
1145
|
ref_key: "svgRef",
|
|
1146
1146
|
ref: z,
|
|
1147
|
-
xmlns: A(
|
|
1147
|
+
xmlns: A(te),
|
|
1148
1148
|
"aria-describedby": `chart-instructions-${jt.value}`,
|
|
1149
1149
|
class: De({
|
|
1150
1150
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
@@ -1161,20 +1161,20 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1161
1161
|
onBlur: pr,
|
|
1162
1162
|
onKeydown: mr
|
|
1163
1163
|
}, [
|
|
1164
|
-
|
|
1165
|
-
|
|
1164
|
+
Te(A(wt)),
|
|
1165
|
+
n.$slots["chart-background"] ? (T(), v("foreignObject", {
|
|
1166
1166
|
key: 0,
|
|
1167
1167
|
x: K.value.left,
|
|
1168
1168
|
y: K.value.top,
|
|
1169
1169
|
width: K.value.width,
|
|
1170
1170
|
height: K.value.height,
|
|
1171
1171
|
style: { pointerEvents: "none" }
|
|
1172
|
-
}, [O(
|
|
1173
|
-
L.value.style.layout.cells.columnTotal.color.show ? (T(),
|
|
1172
|
+
}, [O(n.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : _("", !0),
|
|
1173
|
+
L.value.style.layout.cells.columnTotal.color.show ? (T(), v("g", {
|
|
1174
1174
|
key: 1,
|
|
1175
1175
|
ref_key: "xAxisSumRects",
|
|
1176
1176
|
ref: Xt
|
|
1177
|
-
}, [(T(!0),
|
|
1177
|
+
}, [(T(!0), v(h, null, D(Y.value.xTotals, (e, t) => (T(), v("rect", {
|
|
1178
1178
|
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1179
1179
|
y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
|
|
1180
1180
|
height: K.value.sumCellXHeight,
|
|
@@ -1182,7 +1182,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1182
1182
|
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1183
1183
|
stroke: L.value.style.backgroundColor,
|
|
1184
1184
|
"stroke-width": G.value
|
|
1185
|
-
}, null, 8, Je))), 256)), (T(!0),
|
|
1185
|
+
}, null, 8, Je))), 256)), (T(!0), v(h, null, D(Y.value.xTotals, (e, t) => (T(), v("rect", {
|
|
1186
1186
|
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1187
1187
|
y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
|
|
1188
1188
|
height: K.value.sumCellXHeight,
|
|
@@ -1190,50 +1190,50 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1190
1190
|
fill: e.color,
|
|
1191
1191
|
stroke: L.value.style.backgroundColor,
|
|
1192
1192
|
"stroke-width": G.value
|
|
1193
|
-
}, null, 8, Ye))), 256))], 512)) :
|
|
1194
|
-
|
|
1193
|
+
}, null, 8, Ye))), 256))], 512)) : _("", !0),
|
|
1194
|
+
y("g", {
|
|
1195
1195
|
ref_key: "datapoints",
|
|
1196
1196
|
ref: Rt
|
|
1197
|
-
}, [(T(!0),
|
|
1198
|
-
|
|
1199
|
-
x: K.value.left + K.value.cellSize.width *
|
|
1200
|
-
y: K.value.top + K.value.cellSize.height *
|
|
1197
|
+
}, [(T(!0), v(h, null, D(X.value, (e, n) => (T(), v(h, null, [(T(!0), v(h, null, D(e.temperatures, (e, r) => (T(), v("g", null, [
|
|
1198
|
+
y("rect", {
|
|
1199
|
+
x: K.value.left + K.value.cellSize.width * r + G.value / 2 + K.value.sumCellXHeight,
|
|
1200
|
+
y: K.value.top + K.value.cellSize.height * n + G.value / 2,
|
|
1201
1201
|
width: K.value.cellSize.width - G.value,
|
|
1202
1202
|
height: K.value.cellSize.height - G.value,
|
|
1203
1203
|
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1204
1204
|
stroke: L.value.style.backgroundColor,
|
|
1205
1205
|
"stroke-width": G.value
|
|
1206
1206
|
}, null, 8, Xe),
|
|
1207
|
-
|
|
1207
|
+
y("rect", {
|
|
1208
1208
|
"data-a11y-cell-id": e.id,
|
|
1209
|
-
x: K.value.left + K.value.cellSize.width *
|
|
1210
|
-
y: K.value.top + K.value.cellSize.height *
|
|
1209
|
+
x: K.value.left + K.value.cellSize.width * r + G.value / 2 + K.value.sumCellXHeight,
|
|
1210
|
+
y: K.value.top + K.value.cellSize.height * n + G.value / 2,
|
|
1211
1211
|
width: K.value.cellSize.width - G.value,
|
|
1212
1212
|
height: K.value.cellSize.height - G.value,
|
|
1213
1213
|
fill: e.color,
|
|
1214
1214
|
stroke: L.value.style.backgroundColor,
|
|
1215
1215
|
"stroke-width": G.value,
|
|
1216
1216
|
"aria-label": `${e.yAxisName}${e.xAxisName ? ` - ${e.xAxisName}` : ""}: ${isNaN(e.value) ? "-" : e.value}`,
|
|
1217
|
-
onMouseover: (
|
|
1217
|
+
onMouseover: (t) => Bn(e, n, K.value.left + K.value.cellSize.width * r, K.value.top + K.value.cellSize.height * n, "pointer", dr(n, r)),
|
|
1218
1218
|
onMouseout: () => Vn({
|
|
1219
1219
|
datapoint: e,
|
|
1220
|
-
seriesIndex:
|
|
1220
|
+
seriesIndex: n
|
|
1221
1221
|
}),
|
|
1222
|
-
onClick: () => Xn(e,
|
|
1222
|
+
onClick: () => Xn(e, n)
|
|
1223
1223
|
}, null, 40, Ze),
|
|
1224
|
-
L.value.style.layout.cells.value.show ? Re((T(),
|
|
1224
|
+
L.value.style.layout.cells.value.show ? Re((T(), v("text", {
|
|
1225
1225
|
key: 0,
|
|
1226
1226
|
"text-anchor": "middle",
|
|
1227
1227
|
"font-size": L.value.style.layout.cells.value.fontSize,
|
|
1228
1228
|
"font-weight": L.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
1229
|
-
fill: A(
|
|
1230
|
-
x: K.value.left + K.value.cellSize.width *
|
|
1231
|
-
y: K.value.top + K.value.cellSize.height *
|
|
1229
|
+
fill: A(p)(e.color),
|
|
1230
|
+
x: K.value.left + K.value.cellSize.width * r + K.value.cellSize.width / 2 + K.value.sumCellXHeight,
|
|
1231
|
+
y: K.value.top + K.value.cellSize.height * n + K.value.cellSize.height / 2 + L.value.style.layout.cells.value.fontSize / 3,
|
|
1232
1232
|
style: {
|
|
1233
1233
|
pointerEvents: "none",
|
|
1234
1234
|
userSelect: "none"
|
|
1235
1235
|
}
|
|
1236
|
-
}, [
|
|
1236
|
+
}, [we(k(A(d)(L.value.style.layout.cells.value.formatter, e.value, A(t)({
|
|
1237
1237
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1238
1238
|
v: e.value,
|
|
1239
1239
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -1243,18 +1243,18 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1243
1243
|
cellHeight: K.value.cellSize.height - G.value,
|
|
1244
1244
|
maxFontSize: L.value.style.layout.cells.value.fontSize,
|
|
1245
1245
|
minFontSize: 10,
|
|
1246
|
-
index:
|
|
1246
|
+
index: n * H.value + r,
|
|
1247
1247
|
reportHide: In,
|
|
1248
1248
|
reportRotation: Nn,
|
|
1249
1249
|
hideAll: Fn.value,
|
|
1250
1250
|
rotateAll: Mn.value
|
|
1251
|
-
}]]) :
|
|
1251
|
+
}]]) : _("", !0)
|
|
1252
1252
|
]))), 256))], 64))), 256))], 512),
|
|
1253
|
-
L.value.style.layout.cells.rowTotal.color.show ? (T(),
|
|
1253
|
+
L.value.style.layout.cells.rowTotal.color.show ? (T(), v("g", {
|
|
1254
1254
|
key: 2,
|
|
1255
1255
|
ref_key: "yAxisSumRects",
|
|
1256
1256
|
ref: qt
|
|
1257
|
-
}, [(T(!0),
|
|
1257
|
+
}, [(T(!0), v(h, null, D(X.value, (e, t) => (T(), v(h, null, [y("rect", {
|
|
1258
1258
|
x: K.value.left,
|
|
1259
1259
|
y: K.value.top + K.value.cellSize.height * t,
|
|
1260
1260
|
width: K.value.sumCellXHeight,
|
|
@@ -1262,7 +1262,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1262
1262
|
fill: L.value.style.layout.cells.colors.underlayer,
|
|
1263
1263
|
stroke: L.value.style.backgroundColor,
|
|
1264
1264
|
"stroke-width": G.value
|
|
1265
|
-
}, null, 8, $e),
|
|
1265
|
+
}, null, 8, $e), y("rect", {
|
|
1266
1266
|
x: K.value.left,
|
|
1267
1267
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1268
1268
|
width: K.value.sumCellXHeight,
|
|
@@ -1270,12 +1270,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1270
1270
|
fill: Y.value.yTotals[t].color,
|
|
1271
1271
|
stroke: L.value.style.backgroundColor,
|
|
1272
1272
|
"stroke-width": G.value
|
|
1273
|
-
}, null, 8, et)], 64))), 256))], 512)) :
|
|
1274
|
-
L.value.style.layout.dataLabels.yAxis.show ? (T(),
|
|
1273
|
+
}, null, 8, et)], 64))), 256))], 512)) : _("", !0),
|
|
1274
|
+
L.value.style.layout.dataLabels.yAxis.show ? (T(), v("g", {
|
|
1275
1275
|
key: 3,
|
|
1276
1276
|
ref_key: "yAxisLabels",
|
|
1277
1277
|
ref: Kt
|
|
1278
|
-
}, [(T(!0),
|
|
1278
|
+
}, [(T(!0), v(h, null, D(X.value, (e, t) => (T(), v(h, null, [y("text", {
|
|
1279
1279
|
class: "vue-ui-heatmap-row-name",
|
|
1280
1280
|
"font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1281
1281
|
fill: L.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -1283,7 +1283,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1283
1283
|
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize / 3 + L.value.style.layout.dataLabels.yAxis.offsetY - (L.value.style.layout.cells.rowTotal.value.show ? L.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
1284
1284
|
"text-anchor": "end",
|
|
1285
1285
|
"font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1286
|
-
}, k(Y.value.yLabels[t]), 9, tt), L.value.style.layout.cells.rowTotal.value.show ? (T(),
|
|
1286
|
+
}, k(Y.value.yLabels[t]), 9, tt), L.value.style.layout.cells.rowTotal.value.show ? (T(), v("text", {
|
|
1287
1287
|
key: 0,
|
|
1288
1288
|
class: "vue-ui-heatmap-row-total",
|
|
1289
1289
|
"font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -1292,12 +1292,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1292
1292
|
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize + L.value.style.layout.dataLabels.yAxis.offsetY,
|
|
1293
1293
|
"text-anchor": "end",
|
|
1294
1294
|
"font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1295
|
-
}, k(Hn(t)), 9, nt)) :
|
|
1296
|
-
L.value.style.layout.dataLabels.xAxis.show ? (T(),
|
|
1295
|
+
}, k(Hn(t)), 9, nt)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1296
|
+
L.value.style.layout.dataLabels.xAxis.show ? (T(), v("g", {
|
|
1297
1297
|
key: 4,
|
|
1298
1298
|
ref_key: "xAxisLabels",
|
|
1299
1299
|
ref: Jt
|
|
1300
|
-
}, [(T(!0),
|
|
1300
|
+
}, [(T(!0), v(h, null, D(Y.value.xLabels, (e, t) => (T(), v(h, null, [!L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && t % L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (T(), v("text", {
|
|
1301
1301
|
key: 0,
|
|
1302
1302
|
class: "vue-ui-heatmap-col-name",
|
|
1303
1303
|
"text-anchor": L.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : L.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
@@ -1305,20 +1305,20 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1305
1305
|
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1306
1306
|
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1307
1307
|
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${L.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1308
|
-
}, k(e), 9, rt)) :
|
|
1309
|
-
L.value.style.layout.cells.columnTotal.value.show ? (T(),
|
|
1308
|
+
}, k(e), 9, rt)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1309
|
+
L.value.style.layout.cells.columnTotal.value.show ? (T(), v("g", {
|
|
1310
1310
|
key: 5,
|
|
1311
1311
|
ref_key: "xAxisSums",
|
|
1312
1312
|
ref: Yt
|
|
1313
|
-
}, [(T(!0),
|
|
1313
|
+
}, [(T(!0), v(h, null, D(Y.value.xLabels, (e, t) => (T(), v("text", {
|
|
1314
1314
|
class: "vue-ui-heatmap-col-total",
|
|
1315
1315
|
"text-anchor": L.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : L.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
1316
1316
|
"font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1317
1317
|
fill: L.value.style.layout.dataLabels.xAxis.color,
|
|
1318
1318
|
"font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1319
1319
|
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + L.value.style.layout.cells.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${L.value.style.layout.cells.columnTotal.value.rotation})`
|
|
1320
|
-
}, k(Un(t)), 9, it))), 256))], 512)) :
|
|
1321
|
-
P.value ? (T(),
|
|
1320
|
+
}, k(Un(t)), 9, it))), 256))], 512)) : _("", !0),
|
|
1321
|
+
P.value ? (T(), v("g", at, [y("rect", {
|
|
1322
1322
|
style: { "pointer-events": "none" },
|
|
1323
1323
|
x: P.value.x - L.value.style.layout.cells.selected.border / 2 + G.value + K.value.sumCellXHeight,
|
|
1324
1324
|
y: P.value.y - L.value.style.layout.cells.selected.border / 2 + G.value,
|
|
@@ -1328,8 +1328,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1328
1328
|
stroke: L.value.style.layout.cells.selected.color,
|
|
1329
1329
|
"stroke-width": L.value.style.layout.cells.selected.border,
|
|
1330
1330
|
rx: 1
|
|
1331
|
-
}, null, 8, ot)])) :
|
|
1332
|
-
L.value.style.layout.crosshairs.show && P.value ? (T(),
|
|
1331
|
+
}, null, 8, ot)])) : _("", !0),
|
|
1332
|
+
L.value.style.layout.crosshairs.show && P.value ? (T(), v("g", st, [y("line", {
|
|
1333
1333
|
x1: K.value.left + K.value.sumCellXHeight,
|
|
1334
1334
|
x2: P.value.x + K.value.sumCellXHeight,
|
|
1335
1335
|
y1: P.value.y + (K.value.cellSize.height - G.value) / 2,
|
|
@@ -1338,7 +1338,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1338
1338
|
"stroke-width": L.value.style.layout.crosshairs.strokeWidth,
|
|
1339
1339
|
"stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
|
|
1340
1340
|
"stroke-linecap": "round"
|
|
1341
|
-
}, null, 8, ct),
|
|
1341
|
+
}, null, 8, ct), y("line", {
|
|
1342
1342
|
x1: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1343
1343
|
x2: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1344
1344
|
y1: P.value.y,
|
|
@@ -1347,42 +1347,42 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1347
1347
|
"stroke-width": L.value.style.layout.crosshairs.strokeWidth,
|
|
1348
1348
|
"stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
|
|
1349
1349
|
"stroke-linecap": "round"
|
|
1350
|
-
}, null, 8, lt)])) :
|
|
1351
|
-
O(
|
|
1350
|
+
}, null, 8, lt)])) : _("", !0),
|
|
1351
|
+
O(n.$slots, "svg", { svg: {
|
|
1352
1352
|
...U.value,
|
|
1353
1353
|
drawingArea: K.value,
|
|
1354
1354
|
isPrintingImg: A(pn) || A(mn) || Vt.value,
|
|
1355
1355
|
isPrintingSvg: Ht.value
|
|
1356
1356
|
} }, void 0, !0)
|
|
1357
1357
|
], 46, Ke)),
|
|
1358
|
-
L.value.style.legend.show ? (T(),
|
|
1358
|
+
L.value.style.legend.show ? (T(), v("div", {
|
|
1359
1359
|
key: 0,
|
|
1360
1360
|
ref_key: "legendRight",
|
|
1361
1361
|
ref: Gt,
|
|
1362
1362
|
class: "vue-ui-heatmap-legend-right",
|
|
1363
1363
|
style: w({ "--legend-width": L.value.style.legend.width + "px" })
|
|
1364
1364
|
}, [
|
|
1365
|
-
A(on) ?
|
|
1365
|
+
A(on) ? _("", !0) : (T(), v("div", {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
class: "vue-ui-heatmap-legend-label-max",
|
|
1368
1368
|
style: w({
|
|
1369
1369
|
fontSize: L.value.style.legend.fontSize + "px",
|
|
1370
1370
|
color: L.value.style.legend.color
|
|
1371
1371
|
})
|
|
1372
|
-
}, k(A(
|
|
1372
|
+
}, k(A(d)(L.value.style.layout.cells.value.formatter, A(m)(q.value), A(t)({
|
|
1373
1373
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1374
|
-
v: A(
|
|
1374
|
+
v: A(m)(q.value),
|
|
1375
1375
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1376
1376
|
r: L.value.style.legend.roundingValue
|
|
1377
1377
|
}))), 5)),
|
|
1378
|
-
|
|
1378
|
+
y("div", ut, [y("div", {
|
|
1379
1379
|
class: "vue-ui-heatmap-gauge",
|
|
1380
1380
|
style: w({ background: `linear-gradient(to bottom, ${L.value.style.layout.cells.colors.hot}, ${L.value.style.layout.cells.colors.cold})` })
|
|
1381
|
-
}, [Re(
|
|
1381
|
+
}, [Re(y("div", {
|
|
1382
1382
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
1383
|
-
"data-value": A(
|
|
1383
|
+
"data-value": A(d)(L.value.style.layout.cells.value.formatter, A(m)(Z.value), A(t)({
|
|
1384
1384
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1385
|
-
v: A(
|
|
1385
|
+
v: A(m)(Z.value),
|
|
1386
1386
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1387
1387
|
r: L.value.style.legend.roundingValue
|
|
1388
1388
|
})),
|
|
@@ -1390,48 +1390,48 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1390
1390
|
position: "absolute",
|
|
1391
1391
|
width: "100%",
|
|
1392
1392
|
height: "2px",
|
|
1393
|
-
background: [void 0, null].includes(Z.value) ? "transparent" : A(
|
|
1393
|
+
background: [void 0, null].includes(Z.value) ? "transparent" : A(p)(Ln.value.datapoint.color),
|
|
1394
1394
|
top: `${[void 0, null].includes(Z.value) ? 0 : (1 - Z.value / q.value) * 100}%`,
|
|
1395
1395
|
transition: "all 0.2s ease-in-out",
|
|
1396
1396
|
"--background-color": L.value.style.backgroundColor,
|
|
1397
|
-
"--gauge-arrow-color": A(
|
|
1398
|
-
"--gauge-arrow-text-color": A(
|
|
1397
|
+
"--gauge-arrow-color": A(p)(L.value.style.backgroundColor),
|
|
1398
|
+
"--gauge-arrow-text-color": A(p)(L.value.style.backgroundColor),
|
|
1399
1399
|
"--gauge-arrow-value": Z.value,
|
|
1400
1400
|
"--gauge-arrow-font-size": L.value.style.legend.fontSize + "px"
|
|
1401
1401
|
})
|
|
1402
|
-
}, [
|
|
1402
|
+
}, [y("div", ft, k(A(d)(L.value.style.layout.cells.value.formatter, A(m)(Z.value), A(t)({
|
|
1403
1403
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1404
|
-
v: A(
|
|
1404
|
+
v: A(m)(Z.value),
|
|
1405
1405
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1406
1406
|
r: L.value.style.legend.roundingValue
|
|
1407
1407
|
}))), 1)], 12, dt), [[Fe, ![void 0, null].includes(Z.value)]])], 4)]),
|
|
1408
|
-
A(on) ?
|
|
1408
|
+
A(on) ? _("", !0) : (T(), v("div", {
|
|
1409
1409
|
key: 1,
|
|
1410
1410
|
class: "vue-ui-heatmap-legend-label-min",
|
|
1411
1411
|
style: w({
|
|
1412
1412
|
fontSize: L.value.style.legend.fontSize + "px",
|
|
1413
1413
|
color: L.value.style.legend.color
|
|
1414
1414
|
})
|
|
1415
|
-
}, k(A(
|
|
1415
|
+
}, k(A(d)(L.value.style.layout.cells.value.formatter, A(m)(Tn.value), A(t)({
|
|
1416
1416
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1417
|
-
v: A(
|
|
1417
|
+
v: A(m)(Tn.value),
|
|
1418
1418
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1419
1419
|
r: L.value.style.legend.roundingValue
|
|
1420
1420
|
}))), 5))
|
|
1421
|
-
], 4)) :
|
|
1422
|
-
|
|
1421
|
+
], 4)) : _("", !0),
|
|
1422
|
+
n.$slots.hint ? (T(), v("div", pt, [O(n.$slots, "hint", C(x({
|
|
1423
1423
|
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1424
1424
|
isVisible: tn.value
|
|
1425
|
-
})), void 0, !0)])) :
|
|
1425
|
+
})), void 0, !0)])) : _("", !0)
|
|
1426
1426
|
], 2),
|
|
1427
|
-
|
|
1428
|
-
|
|
1427
|
+
n.$slots.watermark ? (T(), v("div", mt, [O(n.$slots, "watermark", C(x({ isPrinting: A(pn) || A(mn) || Vt.value || Ht.value })), void 0, !0)])) : _("", !0),
|
|
1428
|
+
n.$slots.source ? (T(), v("div", {
|
|
1429
1429
|
key: 6,
|
|
1430
1430
|
ref_key: "source",
|
|
1431
1431
|
ref: Zt,
|
|
1432
1432
|
dir: "auto"
|
|
1433
|
-
}, [O(
|
|
1434
|
-
|
|
1433
|
+
}, [O(n.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
|
|
1434
|
+
Te(A(Ue), {
|
|
1435
1435
|
teleportTo: L.value.style.tooltip.teleportTo,
|
|
1436
1436
|
show: B.value.showTooltip && Mt.value,
|
|
1437
1437
|
backgroundColor: L.value.style.tooltip.backgroundColor,
|
|
@@ -1455,9 +1455,9 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1455
1455
|
isA11yMode: en.value === "keyboard",
|
|
1456
1456
|
a11yPosition: $t.value
|
|
1457
1457
|
}, {
|
|
1458
|
-
"tooltip-before": j(() => [O(
|
|
1459
|
-
tooltip: j(() => [O(
|
|
1460
|
-
"tooltip-after": j(() => [O(
|
|
1458
|
+
"tooltip-before": j(() => [O(n.$slots, "tooltip-before", C(x({ ...Ln.value })), void 0, !0)]),
|
|
1459
|
+
tooltip: j(() => [O(n.$slots, "tooltip", C(x({ ...Ln.value })), void 0, !0)]),
|
|
1460
|
+
"tooltip-after": j(() => [O(n.$slots, "tooltip-after", C(x({ ...Ln.value })), void 0, !0)]),
|
|
1461
1461
|
_: 3
|
|
1462
1462
|
}, 8, [
|
|
1463
1463
|
"teleportTo",
|
|
@@ -1483,61 +1483,61 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1483
1483
|
"isA11yMode",
|
|
1484
1484
|
"a11yPosition"
|
|
1485
1485
|
]),
|
|
1486
|
-
At.value && L.value.userOptions.buttons.table ? (T(),
|
|
1486
|
+
At.value && L.value.userOptions.buttons.table ? (T(), Se(je(tr.value.component), Ee({ key: 7 }, tr.value.props, {
|
|
1487
1487
|
ref_key: "tableUnit",
|
|
1488
1488
|
ref: zt,
|
|
1489
1489
|
onClose: rr
|
|
1490
|
-
}),
|
|
1491
|
-
content: j(() => [
|
|
1490
|
+
}), Ce({
|
|
1491
|
+
content: j(() => [y("div", {
|
|
1492
1492
|
ref_key: "tableContainer",
|
|
1493
1493
|
ref: It,
|
|
1494
1494
|
class: "vue-ui-heatmap-table atom-data-table",
|
|
1495
1495
|
style: w(`${L.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1496
|
-
}, [
|
|
1496
|
+
}, [y("div", {
|
|
1497
1497
|
style: w(`width:100%;overflow-x:auto;position:relative;${L.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1498
1498
|
class: De({ "vue-ui-responsive": A(nr) })
|
|
1499
|
-
}, [L.value.table.useDialog ?
|
|
1499
|
+
}, [L.value.table.useDialog ? _("", !0) : (T(), v("div", {
|
|
1500
1500
|
key: 0,
|
|
1501
1501
|
role: "button",
|
|
1502
1502
|
tabindex: "0",
|
|
1503
1503
|
style: w(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${L.value.table.th.backgroundColor};`),
|
|
1504
1504
|
onClick: rr,
|
|
1505
1505
|
onKeypress: ze(rr, ["enter"])
|
|
1506
|
-
}, [
|
|
1506
|
+
}, [Te(A(xt), {
|
|
1507
1507
|
name: "close",
|
|
1508
1508
|
stroke: L.value.table.th.color,
|
|
1509
1509
|
"stroke-width": 2
|
|
1510
|
-
}, null, 8, ["stroke"])], 36)),
|
|
1511
|
-
L.value.table.useDialog ?
|
|
1510
|
+
}, null, 8, ["stroke"])], 36)), y("table", ht, [
|
|
1511
|
+
L.value.table.useDialog ? _("", !0) : (T(), v("caption", {
|
|
1512
1512
|
key: 0,
|
|
1513
1513
|
style: w(`backgroundColor:${L.value.table.th.backgroundColor};color:${L.value.table.th.color};outline:${L.value.table.th.outline}`)
|
|
1514
|
-
}, [
|
|
1515
|
-
|
|
1514
|
+
}, [we(k(L.value.style.title.text) + " ", 1), L.value.style.title.subtitle.text ? (T(), v("span", gt, k(L.value.style.title.subtitle.text), 1)) : _("", !0)], 4)),
|
|
1515
|
+
y("thead", null, [y("tr", {
|
|
1516
1516
|
role: "row",
|
|
1517
1517
|
style: w(`background:${L.value.table.th.backgroundColor};color:${L.value.table.th.color}`)
|
|
1518
|
-
}, [
|
|
1518
|
+
}, [y("th", { style: w(`outline:${L.value.table.th.outline};padding-right:6px`) }, null, 4), (T(!0), v(h, null, D(e.dataset, (e, t) => (T(), v("th", {
|
|
1519
1519
|
align: "right",
|
|
1520
1520
|
style: w(`outline:${L.value.table.th.outline};padding-right:6px`)
|
|
1521
1521
|
}, k(e.name), 5))), 256))], 4)]),
|
|
1522
|
-
|
|
1522
|
+
y("tbody", null, [(T(!0), v(h, null, D(Y.value.xLabels, (n, r) => (T(), v("tr", {
|
|
1523
1523
|
role: "row",
|
|
1524
1524
|
class: De({
|
|
1525
1525
|
"vue-ui-data-table__tbody__row": !0,
|
|
1526
|
-
"vue-ui-data-table__tbody__row-even":
|
|
1527
|
-
"vue-ui-data-table__tbody__row-odd":
|
|
1526
|
+
"vue-ui-data-table__tbody__row-even": r % 2 == 0,
|
|
1527
|
+
"vue-ui-data-table__tbody__row-odd": r % 2 != 0
|
|
1528
1528
|
}),
|
|
1529
1529
|
style: w(`background:${L.value.table.td.backgroundColor};color:${L.value.table.td.color}`)
|
|
1530
|
-
}, [
|
|
1530
|
+
}, [y("td", {
|
|
1531
1531
|
"data-cell": L.value.table.colNames.xAxis,
|
|
1532
1532
|
class: "vue-ui-data-table__tbody__td",
|
|
1533
1533
|
style: w(`outline:${L.value.table.td.outline}`)
|
|
1534
|
-
}, [
|
|
1534
|
+
}, [y("div", vt, k(n), 1)], 12, _t), (T(!0), v(h, null, D(e.dataset, (n, i) => (T(), v("td", {
|
|
1535
1535
|
class: "vue-ui-data-table__tbody__td",
|
|
1536
1536
|
"data-cell": e.dataset[i].name,
|
|
1537
1537
|
style: w(`outline:${L.value.table.td.outline}`)
|
|
1538
|
-
}, [
|
|
1538
|
+
}, [y("div", bt, k(isNaN(n.values[r]) ? "-" : A(t)({
|
|
1539
1539
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1540
|
-
v:
|
|
1540
|
+
v: n.values[r],
|
|
1541
1541
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1542
1542
|
r: L.value.table.td.roundingValue
|
|
1543
1543
|
})), 1)], 12, yt))), 256))], 6))), 256))])
|
|
@@ -1545,22 +1545,22 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1545
1545
|
_: 2
|
|
1546
1546
|
}, [L.value.table.useDialog ? {
|
|
1547
1547
|
name: "title",
|
|
1548
|
-
fn: j(() => [
|
|
1548
|
+
fn: j(() => [we(k(tr.value.title), 1)]),
|
|
1549
1549
|
key: "0"
|
|
1550
1550
|
} : void 0, L.value.table.useDialog ? {
|
|
1551
1551
|
name: "actions",
|
|
1552
|
-
fn: j(() => [
|
|
1552
|
+
fn: j(() => [y("button", {
|
|
1553
1553
|
tabindex: "0",
|
|
1554
1554
|
class: "vue-ui-user-options-button",
|
|
1555
|
-
onClick:
|
|
1555
|
+
onClick: r[0] ||= (e) => Wn(L.value.userOptions.callbacks.csv),
|
|
1556
1556
|
style: w({ cursor: nn.value ? "pointer" : "default" })
|
|
1557
|
-
}, [
|
|
1557
|
+
}, [Te(A(xt), {
|
|
1558
1558
|
name: "fileCsv",
|
|
1559
1559
|
stroke: tr.value.props.color
|
|
1560
1560
|
}, null, 8, ["stroke"])], 4)]),
|
|
1561
1561
|
key: "1"
|
|
1562
|
-
} : void 0]), 1040)) :
|
|
1563
|
-
O(
|
|
1562
|
+
} : void 0]), 1040)) : _("", !0),
|
|
1563
|
+
O(n.$slots, "skeleton", {}, () => [A(on) ? (T(), Se(oe, { key: 0 })) : _("", !0)], !0)
|
|
1564
1564
|
], 46, We));
|
|
1565
1565
|
}
|
|
1566
1566
|
}, [["__scopeId", "data-v-57a8b077"]]);
|