vue-data-ui 3.16.5 → 3.17.0
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/README.md +64 -46
- package/dist/{PackageVersion-CvtT2-UH.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- 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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-XhJQD-ri.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BhzRmNak.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CZCn6OMX.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BRyBDt56.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-Dulq2vNg.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-BJD25FJV.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-DCHtRFDV.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-46054xSO.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-CSdFVJx2.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-CmPyW4rp.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-QZjpAemm.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-C051dx6c.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-zCwCXCfe.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-HPy7kRgm.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-DxOwX8nC.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-KD1WwwLS.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-0BJ1t72z.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-lPRZK-_Q.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-WJG6UU4c.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-Cnqgwc0G.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-BXFwr3H7.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-DeYdEiHT.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-C0-M2WoG.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DctMvoRr.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-sLaCn8jd.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-reisxCWX.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-z3S4DcoQ.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CQEaLq9E.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-BGIt_k-N.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-BxXAWrhM.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-CMKIYAuh.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-Tb8aJ91r.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-CLAqGLQH.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-BK2SOFv9.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-BY7vIWHL.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-BlUbhTZ5.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-Bsfw_4y_.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BaORhzZH.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-D8afRw4d.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BE5ADLxq.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-C2QdubPf.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BxP_TDR3.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CgHAoaeu.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-0m7QAV93.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DNt9nHQ9.js → vue-ui-sparkline-B-zOqzrC.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-RU8zQLfe.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-C3qGXmTQ.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-W24y7z12.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot--MWxAM0R.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DKbkhX_x.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BtkypjfT.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-qaGYZUMd.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-CpQYSD-K.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-CUiSLMlj.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-CMfWyA5N.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-H02mH3Rc.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-agcFNYTs.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-B0fNWUVr.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-B8mANOO8.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-DgyEEqnJ.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as rt, defineAsyncComponent as x, ref as c, shallowRef as Te, computed as v, onMounted as ut, onBeforeUnmount as it, watch as Oe, openBlock as n, createElementBlock as h, unref as s, normalizeStyle as O, normalizeClass as N, createBlock as F, withCtx as r, renderSlot as u, normalizeProps as C, guardReactiveProps as k, createCommentVNode as g, createSlots as _e, createVNode as Pe, createElementVNode as $, mergeProps as W, Fragment as q, renderList as Y, toDisplayString as E, resolveDynamicComponent as ct, createTextVNode as De, nextTick as ze } from "vue";
|
|
2
2
|
import { j as vt, o as dt, q as Ie, r as ht, s as ft, x as bt, k as J, l as K, X as mt, W as gt, a2 as ne, a0 as pt, a1 as yt } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as Ct, u as kt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wt } from "./useConfig-
|
|
4
|
+
import { u as wt } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as $t } from "./usePrinter-CEpYU3r5.js";
|
|
6
6
|
import { u as Lt } from "./useSvgExport-ByUukOZt.js";
|
|
7
7
|
import { u as re } from "./useNestedProp-Bf5XFbs8.js";
|
|
@@ -36,7 +36,7 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
|
|
|
36
36
|
rt((t) => ({
|
|
37
37
|
v571664dc: Ze.value
|
|
38
38
|
}));
|
|
39
|
-
const Re = x(() => import("./BaseIcon-Cb3zzG6s.js")), Ue = x(() => import("./vue-ui-skeleton-
|
|
39
|
+
const Re = x(() => import("./BaseIcon-Cb3zzG6s.js")), Ue = x(() => import("./vue-ui-skeleton-Dai-bZZw.js")), Me = x(() => import("./vue-ui-accordion-CnDW2UQL.js")), Ve = x(() => import("./DataTable-DT2kIdQ6.js")), Ee = x(() => import("./UserOptions-rW2fRf3V.js")), Ge = x(() => import("./PenAndPaper-Ct3qJ4lA.js")), je = x(() => import("./PackageVersion-B3kmPxTR.js")), He = x(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_funnel: Xe } = wt(), { isThemeValid: We, warnInvalidTheme: qe } = At(), p = Ne, Ye = Be, L = c(null), B = c(vt()), ue = c(0), ie = c(0), ce = c(0), ve = c(null), de = c(null), he = c(null), A = Te(null), _ = Te(null), S = c(!1), R = c(null), Q = c(null), G = c(!1), j = c(!1), P = v(() => !!p.dataset && p.dataset.length);
|
|
40
40
|
ut(fe);
|
|
41
41
|
function fe() {
|
|
42
42
|
if (dt(p.dataset) ? Ie({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, ref as n, computed as d, toRefs as Kt, onMounted as Yt, watch as Qe, openBlock as u, createElementBlock as p, unref as r, normalizeStyle as X, normalizeClass as
|
|
2
|
-
import { j as at, t as ot, o as Zt, q as nt, r as el, m as tl, p as
|
|
1
|
+
import { defineAsyncComponent as L, ref as n, computed as d, toRefs as Kt, onMounted as Yt, watch as Qe, openBlock as u, createElementBlock as p, unref as r, normalizeStyle as X, normalizeClass as ae, createElementVNode as C, toDisplayString as oe, createBlock as $, createCommentVNode as h, withCtx as i, renderSlot as c, normalizeProps as b, guardReactiveProps as m, createSlots as Ze, createVNode as ke, Fragment as et, renderList as tt, Teleport as qt, resolveDynamicComponent as Jt, mergeProps as Qt, createTextVNode as lt, nextTick as ne } from "vue";
|
|
2
|
+
import { j as at, t as ot, o as Zt, q as nt, r as el, m as tl, p as se, n as ll, a8 as st, s as al, ad as ol, k as ut, l as D, X as nl, T as rt, a0 as sl, a1 as ul, U as rl } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { b as il } from "./labelUtils-CqTHa20R.js";
|
|
4
4
|
import { t as cl, u as vl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as dl } from "./useConfig-
|
|
5
|
+
import { u as dl } from "./useConfig-ChRble71.js";
|
|
6
6
|
import { u as hl, B as gl } from "./BaseScanner-BhhkKVoj.js";
|
|
7
7
|
import { u as pl } from "./usePrinter-CEpYU3r5.js";
|
|
8
8
|
import { u as fl } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -17,7 +17,7 @@ import Tl from "./vue_ui_galaxy-D95AN4FT.js";
|
|
|
17
17
|
import { A as $l } from "./A11yDataTable-KcVAX2cP.js";
|
|
18
18
|
import { B as xl } from "./BaseLegendToggle-BQVIawmA.js";
|
|
19
19
|
import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"],
|
|
20
|
+
const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"], Fl = ["id"], _l = ["stdDeviation"], Nl = ["d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width"], Vl = ["filter"], El = ["d", "stroke", "stroke-width"], Ml = ["data-a11y-serie-id", "d", "stroke-width", "aria-label", "onMouseenter", "onMouseleave", "onClick"], Rl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
23
23
|
"data-dom-to-png-ignore": "",
|
|
@@ -43,7 +43,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectLegend", "selectDatapoint", "copyAlt"],
|
|
45
45
|
setup(it, { expose: ct, emit: vt }) {
|
|
46
|
-
const dt = L(() => import("./Tooltip-
|
|
46
|
+
const dt = L(() => import("./Tooltip-C8KGyqQk.js")), ht = L(() => import("./BaseIcon-Cb3zzG6s.js")), gt = L(() => import("./vue-ui-accordion-CnDW2UQL.js")), pt = L(() => import("./DataTable-DT2kIdQ6.js")), ft = L(() => import("./PenAndPaper-Ct3qJ4lA.js")), yt = L(() => import("./UserOptions-rW2fRf3V.js")), bt = L(() => import("./PackageVersion-B3kmPxTR.js")), mt = L(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_galaxy: kt } = dl(), { isThemeValid: Ct, warnInvalidTheme: wt } = yl(), T = it, k = n(at()), x = n(null), j = n(!1), ue = n(""), P = n(null), we = n(0), Te = n(0), $e = n(0), xe = n(0), Se = n(null), Pe = n(null), Ae = n(null), Oe = n(null), M = n(null), K = n(null), Ie = n(!1), R = n(null), re = n(null), Y = n(!1), q = n(!1), B = n(null), J = n(null), Le = n({ x: 0, y: 0 }), ie = n("pointer"), Q = n(!1), De = d(() => !!T.dataset && T.dataset.length), e = n(ve()), U = d(() => e.value.userOptions.useCursorPointer), Tt = d(() => ot({
|
|
47
47
|
defaultConfig: {
|
|
48
48
|
userOptions: { show: !1 },
|
|
49
49
|
table: { show: !1 },
|
|
@@ -58,13 +58,13 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
userConfig: e.value.skeletonConfig ?? {}
|
|
61
|
-
})), { loading: Z, FINAL_DATASET:
|
|
61
|
+
})), { loading: Z, FINAL_DATASET: Fe } = hl({
|
|
62
62
|
...Kt(T),
|
|
63
63
|
FINAL_CONFIG: e,
|
|
64
|
-
prepareConfig:
|
|
64
|
+
prepareConfig: ve,
|
|
65
65
|
callback: () => {
|
|
66
66
|
Promise.resolve().then(async () => {
|
|
67
|
-
await
|
|
67
|
+
await ne(), f.value.showTable = e.value.table.show;
|
|
68
68
|
});
|
|
69
69
|
},
|
|
70
70
|
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
@@ -80,12 +80,12 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
80
80
|
Yt(() => {
|
|
81
81
|
Ie.value = !0, Ne();
|
|
82
82
|
});
|
|
83
|
-
const
|
|
83
|
+
const _e = d(() => !!e.value.debug);
|
|
84
84
|
function Ne() {
|
|
85
85
|
if (Zt(T.dataset) ? nt({
|
|
86
86
|
componentName: "VueUiGalaxy",
|
|
87
87
|
type: "dataset",
|
|
88
|
-
debug:
|
|
88
|
+
debug: _e.value
|
|
89
89
|
}) : T.dataset.forEach((t, a) => {
|
|
90
90
|
el({
|
|
91
91
|
datasetObject: t,
|
|
@@ -96,7 +96,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
96
96
|
type: "datasetSerieAttribute",
|
|
97
97
|
property: l,
|
|
98
98
|
index: a,
|
|
99
|
-
debug:
|
|
99
|
+
debug: _e.value
|
|
100
100
|
});
|
|
101
101
|
});
|
|
102
102
|
}), e.value.responsive) {
|
|
@@ -115,8 +115,8 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
115
115
|
M.value && (K.value && M.value.unobserve(K.value), M.value.disconnect()), M.value = new ResizeObserver(t), K.value = x.value.parentNode, M.value.observe(K.value);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
const { userOptionsVisible:
|
|
119
|
-
function
|
|
118
|
+
const { userOptionsVisible: ce, setUserOptionsVisibility: Be, keepUserOptionState: Ve } = bl({ config: e.value }), { svgRef: F } = ml({ config: e.value.style.chart.title });
|
|
119
|
+
function ve() {
|
|
120
120
|
const t = Ce({
|
|
121
121
|
userConfig: T.config,
|
|
122
122
|
defaultConfig: kt
|
|
@@ -133,13 +133,13 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
133
133
|
});
|
|
134
134
|
return {
|
|
135
135
|
...o,
|
|
136
|
-
customPalette: o.customPalette.length ? o.customPalette : tl[a] ||
|
|
136
|
+
customPalette: o.customPalette.length ? o.customPalette : tl[a] || se
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
Qe(() => T.config, (t) => {
|
|
140
|
-
e.value =
|
|
140
|
+
e.value = ve(), ce.value = !e.value.userOptions.showOnChartHover, Ne(), Te.value += 1, $e.value += 1, xe.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
141
141
|
}, { deep: !0 });
|
|
142
|
-
const { isPrinting:
|
|
142
|
+
const { isPrinting: de, isImaging: he, generatePdf: Ee, generateImage: Me } = pl({
|
|
143
143
|
elementId: `galaxy_${k.value}`,
|
|
144
144
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
145
145
|
options: e.value.userOptions.print
|
|
@@ -153,14 +153,14 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
153
153
|
width: ee.value,
|
|
154
154
|
height: te.value,
|
|
155
155
|
viewBox: `${St.value} ${Pt.value} ${ee.value} ${te.value}`
|
|
156
|
-
})),
|
|
156
|
+
})), ge = vt, g = n([]);
|
|
157
157
|
function At() {
|
|
158
158
|
g.value.length ? g.value = [] : W.value.forEach((t) => {
|
|
159
159
|
g.value.push(t.id);
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
function z(t) {
|
|
163
|
-
g.value.includes(t.id) ? g.value = g.value.filter((a) => a !== t.id) : g.value.push(t.id),
|
|
163
|
+
g.value.includes(t.id) ? g.value = g.value.filter((a) => a !== t.id) : g.value.push(t.id), ge("selectLegend", V.value.map((a) => ({
|
|
164
164
|
name: a.name,
|
|
165
165
|
color: a.color,
|
|
166
166
|
value: a.value
|
|
@@ -180,9 +180,9 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
180
180
|
const a = Re(t);
|
|
181
181
|
a !== null && (g.value.includes(a.id) || z({ id: a.id }));
|
|
182
182
|
}
|
|
183
|
-
const w = d(() =>
|
|
183
|
+
const w = d(() => Fe.value.map((t, a) => ({
|
|
184
184
|
name: t.name,
|
|
185
|
-
color: al(t.color) || xt.value[a] ||
|
|
185
|
+
color: al(t.color) || xt.value[a] || se[a] || se[a % se.length],
|
|
186
186
|
value: t.values ? st(t.values).reduce((l, o) => l + o, 0) : 0,
|
|
187
187
|
absoluteValues: st(t.values),
|
|
188
188
|
id: at()
|
|
@@ -199,7 +199,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
199
199
|
}
|
|
200
200
|
const S = d(() => w.value.filter((t) => !g.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Ue = n(190), ze = d(() => w.value.filter((t) => !g.value.includes(t.id))), Dt = d(
|
|
201
201
|
() => (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) / 2 + (e.value.style.chart.layout.padding ?? 12)
|
|
202
|
-
),
|
|
202
|
+
), Ft = d(() => ol({
|
|
203
203
|
maxPoints: Ue.value,
|
|
204
204
|
a: e.value.style.chart.layout.arcs.a ?? 6,
|
|
205
205
|
b: e.value.style.chart.layout.arcs.b ?? 6,
|
|
@@ -218,12 +218,12 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
218
218
|
...l,
|
|
219
219
|
seriesIndex: a,
|
|
220
220
|
proportion: l.value / S.value,
|
|
221
|
-
path:
|
|
221
|
+
path: Ft.value(o)
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
return t.filter((a) => !g.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
225
225
|
});
|
|
226
|
-
function
|
|
226
|
+
function pe(t) {
|
|
227
227
|
const a = Math.min(ee.value, te.value), l = P.value === t.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1, o = (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * l, v = e.value.style.chart.layout.arcs.strokeWidth * l, s = e.value.style.chart.layout.arcs.strokeWidth / 2 * l;
|
|
228
228
|
return {
|
|
229
229
|
border: o / 180 * a,
|
|
@@ -231,17 +231,17 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
231
231
|
blur: s / 180 * a
|
|
232
232
|
};
|
|
233
233
|
}
|
|
234
|
-
const
|
|
234
|
+
const _ = n(!1);
|
|
235
235
|
function We(t) {
|
|
236
|
-
|
|
236
|
+
_.value = t, we.value += 1;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
238
|
+
const le = n(null);
|
|
239
239
|
function fe() {
|
|
240
240
|
j.value = !1, P.value = null, B.value = null, J.value = null;
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
if (!
|
|
244
|
-
const a =
|
|
242
|
+
function _t(t) {
|
|
243
|
+
if (!F.value || !t) return;
|
|
244
|
+
const a = F.value.querySelector(`[data-a11y-serie-id="${t}"]`);
|
|
245
245
|
if (!a) return;
|
|
246
246
|
const l = a.getBoundingClientRect();
|
|
247
247
|
Le.value = {
|
|
@@ -250,10 +250,10 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
252
|
function Nt(t) {
|
|
253
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex }), !(J.value === t.id &&
|
|
253
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex }), !(J.value === t.id && ie.value === "keyboard") && (j.value = !1, P.value = null);
|
|
254
254
|
}
|
|
255
255
|
function Ge(t) {
|
|
256
|
-
|
|
256
|
+
ge("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
257
257
|
}
|
|
258
258
|
function He({
|
|
259
259
|
val: t,
|
|
@@ -272,7 +272,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
272
272
|
}
|
|
273
273
|
function Xe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1, triggerMode: v = "pointer", flatIndex: s = null }) {
|
|
274
274
|
if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex }), !f.value.showTooltip) return;
|
|
275
|
-
|
|
275
|
+
ie.value = v, B.value = s, J.value = t.id, le.value = {
|
|
276
276
|
datapoint: t,
|
|
277
277
|
seriesIndex: l,
|
|
278
278
|
series: w.value,
|
|
@@ -285,7 +285,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
285
285
|
datapoint: t,
|
|
286
286
|
series: w.value,
|
|
287
287
|
config: e.value
|
|
288
|
-
})) ?
|
|
288
|
+
})) ? ue.value = I({
|
|
289
289
|
seriesIndex: l,
|
|
290
290
|
datapoint: t,
|
|
291
291
|
series: w.value,
|
|
@@ -309,8 +309,8 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
309
309
|
s: "%",
|
|
310
310
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
311
311
|
})
|
|
312
|
-
})}</b></div>`,
|
|
313
|
-
|
|
312
|
+
})}</b></div>`, ue.value = `<div>${y}</div>`), v === "keyboard" && ne(() => {
|
|
313
|
+
_t(t.id);
|
|
314
314
|
});
|
|
315
315
|
}
|
|
316
316
|
const W = d(() => w.value.map((t, a) => {
|
|
@@ -327,7 +327,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
327
327
|
});
|
|
328
328
|
return {
|
|
329
329
|
...t,
|
|
330
|
-
proportion: (t.value || 0) /
|
|
330
|
+
proportion: (t.value || 0) / Fe.value.map((s) => (s.values || []).reduce((y, I) => y + I, 0)).reduce((s, y) => s + y, 0),
|
|
331
331
|
opacity: g.value.includes(t.id) ? 0.5 : 1,
|
|
332
332
|
shape: t.shape || "circle",
|
|
333
333
|
segregate: () => z(t),
|
|
@@ -349,7 +349,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
349
349
|
return { head: t, body: a };
|
|
350
350
|
});
|
|
351
351
|
function ye(t = null) {
|
|
352
|
-
|
|
352
|
+
ne(() => {
|
|
353
353
|
const a = O.value.head.map((v, s) => [[
|
|
354
354
|
v.name
|
|
355
355
|
], [O.value.body[s]], [isNaN(O.value.body[s] / S.value) ? "-" : O.value.body[s] / S.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), o = sl(l);
|
|
@@ -431,7 +431,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
431
431
|
color: e.value.table.th.color,
|
|
432
432
|
headerColor: e.value.table.th.color,
|
|
433
433
|
headerBg: e.value.table.th.backgroundColor,
|
|
434
|
-
isFullscreen:
|
|
434
|
+
isFullscreen: _.value,
|
|
435
435
|
fullscreenParent: x.value,
|
|
436
436
|
forcedWidth: Math.min(500, window.innerWidth * 0.8),
|
|
437
437
|
isCursorPointer: U.value
|
|
@@ -456,20 +456,20 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
456
456
|
e.value.table.show || (t && e.value.table.useDialog && R.value ? R.value.open() : "close" in R.value && R.value.close());
|
|
457
457
|
});
|
|
458
458
|
function Ye() {
|
|
459
|
-
f.value.showTable = !1,
|
|
459
|
+
f.value.showTable = !1, re.value && re.value.setTableIconState(!1);
|
|
460
460
|
}
|
|
461
461
|
const Et = d(() => W.value.map((t) => ({
|
|
462
462
|
...t,
|
|
463
463
|
name: t.display
|
|
464
464
|
}))), Mt = d(() => e.value.style.chart.backgroundColor), Rt = d(() => e.value.style.chart.legend), Ut = d(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Wt } = fl({
|
|
465
|
-
svg:
|
|
465
|
+
svg: F,
|
|
466
466
|
title: Ut,
|
|
467
467
|
legend: Rt,
|
|
468
468
|
legendItems: Et,
|
|
469
469
|
backgroundColor: Mt
|
|
470
470
|
});
|
|
471
471
|
async function qe({ isCb: t }) {
|
|
472
|
-
q.value = !0, await
|
|
472
|
+
q.value = !0, await ne();
|
|
473
473
|
try {
|
|
474
474
|
if (t) {
|
|
475
475
|
const { blob: a, url: l, text: o, dataUrl: v } = await Wt();
|
|
@@ -492,7 +492,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
492
492
|
Me();
|
|
493
493
|
}
|
|
494
494
|
async function Je() {
|
|
495
|
-
if (
|
|
495
|
+
if (ge("copyAlt", {
|
|
496
496
|
config: e.value,
|
|
497
497
|
dataset: w.value
|
|
498
498
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
@@ -511,7 +511,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
511
511
|
fe(), Q.value = !1;
|
|
512
512
|
}
|
|
513
513
|
function jt(t) {
|
|
514
|
-
if (!
|
|
514
|
+
if (!F.value || G.value || document.activeElement !== F.value || !N.value.length) return;
|
|
515
515
|
const a = t.key === "ArrowLeft" || t.key === "ArrowUp", l = t.key === "ArrowRight" || t.key === "ArrowDown", o = t.key === "Enter" || t.key === " ", v = t.key === "Escape";
|
|
516
516
|
if (!a && !l && !o && !v) return;
|
|
517
517
|
if (t.preventDefault(), t.stopPropagation(), v) {
|
|
@@ -560,7 +560,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
560
560
|
}), (t, a) => (u(), p("div", {
|
|
561
561
|
ref_key: "galaxyChart",
|
|
562
562
|
ref: x,
|
|
563
|
-
class:
|
|
563
|
+
class: ae(`vue-data-ui-component vue-ui-galaxy ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${r(Z) ? "loading" : ""}`),
|
|
564
564
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
565
565
|
id: `galaxy_${k.value}`,
|
|
566
566
|
onMouseenter: a[2] || (a[2] = () => r(Be)(!0)),
|
|
@@ -572,7 +572,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
572
572
|
id: `chart-instructions-${k.value}`,
|
|
573
573
|
class: "sr-only"
|
|
574
574
|
}, [
|
|
575
|
-
C("p", null,
|
|
575
|
+
C("p", null, oe(e.value.a11y.translations.keyboardNavigation), 1)
|
|
576
576
|
], 8, Al),
|
|
577
577
|
me.value?.rows?.length ? (u(), $($l, {
|
|
578
578
|
key: 0,
|
|
@@ -584,7 +584,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
584
584
|
}, null, 8, ["uid", "head", "body", "notice", "caption"])) : h("", !0),
|
|
585
585
|
e.value.userOptions.buttons.annotator ? (u(), $(r(ft), {
|
|
586
586
|
key: 1,
|
|
587
|
-
svgRef: r(
|
|
587
|
+
svgRef: r(F),
|
|
588
588
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
589
589
|
color: e.value.style.chart.color,
|
|
590
590
|
active: G.value,
|
|
@@ -641,14 +641,14 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
641
641
|
C("div", {
|
|
642
642
|
id: `legend-top-${k.value}`
|
|
643
643
|
}, null, 8, Ol),
|
|
644
|
-
e.value.userOptions.show && De.value && (r(Ve) || r(
|
|
644
|
+
e.value.userOptions.show && De.value && (r(Ve) || r(ce)) ? (u(), $(r(yt), {
|
|
645
645
|
ref_key: "userOptionsRef",
|
|
646
|
-
ref:
|
|
646
|
+
ref: re,
|
|
647
647
|
key: `user_option_${we.value}`,
|
|
648
648
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
649
649
|
color: e.value.style.chart.color,
|
|
650
|
-
isPrinting: r(
|
|
651
|
-
isImaging: r(
|
|
650
|
+
isPrinting: r(de),
|
|
651
|
+
isImaging: r(he),
|
|
652
652
|
uid: k.value,
|
|
653
653
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
654
654
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -659,7 +659,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
659
659
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
660
660
|
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
661
661
|
isTooltip: f.value.showTooltip,
|
|
662
|
-
isFullscreen:
|
|
662
|
+
isFullscreen: _.value,
|
|
663
663
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
664
664
|
chartElement: x.value,
|
|
665
665
|
position: e.value.userOptions.position,
|
|
@@ -679,7 +679,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
679
679
|
onToggleAnnotator: be,
|
|
680
680
|
onCopyAlt: Je,
|
|
681
681
|
style: X({
|
|
682
|
-
visibility: r(Ve) ? r(
|
|
682
|
+
visibility: r(Ve) ? r(ce) ? "visible" : "hidden" : "visible"
|
|
683
683
|
})
|
|
684
684
|
}, Ze({ _: 2 }, [
|
|
685
685
|
t.$slots.menuIcon ? {
|
|
@@ -756,10 +756,10 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
756
756
|
C("div", Il, [
|
|
757
757
|
(u(), p("svg", {
|
|
758
758
|
ref_key: "svgRef",
|
|
759
|
-
ref:
|
|
759
|
+
ref: F,
|
|
760
760
|
xmlns: r(nl),
|
|
761
761
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
762
|
-
class:
|
|
762
|
+
class: ae({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
763
763
|
viewBox: A.value.viewBox,
|
|
764
764
|
style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
765
765
|
tabindex: "0",
|
|
@@ -791,8 +791,8 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
791
791
|
C("feGaussianBlur", {
|
|
792
792
|
in: "SourceGraphic",
|
|
793
793
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
794
|
-
}, null, 8,
|
|
795
|
-
], 8,
|
|
794
|
+
}, null, 8, _l)
|
|
795
|
+
], 8, Fl)
|
|
796
796
|
]),
|
|
797
797
|
(u(!0), p(et, null, tt(V.value, (l) => (u(), p("g", null, [
|
|
798
798
|
l.value ? (u(), p("path", {
|
|
@@ -800,7 +800,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
800
800
|
d: l.path,
|
|
801
801
|
fill: "none",
|
|
802
802
|
stroke: e.value.style.chart.backgroundColor,
|
|
803
|
-
"stroke-width":
|
|
803
|
+
"stroke-width": pe(l).border,
|
|
804
804
|
"stroke-linecap": "round"
|
|
805
805
|
}, null, 8, Nl)) : h("", !0),
|
|
806
806
|
l.value ? (u(), p("path", {
|
|
@@ -808,9 +808,9 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
808
808
|
d: l.path,
|
|
809
809
|
fill: "none",
|
|
810
810
|
stroke: l.color,
|
|
811
|
-
"stroke-width":
|
|
811
|
+
"stroke-width": pe(l).path,
|
|
812
812
|
"stroke-linecap": "round",
|
|
813
|
-
class:
|
|
813
|
+
class: ae(`${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
814
814
|
}, null, 10, Bl)) : h("", !0),
|
|
815
815
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (u(), p("g", {
|
|
816
816
|
key: 2,
|
|
@@ -820,9 +820,9 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
820
820
|
d: l.path,
|
|
821
821
|
fill: "none",
|
|
822
822
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
823
|
-
"stroke-width":
|
|
823
|
+
"stroke-width": pe(l).blur,
|
|
824
824
|
"stroke-linecap": "round",
|
|
825
|
-
class:
|
|
825
|
+
class: ae(`vue-ui-galaxy-gradient ${P.value && P.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
826
826
|
}, null, 10, El)
|
|
827
827
|
], 8, Vl)) : h("", !0)
|
|
828
828
|
]))), 256)),
|
|
@@ -855,7 +855,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
855
855
|
c(t.$slots, "svg", {
|
|
856
856
|
svg: {
|
|
857
857
|
...A.value,
|
|
858
|
-
isPrintingImg: r(
|
|
858
|
+
isPrintingImg: r(de) | r(he) | Y.value,
|
|
859
859
|
isPrintingSvg: q.value
|
|
860
860
|
}
|
|
861
861
|
}, void 0, !0)
|
|
@@ -865,7 +865,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
865
865
|
])) : h("", !0)
|
|
866
866
|
]),
|
|
867
867
|
t.$slots.watermark ? (u(), p("div", Ul, [
|
|
868
|
-
c(t.$slots, "watermark", b(m({ isPrinting: r(
|
|
868
|
+
c(t.$slots, "watermark", b(m({ isPrinting: r(de) || r(he) || Y.value || q.value })), void 0, !0)
|
|
869
869
|
])) : h("", !0),
|
|
870
870
|
C("div", {
|
|
871
871
|
id: `legend-bottom-${k.value}`
|
|
@@ -889,7 +889,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
889
889
|
key: 0,
|
|
890
890
|
onClick: (v) => z(l),
|
|
891
891
|
style: X(`opacity:${g.value.includes(l.id) ? 0.5 : 1}`)
|
|
892
|
-
},
|
|
892
|
+
}, oe(l.display), 13, Wl))
|
|
893
893
|
]),
|
|
894
894
|
legendToggle: i(() => [
|
|
895
895
|
W.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !r(Z) ? (u(), $(xl, {
|
|
@@ -927,21 +927,24 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
927
927
|
position: e.value.style.chart.tooltip.position,
|
|
928
928
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
929
929
|
parent: x.value,
|
|
930
|
-
content:
|
|
931
|
-
isFullscreen:
|
|
930
|
+
content: ue.value,
|
|
931
|
+
isFullscreen: _.value,
|
|
932
932
|
isCustom: r(rt)(e.value.style.chart.tooltip.customFormat),
|
|
933
933
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
934
934
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
935
935
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
936
936
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
937
|
-
isA11yMode:
|
|
937
|
+
isA11yMode: ie.value === "keyboard",
|
|
938
938
|
a11yPosition: Le.value
|
|
939
939
|
}, {
|
|
940
940
|
"tooltip-before": i(() => [
|
|
941
|
-
c(t.$slots, "tooltip-before", b(m({ ...
|
|
941
|
+
c(t.$slots, "tooltip-before", b(m({ ...le.value })), void 0, !0)
|
|
942
|
+
]),
|
|
943
|
+
tooltip: i(() => [
|
|
944
|
+
c(t.$slots, "tooltip", b(m({ ...le.value })), void 0, !0)
|
|
942
945
|
]),
|
|
943
946
|
"tooltip-after": i(() => [
|
|
944
|
-
c(t.$slots, "tooltip-after", b(m({ ...
|
|
947
|
+
c(t.$slots, "tooltip-after", b(m({ ...le.value })), void 0, !0)
|
|
945
948
|
]),
|
|
946
949
|
_: 3
|
|
947
950
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
@@ -969,7 +972,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
969
972
|
}, null, 8, Gl)
|
|
970
973
|
]),
|
|
971
974
|
td: i(({ td: l }) => [
|
|
972
|
-
lt(
|
|
975
|
+
lt(oe(l.name || l), 1)
|
|
973
976
|
]),
|
|
974
977
|
_: 1
|
|
975
978
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
|
|
@@ -979,7 +982,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
979
982
|
e.value.table.useDialog ? {
|
|
980
983
|
name: "title",
|
|
981
984
|
fn: i(() => [
|
|
982
|
-
lt(
|
|
985
|
+
lt(oe(H.value.title), 1)
|
|
983
986
|
]),
|
|
984
987
|
key: "0"
|
|
985
988
|
} : void 0,
|
|
@@ -1006,7 +1009,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
1006
1009
|
], !0)
|
|
1007
1010
|
], 46, Pl));
|
|
1008
1011
|
}
|
|
1009
|
-
}, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-
|
|
1012
|
+
}, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-94493a3b"]]);
|
|
1010
1013
|
export {
|
|
1011
1014
|
va as default
|
|
1012
1015
|
};
|
|
@@ -3,7 +3,7 @@ import { j as kt, t as Ie, m as bt, p as Xe, n as St, o as Re, s as wt, q as H,
|
|
|
3
3
|
import { t as zt, u as Ft } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Ot, B as Pt } from "./BaseScanner-BhhkKVoj.js";
|
|
5
5
|
import { u as Mt } from "./usePrinter-CEpYU3r5.js";
|
|
6
|
-
import { u as Nt } from "./useConfig-
|
|
6
|
+
import { u as Nt } from "./useConfig-ChRble71.js";
|
|
7
7
|
import { u as It } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as ce } from "./useNestedProp-Bf5XFbs8.js";
|
|
9
9
|
import { u as Xt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
@@ -35,7 +35,7 @@ const jt = ["id"], Bt = { key: 0 }, Dt = ["xmlns", "viewBox"], Wt = ["width", "h
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["copyAlt"],
|
|
37
37
|
setup(Te, { expose: Ee, emit: Le }) {
|
|
38
|
-
const Ge = ae(() => import("./PenAndPaper-Ct3qJ4lA.js")), Ue = ae(() => import("./UserOptions-rW2fRf3V.js")), je = ae(() => import("./PackageVersion-
|
|
38
|
+
const Ge = ae(() => import("./PenAndPaper-Ct3qJ4lA.js")), Ue = ae(() => import("./UserOptions-rW2fRf3V.js")), je = ae(() => import("./PackageVersion-B3kmPxTR.js")), { vue_ui_gauge: Be } = Nt(), { isThemeValid: De, warnInvalidTheme: We } = Xt(), g = Te, Ve = Le, He = d(() => !!g.dataset && Object.keys(g.dataset).length > 0 && g.dataset.series && g.dataset.series.length), C = f(kt()), qe = f(null), ve = f(0), N = f(null), de = f(null), he = f(null), fe = f(null), ye = f(null), ge = f(0), G = f(!1), U = f(!1), e = f(Z()), me = d(() => e.value.userOptions.useCursorPointer), Ze = d(() => Ie({
|
|
39
39
|
defaultConfig: {
|
|
40
40
|
userOptions: { show: !1 },
|
|
41
41
|
style: {
|