vue-data-ui 3.22.7 → 3.22.8
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-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.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-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, G as n, J as r, Jt as i, Kt as a, T as o, Z as s, _t as c, dt as l, i as u, kt as d, ot as ee, r as f, t as p, v as m, yt as te } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as ne } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as re } from "./useConfig-DYM3f6EI.js";
|
|
5
|
-
import { t as ie } from "./usePrinter-
|
|
5
|
+
import { t as ie } from "./usePrinter-CqqHmnBI.js";
|
|
6
6
|
import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as se } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as ce } from "./useNestedProp-
|
|
8
|
+
import { t as ce } from "./useNestedProp-DIuuzG1r.js";
|
|
9
9
|
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ue } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
11
|
-
import { t as de } from "./img-
|
|
12
|
-
import { n as fe } from "./Title-
|
|
11
|
+
import { t as de } from "./img-DnP3eXuv.js";
|
|
12
|
+
import { n as fe } from "./Title-CcNiYzEo.js";
|
|
13
13
|
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as me } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as he } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as ge } from "./vue-ui-accordion-
|
|
16
|
+
import { t as ge } from "./vue-ui-accordion-YyosvEPo.js";
|
|
17
17
|
import { t as _e } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
20
|
import { t as be } from "./useTableResponsive-B24Uwt2E.js";
|
|
21
21
|
import { t as xe } from "./vue_ui_heatmap-B2BBBSWG.js";
|
|
22
|
-
import { Fragment as h, computed as g, createBlock as
|
|
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 Ee, guardReactiveProps as b, mergeProps as De, nextTick as x, normalizeClass as Oe, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as ke, onMounted as Ae, openBlock as w, reactive as je, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as Me, shallowRef as Ne, toDisplayString as O, toRefs as Pe, unref as k, useCssVars as Fe, vShow as Ie, watch as Le, watchEffect as Re, withCtx as A, withDirectives as ze, withKeys as Be } from "vue";
|
|
23
23
|
//#region src/useLabelObserverEfffect.js
|
|
24
24
|
function Ve({ 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 Ve({ 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 x();
|
|
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 Ue(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) {
|
|
@@ -283,14 +283,14 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
283
283
|
emits: ["selectDatapoint", "copyAlt"],
|
|
284
284
|
setup(e, { expose: pe, emit: Ue }) {
|
|
285
285
|
Fe((e) => ({ v4596c7e2: e.tdo }));
|
|
286
|
-
let We =
|
|
286
|
+
let We = Ee(() => import("./Tooltip-CxOrWlFy.js")), St = Ee(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), Ct = Ee(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), wt = Ee(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Tt = Ee(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Et = Ee(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_heatmap: Dt } = re(), { isThemeValid: Ot, warnInvalidTheme: kt } = le(), j = e, At = Ue, jt = g({
|
|
287
287
|
get() {
|
|
288
288
|
return !!j.dataset && j.dataset.length;
|
|
289
289
|
},
|
|
290
290
|
set(e) {
|
|
291
291
|
return e;
|
|
292
292
|
}
|
|
293
|
-
}), M = T(
|
|
293
|
+
}), M = T(n()), N = T(null), Mt = T(!1), Nt = T(""), Pt = T(void 0), P = T(null), Ft = T(0), It = T(null), Lt = T(0), Rt = T(null), zt = T(null), Bt = T(null), Vt = T(!1), Ht = T(!1), Ut = T(null), Wt = T(null), Gt = T(null), Kt = T(null), qt = T(null), Jt = T(null), Yt = T(null), Xt = T(null), Zt = T(null), F = Ne(null), I = T(null), Qt = T(null), $t = T({
|
|
294
294
|
x: 0,
|
|
295
295
|
y: 0
|
|
296
296
|
}), en = T("pointer"), tn = T(!1), L = T(fn()), nn = g(() => L.value.userOptions.useCursorPointer);
|
|
@@ -306,7 +306,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
306
306
|
}
|
|
307
307
|
return t;
|
|
308
308
|
}
|
|
309
|
-
let an = g(() =>
|
|
309
|
+
let an = g(() => a({
|
|
310
310
|
defaultConfig: {
|
|
311
311
|
table: { show: !1 },
|
|
312
312
|
userOptions: { show: !1 },
|
|
@@ -336,14 +336,14 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
336
336
|
prepareConfig: fn,
|
|
337
337
|
callback: () => {
|
|
338
338
|
Promise.resolve().then(async () => {
|
|
339
|
-
await
|
|
339
|
+
await x(), N.value && i(N.value, {
|
|
340
340
|
delta: .1,
|
|
341
341
|
delay: 250
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
344
|
},
|
|
345
345
|
skeletonDataset: j.config?.skeletonDataset ?? rn(),
|
|
346
|
-
skeletonConfig:
|
|
346
|
+
skeletonConfig: a({
|
|
347
347
|
defaultConfig: L.value,
|
|
348
348
|
userConfig: an.value
|
|
349
349
|
})
|
|
@@ -391,11 +391,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
391
391
|
}, { immediate: !0 });
|
|
392
392
|
let vn = g(() => L.value.table.responsiveBreakpoint), V = T(null), yn = g(() => !!L.value.debug);
|
|
393
393
|
function bn() {
|
|
394
|
-
if (
|
|
394
|
+
if (d(j.dataset) && (t({
|
|
395
395
|
componentName: "VueUiHeatmap",
|
|
396
396
|
type: "dataset",
|
|
397
397
|
debug: yn.value
|
|
398
|
-
}), jt.value = !1, sn.value = !0),
|
|
398
|
+
}), jt.value = !1, sn.value = !0), d(j.dataset) || (sn.value = L.value.loading), L.value.responsive) {
|
|
399
399
|
let e = me(() => {
|
|
400
400
|
let { width: e, height: t } = he({
|
|
401
401
|
chart: N.value,
|
|
@@ -499,52 +499,52 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
499
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
|
-
let o = Math.max(...a),
|
|
502
|
+
let o = Math.max(...a), s = Math.min(...a);
|
|
503
503
|
return {
|
|
504
504
|
yTotals: n.map((e) => ({
|
|
505
505
|
total: e,
|
|
506
506
|
proportion: isNaN(e / r) ? 0 : e / r,
|
|
507
|
-
color:
|
|
507
|
+
color: c(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: c(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 = g(() => (R.value.forEach((e,
|
|
518
|
-
|
|
517
|
+
}), X = g(() => (R.value.forEach((e, n) => {
|
|
518
|
+
l({
|
|
519
519
|
datasetObject: e,
|
|
520
520
|
requiredAttributes: ["values"]
|
|
521
521
|
}).forEach((e) => {
|
|
522
|
-
|
|
522
|
+
t({
|
|
523
523
|
componentName: "VueUiHeatmap",
|
|
524
524
|
type: "datasetSerieAttribute",
|
|
525
525
|
property: "values",
|
|
526
|
-
index:
|
|
526
|
+
index: n,
|
|
527
527
|
debug: yn.value
|
|
528
528
|
});
|
|
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: c(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: c(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
549
|
})))), An = g(() => R.value.length), jn = je(Array(An.value * H.value || 1).fill(!1)), Mn = g(() => jn.some((e) => e));
|
|
550
550
|
function Nn(e, t) {
|
|
@@ -568,42 +568,42 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
568
568
|
y: n.top + n.height / 2
|
|
569
569
|
};
|
|
570
570
|
}
|
|
571
|
-
function Bn(e, t, n,
|
|
571
|
+
function Bn(e, t, n, i, a = "pointer", o = null) {
|
|
572
572
|
if (L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
573
573
|
datapoint: e,
|
|
574
574
|
seriesIndex: t
|
|
575
575
|
}), !B.value.showTooltip) return;
|
|
576
|
-
en.value =
|
|
576
|
+
en.value = a, I.value = o, Qt.value = e.id, P.value = {
|
|
577
577
|
x: n,
|
|
578
|
-
y:
|
|
578
|
+
y: i
|
|
579
579
|
};
|
|
580
|
-
let { value:
|
|
581
|
-
Pt.value =
|
|
580
|
+
let { value: s, yAxisName: l, xAxisName: d, id: f } = e;
|
|
581
|
+
Pt.value = f, Z.value = s, Ln.value = {
|
|
582
582
|
datapoint: e,
|
|
583
583
|
seriesIndex: t,
|
|
584
584
|
series: X.value,
|
|
585
585
|
config: L.value
|
|
586
586
|
}, Mt.value = !0;
|
|
587
|
-
let
|
|
588
|
-
|
|
587
|
+
let p = "", m = L.value.style.tooltip.customFormat;
|
|
588
|
+
te(m) && ee(() => m({
|
|
589
589
|
datapoint: e,
|
|
590
590
|
seriesIndex: t,
|
|
591
591
|
series: X.value,
|
|
592
592
|
config: L.value
|
|
593
|
-
})) ? Nt.value =
|
|
593
|
+
})) ? Nt.value = m({
|
|
594
594
|
datapoint: e,
|
|
595
595
|
seriesIndex: t,
|
|
596
596
|
series: X.value,
|
|
597
597
|
config: L.value
|
|
598
|
-
}) : (
|
|
598
|
+
}) : (p += `<div>${l} ${d ? l ? ` - ${d}` : `${d}` : ""}</div>`, p += `<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:${c(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, s)}">⬤</span><span>${isNaN(s) ? "-" : u(L.value.style.layout.cells.value.formatter, s, r({
|
|
599
599
|
p: L.value.style.layout.dataLabels.prefix,
|
|
600
|
-
v:
|
|
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
605
|
seriesIndex: t
|
|
606
|
-
})}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${
|
|
606
|
+
})}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${p}</div>`), a === "keyboard" && x(() => {
|
|
607
607
|
zn(e.id);
|
|
608
608
|
});
|
|
609
609
|
}
|
|
@@ -614,7 +614,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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 u(L.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, r({
|
|
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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
function Un(e) {
|
|
628
|
-
return
|
|
628
|
+
return u(L.value.style.layout.cells.value.formatter, Y.value.xTotals[e].total, r({
|
|
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,
|
|
@@ -640,14 +640,14 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
640
640
|
body: R.value.map((e) => e.values)
|
|
641
641
|
}));
|
|
642
642
|
function Wn(e = null) {
|
|
643
|
-
|
|
643
|
+
x(() => {
|
|
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 = o([
|
|
651
651
|
[L.value.style.title.text],
|
|
652
652
|
[L.value.style.title.subtitle.text],
|
|
653
653
|
[
|
|
@@ -657,7 +657,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
657
657
|
],
|
|
658
658
|
t
|
|
659
659
|
].concat(n));
|
|
660
|
-
e ? e(r) :
|
|
660
|
+
e ? e(r) : s({
|
|
661
661
|
csvContent: r,
|
|
662
662
|
title: L.value.style.title.text || "vue-ui-heatmap"
|
|
663
663
|
});
|
|
@@ -792,7 +792,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
792
792
|
};
|
|
793
793
|
});
|
|
794
794
|
Le(() => 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 x(), zt.value.open()) : "close" in zt.value && zt.value.close());
|
|
796
796
|
});
|
|
797
797
|
let { isResponsive: nr } = be(It, vn);
|
|
798
798
|
function rr() {
|
|
@@ -804,7 +804,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
804
804
|
backgroundColor: ir
|
|
805
805
|
});
|
|
806
806
|
async function sr({ isCb: e }) {
|
|
807
|
-
Ht.value = !0, await
|
|
807
|
+
Ht.value = !0, await x();
|
|
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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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,18 +913,18 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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), m = K.value.left + K.value.cellSize.width * f.columnIndex, te = K.value.top + K.value.cellSize.height * f.rowIndex;
|
|
921
|
+
Bn(f.cell, f.rowIndex, m, te, "keyboard", p);
|
|
922
922
|
}
|
|
923
923
|
let hr = g(() => ({
|
|
924
924
|
headers: [L.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
|
|
925
925
|
rows: Y.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
|
|
926
926
|
let n = e.values?.[t];
|
|
927
|
-
return isNaN(n) ? "-" :
|
|
927
|
+
return isNaN(n) ? "-" : r({
|
|
928
928
|
p: L.value.style.layout.dataLabels.prefix,
|
|
929
929
|
v: n,
|
|
930
930
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -951,7 +951,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
951
951
|
toggleAnnotator: Yn,
|
|
952
952
|
toggleFullscreen: Gn,
|
|
953
953
|
copyAlt: lr
|
|
954
|
-
}), (t, n) => (w(),
|
|
954
|
+
}), (t, n) => (w(), v("div", {
|
|
955
955
|
ref_key: "heatmapChart",
|
|
956
956
|
ref: N,
|
|
957
957
|
class: Oe(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
@@ -962,11 +962,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
962
962
|
dn(!1), tn.value || Rn();
|
|
963
963
|
}
|
|
964
964
|
}, [
|
|
965
|
-
|
|
965
|
+
y("div", {
|
|
966
966
|
id: `chart-instructions-${M.value}`,
|
|
967
967
|
class: "sr-only"
|
|
968
|
-
}, [
|
|
969
|
-
hr.value?.rows?.length ? (w(),
|
|
968
|
+
}, [y("p", null, O(L.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
|
|
969
|
+
hr.value?.rows?.length ? (w(), Se(_e, {
|
|
970
970
|
key: 0,
|
|
971
971
|
uid: M.value,
|
|
972
972
|
head: hr.value.headers,
|
|
@@ -979,8 +979,8 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
979
979
|
"body",
|
|
980
980
|
"notice",
|
|
981
981
|
"caption"
|
|
982
|
-
])) :
|
|
983
|
-
L.value.userOptions.buttons.annotator ? (w(),
|
|
982
|
+
])) : _("", !0),
|
|
983
|
+
L.value.userOptions.buttons.annotator ? (w(), Se(k(Ct), {
|
|
984
984
|
key: 1,
|
|
985
985
|
svgRef: k(z),
|
|
986
986
|
backgroundColor: L.value.style.backgroundColor,
|
|
@@ -990,11 +990,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
990
990
|
onClose: Yn
|
|
991
991
|
}, {
|
|
992
992
|
"annotator-action-close": A(() => [D(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
993
|
-
"annotator-action-color": A(({ color: e }) => [D(t.$slots, "annotator-action-color", S(
|
|
994
|
-
"annotator-action-draw": A(({ mode: e }) => [D(t.$slots, "annotator-action-draw", S(
|
|
995
|
-
"annotator-action-undo": A(({ disabled: e }) => [D(t.$slots, "annotator-action-undo", S(
|
|
996
|
-
"annotator-action-redo": A(({ disabled: e }) => [D(t.$slots, "annotator-action-redo", S(
|
|
997
|
-
"annotator-action-delete": A(({ disabled: e }) => [D(t.$slots, "annotator-action-delete", S(
|
|
993
|
+
"annotator-action-color": A(({ color: e }) => [D(t.$slots, "annotator-action-color", S(b({ color: e })), void 0, !0)]),
|
|
994
|
+
"annotator-action-draw": A(({ mode: e }) => [D(t.$slots, "annotator-action-draw", S(b({ mode: e })), void 0, !0)]),
|
|
995
|
+
"annotator-action-undo": A(({ disabled: e }) => [D(t.$slots, "annotator-action-undo", S(b({ disabled: e })), void 0, !0)]),
|
|
996
|
+
"annotator-action-redo": A(({ disabled: e }) => [D(t.$slots, "annotator-action-redo", S(b({ disabled: e })), void 0, !0)]),
|
|
997
|
+
"annotator-action-delete": A(({ disabled: e }) => [D(t.$slots, "annotator-action-delete", S(b({ disabled: e })), void 0, !0)]),
|
|
998
998
|
_: 3
|
|
999
999
|
}, 8, [
|
|
1000
1000
|
"svgRef",
|
|
@@ -1002,20 +1002,20 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1002
1002
|
"color",
|
|
1003
1003
|
"active",
|
|
1004
1004
|
"isCursorPointer"
|
|
1005
|
-
])) :
|
|
1006
|
-
_n.value ? (w(),
|
|
1005
|
+
])) : _("", !0),
|
|
1006
|
+
_n.value ? (w(), 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 ? (w(),
|
|
1012
|
+
}, null, 512)) : _("", !0),
|
|
1013
|
+
L.value.style.title.text ? (w(), v("div", {
|
|
1014
1014
|
key: 3,
|
|
1015
1015
|
ref_key: "chartTitle",
|
|
1016
1016
|
ref: Ut,
|
|
1017
1017
|
style: "width:100%;background:transparent"
|
|
1018
|
-
}, [(w(),
|
|
1018
|
+
}, [(w(), Se(fe, {
|
|
1019
1019
|
key: `title_${Lt.value}`,
|
|
1020
1020
|
config: {
|
|
1021
1021
|
title: {
|
|
@@ -1027,8 +1027,8 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1027
1027
|
...L.value.style.title.subtitle
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1031
|
-
L.value.userOptions.show && jt.value && (k(un) || k(cn)) ? (w(),
|
|
1030
|
+
}, null, 8, ["config"]))], 512)) : _("", !0),
|
|
1031
|
+
L.value.userOptions.show && jt.value && (k(un) || k(cn)) ? (w(), Se(k(wt), {
|
|
1032
1032
|
ref_key: "userOptionsRef",
|
|
1033
1033
|
ref: Bt,
|
|
1034
1034
|
key: `user_options_${Ft.value}`,
|
|
@@ -1066,10 +1066,10 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1066
1066
|
onToggleAnnotator: Yn,
|
|
1067
1067
|
onCopyAlt: lr,
|
|
1068
1068
|
style: C({ visibility: k(un) ? k(cn) ? "visible" : "hidden" : "visible" })
|
|
1069
|
-
},
|
|
1069
|
+
}, Ce({ _: 2 }, [
|
|
1070
1070
|
t.$slots.menuIcon ? {
|
|
1071
1071
|
name: "menuIcon",
|
|
1072
|
-
fn: A(({ isOpen: e, color: n }) => [D(t.$slots, "menuIcon", S(
|
|
1072
|
+
fn: A(({ isOpen: e, color: n }) => [D(t.$slots, "menuIcon", S(b({
|
|
1073
1073
|
isOpen: e,
|
|
1074
1074
|
color: n
|
|
1075
1075
|
})), void 0, !0)]),
|
|
@@ -1107,7 +1107,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1107
1107
|
} : void 0,
|
|
1108
1108
|
t.$slots.optionFullscreen ? {
|
|
1109
1109
|
name: "optionFullscreen",
|
|
1110
|
-
fn: A(({ toggleFullscreen: e, isFullscreen: n }) => [D(t.$slots, "optionFullscreen", S(
|
|
1110
|
+
fn: A(({ toggleFullscreen: e, isFullscreen: n }) => [D(t.$slots, "optionFullscreen", S(b({
|
|
1111
1111
|
toggleFullscreen: e,
|
|
1112
1112
|
isFullscreen: n
|
|
1113
1113
|
})), void 0, !0)]),
|
|
@@ -1115,7 +1115,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1115
1115
|
} : void 0,
|
|
1116
1116
|
t.$slots.optionAnnotator ? {
|
|
1117
1117
|
name: "optionAnnotator",
|
|
1118
|
-
fn: A(({ toggleAnnotator: e, isAnnotator: n }) => [D(t.$slots, "optionAnnotator", S(
|
|
1118
|
+
fn: A(({ toggleAnnotator: e, isAnnotator: n }) => [D(t.$slots, "optionAnnotator", S(b({
|
|
1119
1119
|
toggleAnnotator: e,
|
|
1120
1120
|
isAnnotator: n
|
|
1121
1121
|
})), void 0, !0)]),
|
|
@@ -1123,7 +1123,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1123
1123
|
} : void 0,
|
|
1124
1124
|
t.$slots.optionAltCopy ? {
|
|
1125
1125
|
name: "optionAltCopy",
|
|
1126
|
-
fn: A(({ altCopy: e }) => [D(t.$slots, "optionAltCopy", S(
|
|
1126
|
+
fn: A(({ altCopy: e }) => [D(t.$slots, "optionAltCopy", S(b({ altCopy: e })), void 0, !0)]),
|
|
1127
1127
|
key: "9"
|
|
1128
1128
|
} : void 0,
|
|
1129
1129
|
t.$slots["custom-menu-before"] ? {
|
|
@@ -1136,15 +1136,15 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1136
1136
|
fn: A(() => [D(t.$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: Oe({
|
|
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
|
-
(w(),
|
|
1144
|
+
(w(), v("svg", {
|
|
1145
1145
|
ref_key: "svgRef",
|
|
1146
1146
|
ref: z,
|
|
1147
|
-
xmlns: k(
|
|
1147
|
+
xmlns: k(p),
|
|
1148
1148
|
"aria-describedby": `chart-instructions-${M.value}`,
|
|
1149
1149
|
class: Oe({
|
|
1150
1150
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
@@ -1161,20 +1161,20 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1161
1161
|
onBlur: pr,
|
|
1162
1162
|
onKeydown: mr
|
|
1163
1163
|
}, [
|
|
1164
|
-
|
|
1165
|
-
t.$slots["chart-background"] ? (w(),
|
|
1164
|
+
Te(k(Tt)),
|
|
1165
|
+
t.$slots["chart-background"] ? (w(), 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
|
-
}, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, Je)) :
|
|
1173
|
-
L.value.style.layout.cells.columnTotal.color.show ? (w(),
|
|
1172
|
+
}, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : _("", !0),
|
|
1173
|
+
L.value.style.layout.cells.columnTotal.color.show ? (w(), v("g", {
|
|
1174
1174
|
key: 1,
|
|
1175
1175
|
ref_key: "xAxisSumRects",
|
|
1176
1176
|
ref: Xt
|
|
1177
|
-
}, [(w(!0),
|
|
1177
|
+
}, [(w(!0), v(h, null, E(Y.value.xTotals, (e, t) => (w(), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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, Ye))), 256)), (w(!0),
|
|
1185
|
+
}, null, 8, Ye))), 256)), (w(!0), v(h, null, E(Y.value.xTotals, (e, t) => (w(), 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,12 +1190,12 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1190
1190
|
fill: e.color,
|
|
1191
1191
|
stroke: L.value.style.backgroundColor,
|
|
1192
1192
|
"stroke-width": G.value
|
|
1193
|
-
}, null, 8, Xe))), 256))], 512)) :
|
|
1194
|
-
|
|
1193
|
+
}, null, 8, Xe))), 256))], 512)) : _("", !0),
|
|
1194
|
+
y("g", {
|
|
1195
1195
|
ref_key: "datapoints",
|
|
1196
1196
|
ref: Rt
|
|
1197
|
-
}, [(w(!0),
|
|
1198
|
-
|
|
1197
|
+
}, [(w(!0), v(h, null, E(X.value, (e, t) => (w(), v(h, null, [(w(!0), v(h, null, E(e.temperatures, (e, n) => (w(), v("g", null, [
|
|
1198
|
+
y("rect", {
|
|
1199
1199
|
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1200
1200
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1201
1201
|
width: K.value.cellSize.width - G.value,
|
|
@@ -1204,7 +1204,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1204
1204
|
stroke: L.value.style.backgroundColor,
|
|
1205
1205
|
"stroke-width": G.value
|
|
1206
1206
|
}, null, 8, Ze),
|
|
1207
|
-
|
|
1207
|
+
y("rect", {
|
|
1208
1208
|
"data-a11y-cell-id": e.id,
|
|
1209
1209
|
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1210
1210
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
@@ -1221,19 +1221,19 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1221
1221
|
}),
|
|
1222
1222
|
onClick: () => Xn(e, t)
|
|
1223
1223
|
}, null, 40, Qe),
|
|
1224
|
-
L.value.style.layout.cells.value.show ? ze((w(),
|
|
1224
|
+
L.value.style.layout.cells.value.show ? ze((w(), 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: k(
|
|
1229
|
+
fill: k(f)(e.color),
|
|
1230
1230
|
x: K.value.left + K.value.cellSize.width * n + K.value.cellSize.width / 2 + K.value.sumCellXHeight,
|
|
1231
1231
|
y: K.value.top + K.value.cellSize.height * t + 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(O(k(u)(L.value.style.layout.cells.value.formatter, e.value, k(r)({
|
|
1237
1237
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1238
1238
|
v: e.value,
|
|
1239
1239
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -1248,13 +1248,13 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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 ? (w(),
|
|
1253
|
+
L.value.style.layout.cells.rowTotal.color.show ? (w(), v("g", {
|
|
1254
1254
|
key: 2,
|
|
1255
1255
|
ref_key: "yAxisSumRects",
|
|
1256
1256
|
ref: qt
|
|
1257
|
-
}, [(w(!0),
|
|
1257
|
+
}, [(w(!0), v(h, null, E(X.value, (e, t) => (w(), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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, et),
|
|
1265
|
+
}, null, 8, et), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1270
1270
|
fill: Y.value.yTotals[t].color,
|
|
1271
1271
|
stroke: L.value.style.backgroundColor,
|
|
1272
1272
|
"stroke-width": G.value
|
|
1273
|
-
}, null, 8, tt)], 64))), 256))], 512)) :
|
|
1274
|
-
L.value.style.layout.dataLabels.yAxis.show ? (w(),
|
|
1273
|
+
}, null, 8, tt)], 64))), 256))], 512)) : _("", !0),
|
|
1274
|
+
L.value.style.layout.dataLabels.yAxis.show ? (w(), v("g", {
|
|
1275
1275
|
key: 3,
|
|
1276
1276
|
ref_key: "yAxisLabels",
|
|
1277
1277
|
ref: Kt
|
|
1278
|
-
}, [(w(!0),
|
|
1278
|
+
}, [(w(!0), v(h, null, E(X.value, (e, t) => (w(), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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
|
-
}, O(Y.value.yLabels[t]), 9, nt), L.value.style.layout.cells.rowTotal.value.show ? (w(),
|
|
1286
|
+
}, O(Y.value.yLabels[t]), 9, nt), L.value.style.layout.cells.rowTotal.value.show ? (w(), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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
|
-
}, O(Hn(t)), 9, rt)) :
|
|
1296
|
-
L.value.style.layout.dataLabels.xAxis.show ? (w(),
|
|
1295
|
+
}, O(Hn(t)), 9, rt)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1296
|
+
L.value.style.layout.dataLabels.xAxis.show ? (w(), v("g", {
|
|
1297
1297
|
key: 4,
|
|
1298
1298
|
ref_key: "xAxisLabels",
|
|
1299
1299
|
ref: Jt
|
|
1300
|
-
}, [(w(!0),
|
|
1300
|
+
}, [(w(!0), v(h, null, E(Y.value.xLabels, (e, t) => (w(), 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 ? (w(), 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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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
|
-
}, O(e), 9, it)) :
|
|
1309
|
-
L.value.style.layout.cells.columnTotal.value.show ? (w(),
|
|
1308
|
+
}, O(e), 9, it)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1309
|
+
L.value.style.layout.cells.columnTotal.value.show ? (w(), v("g", {
|
|
1310
1310
|
key: 5,
|
|
1311
1311
|
ref_key: "xAxisSums",
|
|
1312
1312
|
ref: Yt
|
|
1313
|
-
}, [(w(!0),
|
|
1313
|
+
}, [(w(!0), v(h, null, E(Y.value.xLabels, (e, t) => (w(), 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
|
-
}, O(Un(t)), 9, at))), 256))], 512)) :
|
|
1321
|
-
P.value ? (w(),
|
|
1320
|
+
}, O(Un(t)), 9, at))), 256))], 512)) : _("", !0),
|
|
1321
|
+
P.value ? (w(), v("g", ot, [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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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, st)])) :
|
|
1332
|
-
L.value.style.layout.crosshairs.show && P.value ? (w(),
|
|
1331
|
+
}, null, 8, st)])) : _("", !0),
|
|
1332
|
+
L.value.style.layout.crosshairs.show && P.value ? (w(), v("g", ct, [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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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, lt),
|
|
1341
|
+
}, null, 8, lt), 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,7 +1347,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
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, ut)])) :
|
|
1350
|
+
}, null, 8, ut)])) : _("", !0),
|
|
1351
1351
|
D(t.$slots, "svg", { svg: {
|
|
1352
1352
|
...U.value,
|
|
1353
1353
|
drawingArea: K.value,
|
|
@@ -1355,32 +1355,32 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1355
1355
|
isPrintingSvg: Ht.value
|
|
1356
1356
|
} }, void 0, !0)
|
|
1357
1357
|
], 46, qe)),
|
|
1358
|
-
L.value.style.legend.show ? (w(),
|
|
1358
|
+
L.value.style.legend.show ? (w(), 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: C({ "--legend-width": L.value.style.legend.width + "px" })
|
|
1364
1364
|
}, [
|
|
1365
|
-
k(on) ?
|
|
1365
|
+
k(on) ? _("", !0) : (w(), v("div", {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
class: "vue-ui-heatmap-legend-label-max",
|
|
1368
1368
|
style: C({
|
|
1369
1369
|
fontSize: L.value.style.legend.fontSize + "px",
|
|
1370
1370
|
color: L.value.style.legend.color
|
|
1371
1371
|
})
|
|
1372
|
-
}, O(k(
|
|
1372
|
+
}, O(k(u)(L.value.style.layout.cells.value.formatter, k(m)(q.value), k(r)({
|
|
1373
1373
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1374
1374
|
v: k(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", dt, [y("div", {
|
|
1379
1379
|
class: "vue-ui-heatmap-gauge",
|
|
1380
1380
|
style: C({ background: `linear-gradient(to bottom, ${L.value.style.layout.cells.colors.hot}, ${L.value.style.layout.cells.colors.cold})` })
|
|
1381
|
-
}, [ze(
|
|
1381
|
+
}, [ze(y("div", {
|
|
1382
1382
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
1383
|
-
"data-value": k(
|
|
1383
|
+
"data-value": k(u)(L.value.style.layout.cells.value.formatter, k(m)(Z.value), k(r)({
|
|
1384
1384
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1385
1385
|
v: k(m)(Z.value),
|
|
1386
1386
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -1390,48 +1390,48 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1390
1390
|
position: "absolute",
|
|
1391
1391
|
width: "100%",
|
|
1392
1392
|
height: "2px",
|
|
1393
|
-
background: [void 0, null].includes(Z.value) ? "transparent" : k(
|
|
1393
|
+
background: [void 0, null].includes(Z.value) ? "transparent" : k(f)(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": k(
|
|
1398
|
-
"--gauge-arrow-text-color": k(
|
|
1397
|
+
"--gauge-arrow-color": k(f)(L.value.style.backgroundColor),
|
|
1398
|
+
"--gauge-arrow-text-color": k(f)(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", pt, O(k(u)(L.value.style.layout.cells.value.formatter, k(m)(Z.value), k(r)({
|
|
1403
1403
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1404
1404
|
v: k(m)(Z.value),
|
|
1405
1405
|
s: L.value.style.layout.dataLabels.suffix,
|
|
1406
1406
|
r: L.value.style.legend.roundingValue
|
|
1407
1407
|
}))), 1)], 12, ft), [[Ie, ![void 0, null].includes(Z.value)]])], 4)]),
|
|
1408
|
-
k(on) ?
|
|
1408
|
+
k(on) ? _("", !0) : (w(), v("div", {
|
|
1409
1409
|
key: 1,
|
|
1410
1410
|
class: "vue-ui-heatmap-legend-label-min",
|
|
1411
1411
|
style: C({
|
|
1412
1412
|
fontSize: L.value.style.legend.fontSize + "px",
|
|
1413
1413
|
color: L.value.style.legend.color
|
|
1414
1414
|
})
|
|
1415
|
-
}, O(k(
|
|
1415
|
+
}, O(k(u)(L.value.style.layout.cells.value.formatter, k(m)(Tn.value), k(r)({
|
|
1416
1416
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1417
1417
|
v: k(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
|
-
t.$slots.hint ? (w(),
|
|
1421
|
+
], 4)) : _("", !0),
|
|
1422
|
+
t.$slots.hint ? (w(), v("div", mt, [D(t.$slots, "hint", S(b({
|
|
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
|
-
t.$slots.watermark ? (w(),
|
|
1428
|
-
t.$slots.source ? (w(),
|
|
1427
|
+
t.$slots.watermark ? (w(), v("div", ht, [D(t.$slots, "watermark", S(b({ isPrinting: k(pn) || k(mn) || Vt.value || Ht.value })), void 0, !0)])) : _("", !0),
|
|
1428
|
+
t.$slots.source ? (w(), v("div", {
|
|
1429
1429
|
key: 6,
|
|
1430
1430
|
ref_key: "source",
|
|
1431
1431
|
ref: Zt,
|
|
1432
1432
|
dir: "auto"
|
|
1433
|
-
}, [D(t.$slots, "source", {}, void 0, !0)], 512)) :
|
|
1434
|
-
|
|
1433
|
+
}, [D(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
|
|
1434
|
+
Te(k(We), {
|
|
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 We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1455
1455
|
isA11yMode: en.value === "keyboard",
|
|
1456
1456
|
a11yPosition: $t.value
|
|
1457
1457
|
}, {
|
|
1458
|
-
"tooltip-before": A(() => [D(t.$slots, "tooltip-before", S(
|
|
1459
|
-
tooltip: A(() => [D(t.$slots, "tooltip", S(
|
|
1460
|
-
"tooltip-after": A(() => [D(t.$slots, "tooltip-after", S(
|
|
1458
|
+
"tooltip-before": A(() => [D(t.$slots, "tooltip-before", S(b({ ...Ln.value })), void 0, !0)]),
|
|
1459
|
+
tooltip: A(() => [D(t.$slots, "tooltip", S(b({ ...Ln.value })), void 0, !0)]),
|
|
1460
|
+
"tooltip-after": A(() => [D(t.$slots, "tooltip-after", S(b({ ...Ln.value })), void 0, !0)]),
|
|
1461
1461
|
_: 3
|
|
1462
1462
|
}, 8, [
|
|
1463
1463
|
"teleportTo",
|
|
@@ -1483,43 +1483,43 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1483
1483
|
"isA11yMode",
|
|
1484
1484
|
"a11yPosition"
|
|
1485
1485
|
]),
|
|
1486
|
-
jt.value && L.value.userOptions.buttons.table ? (w(),
|
|
1486
|
+
jt.value && L.value.userOptions.buttons.table ? (w(), Se(Me(tr.value.component), De({ key: 7 }, tr.value.props, {
|
|
1487
1487
|
ref_key: "tableUnit",
|
|
1488
1488
|
ref: zt,
|
|
1489
1489
|
onClose: rr
|
|
1490
|
-
}),
|
|
1491
|
-
content: A(() => [
|
|
1490
|
+
}), Ce({
|
|
1491
|
+
content: A(() => [y("div", {
|
|
1492
1492
|
ref_key: "tableContainer",
|
|
1493
1493
|
ref: It,
|
|
1494
1494
|
class: "vue-ui-heatmap-table atom-data-table",
|
|
1495
1495
|
style: C(`${L.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1496
|
-
}, [
|
|
1496
|
+
}, [y("div", {
|
|
1497
1497
|
style: C(`width:100%;overflow-x:auto;position:relative;${L.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1498
1498
|
class: Oe({ "vue-ui-responsive": k(nr) })
|
|
1499
|
-
}, [L.value.table.useDialog ?
|
|
1499
|
+
}, [L.value.table.useDialog ? _("", !0) : (w(), v("div", {
|
|
1500
1500
|
key: 0,
|
|
1501
1501
|
role: "button",
|
|
1502
1502
|
tabindex: "0",
|
|
1503
1503
|
style: C(`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: Be(rr, ["enter"])
|
|
1506
|
-
}, [
|
|
1506
|
+
}, [Te(k(St), {
|
|
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", gt, [
|
|
1511
|
+
L.value.table.useDialog ? _("", !0) : (w(), v("caption", {
|
|
1512
1512
|
key: 0,
|
|
1513
1513
|
style: C(`backgroundColor:${L.value.table.th.backgroundColor};color:${L.value.table.th.color};outline:${L.value.table.th.outline}`)
|
|
1514
|
-
}, [
|
|
1515
|
-
|
|
1514
|
+
}, [we(O(L.value.style.title.text) + " ", 1), L.value.style.title.subtitle.text ? (w(), v("span", _t, O(L.value.style.title.subtitle.text), 1)) : _("", !0)], 4)),
|
|
1515
|
+
y("thead", null, [y("tr", {
|
|
1516
1516
|
role: "row",
|
|
1517
1517
|
style: C(`background:${L.value.table.th.backgroundColor};color:${L.value.table.th.color}`)
|
|
1518
|
-
}, [
|
|
1518
|
+
}, [y("th", { style: C(`outline:${L.value.table.th.outline};padding-right:6px`) }, null, 4), (w(!0), v(h, null, E(e.dataset, (e, t) => (w(), v("th", {
|
|
1519
1519
|
align: "right",
|
|
1520
1520
|
style: C(`outline:${L.value.table.th.outline};padding-right:6px`)
|
|
1521
1521
|
}, O(e.name), 5))), 256))], 4)]),
|
|
1522
|
-
|
|
1522
|
+
y("tbody", null, [(w(!0), v(h, null, E(Y.value.xLabels, (t, n) => (w(), v("tr", {
|
|
1523
1523
|
role: "row",
|
|
1524
1524
|
class: Oe({
|
|
1525
1525
|
"vue-ui-data-table__tbody__row": !0,
|
|
@@ -1527,15 +1527,15 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1527
1527
|
"vue-ui-data-table__tbody__row-odd": n % 2 != 0
|
|
1528
1528
|
}),
|
|
1529
1529
|
style: C(`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: C(`outline:${L.value.table.td.outline}`)
|
|
1534
|
-
}, [
|
|
1534
|
+
}, [y("div", yt, O(t), 1)], 12, vt), (w(!0), v(h, null, E(e.dataset, (t, i) => (w(), v("td", {
|
|
1535
1535
|
class: "vue-ui-data-table__tbody__td",
|
|
1536
|
-
"data-cell": e.dataset[
|
|
1536
|
+
"data-cell": e.dataset[i].name,
|
|
1537
1537
|
style: C(`outline:${L.value.table.td.outline}`)
|
|
1538
|
-
}, [
|
|
1538
|
+
}, [y("div", xt, O(isNaN(t.values[n]) ? "-" : k(r)({
|
|
1539
1539
|
p: L.value.style.layout.dataLabels.prefix,
|
|
1540
1540
|
v: t.values[n],
|
|
1541
1541
|
s: L.value.style.layout.dataLabels.suffix,
|
|
@@ -1545,22 +1545,22 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1545
1545
|
_: 2
|
|
1546
1546
|
}, [L.value.table.useDialog ? {
|
|
1547
1547
|
name: "title",
|
|
1548
|
-
fn: A(() => [
|
|
1548
|
+
fn: A(() => [we(O(tr.value.title), 1)]),
|
|
1549
1549
|
key: "0"
|
|
1550
1550
|
} : void 0, L.value.table.useDialog ? {
|
|
1551
1551
|
name: "actions",
|
|
1552
|
-
fn: A(() => [
|
|
1552
|
+
fn: A(() => [y("button", {
|
|
1553
1553
|
tabindex: "0",
|
|
1554
1554
|
class: "vue-ui-user-options-button",
|
|
1555
1555
|
onClick: n[0] ||= (e) => Wn(L.value.userOptions.callbacks.csv),
|
|
1556
1556
|
style: C({ cursor: nn.value ? "pointer" : "default" })
|
|
1557
|
-
}, [
|
|
1557
|
+
}, [Te(k(St), {
|
|
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
|
-
D(t.$slots, "skeleton", {}, () => [k(on) ? (w(),
|
|
1562
|
+
} : void 0]), 1040)) : _("", !0),
|
|
1563
|
+
D(t.$slots, "skeleton", {}, () => [k(on) ? (w(), Se(oe, { key: 0 })) : _("", !0)], !0)
|
|
1564
1564
|
], 46, Ge));
|
|
1565
1565
|
}
|
|
1566
1566
|
}, [["__scopeId", "data-v-57a8b077"]]);
|