vue-data-ui 3.25.2 → 3.25.4
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-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, Ct as r, D as i, Pt as a, X as o, Zt as s, b as c, ht as l, i as u, lt as d, nt as f, q as p, r as m, t as ee, xt as te } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as ne, t as re } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ie } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as ae } from "./useConfig-CyCVHo81.js";
|
|
6
|
-
import { t as oe } from "./usePrinter-
|
|
6
|
+
import { t as oe } from "./usePrinter-DISD7q5m.js";
|
|
7
7
|
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as le } from "./useNestedProp-
|
|
8
|
+
import { t as le } from "./useNestedProp-Chvyfpl-.js";
|
|
9
9
|
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as de } from "./useChartExport-iwOqiIWX.js";
|
|
11
11
|
import { t as fe } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as pe } from "./img-
|
|
13
|
-
import { n as me } from "./Title-
|
|
12
|
+
import { t as pe } from "./img-DhGApYG0.js";
|
|
13
|
+
import { n as me } from "./Title-CPHi-evi.js";
|
|
14
14
|
import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as ge, t as _e } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
-
import { t as ve } from "./vue-ui-accordion-
|
|
16
|
+
import { t as ve } from "./vue-ui-accordion-D4zsdacF.js";
|
|
17
17
|
import { t as ye } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as be } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
20
|
import { t as Se } from "./useTableResponsive-BAqJPR68.js";
|
|
21
21
|
import { t as Ce } 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 we, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as b, guardReactiveProps as x, mergeProps as Oe, nextTick as ke, normalizeClass as Ae, normalizeProps as S, normalizeStyle as C, onBeforeUnmount as je, onMounted as Me, openBlock as w, reactive as Ne, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as O, toRefs as Ie, unref as k, useCssVars as Le, vShow as Re, watch as ze, watchEffect as Be, withCtx as A, withDirectives as Ve, withKeys as He } from "vue";
|
|
23
23
|
//#region src/useLabelObserverEfffect.js
|
|
24
24
|
function Ue({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
|
|
25
25
|
if (r) return;
|
|
@@ -283,14 +283,14 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
283
283
|
emits: ["selectDatapoint", "copyAlt"],
|
|
284
284
|
setup(e, { expose: he, emit: Ge }) {
|
|
285
285
|
Le((e) => ({ v3fc9460c: e.tdo }));
|
|
286
|
-
let Ke =
|
|
286
|
+
let Ke = b(() => import("./Tooltip-hhrkQ3Lk.js")), wt = b(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Tt = b(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Et = b(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), Dt = b(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Ot = b(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_heatmap: kt } = ae(), { isThemeValid: At, warnInvalidTheme: jt } = ue(), j = e, Mt = Ge, Nt = 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
|
-
}),
|
|
293
|
+
}), M = T(p()), N = T(null), Pt = T(!1), Ft = T(""), It = T(void 0), P = T(null), Lt = T(0), Rt = T(null), zt = T(0), Bt = T(null), Vt = T(null), Ht = T(null), 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), Qt = Fe(null), F = T(null), $t = T(null), en = T({
|
|
294
294
|
x: 0,
|
|
295
295
|
y: 0
|
|
296
296
|
}), tn = T("pointer"), nn = T(!1), I = T(pn());
|
|
@@ -343,7 +343,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
343
343
|
prepareConfig: pn,
|
|
344
344
|
callback: () => {
|
|
345
345
|
Promise.resolve().then(async () => {
|
|
346
|
-
await ke(),
|
|
346
|
+
await ke(), N.value && n(N.value, {
|
|
347
347
|
delta: .1,
|
|
348
348
|
delay: 250
|
|
349
349
|
});
|
|
@@ -379,12 +379,12 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
379
379
|
return t;
|
|
380
380
|
}
|
|
381
381
|
ze(() => j.config, (e) => {
|
|
382
|
-
sn.value || (I.value = pn()), ln.value = !I.value.userOptions.showOnChartHover, xn(),
|
|
382
|
+
sn.value || (I.value = pn()), ln.value = !I.value.userOptions.showOnChartHover, xn(), zt.value += 1, z.value.showTable = I.value.table.show, z.value.showTooltip = I.value.style.tooltip.show, Sn.value = I.value.style.layout.width, Cn.value = I.value.style.layout.height;
|
|
383
383
|
}, { deep: !0 }), ze(() => j.dataset, (e) => {
|
|
384
384
|
Array.isArray(e) && e.length > 0 && (cn.value = !1), xn();
|
|
385
385
|
}, { deep: !0 });
|
|
386
386
|
let { isPrinting: mn, isImaging: hn, generatePdf: gn, generateImage: _n } = oe({
|
|
387
|
-
elementId: `heatmap__${
|
|
387
|
+
elementId: `heatmap__${M.value}`,
|
|
388
388
|
fileName: I.value.style.title.text || "vue-ui-heatmap",
|
|
389
389
|
options: I.value.userOptions.print
|
|
390
390
|
}), vn = g(() => I.value.userOptions.show && !I.value.style.title.text), z = T({
|
|
@@ -399,27 +399,27 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
399
399
|
}, { immediate: !0 });
|
|
400
400
|
let yn = g(() => I.value.table.responsiveBreakpoint), B = T(null), bn = g(() => I.value.debug);
|
|
401
401
|
function xn() {
|
|
402
|
-
if (
|
|
402
|
+
if (a(j.dataset) && (f({
|
|
403
403
|
componentName: "VueUiHeatmap",
|
|
404
404
|
type: "dataset",
|
|
405
405
|
debug: bn.value
|
|
406
|
-
}), Nt.value = !1, cn.value = !0),
|
|
406
|
+
}), Nt.value = !1, cn.value = !0), a(j.dataset) || (cn.value = I.value.loading), I.value.responsive) {
|
|
407
407
|
let e = ge(() => {
|
|
408
408
|
let { width: e, height: t } = _e({
|
|
409
|
-
chart:
|
|
410
|
-
title: I.value.style.title.text ?
|
|
411
|
-
source:
|
|
412
|
-
noTitle:
|
|
409
|
+
chart: N.value,
|
|
410
|
+
title: I.value.style.title.text ? Ut.value : null,
|
|
411
|
+
source: Zt.value,
|
|
412
|
+
noTitle: Wt.value
|
|
413
413
|
});
|
|
414
414
|
requestAnimationFrame(() => {
|
|
415
415
|
Sn.value = e, Cn.value = t;
|
|
416
416
|
});
|
|
417
417
|
});
|
|
418
|
-
B.value && (
|
|
418
|
+
B.value && (Qt.value && B.value.unobserve(Qt.value), B.value.disconnect()), B.value = new ResizeObserver(e), Qt.value = N.value.parentNode, B.value.observe(Qt.value);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
je(() => {
|
|
422
|
-
B.value && (
|
|
422
|
+
B.value && (Qt.value && B.value.unobserve(Qt.value), B.value.disconnect());
|
|
423
423
|
}), Me(() => {
|
|
424
424
|
xn();
|
|
425
425
|
});
|
|
@@ -428,7 +428,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
428
428
|
height: Math.max(10, Cn.value)
|
|
429
429
|
})), U = T(0);
|
|
430
430
|
Ue({
|
|
431
|
-
elementRef:
|
|
431
|
+
elementRef: Jt,
|
|
432
432
|
callback: ge((e) => {
|
|
433
433
|
e !== U.value && (U.value = e);
|
|
434
434
|
}, 100),
|
|
@@ -436,7 +436,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
436
436
|
});
|
|
437
437
|
let W = T(0);
|
|
438
438
|
Ue({
|
|
439
|
-
elementRef:
|
|
439
|
+
elementRef: Kt,
|
|
440
440
|
callback: ge((e) => {
|
|
441
441
|
e !== W.value && (W.value = e);
|
|
442
442
|
}, 100),
|
|
@@ -444,7 +444,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
444
444
|
});
|
|
445
445
|
let wn = T(0);
|
|
446
446
|
Ue({
|
|
447
|
-
elementRef:
|
|
447
|
+
elementRef: Yt,
|
|
448
448
|
callback: ge((e) => {
|
|
449
449
|
e !== wn.value && (wn.value = e);
|
|
450
450
|
}, 100),
|
|
@@ -512,22 +512,22 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
512
512
|
yTotals: n.map((e) => ({
|
|
513
513
|
total: e,
|
|
514
514
|
proportion: isNaN(e / r) ? 0 : e / r,
|
|
515
|
-
color:
|
|
515
|
+
color: te(I.value.style.layout.cells.colors.cold, I.value.style.layout.cells.colors.hot, i, r, e)
|
|
516
516
|
})),
|
|
517
517
|
xTotals: a.map((e) => ({
|
|
518
518
|
total: e,
|
|
519
519
|
proportion: isNaN(e / o) ? 0 : e / o,
|
|
520
|
-
color:
|
|
520
|
+
color: te(I.value.style.layout.cells.colors.cold, I.value.style.layout.cells.colors.hot, s, o, e)
|
|
521
521
|
})),
|
|
522
522
|
yLabels: e,
|
|
523
523
|
xLabels: t.slice(0, V.value)
|
|
524
524
|
};
|
|
525
525
|
}), X = g(() => (L.value.forEach((e, t) => {
|
|
526
|
-
|
|
526
|
+
l({
|
|
527
527
|
datasetObject: e,
|
|
528
528
|
requiredAttributes: ["values"]
|
|
529
529
|
}).forEach((e) => {
|
|
530
|
-
|
|
530
|
+
f({
|
|
531
531
|
componentName: "VueUiHeatmap",
|
|
532
532
|
type: "datasetSerieAttribute",
|
|
533
533
|
property: "values",
|
|
@@ -539,20 +539,20 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
539
539
|
...e,
|
|
540
540
|
temperatures: (e.values || []).map((e, n) => e >= J.value ? {
|
|
541
541
|
side: "up",
|
|
542
|
-
color:
|
|
542
|
+
color: te(I.value.style.layout.cells.colors.cold, I.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
543
543
|
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)),
|
|
544
544
|
value: e,
|
|
545
545
|
yAxisName: Y.value.yLabels[t],
|
|
546
546
|
xAxisName: Y.value.xLabels[n],
|
|
547
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
547
|
+
id: `vue-data-ui-heatmap-cell-${p()}`
|
|
548
548
|
} : {
|
|
549
549
|
side: "down",
|
|
550
550
|
ratio: Math.abs(1 - Math.abs(e) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(J.value)),
|
|
551
|
-
color:
|
|
551
|
+
color: te(I.value.style.layout.cells.colors.cold, I.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
|
|
552
552
|
value: e,
|
|
553
553
|
yAxisName: Y.value.yLabels[t],
|
|
554
554
|
xAxisName: Y.value.xLabels[n],
|
|
555
|
-
id: `vue-data-ui-heatmap-cell-${
|
|
555
|
+
id: `vue-data-ui-heatmap-cell-${p()}`
|
|
556
556
|
})
|
|
557
557
|
})))), An = g(() => L.value.length), jn = Ne(Array(An.value * V.value || 1).fill(!1)), Mn = g(() => jn.some((e) => e));
|
|
558
558
|
function Nn(e, t) {
|
|
@@ -564,7 +564,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
564
564
|
}
|
|
565
565
|
let Z = T(null), Ln = T(null);
|
|
566
566
|
function Rn() {
|
|
567
|
-
|
|
567
|
+
Pt.value = !1, It.value = void 0, Z.value = null, P.value = null, F.value = null, $t.value = null;
|
|
568
568
|
}
|
|
569
569
|
function zn(e) {
|
|
570
570
|
if (!R.value || !e) return;
|
|
@@ -576,34 +576,34 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
576
576
|
y: n.top + n.height / 2
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
|
-
function Bn(e, t, n,
|
|
579
|
+
function Bn(e, t, n, i, a = "pointer", s = null) {
|
|
580
580
|
if (I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
581
581
|
datapoint: e,
|
|
582
582
|
seriesIndex: t
|
|
583
583
|
}), !z.value.showTooltip) return;
|
|
584
|
-
tn.value =
|
|
584
|
+
tn.value = a, F.value = s, $t.value = e.id, P.value = {
|
|
585
585
|
x: n,
|
|
586
|
-
y:
|
|
586
|
+
y: i
|
|
587
587
|
};
|
|
588
|
-
let { value: c, yAxisName:
|
|
589
|
-
|
|
588
|
+
let { value: c, yAxisName: l, xAxisName: f, id: p } = e;
|
|
589
|
+
It.value = p, Z.value = c, Ln.value = {
|
|
590
590
|
datapoint: e,
|
|
591
591
|
seriesIndex: t,
|
|
592
592
|
series: X.value,
|
|
593
593
|
config: I.value
|
|
594
|
-
},
|
|
595
|
-
let m = "",
|
|
596
|
-
|
|
594
|
+
}, Pt.value = !0;
|
|
595
|
+
let m = "", ee = I.value.style.tooltip.customFormat;
|
|
596
|
+
r(ee) && d(() => ee({
|
|
597
597
|
datapoint: e,
|
|
598
598
|
seriesIndex: t,
|
|
599
599
|
series: X.value,
|
|
600
600
|
config: I.value
|
|
601
|
-
})) ?
|
|
601
|
+
})) ? Ft.value = ee({
|
|
602
602
|
datapoint: e,
|
|
603
603
|
seriesIndex: t,
|
|
604
604
|
series: X.value,
|
|
605
605
|
config: I.value
|
|
606
|
-
}) : (m += `<div>${
|
|
606
|
+
}) : (m += `<div>${l} ${f ? l ? ` - ${f}` : `${f}` : ""}</div>`, m += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${I.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${te(I.value.style.layout.cells.colors.cold, I.value.style.layout.cells.colors.hot, Tn.value, q.value, c)}">⬤</span><span>${isNaN(c) ? "-" : u(I.value.style.layout.cells.value.formatter, c, o({
|
|
607
607
|
p: I.value.style.layout.dataLabels.prefix,
|
|
608
608
|
v: c,
|
|
609
609
|
s: I.value.style.layout.dataLabels.suffix,
|
|
@@ -611,7 +611,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
611
611
|
}), {
|
|
612
612
|
datapoint: e,
|
|
613
613
|
seriesIndex: t
|
|
614
|
-
})}</span></div>`,
|
|
614
|
+
})}</span></div>`, Ft.value = `<div style="font-size:${I.value.style.tooltip.fontSize}px">${m}</div>`), a === "keyboard" && ke(() => {
|
|
615
615
|
zn(e.id);
|
|
616
616
|
});
|
|
617
617
|
}
|
|
@@ -619,7 +619,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
619
619
|
I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
620
620
|
datapoint: e,
|
|
621
621
|
seriesIndex: t
|
|
622
|
-
}), ($t.value !== e.id || tn.value !== "keyboard") && (
|
|
622
|
+
}), ($t.value !== e.id || tn.value !== "keyboard") && (Pt.value = !1, It.value = void 0, Z.value = null, P.value = null);
|
|
623
623
|
}
|
|
624
624
|
function Hn(e) {
|
|
625
625
|
return u(I.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, o({
|
|
@@ -649,11 +649,11 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
649
649
|
}));
|
|
650
650
|
function Wn(e = null) {
|
|
651
651
|
ke(() => {
|
|
652
|
-
let
|
|
652
|
+
let n = ["", ...L.value.map((e, t) => e.name)], r = [];
|
|
653
653
|
for (let e = 0; e < Y.value.xLabels.length; e += 1) {
|
|
654
654
|
let t = [Y.value.xLabels[e]];
|
|
655
655
|
for (let n = 0; n < L.value.length; n += 1) t.push([L.value[n].values[e]]);
|
|
656
|
-
|
|
656
|
+
r.push(t);
|
|
657
657
|
}
|
|
658
658
|
let a = [
|
|
659
659
|
[I.value.style.title.text],
|
|
@@ -663,8 +663,8 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
663
663
|
[""],
|
|
664
664
|
[""]
|
|
665
665
|
],
|
|
666
|
-
|
|
667
|
-
].concat(
|
|
666
|
+
n
|
|
667
|
+
].concat(r), o = i(a);
|
|
668
668
|
e ? e(o) : t({
|
|
669
669
|
csvContent: o,
|
|
670
670
|
title: I.value.style.title.text || "vue-ui-heatmap"
|
|
@@ -673,7 +673,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
673
673
|
}
|
|
674
674
|
let Q = T(!1);
|
|
675
675
|
function Gn(e) {
|
|
676
|
-
Q.value = e,
|
|
676
|
+
Q.value = e, Lt.value += 1;
|
|
677
677
|
}
|
|
678
678
|
function Kn() {
|
|
679
679
|
z.value.showTable = !z.value.showTable;
|
|
@@ -695,9 +695,9 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
695
695
|
return X.value;
|
|
696
696
|
}
|
|
697
697
|
async function Qn({ scale: e = 2 } = {}) {
|
|
698
|
-
if (!
|
|
699
|
-
let { width: t, height: n } =
|
|
700
|
-
domElement:
|
|
698
|
+
if (!N.value) return;
|
|
699
|
+
let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
|
|
700
|
+
domElement: N.value,
|
|
701
701
|
base64: !0,
|
|
702
702
|
img: !0,
|
|
703
703
|
scale: e
|
|
@@ -716,7 +716,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
716
716
|
end: V.value
|
|
717
717
|
})), er = g(() => Y.value.xLabels);
|
|
718
718
|
fe({
|
|
719
|
-
timeLabelsEls:
|
|
719
|
+
timeLabelsEls: Jt,
|
|
720
720
|
timeLabels: er,
|
|
721
721
|
slicer: $n,
|
|
722
722
|
configRef: I,
|
|
@@ -741,7 +741,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
741
741
|
width: Sn,
|
|
742
742
|
height: Cn
|
|
743
743
|
}), fe({
|
|
744
|
-
timeLabelsEls:
|
|
744
|
+
timeLabelsEls: Yt,
|
|
745
745
|
timeLabels: er,
|
|
746
746
|
slicer: $n,
|
|
747
747
|
configRef: I,
|
|
@@ -779,7 +779,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
779
779
|
headerColor: I.value.table.th.color,
|
|
780
780
|
headerBg: I.value.table.th.backgroundColor,
|
|
781
781
|
isFullscreen: Q.value,
|
|
782
|
-
fullscreenParent:
|
|
782
|
+
fullscreenParent: N.value,
|
|
783
783
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
784
784
|
isCursorPointer: rn.value
|
|
785
785
|
} : {
|
|
@@ -800,11 +800,11 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
800
800
|
};
|
|
801
801
|
});
|
|
802
802
|
ze(() => z.value.showTable, async (e) => {
|
|
803
|
-
I.value.table.show || (e && I.value.table.useDialog &&
|
|
803
|
+
I.value.table.show || (e && I.value.table.useDialog && Vt.value ? (await ke(), Vt.value.open()) : "close" in Vt.value && Vt.value.close());
|
|
804
804
|
});
|
|
805
|
-
let { isResponsive: nr } = Se(
|
|
805
|
+
let { isResponsive: nr } = Se(Rt, yn);
|
|
806
806
|
function rr() {
|
|
807
|
-
z.value.showTable = !1,
|
|
807
|
+
z.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
|
|
808
808
|
}
|
|
809
809
|
let ir = g(() => I.value.style.backgroundColor), ar = g(() => I.value.style.title), { isCallbackImaging: or, isCallbackSvg: sr, generateSvg: cr, onGenerateImage: lr } = de({
|
|
810
810
|
svg: R,
|
|
@@ -866,7 +866,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
866
866
|
}
|
|
867
867
|
let s = F.value === null ? null : $.value[F.value];
|
|
868
868
|
if (!s) {
|
|
869
|
-
let e =
|
|
869
|
+
let e = It.value ? $.value.findIndex((e) => e.cell.id === It.value) : null;
|
|
870
870
|
if (e !== null && e >= 0 && e < $.value.length) {
|
|
871
871
|
let a = $.value[e];
|
|
872
872
|
if (!a) return;
|
|
@@ -881,8 +881,8 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
881
881
|
s < 0 && (s = u - 1), s >= u && (s = 0);
|
|
882
882
|
let d = dr(o, s);
|
|
883
883
|
if (!d) return;
|
|
884
|
-
let f = fr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex,
|
|
885
|
-
Bn(d.cell, d.rowIndex, p,
|
|
884
|
+
let f = fr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
|
|
885
|
+
Bn(d.cell, d.rowIndex, p, m, "keyboard", f);
|
|
886
886
|
return;
|
|
887
887
|
}
|
|
888
888
|
let a = $.value[0];
|
|
@@ -902,8 +902,8 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
902
902
|
l < 0 && (l = f - 1), l >= f && (l = 0);
|
|
903
903
|
let p = dr(c, l);
|
|
904
904
|
if (!p) return;
|
|
905
|
-
let
|
|
906
|
-
Bn(p.cell, p.rowIndex,
|
|
905
|
+
let m = fr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, te = K.value.top + K.value.cellSize.height * p.rowIndex;
|
|
906
|
+
Bn(p.cell, p.rowIndex, ee, te, "keyboard", m);
|
|
907
907
|
}
|
|
908
908
|
let gr = g(() => ({
|
|
909
909
|
headers: [I.value.table.colNames.xAxis, ...L.value.map((e) => e.name)],
|
|
@@ -936,24 +936,24 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
936
936
|
toggleAnnotator: Yn,
|
|
937
937
|
toggleFullscreen: Gn,
|
|
938
938
|
copyAlt: ur
|
|
939
|
-
}), (t, n) => (w(),
|
|
939
|
+
}), (t, n) => (w(), v("div", {
|
|
940
940
|
ref_key: "heatmapChart",
|
|
941
|
-
ref:
|
|
941
|
+
ref: N,
|
|
942
942
|
class: Ae(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
943
943
|
style: C(`font-family:${I.value.style.fontFamily};width:100%;${I.value.responsive ? "height: 100%;" : ""} text-align:center;background:${I.value.style.backgroundColor}`),
|
|
944
|
-
id: `heatmap__${
|
|
944
|
+
id: `heatmap__${M.value}`,
|
|
945
945
|
onMouseenter: n[1] ||= () => fn(!0),
|
|
946
946
|
onMouseleave: n[2] ||= () => {
|
|
947
947
|
fn(!1), nn.value || Rn();
|
|
948
948
|
}
|
|
949
949
|
}, [
|
|
950
|
-
|
|
951
|
-
id: `chart-instructions-${
|
|
950
|
+
y("div", {
|
|
951
|
+
id: `chart-instructions-${M.value}`,
|
|
952
952
|
class: "sr-only"
|
|
953
|
-
}, [
|
|
954
|
-
gr.value?.rows?.length ? (w(),
|
|
953
|
+
}, [y("p", null, O(I.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
|
|
954
|
+
gr.value?.rows?.length ? (w(), we(ye, {
|
|
955
955
|
key: 0,
|
|
956
|
-
uid:
|
|
956
|
+
uid: M.value,
|
|
957
957
|
head: gr.value.headers,
|
|
958
958
|
body: gr.value.rows,
|
|
959
959
|
notice: I.value.a11y.translations.tableAvailable,
|
|
@@ -964,8 +964,8 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
964
964
|
"body",
|
|
965
965
|
"notice",
|
|
966
966
|
"caption"
|
|
967
|
-
])) :
|
|
968
|
-
I.value.userOptions.buttons.annotator ? (w(),
|
|
967
|
+
])) : _("", !0),
|
|
968
|
+
I.value.userOptions.buttons.annotator ? (w(), we(k(Tt), {
|
|
969
969
|
key: 1,
|
|
970
970
|
svgRef: k(R),
|
|
971
971
|
backgroundColor: I.value.style.backgroundColor,
|
|
@@ -987,21 +987,21 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
987
987
|
"color",
|
|
988
988
|
"active",
|
|
989
989
|
"isCursorPointer"
|
|
990
|
-
])) :
|
|
991
|
-
vn.value ? (w(),
|
|
990
|
+
])) : _("", !0),
|
|
991
|
+
vn.value ? (w(), v("div", {
|
|
992
992
|
key: 2,
|
|
993
993
|
ref_key: "noTitle",
|
|
994
|
-
ref:
|
|
994
|
+
ref: Wt,
|
|
995
995
|
class: "vue-data-ui-no-title-space",
|
|
996
996
|
style: "height:36px; width: 100%;background:transparent"
|
|
997
|
-
}, null, 512)) :
|
|
998
|
-
I.value.style.title.text ? (w(),
|
|
997
|
+
}, null, 512)) : _("", !0),
|
|
998
|
+
I.value.style.title.text ? (w(), v("div", {
|
|
999
999
|
key: 3,
|
|
1000
1000
|
ref_key: "chartTitle",
|
|
1001
|
-
ref:
|
|
1001
|
+
ref: Ut,
|
|
1002
1002
|
style: "width:100%;background:transparent"
|
|
1003
|
-
}, [(w(),
|
|
1004
|
-
key: `title_${
|
|
1003
|
+
}, [(w(), we(me, {
|
|
1004
|
+
key: `title_${zt.value}`,
|
|
1005
1005
|
config: {
|
|
1006
1006
|
title: {
|
|
1007
1007
|
cy: "heatmap-div-title",
|
|
@@ -1012,16 +1012,16 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1012
1012
|
...I.value.style.title.subtitle
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
|
-
}, null, 8, ["config"]))], 512)) :
|
|
1016
|
-
I.value.userOptions.show && Nt.value && (k(dn) || k(ln)) ? (w(),
|
|
1015
|
+
}, null, 8, ["config"]))], 512)) : _("", !0),
|
|
1016
|
+
I.value.userOptions.show && Nt.value && (k(dn) || k(ln)) ? (w(), we(k(Et), {
|
|
1017
1017
|
ref_key: "userOptionsRef",
|
|
1018
|
-
ref:
|
|
1019
|
-
key: `user_options_${
|
|
1018
|
+
ref: Ht,
|
|
1019
|
+
key: `user_options_${Lt.value}`,
|
|
1020
1020
|
backgroundColor: I.value.style.backgroundColor,
|
|
1021
1021
|
color: I.value.style.color,
|
|
1022
1022
|
isImaging: k(hn),
|
|
1023
1023
|
isPrinting: k(mn),
|
|
1024
|
-
uid:
|
|
1024
|
+
uid: M.value,
|
|
1025
1025
|
hasTooltip: I.value.userOptions.buttons.tooltip && I.value.style.tooltip.show,
|
|
1026
1026
|
hasPdf: I.value.userOptions.buttons.pdf,
|
|
1027
1027
|
hasImg: I.value.userOptions.buttons.img,
|
|
@@ -1033,7 +1033,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1033
1033
|
isFullscreen: Q.value,
|
|
1034
1034
|
isTooltip: z.value.showTooltip,
|
|
1035
1035
|
titles: { ...I.value.userOptions.buttonTitles },
|
|
1036
|
-
chartElement:
|
|
1036
|
+
chartElement: N.value,
|
|
1037
1037
|
position: I.value.userOptions.position,
|
|
1038
1038
|
hasAnnotator: I.value.userOptions.buttons.annotator,
|
|
1039
1039
|
isAnnotation: Jn.value,
|
|
@@ -1051,7 +1051,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1051
1051
|
onToggleAnnotator: Yn,
|
|
1052
1052
|
onCopyAlt: ur,
|
|
1053
1053
|
style: C({ visibility: k(dn) ? k(ln) ? "visible" : "hidden" : "visible" })
|
|
1054
|
-
},
|
|
1054
|
+
}, Te({ _: 2 }, [
|
|
1055
1055
|
t.$slots.menuIcon ? {
|
|
1056
1056
|
name: "menuIcon",
|
|
1057
1057
|
fn: A(({ isOpen: e, color: n }) => [D(t.$slots, "menuIcon", S(x({
|
|
@@ -1121,16 +1121,16 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1121
1121
|
fn: A(() => [D(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1122
1122
|
key: "11"
|
|
1123
1123
|
} : void 0
|
|
1124
|
-
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) :
|
|
1125
|
-
|
|
1124
|
+
]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : _("", !0),
|
|
1125
|
+
y("div", { class: Ae({
|
|
1126
1126
|
"vue-ui-heatmap-chart-wrapper": !0,
|
|
1127
1127
|
"vue-ui-heatmap-chart-wrapper-legend-right": I.value.style.legend.show
|
|
1128
1128
|
}) }, [
|
|
1129
|
-
(w(),
|
|
1129
|
+
(w(), v("svg", {
|
|
1130
1130
|
ref_key: "svgRef",
|
|
1131
1131
|
ref: R,
|
|
1132
|
-
xmlns: k(
|
|
1133
|
-
"aria-describedby": `chart-instructions-${
|
|
1132
|
+
xmlns: k(ee),
|
|
1133
|
+
"aria-describedby": `chart-instructions-${M.value}`,
|
|
1134
1134
|
class: Ae({
|
|
1135
1135
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
1136
1136
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
@@ -1146,20 +1146,20 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1146
1146
|
onBlur: mr,
|
|
1147
1147
|
onKeydown: hr
|
|
1148
1148
|
}, [
|
|
1149
|
-
|
|
1150
|
-
t.$slots["chart-background"] ? (w(),
|
|
1149
|
+
De(k(Dt)),
|
|
1150
|
+
t.$slots["chart-background"] ? (w(), v("foreignObject", {
|
|
1151
1151
|
key: 0,
|
|
1152
1152
|
x: K.value.left,
|
|
1153
1153
|
y: K.value.top,
|
|
1154
1154
|
width: K.value.width,
|
|
1155
1155
|
height: K.value.height,
|
|
1156
1156
|
style: { pointerEvents: "none" }
|
|
1157
|
-
}, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) :
|
|
1158
|
-
I.value.style.layout.cells.columnTotal.color.show ? (w(),
|
|
1157
|
+
}, [D(t.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : _("", !0),
|
|
1158
|
+
I.value.style.layout.cells.columnTotal.color.show ? (w(), v("g", {
|
|
1159
1159
|
key: 1,
|
|
1160
1160
|
ref_key: "xAxisSumRects",
|
|
1161
|
-
ref:
|
|
1162
|
-
}, [(w(!0),
|
|
1161
|
+
ref: Xt
|
|
1162
|
+
}, [(w(!0), v(h, null, E(Y.value.xTotals, (e, t) => (w(), v("rect", {
|
|
1163
1163
|
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1164
1164
|
y: K.value.top - K.value.sumCellXHeight + G.value * (H.value.height / H.value.width),
|
|
1165
1165
|
height: K.value.sumCellXHeight,
|
|
@@ -1167,7 +1167,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1167
1167
|
fill: I.value.style.layout.cells.colors.underlayer,
|
|
1168
1168
|
stroke: I.value.style.backgroundColor,
|
|
1169
1169
|
"stroke-width": G.value
|
|
1170
|
-
}, null, 8, Ze))), 256)), (w(!0),
|
|
1170
|
+
}, null, 8, Ze))), 256)), (w(!0), v(h, null, E(Y.value.xTotals, (e, t) => (w(), v("rect", {
|
|
1171
1171
|
x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
|
|
1172
1172
|
y: K.value.top - K.value.sumCellXHeight + G.value * (H.value.height / H.value.width),
|
|
1173
1173
|
height: K.value.sumCellXHeight,
|
|
@@ -1175,12 +1175,12 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1175
1175
|
fill: e.color,
|
|
1176
1176
|
stroke: I.value.style.backgroundColor,
|
|
1177
1177
|
"stroke-width": G.value
|
|
1178
|
-
}, null, 8, Qe))), 256))], 512)) :
|
|
1179
|
-
|
|
1178
|
+
}, null, 8, Qe))), 256))], 512)) : _("", !0),
|
|
1179
|
+
y("g", {
|
|
1180
1180
|
ref_key: "datapoints",
|
|
1181
|
-
ref:
|
|
1182
|
-
}, [(w(!0),
|
|
1183
|
-
|
|
1181
|
+
ref: Bt
|
|
1182
|
+
}, [(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, [
|
|
1183
|
+
y("rect", {
|
|
1184
1184
|
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1185
1185
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1186
1186
|
width: K.value.cellSize.width - G.value,
|
|
@@ -1189,7 +1189,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1189
1189
|
stroke: I.value.style.backgroundColor,
|
|
1190
1190
|
"stroke-width": G.value
|
|
1191
1191
|
}, null, 8, $e),
|
|
1192
|
-
|
|
1192
|
+
y("rect", {
|
|
1193
1193
|
"data-a11y-cell-id": e.id,
|
|
1194
1194
|
x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
|
|
1195
1195
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
@@ -1206,7 +1206,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1206
1206
|
}),
|
|
1207
1207
|
onClick: () => Xn(e, t)
|
|
1208
1208
|
}, null, 40, et),
|
|
1209
|
-
I.value.style.layout.cells.value.show ? Ve((w(),
|
|
1209
|
+
I.value.style.layout.cells.value.show ? Ve((w(), v("text", {
|
|
1210
1210
|
key: 0,
|
|
1211
1211
|
"text-anchor": "middle",
|
|
1212
1212
|
"font-size": I.value.style.layout.cells.value.fontSize,
|
|
@@ -1218,7 +1218,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1218
1218
|
pointerEvents: "none",
|
|
1219
1219
|
userSelect: "none"
|
|
1220
1220
|
}
|
|
1221
|
-
}, [
|
|
1221
|
+
}, [Ee(O(k(u)(I.value.style.layout.cells.value.formatter, e.value, k(o)({
|
|
1222
1222
|
p: I.value.style.layout.dataLabels.prefix,
|
|
1223
1223
|
v: e.value,
|
|
1224
1224
|
s: I.value.style.layout.dataLabels.suffix,
|
|
@@ -1233,13 +1233,13 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1233
1233
|
reportRotation: Nn,
|
|
1234
1234
|
hideAll: Fn.value,
|
|
1235
1235
|
rotateAll: Mn.value
|
|
1236
|
-
}]]) :
|
|
1236
|
+
}]]) : _("", !0)
|
|
1237
1237
|
]))), 256))], 64))), 256))], 512),
|
|
1238
|
-
I.value.style.layout.cells.rowTotal.color.show ? (w(),
|
|
1238
|
+
I.value.style.layout.cells.rowTotal.color.show ? (w(), v("g", {
|
|
1239
1239
|
key: 2,
|
|
1240
1240
|
ref_key: "yAxisSumRects",
|
|
1241
|
-
ref:
|
|
1242
|
-
}, [(w(!0),
|
|
1241
|
+
ref: qt
|
|
1242
|
+
}, [(w(!0), v(h, null, E(X.value, (e, t) => (w(), v(h, null, [y("rect", {
|
|
1243
1243
|
x: K.value.left,
|
|
1244
1244
|
y: K.value.top + K.value.cellSize.height * t,
|
|
1245
1245
|
width: K.value.sumCellXHeight,
|
|
@@ -1247,7 +1247,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1247
1247
|
fill: I.value.style.layout.cells.colors.underlayer,
|
|
1248
1248
|
stroke: I.value.style.backgroundColor,
|
|
1249
1249
|
"stroke-width": G.value
|
|
1250
|
-
}, null, 8, nt),
|
|
1250
|
+
}, null, 8, nt), y("rect", {
|
|
1251
1251
|
x: K.value.left,
|
|
1252
1252
|
y: K.value.top + K.value.cellSize.height * t + G.value / 2,
|
|
1253
1253
|
width: K.value.sumCellXHeight,
|
|
@@ -1255,12 +1255,12 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1255
1255
|
fill: Y.value.yTotals[t].color,
|
|
1256
1256
|
stroke: I.value.style.backgroundColor,
|
|
1257
1257
|
"stroke-width": G.value
|
|
1258
|
-
}, null, 8, rt)], 64))), 256))], 512)) :
|
|
1259
|
-
I.value.style.layout.dataLabels.yAxis.show ? (w(),
|
|
1258
|
+
}, null, 8, rt)], 64))), 256))], 512)) : _("", !0),
|
|
1259
|
+
I.value.style.layout.dataLabels.yAxis.show ? (w(), v("g", {
|
|
1260
1260
|
key: 3,
|
|
1261
1261
|
ref_key: "yAxisLabels",
|
|
1262
|
-
ref:
|
|
1263
|
-
}, [(w(!0),
|
|
1262
|
+
ref: Kt
|
|
1263
|
+
}, [(w(!0), v(h, null, E(X.value, (e, t) => (w(), v(h, null, [y("text", {
|
|
1264
1264
|
class: "vue-ui-heatmap-row-name",
|
|
1265
1265
|
"font-size": I.value.style.layout.dataLabels.yAxis.fontSize,
|
|
1266
1266
|
fill: I.value.style.layout.dataLabels.yAxis.color,
|
|
@@ -1268,7 +1268,7 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1268
1268
|
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + I.value.style.layout.dataLabels.yAxis.fontSize / 3 + I.value.style.layout.dataLabels.yAxis.offsetY - (I.value.style.layout.cells.rowTotal.value.show ? I.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
|
|
1269
1269
|
"text-anchor": "end",
|
|
1270
1270
|
"font-weight": I.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1271
|
-
}, O(Y.value.yLabels[t]), 9, it), I.value.style.layout.cells.rowTotal.value.show ? (w(),
|
|
1271
|
+
}, O(Y.value.yLabels[t]), 9, it), I.value.style.layout.cells.rowTotal.value.show ? (w(), v("text", {
|
|
1272
1272
|
key: 0,
|
|
1273
1273
|
class: "vue-ui-heatmap-row-total",
|
|
1274
1274
|
"font-size": I.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -1277,12 +1277,12 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1277
1277
|
y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + I.value.style.layout.dataLabels.yAxis.fontSize + I.value.style.layout.dataLabels.yAxis.offsetY,
|
|
1278
1278
|
"text-anchor": "end",
|
|
1279
1279
|
"font-weight": I.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
1280
|
-
}, O(Hn(t)), 9, at)) :
|
|
1281
|
-
I.value.style.layout.dataLabels.xAxis.show ? (w(),
|
|
1280
|
+
}, O(Hn(t)), 9, at)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1281
|
+
I.value.style.layout.dataLabels.xAxis.show ? (w(), v("g", {
|
|
1282
1282
|
key: 4,
|
|
1283
1283
|
ref_key: "xAxisLabels",
|
|
1284
|
-
ref:
|
|
1285
|
-
}, [(w(!0),
|
|
1284
|
+
ref: Jt
|
|
1285
|
+
}, [(w(!0), v(h, null, E(Y.value.xLabels, (e, t) => (w(), v(h, null, [!I.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || I.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && t % I.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (w(), v("text", {
|
|
1286
1286
|
key: 0,
|
|
1287
1287
|
class: "vue-ui-heatmap-col-name",
|
|
1288
1288
|
"text-anchor": I.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : I.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
|
|
@@ -1290,49 +1290,49 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1290
1290
|
fill: I.value.style.layout.dataLabels.xAxis.color,
|
|
1291
1291
|
"font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1292
1292
|
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + I.value.style.layout.dataLabels.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${I.value.style.layout.dataLabels.xAxis.rotation})`
|
|
1293
|
-
}, O(e), 9, ot)) :
|
|
1294
|
-
I.value.style.layout.cells.columnTotal.value.show ? (w(),
|
|
1293
|
+
}, O(e), 9, ot)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
|
|
1294
|
+
I.value.style.layout.cells.columnTotal.value.show ? (w(), v("g", {
|
|
1295
1295
|
key: 5,
|
|
1296
1296
|
ref_key: "xAxisSums",
|
|
1297
|
-
ref:
|
|
1298
|
-
}, [(w(!0),
|
|
1297
|
+
ref: Yt
|
|
1298
|
+
}, [(w(!0), v(h, null, E(Y.value.xLabels, (e, t) => (w(), v("text", {
|
|
1299
1299
|
class: "vue-ui-heatmap-col-total",
|
|
1300
1300
|
"text-anchor": I.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : I.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
|
|
1301
1301
|
"font-size": I.value.style.layout.dataLabels.xAxis.fontSize,
|
|
1302
1302
|
fill: I.value.style.layout.dataLabels.xAxis.color,
|
|
1303
1303
|
"font-weight": I.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
1304
1304
|
transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + I.value.style.layout.dataLabels.xAxis.offsetX + I.value.style.layout.cells.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + I.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${I.value.style.layout.cells.columnTotal.value.rotation})`
|
|
1305
|
-
}, O(Un(t)), 9, st))), 256))], 512)) :
|
|
1306
|
-
|
|
1305
|
+
}, O(Un(t)), 9, st))), 256))], 512)) : _("", !0),
|
|
1306
|
+
P.value ? (w(), v("g", ct, [y("rect", {
|
|
1307
1307
|
style: { "pointer-events": "none" },
|
|
1308
|
-
x:
|
|
1309
|
-
y:
|
|
1308
|
+
x: P.value.x - I.value.style.layout.cells.selected.border / 2 + G.value + K.value.sumCellXHeight,
|
|
1309
|
+
y: P.value.y - I.value.style.layout.cells.selected.border / 2 + G.value,
|
|
1310
1310
|
width: K.value.cellSize.width - G.value + I.value.style.layout.cells.selected.border - G.value,
|
|
1311
1311
|
height: K.value.cellSize.height - G.value + I.value.style.layout.cells.selected.border - G.value,
|
|
1312
1312
|
fill: "transparent",
|
|
1313
1313
|
stroke: I.value.style.layout.cells.selected.color,
|
|
1314
1314
|
"stroke-width": I.value.style.layout.cells.selected.border,
|
|
1315
1315
|
rx: 1
|
|
1316
|
-
}, null, 8, lt)])) :
|
|
1317
|
-
I.value.style.layout.crosshairs.show &&
|
|
1316
|
+
}, null, 8, lt)])) : _("", !0),
|
|
1317
|
+
I.value.style.layout.crosshairs.show && P.value ? (w(), v("g", ut, [y("line", {
|
|
1318
1318
|
x1: K.value.left + K.value.sumCellXHeight,
|
|
1319
|
-
x2:
|
|
1320
|
-
y1:
|
|
1321
|
-
y2:
|
|
1319
|
+
x2: P.value.x + K.value.sumCellXHeight,
|
|
1320
|
+
y1: P.value.y + (K.value.cellSize.height - G.value) / 2,
|
|
1321
|
+
y2: P.value.y + (K.value.cellSize.height - G.value) / 2,
|
|
1322
1322
|
stroke: I.value.style.layout.crosshairs.stroke,
|
|
1323
1323
|
"stroke-width": I.value.style.layout.crosshairs.strokeWidth,
|
|
1324
1324
|
"stroke-dasharray": I.value.style.layout.crosshairs.strokeDasharray,
|
|
1325
1325
|
"stroke-linecap": "round"
|
|
1326
|
-
}, null, 8, dt),
|
|
1327
|
-
x1:
|
|
1328
|
-
x2:
|
|
1329
|
-
y1:
|
|
1326
|
+
}, null, 8, dt), y("line", {
|
|
1327
|
+
x1: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1328
|
+
x2: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
|
|
1329
|
+
y1: P.value.y,
|
|
1330
1330
|
y2: K.value.top,
|
|
1331
1331
|
stroke: I.value.style.layout.crosshairs.stroke,
|
|
1332
1332
|
"stroke-width": I.value.style.layout.crosshairs.strokeWidth,
|
|
1333
1333
|
"stroke-dasharray": I.value.style.layout.crosshairs.strokeDasharray,
|
|
1334
1334
|
"stroke-linecap": "round"
|
|
1335
|
-
}, null, 8, ft)])) :
|
|
1335
|
+
}, null, 8, ft)])) : _("", !0),
|
|
1336
1336
|
D(t.$slots, "svg", { svg: {
|
|
1337
1337
|
...H.value,
|
|
1338
1338
|
drawingArea: K.value,
|
|
@@ -1340,14 +1340,14 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1340
1340
|
isPrintingSvg: k(sr)
|
|
1341
1341
|
} }, void 0, !0)
|
|
1342
1342
|
], 46, Ye)),
|
|
1343
|
-
I.value.style.legend.show ? (w(),
|
|
1343
|
+
I.value.style.legend.show ? (w(), v("div", {
|
|
1344
1344
|
key: 0,
|
|
1345
1345
|
ref_key: "legendRight",
|
|
1346
|
-
ref:
|
|
1346
|
+
ref: Gt,
|
|
1347
1347
|
class: "vue-ui-heatmap-legend-right",
|
|
1348
1348
|
style: C({ "--legend-width": I.value.style.legend.width + "px" })
|
|
1349
1349
|
}, [
|
|
1350
|
-
k(sn) ?
|
|
1350
|
+
k(sn) ? _("", !0) : (w(), v("div", {
|
|
1351
1351
|
key: 0,
|
|
1352
1352
|
class: "vue-ui-heatmap-legend-label-max",
|
|
1353
1353
|
style: C({
|
|
@@ -1360,10 +1360,10 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1360
1360
|
s: I.value.style.layout.dataLabels.suffix,
|
|
1361
1361
|
r: I.value.style.legend.roundingValue
|
|
1362
1362
|
}))), 5)),
|
|
1363
|
-
|
|
1363
|
+
y("div", pt, [y("div", {
|
|
1364
1364
|
class: "vue-ui-heatmap-gauge",
|
|
1365
1365
|
style: C({ background: `linear-gradient(to bottom, ${I.value.style.layout.cells.colors.hot}, ${I.value.style.layout.cells.colors.cold})` })
|
|
1366
|
-
}, [Ve(
|
|
1366
|
+
}, [Ve(y("div", {
|
|
1367
1367
|
class: "vue-ui-heatmap-gauge-indicator",
|
|
1368
1368
|
"data-value": k(u)(I.value.style.layout.cells.value.formatter, k(c)(Z.value), k(o)({
|
|
1369
1369
|
p: I.value.style.layout.dataLabels.prefix,
|
|
@@ -1384,13 +1384,13 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1384
1384
|
"--gauge-arrow-value": Z.value,
|
|
1385
1385
|
"--gauge-arrow-font-size": I.value.style.legend.fontSize + "px"
|
|
1386
1386
|
})
|
|
1387
|
-
}, [
|
|
1387
|
+
}, [y("div", ht, O(k(u)(I.value.style.layout.cells.value.formatter, k(c)(Z.value), k(o)({
|
|
1388
1388
|
p: I.value.style.layout.dataLabels.prefix,
|
|
1389
1389
|
v: k(c)(Z.value),
|
|
1390
1390
|
s: I.value.style.layout.dataLabels.suffix,
|
|
1391
1391
|
r: I.value.style.legend.roundingValue
|
|
1392
1392
|
}))), 1)], 12, mt), [[Re, ![void 0, null].includes(Z.value)]])], 4)]),
|
|
1393
|
-
k(sn) ?
|
|
1393
|
+
k(sn) ? _("", !0) : (w(), v("div", {
|
|
1394
1394
|
key: 1,
|
|
1395
1395
|
class: "vue-ui-heatmap-legend-label-min",
|
|
1396
1396
|
style: C({
|
|
@@ -1403,22 +1403,22 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1403
1403
|
s: I.value.style.layout.dataLabels.suffix,
|
|
1404
1404
|
r: I.value.style.legend.roundingValue
|
|
1405
1405
|
}))), 5))
|
|
1406
|
-
], 4)) :
|
|
1407
|
-
t.$slots.hint ? (w(),
|
|
1406
|
+
], 4)) : _("", !0),
|
|
1407
|
+
t.$slots.hint ? (w(), v("div", gt, [D(t.$slots, "hint", S(x({
|
|
1408
1408
|
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1409
1409
|
isVisible: nn.value
|
|
1410
|
-
})), void 0, !0)])) :
|
|
1410
|
+
})), void 0, !0)])) : _("", !0)
|
|
1411
1411
|
], 2),
|
|
1412
|
-
t.$slots.watermark ? (w(),
|
|
1413
|
-
t.$slots.source ? (w(),
|
|
1412
|
+
t.$slots.watermark ? (w(), v("div", _t, [D(t.$slots, "watermark", S(x({ isPrinting: k(mn) || k(hn) || k(or) || k(sr) })), void 0, !0)])) : _("", !0),
|
|
1413
|
+
t.$slots.source ? (w(), v("div", {
|
|
1414
1414
|
key: 6,
|
|
1415
1415
|
ref_key: "source",
|
|
1416
|
-
ref:
|
|
1416
|
+
ref: Zt,
|
|
1417
1417
|
dir: "auto"
|
|
1418
|
-
}, [D(t.$slots, "source", {}, void 0, !0)], 512)) :
|
|
1419
|
-
|
|
1418
|
+
}, [D(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
|
|
1419
|
+
De(k(Ke), {
|
|
1420
1420
|
teleportTo: I.value.style.tooltip.teleportTo,
|
|
1421
|
-
show: z.value.showTooltip &&
|
|
1421
|
+
show: z.value.showTooltip && Pt.value,
|
|
1422
1422
|
backgroundColor: I.value.style.tooltip.backgroundColor,
|
|
1423
1423
|
color: I.value.style.tooltip.color,
|
|
1424
1424
|
borderRadius: I.value.style.tooltip.borderRadius,
|
|
@@ -1429,8 +1429,8 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1429
1429
|
position: I.value.style.tooltip.position,
|
|
1430
1430
|
offsetX: I.value.style.tooltip.offsetX,
|
|
1431
1431
|
offsetY: I.value.style.tooltip.offsetY,
|
|
1432
|
-
parent:
|
|
1433
|
-
content:
|
|
1432
|
+
parent: N.value,
|
|
1433
|
+
content: Ft.value,
|
|
1434
1434
|
isFullscreen: Q.value,
|
|
1435
1435
|
isCustom: I.value.style.tooltip.customFormat && typeof I.value.style.tooltip.customFormat == "function",
|
|
1436
1436
|
smooth: I.value.style.tooltip.smooth,
|
|
@@ -1468,43 +1468,43 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1468
1468
|
"isA11yMode",
|
|
1469
1469
|
"a11yPosition"
|
|
1470
1470
|
]),
|
|
1471
|
-
Nt.value && I.value.userOptions.buttons.table ? (w(),
|
|
1471
|
+
Nt.value && I.value.userOptions.buttons.table ? (w(), we(Pe(tr.value.component), Oe({ key: 7 }, tr.value.props, {
|
|
1472
1472
|
ref_key: "tableUnit",
|
|
1473
|
-
ref:
|
|
1473
|
+
ref: Vt,
|
|
1474
1474
|
onClose: rr
|
|
1475
|
-
}),
|
|
1476
|
-
content: A(() => [
|
|
1475
|
+
}), Te({
|
|
1476
|
+
content: A(() => [y("div", {
|
|
1477
1477
|
ref_key: "tableContainer",
|
|
1478
|
-
ref:
|
|
1478
|
+
ref: Rt,
|
|
1479
1479
|
class: "vue-ui-heatmap-table atom-data-table",
|
|
1480
1480
|
style: C(`${I.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
|
|
1481
|
-
}, [
|
|
1481
|
+
}, [y("div", {
|
|
1482
1482
|
style: C(`width:100%;overflow-x:auto;position:relative;${I.value.table.useDialog ? "" : "padding-top:36px"};`),
|
|
1483
1483
|
class: Ae({ "vue-ui-responsive": k(nr) })
|
|
1484
|
-
}, [I.value.table.useDialog ?
|
|
1484
|
+
}, [I.value.table.useDialog ? _("", !0) : (w(), v("div", {
|
|
1485
1485
|
key: 0,
|
|
1486
1486
|
role: "button",
|
|
1487
1487
|
tabindex: "0",
|
|
1488
1488
|
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:${I.value.table.th.backgroundColor};`),
|
|
1489
1489
|
onClick: rr,
|
|
1490
1490
|
onKeypress: He(rr, ["enter"])
|
|
1491
|
-
}, [
|
|
1491
|
+
}, [De(k(wt), {
|
|
1492
1492
|
name: "close",
|
|
1493
1493
|
stroke: I.value.table.th.color,
|
|
1494
1494
|
"stroke-width": 2
|
|
1495
|
-
}, null, 8, ["stroke"])], 36)),
|
|
1496
|
-
I.value.table.useDialog ?
|
|
1495
|
+
}, null, 8, ["stroke"])], 36)), y("table", vt, [
|
|
1496
|
+
I.value.table.useDialog ? _("", !0) : (w(), v("caption", {
|
|
1497
1497
|
key: 0,
|
|
1498
1498
|
style: C(`backgroundColor:${I.value.table.th.backgroundColor};color:${I.value.table.th.color};outline:${I.value.table.th.outline}`)
|
|
1499
|
-
}, [
|
|
1500
|
-
|
|
1499
|
+
}, [Ee(O(I.value.style.title.text) + " ", 1), I.value.style.title.subtitle.text ? (w(), v("span", yt, O(I.value.style.title.subtitle.text), 1)) : _("", !0)], 4)),
|
|
1500
|
+
y("thead", null, [y("tr", {
|
|
1501
1501
|
role: "row",
|
|
1502
1502
|
style: C(`background:${I.value.table.th.backgroundColor};color:${I.value.table.th.color}`)
|
|
1503
|
-
}, [
|
|
1503
|
+
}, [y("th", { style: C(`outline:${I.value.table.th.outline};padding-right:6px`) }, null, 4), (w(!0), v(h, null, E(e.dataset, (e, t) => (w(), v("th", {
|
|
1504
1504
|
align: "right",
|
|
1505
1505
|
style: C(`outline:${I.value.table.th.outline};padding-right:6px`)
|
|
1506
1506
|
}, O(e.name), 5))), 256))], 4)]),
|
|
1507
|
-
|
|
1507
|
+
y("tbody", null, [(w(!0), v(h, null, E(Y.value.xLabels, (t, n) => (w(), v("tr", {
|
|
1508
1508
|
role: "row",
|
|
1509
1509
|
class: Ae({
|
|
1510
1510
|
"vue-ui-data-table__tbody__row": !0,
|
|
@@ -1512,15 +1512,15 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1512
1512
|
"vue-ui-data-table__tbody__row-odd": n % 2 != 0
|
|
1513
1513
|
}),
|
|
1514
1514
|
style: C(`background:${I.value.table.td.backgroundColor};color:${I.value.table.td.color}`)
|
|
1515
|
-
}, [
|
|
1515
|
+
}, [y("td", {
|
|
1516
1516
|
"data-cell": I.value.table.colNames.xAxis,
|
|
1517
1517
|
class: "vue-ui-data-table__tbody__td",
|
|
1518
1518
|
style: C(`outline:${I.value.table.td.outline}`)
|
|
1519
|
-
}, [
|
|
1519
|
+
}, [y("div", xt, O(t), 1)], 12, bt), (w(!0), v(h, null, E(e.dataset, (t, r) => (w(), v("td", {
|
|
1520
1520
|
class: "vue-ui-data-table__tbody__td",
|
|
1521
1521
|
"data-cell": e.dataset[r].name,
|
|
1522
1522
|
style: C(`outline:${I.value.table.td.outline}`)
|
|
1523
|
-
}, [
|
|
1523
|
+
}, [y("div", Ct, O(isNaN(t.values[n]) ? "-" : k(o)({
|
|
1524
1524
|
p: I.value.style.layout.dataLabels.prefix,
|
|
1525
1525
|
v: t.values[n],
|
|
1526
1526
|
s: I.value.style.layout.dataLabels.suffix,
|
|
@@ -1530,22 +1530,22 @@ var Ke = /* @__PURE__ */ e({ default: () => wt }), qe = ["id"], Je = ["id"], Ye
|
|
|
1530
1530
|
_: 2
|
|
1531
1531
|
}, [I.value.table.useDialog ? {
|
|
1532
1532
|
name: "title",
|
|
1533
|
-
fn: A(() => [
|
|
1533
|
+
fn: A(() => [Ee(O(tr.value.title), 1)]),
|
|
1534
1534
|
key: "0"
|
|
1535
1535
|
} : void 0, I.value.table.useDialog ? {
|
|
1536
1536
|
name: "actions",
|
|
1537
|
-
fn: A(() => [
|
|
1537
|
+
fn: A(() => [y("button", {
|
|
1538
1538
|
tabindex: "0",
|
|
1539
1539
|
class: "vue-ui-user-options-button",
|
|
1540
1540
|
onClick: n[0] ||= (e) => Wn(I.value.userOptions.callbacks.csv),
|
|
1541
1541
|
style: C({ cursor: rn.value ? "pointer" : "default" })
|
|
1542
|
-
}, [
|
|
1542
|
+
}, [De(k(wt), {
|
|
1543
1543
|
name: "fileCsv",
|
|
1544
1544
|
stroke: tr.value.props.color
|
|
1545
1545
|
}, null, 8, ["stroke"])], 4)]),
|
|
1546
1546
|
key: "1"
|
|
1547
|
-
} : void 0]), 1040)) :
|
|
1548
|
-
D(t.$slots, "skeleton", {}, () => [k(sn) ? (w(),
|
|
1547
|
+
} : void 0]), 1040)) : _("", !0),
|
|
1548
|
+
D(t.$slots, "skeleton", {}, () => [k(sn) ? (w(), we(ce, { key: 0 })) : _("", !0)], !0)
|
|
1549
1549
|
], 46, qe));
|
|
1550
1550
|
}
|
|
1551
1551
|
}, [["__scopeId", "data-v-9e3f53ee"]]);
|