vue-data-ui 3.3.2 → 3.3.3
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-DLi6NnGD.js → Arrow-ayTeSvpe.js} +1 -1
- package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-Cysanw8-.js} +2 -2
- package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-DG6cvf2h.js} +1 -1
- package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-CA8kKZjZ.js} +2 -2
- package/dist/{DataTable-yAMEyP6y.js → DataTable-DUpZ_s2c.js} +2 -2
- package/dist/{Legend-By4rru90.js → Legend-CCBZ2x8T.js} +2 -2
- package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-D2IMGwaN.js} +3 -3
- package/dist/{PackageVersion-r-Q1R3nV.js → PackageVersion-CQvYRebC.js} +1 -1
- package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-D9LruJaM.js} +3 -3
- package/dist/{Shape-BceHSLHf.js → Shape-BS9UGhNq.js} +1 -1
- package/dist/{Slicer-Znzt0gSE.js → Slicer-BOki89CB.js} +2 -2
- package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-svd8Hb6c.js} +1 -1
- package/dist/{Title-Camz1Lce.js → Title-B6rAo9Oz.js} +1 -1
- package/dist/{Tooltip-VOcQEHa4.js → Tooltip-DaInVNiV.js} +1 -1
- package/dist/{UserOptions-CSja1SGU.js → UserOptions-CJXSEhan.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-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-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-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-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-DxyZSvDx.js → dom-to-png-Tq92GZKA.js} +1 -1
- package/dist/{img-J2dLIr8Y.js → img-DI-W68vp.js} +1 -1
- package/dist/{lib-CEjkWSLj.js → lib-CSDxt1Zh.js} +12 -12
- package/dist/{pdf-anN8VbM7.js → pdf-BzVpWnNO.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js} +1 -1
- package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-Dh-ldrr5.js} +1 -1
- package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-Cq8Pt6Lh.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{vue-data-ui-BFdGl7rL.js → vue-data-ui-CDY7snWF.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-kzlIaqHU.js → vue-ui-3d-bar-DbpiTjGu.js} +6 -6
- package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-CaClZrCp.js} +3 -3
- package/dist/{vue-ui-age-pyramid-YFzQ15k1.js → vue-ui-age-pyramid-DuIxXz5p.js} +35 -28
- package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-C2efSKQK.js} +7 -7
- package/dist/{vue-ui-bullet-DdjpiM-T.js → vue-ui-bullet-qpcqLKmp.js} +7 -7
- package/dist/{vue-ui-candlestick-x9U5Ni0N.js → vue-ui-candlestick-DTWbbdGH.js} +38 -31
- package/dist/{vue-ui-carousel-table-CRI_iPLn.js → vue-ui-carousel-table-CCTtArFX.js} +4 -4
- package/dist/{vue-ui-chestnut-YrEA5Gq3.js → vue-ui-chestnut-CbvxJ8hy.js} +5 -5
- package/dist/{vue-ui-chord-D_2DdvpZ.js → vue-ui-chord-Cp9nyIdv.js} +8 -8
- package/dist/{vue-ui-circle-pack-xm9-OOAR.js → vue-ui-circle-pack-kHzd0UYO.js} +21 -21
- package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-DEvkJRCz.js} +2 -2
- package/dist/{vue-ui-dashboard-29ZuFoLn.js → vue-ui-dashboard-k_mz9iwy.js} +67 -67
- package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-CqWCkEu2.js} +2 -2
- package/dist/{vue-ui-donut-BQptfVfE.js → vue-ui-donut-CDKS6sVu.js} +8 -8
- package/dist/{vue-ui-donut-evolution-fiqngEFW.js → vue-ui-donut-evolution-C6cGI_P3.js} +83 -76
- package/dist/{vue-ui-dumbbell-Cw45EBO0.js → vue-ui-dumbbell-ZjJst3xs.js} +38 -31
- package/dist/{vue-ui-flow-DPu9BjPy.js → vue-ui-flow-sX1PYIkr.js} +7 -7
- package/dist/{vue-ui-funnel-CtlDuNjO.js → vue-ui-funnel--VViM9gH.js} +6 -6
- package/dist/{vue-ui-galaxy-BiVjoNHW.js → vue-ui-galaxy-Du0V9GF8.js} +7 -7
- package/dist/{vue-ui-gauge-CoM6Q3Nb.js → vue-ui-gauge-BAe4p2g-.js} +7 -7
- package/dist/{vue-ui-gizmo-DXG8dS5u.js → vue-ui-gizmo-CfjwAt38.js} +3 -3
- package/dist/{vue-ui-heatmap-D6n8AnCc.js → vue-ui-heatmap-Q0jrPM5h.js} +466 -436
- package/dist/{vue-ui-history-plot-C8WMHda_.js → vue-ui-history-plot-CLSN3mPy.js} +45 -38
- package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-CBRgXD1s.js} +3 -3
- package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-3yCeDEPK.js} +2 -2
- package/dist/{vue-ui-molecule-DC4_vXt_.js → vue-ui-molecule-Ddh4hbX0.js} +5 -5
- package/dist/{vue-ui-mood-radar-BgT5wMS0.js → vue-ui-mood-radar-CK8UF-ka.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D2gSqe1f.js → vue-ui-nested-donuts-DO0FV0tU.js} +7 -7
- package/dist/{vue-ui-onion-CEbv2ii4.js → vue-ui-onion-DXLqoj-4.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-budrvcwU.js → vue-ui-parallel-coordinate-plot-BlffHAHB.js} +45 -38
- package/dist/{vue-ui-quadrant-PpymeiXe.js → vue-ui-quadrant-pw2ALj7p.js} +8 -8
- package/dist/{vue-ui-quick-chart-k6mjTD56.js → vue-ui-quick-chart-9oGbV593.js} +214 -207
- package/dist/{vue-ui-radar-C5NvYMnv.js → vue-ui-radar-Csznqw19.js} +8 -8
- package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-C4yZY1sb.js} +2 -2
- package/dist/{vue-ui-relation-circle-Df33aaUT.js → vue-ui-relation-circle-Duxv-A4H.js} +7 -7
- package/dist/{vue-ui-ridgeline-BTw-37RS.js → vue-ui-ridgeline-B-q7J-C0.js} +45 -38
- package/dist/{vue-ui-rings-C_s9xOtZ.js → vue-ui-rings-PRAcmP1H.js} +8 -8
- package/dist/{vue-ui-scatter-Jd8bQ0S5.js → vue-ui-scatter-BLW4MJtJ.js} +8 -8
- package/dist/{vue-ui-skeleton-Ce7H57o7.js → vue-ui-skeleton-D0PF0jxa.js} +3 -3
- package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-Be44gMTh.js} +2 -2
- package/dist/{vue-ui-spark-trend-DQy4iSO7.js → vue-ui-spark-trend-B2XY2dRa.js} +3 -3
- package/dist/{vue-ui-sparkbar-CUFTHql0.js → vue-ui-sparkbar-DWQN4gvR.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CcykuBps.js → vue-ui-sparkgauge-fDhQGQ12.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CyGvYpYn.js → vue-ui-sparkhistogram-f7Acvipt.js} +4 -4
- package/dist/{vue-ui-sparkline-CLWJM6hA.js → vue-ui-sparkline-Ys3JW7Ap.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Cln1pduE.js → vue-ui-sparkstackbar-Dv0HeSna.js} +3 -3
- package/dist/{vue-ui-stackbar-DIUil9DO.js → vue-ui-stackbar-DUlN5QiM.js} +45 -30
- package/dist/{vue-ui-strip-plot-C4U0fT5D.js → vue-ui-strip-plot-DN13ntF-.js} +113 -106
- package/dist/{vue-ui-table-DpdP3PDq.js → vue-ui-table-Qb5tDX1n.js} +5 -5
- package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-hMrgJ25a.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Chf5YY4A.js → vue-ui-table-sparkline-CdkFyJjv.js} +4 -4
- package/dist/{vue-ui-thermometer-D6RmaNE6.js → vue-ui-thermometer-D7U2C7kJ.js} +7 -7
- package/dist/{vue-ui-timer-C5E1kJRt.js → vue-ui-timer-KtA4M2mV.js} +5 -5
- package/dist/{vue-ui-tiremarks-D0erVBnj.js → vue-ui-tiremarks-C6GTGszq.js} +6 -6
- package/dist/{vue-ui-treemap-K8FYxuYz.js → vue-ui-treemap-rhnl1TW9.js} +8 -8
- package/dist/{vue-ui-vertical-bar-BA3OY8Sh.js → vue-ui-vertical-bar-n_Lvbd_X.js} +9 -9
- package/dist/{vue-ui-waffle-CgLgPuro.js → vue-ui-waffle-D-4whGLN.js} +8 -8
- package/dist/{vue-ui-wheel-C_cOUhCs.js → vue-ui-wheel-D92HLjfr.js} +6 -6
- package/dist/{vue-ui-word-cloud-uvHNOIpN.js → vue-ui-word-cloud-Df9AMw6v.js} +20 -20
- package/dist/{vue-ui-world-DmeNMwpX.js → vue-ui-world-Bg9S35ug.js} +6 -6
- package/dist/{vue-ui-xy-tWE4H5ij.js → vue-ui-xy-Da6oy2rm.js} +284 -277
- package/dist/{vue-ui-xy-canvas-BQKR36bd.js → vue-ui-xy-canvas-0CLSIKpO.js} +10 -10
- package/package.json +1 -1
- package/dist/useResizeObserverEffect-DfnWps4W.js +0 -109
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as Ye, createElementBlock as
|
|
2
|
-
import { c as ge, t as
|
|
3
|
-
import { t as tt, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import { _ as il } from "./Shape-
|
|
13
|
-
import vl from "./Title-
|
|
1
|
+
import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Ft, onBeforeUnmount as Ye, watchEffect as Mt, createElementBlock as u, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as F, guardReactiveProps as M, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
|
|
2
|
+
import { c as ge, t as Bt, b as Wt, p as z, o as Ke, f as xe, g as Qe, e as Et, h as Ze, q as Gt, C as Ht, d as K, X as Ut, a as ke, L as Vt, ac as Xt, m as Yt, r as jt, z as et, D as qt, x as Jt, y as Kt, A as Qt } from "./lib-CSDxt1Zh.js";
|
|
3
|
+
import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as el, a as lt } from "./useNestedProp-Dh-ldrr5.js";
|
|
5
|
+
import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as al } from "./usePrinter-Cq8Pt6Lh.js";
|
|
7
|
+
import { u as ol } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as sl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as rl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import ul from "./img-DI-W68vp.js";
|
|
12
|
+
import { _ as il } from "./Shape-BS9UGhNq.js";
|
|
13
|
+
import vl from "./Title-B6rAo9Oz.js";
|
|
14
14
|
import { t as cl } from "./themes-Dw-dDudK.js";
|
|
15
15
|
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], _l = ["fill", "font-size", "transform"], Tl = ["fill", "font-size", "x", "y"], $l = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], zl = ["id"], Pl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Fl = { key: 0 }, Ml = ["x", "y", "font-size", "fill"], Il = {
|
|
@@ -34,14 +34,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
36
|
setup(at, { expose: ot, emit: st }) {
|
|
37
|
-
const rt = L(() => import("./Tooltip-
|
|
37
|
+
const rt = L(() => import("./Tooltip-DaInVNiV.js")), nt = L(() => import("./BaseIcon-DG6cvf2h.js")), ut = L(() => import("./vue-ui-accordion-CaClZrCp.js")), it = L(() => import("./DataTable-DUpZ_s2c.js")), vt = L(() => import("./UserOptions-CJXSEhan.js")), ct = L(() => import("./PenAndPaper-D9LruJaM.js")), ht = L(() => import("./PackageVersion-CQvYRebC.js")), dt = L(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_strip_plot: pt } = el(), x = at, ft = st, G = c({
|
|
38
38
|
get() {
|
|
39
39
|
return !!x.dataset && x.dataset.length;
|
|
40
40
|
},
|
|
41
41
|
set(t) {
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
|
-
}), Q = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading:
|
|
44
|
+
}), Q = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
|
|
45
45
|
...Nt(x),
|
|
46
46
|
FINAL_CONFIG: e,
|
|
47
47
|
prepareConfig: ve,
|
|
@@ -92,7 +92,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
92
92
|
]
|
|
93
93
|
}
|
|
94
94
|
],
|
|
95
|
-
skeletonConfig:
|
|
95
|
+
skeletonConfig: Bt({
|
|
96
96
|
defaultConfig: e.value,
|
|
97
97
|
userConfig: {
|
|
98
98
|
userOptions: { show: !1 },
|
|
@@ -131,7 +131,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
})
|
|
134
|
-
}), { userOptionsVisible:
|
|
134
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: Se, keepUserOptionState: Oe } = sl({ config: e.value }), { svgRef: ie } = rl({ config: e.value.style.chart.title });
|
|
135
135
|
function ve() {
|
|
136
136
|
const t = lt({
|
|
137
137
|
userConfig: x.config,
|
|
@@ -142,13 +142,13 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
142
142
|
userConfig: cl.vue_ui_strip_plot[t.theme] || x.config,
|
|
143
143
|
defaultConfig: t
|
|
144
144
|
}),
|
|
145
|
-
customPalette:
|
|
145
|
+
customPalette: Wt[t.theme] || z
|
|
146
146
|
} : t;
|
|
147
147
|
}
|
|
148
148
|
q(() => x.config, async (t) => {
|
|
149
|
-
se.value || (e.value = ve()),
|
|
149
|
+
se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover, ze(), Te.value += 1, $e.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
|
|
150
150
|
}, { deep: !0 }), q(() => x.dataset, (t) => {
|
|
151
|
-
Array.isArray(t) && t.length > 0 && (
|
|
151
|
+
Array.isArray(t) && t.length > 0 && (ne.value = !1);
|
|
152
152
|
}, { deep: !0 });
|
|
153
153
|
const C = Xe(null), P = Xe(null);
|
|
154
154
|
Ft(() => {
|
|
@@ -160,7 +160,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
160
160
|
componentName: "VueUiStripPlot",
|
|
161
161
|
type: "dataset",
|
|
162
162
|
debug: ce.value
|
|
163
|
-
}),
|
|
163
|
+
}), ne.value = !0) : x.dataset.forEach((t, a) => {
|
|
164
164
|
Qe({
|
|
165
165
|
datasetObject: t,
|
|
166
166
|
requiredAttributes: ["name", "plots"]
|
|
@@ -176,26 +176,26 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
176
176
|
Qe({
|
|
177
177
|
datasetObject: l,
|
|
178
178
|
requiredAttributes: ["name", "value"]
|
|
179
|
-
}).forEach((
|
|
179
|
+
}).forEach((n) => {
|
|
180
180
|
G.value = !1, xe({
|
|
181
181
|
componentName: "VueUiStripPlot",
|
|
182
182
|
type: "datasetSerieAttribute",
|
|
183
|
-
property:
|
|
183
|
+
property: n,
|
|
184
184
|
index: `${a},${o}`,
|
|
185
185
|
debug: ce.value
|
|
186
186
|
});
|
|
187
187
|
});
|
|
188
188
|
});
|
|
189
|
-
}), Ke(x.dataset) || (
|
|
189
|
+
}), Ke(x.dataset) || (ne.value = e.value.loading), e.value.responsive) {
|
|
190
190
|
const t = tt(() => {
|
|
191
|
-
const { width: a, height: l } =
|
|
191
|
+
const { width: a, height: l } = Zt({
|
|
192
192
|
chart: w.value,
|
|
193
193
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
194
194
|
source: Ae.value,
|
|
195
195
|
noTitle: Le.value
|
|
196
196
|
});
|
|
197
197
|
requestAnimationFrame(() => {
|
|
198
|
-
yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value =
|
|
198
|
+
yt.value = l, D.value = Math.max(0.1, a), A.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? B.value = qt({
|
|
199
199
|
relator: Math.min(l, a),
|
|
200
200
|
adjuster: 600,
|
|
201
201
|
source: e.value.style.chart.plots.radius,
|
|
@@ -213,11 +213,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
213
213
|
Ye(() => {
|
|
214
214
|
C.value && (P.value && C.value.unobserve(P.value), C.value.disconnect());
|
|
215
215
|
});
|
|
216
|
-
const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } =
|
|
216
|
+
const { isPrinting: Pe, isImaging: De, generatePdf: Ne, generateImage: Fe } = al({
|
|
217
217
|
elementId: `strip-plot_${Q.value}`,
|
|
218
218
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
219
219
|
options: e.value.userOptions.print
|
|
220
|
-
}), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = c(() =>
|
|
220
|
+
}), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = c(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
|
|
221
221
|
top: e.value.style.chart.padding.top,
|
|
222
222
|
bottom: e.value.style.chart.padding.bottom,
|
|
223
223
|
left: e.value.style.chart.padding.left,
|
|
@@ -241,8 +241,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
241
241
|
const he = c(() => Math.min(B.value, s.value.stripWidth / 2 * 0.9));
|
|
242
242
|
function mt() {
|
|
243
243
|
let t = 0;
|
|
244
|
-
oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o,
|
|
245
|
-
const h =
|
|
244
|
+
oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((o, n) => {
|
|
245
|
+
const h = n.getComputedTextLength();
|
|
246
246
|
return h > o ? h : o;
|
|
247
247
|
}, 0));
|
|
248
248
|
const a = ae.value ? ae.value.getBoundingClientRect().width : 0;
|
|
@@ -251,7 +251,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
251
251
|
const de = i(0), gt = tt((t) => {
|
|
252
252
|
de.value = t;
|
|
253
253
|
}, 100);
|
|
254
|
-
|
|
254
|
+
Mt((t) => {
|
|
255
|
+
const a = H.value;
|
|
256
|
+
if (!a) return;
|
|
257
|
+
const l = new ResizeObserver((o) => {
|
|
258
|
+
gt(o[0].contentRect.height);
|
|
259
|
+
});
|
|
260
|
+
l.observe(a), t(() => l.disconnect());
|
|
261
|
+
}), Ye(() => {
|
|
255
262
|
de.value = 0;
|
|
256
263
|
});
|
|
257
264
|
const xt = c(() => {
|
|
@@ -260,11 +267,11 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
260
267
|
let a = 0;
|
|
261
268
|
return H.value && (a = de.value + 12), t + a;
|
|
262
269
|
}), s = c(() => {
|
|
263
|
-
const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.value - U.value.right, o = Math.max(0, l - a),
|
|
270
|
+
const t = mt(), a = U.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = D.value - U.value.right, o = Math.max(0, l - a), n = U.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, h = A.value - U.value.bottom - xt.value, N = Math.max(0, h - n), Ve = Array.isArray(re.value) ? re.value.length : 0, Dt = Ve > 0 ? o / Ve : 0;
|
|
264
271
|
return {
|
|
265
272
|
left: a,
|
|
266
273
|
right: l,
|
|
267
|
-
top:
|
|
274
|
+
top: n,
|
|
268
275
|
bottom: h,
|
|
269
276
|
width: o,
|
|
270
277
|
height: N,
|
|
@@ -277,16 +284,16 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
277
284
|
...t,
|
|
278
285
|
id: l,
|
|
279
286
|
color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
|
|
280
|
-
plots: t.plots.map((o,
|
|
287
|
+
plots: t.plots.map((o, n) => ({
|
|
281
288
|
...o,
|
|
282
|
-
value:
|
|
289
|
+
value: Gt(o.value),
|
|
283
290
|
parentId: l,
|
|
284
291
|
parentName: t.name,
|
|
285
292
|
parentIndex: a,
|
|
286
|
-
plotIndex:
|
|
293
|
+
plotIndex: n,
|
|
287
294
|
color: t.color ? Ze(t.color) : Me.value[a] || z[a] || z[a % z.length],
|
|
288
295
|
id: ge()
|
|
289
|
-
})).sort((o,
|
|
296
|
+
})).sort((o, n) => o.value - n.value)
|
|
290
297
|
};
|
|
291
298
|
})), k = c(() => (V.value || []).map((t, a) => ({
|
|
292
299
|
...t,
|
|
@@ -300,7 +307,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
300
307
|
max: Math.max(...t),
|
|
301
308
|
min: Math.min(...t)
|
|
302
309
|
};
|
|
303
|
-
}), $ = c(() =>
|
|
310
|
+
}), $ = c(() => Ht(pe.value.min < 0 ? pe.value.min : 0, pe.value.max, e.value.style.chart.grid.scaleSteps)), wt = c(() => (k.value || []).map((t, a) => ({
|
|
304
311
|
...t,
|
|
305
312
|
plots: t.plots.map((l) => ({
|
|
306
313
|
...l,
|
|
@@ -321,7 +328,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
321
328
|
function Lt({ datapoint: t, seriesIndex: a }) {
|
|
322
329
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, f.value = t;
|
|
323
330
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
324
|
-
if (et(l) &&
|
|
331
|
+
if (et(l) && Qt(() => l({
|
|
325
332
|
seriesIndex: a,
|
|
326
333
|
datapoint: t,
|
|
327
334
|
series: V.value,
|
|
@@ -349,25 +356,25 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
349
356
|
}
|
|
350
357
|
}
|
|
351
358
|
const X = c(() => {
|
|
352
|
-
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o,
|
|
359
|
+
const t = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => ({
|
|
353
360
|
name: `${l.name} - ${o.name}`,
|
|
354
361
|
color: o.color
|
|
355
|
-
}))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o,
|
|
362
|
+
}))), a = k.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, n) => n.value - o.value).map((o) => o.value));
|
|
356
363
|
return { head: t, body: a };
|
|
357
364
|
});
|
|
358
365
|
function be(t = null) {
|
|
359
|
-
|
|
360
|
-
const a = X.value.head.map((
|
|
361
|
-
|
|
362
|
-
], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o =
|
|
363
|
-
t ? t(o) :
|
|
366
|
+
Rt(() => {
|
|
367
|
+
const a = X.value.head.map((n, h) => [[
|
|
368
|
+
n.name
|
|
369
|
+
], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
|
|
370
|
+
t ? t(o) : Kt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
364
371
|
});
|
|
365
372
|
}
|
|
366
373
|
const Y = c(() => {
|
|
367
374
|
const t = [
|
|
368
375
|
e.value.table.columnNames.series,
|
|
369
376
|
e.value.table.columnNames.value
|
|
370
|
-
], a = X.value.head.map((
|
|
377
|
+
], a = X.value.head.map((n, h) => {
|
|
371
378
|
const N = K({
|
|
372
379
|
p: e.value.style.chart.labels.prefix,
|
|
373
380
|
v: X.value.body[h],
|
|
@@ -376,8 +383,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
376
383
|
});
|
|
377
384
|
return [
|
|
378
385
|
{
|
|
379
|
-
color:
|
|
380
|
-
name:
|
|
386
|
+
color: n.color,
|
|
387
|
+
name: n.name
|
|
381
388
|
},
|
|
382
389
|
N
|
|
383
390
|
];
|
|
@@ -425,9 +432,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
425
432
|
}
|
|
426
433
|
async function Tt({ scale: t = 2 } = {}) {
|
|
427
434
|
if (!w.value) return;
|
|
428
|
-
const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri:
|
|
435
|
+
const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: h } = await ul({ domElement: w.value, base64: !0, img: !0, scale: t });
|
|
429
436
|
return {
|
|
430
|
-
imageUri:
|
|
437
|
+
imageUri: n,
|
|
431
438
|
base64: h,
|
|
432
439
|
title: e.value.style.chart.title.text,
|
|
433
440
|
width: a,
|
|
@@ -436,7 +443,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
436
443
|
};
|
|
437
444
|
}
|
|
438
445
|
const Ge = c(() => k.value.map((t) => t.name)), $t = i({ start: 0, end: k.value.length });
|
|
439
|
-
|
|
446
|
+
nl({
|
|
440
447
|
timeLabelsEls: H,
|
|
441
448
|
timeLabels: Ge,
|
|
442
449
|
slicer: $t,
|
|
@@ -452,7 +459,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
452
459
|
const W = c(() => {
|
|
453
460
|
const t = e.value.table.useDialog && !e.value.table.show, a = p.value.showTable;
|
|
454
461
|
return {
|
|
455
|
-
component: t ? dt :
|
|
462
|
+
component: t ? dt : ut,
|
|
456
463
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
457
464
|
props: t ? {
|
|
458
465
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -485,15 +492,15 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
485
492
|
function He() {
|
|
486
493
|
p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
|
|
487
494
|
}
|
|
488
|
-
const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Pt } =
|
|
495
|
+
const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: zt, getSvg: Pt } = ol({
|
|
489
496
|
svg: ie,
|
|
490
497
|
title: Ot,
|
|
491
498
|
backgroundColor: St
|
|
492
499
|
});
|
|
493
500
|
async function Ue({ isCb: t }) {
|
|
494
501
|
if (t) {
|
|
495
|
-
const { blob: a, url: l, text: o, dataUrl:
|
|
496
|
-
e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl:
|
|
502
|
+
const { blob: a, url: l, text: o, dataUrl: n } = await Pt();
|
|
503
|
+
e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
|
|
497
504
|
} else
|
|
498
505
|
zt();
|
|
499
506
|
}
|
|
@@ -509,7 +516,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
509
516
|
toggleTooltip: Ee,
|
|
510
517
|
toggleAnnotator: ye,
|
|
511
518
|
toggleFullscreen: Re
|
|
512
|
-
}), (t, a) => (r(),
|
|
519
|
+
}), (t, a) => (r(), u("div", {
|
|
513
520
|
ref_key: "stripPlotChart",
|
|
514
521
|
ref: w,
|
|
515
522
|
class: E(`vue-data-ui-component vue-ui-strip-plot ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -526,14 +533,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
526
533
|
active: j.value,
|
|
527
534
|
onClose: ye
|
|
528
535
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
529
|
-
bt.value ? (r(),
|
|
536
|
+
bt.value ? (r(), u("div", {
|
|
530
537
|
key: 1,
|
|
531
538
|
ref_key: "noTitle",
|
|
532
539
|
ref: Le,
|
|
533
540
|
class: "vue-data-ui-no-title-space",
|
|
534
541
|
style: "height:36px; width: 100%;background:transparent"
|
|
535
542
|
}, null, 512)) : d("", !0),
|
|
536
|
-
e.value.style.chart.title.text ? (r(),
|
|
543
|
+
e.value.style.chart.title.text ? (r(), u("div", {
|
|
537
544
|
key: 2,
|
|
538
545
|
ref_key: "chartTitle",
|
|
539
546
|
ref: Ce,
|
|
@@ -553,7 +560,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
553
560
|
}
|
|
554
561
|
}, null, 8, ["config"]))
|
|
555
562
|
], 512)) : d("", !0),
|
|
556
|
-
e.value.userOptions.show && G.value && (v(Oe) || v(
|
|
563
|
+
e.value.userOptions.show && G.value && (v(Oe) || v(ue)) ? (r(), O(v(vt), {
|
|
557
564
|
ref_key: "userOptionsRef",
|
|
558
565
|
ref: te,
|
|
559
566
|
key: `user_option_${we.value}`,
|
|
@@ -590,7 +597,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
590
597
|
onToggleTooltip: Ee,
|
|
591
598
|
onToggleAnnotator: ye,
|
|
592
599
|
style: J({
|
|
593
|
-
visibility: v(Oe) ? v(
|
|
600
|
+
visibility: v(Oe) ? v(ue) ? "visible" : "hidden" : "visible"
|
|
594
601
|
})
|
|
595
602
|
}, je({ _: 2 }, [
|
|
596
603
|
t.$slots.menuIcon ? {
|
|
@@ -657,16 +664,16 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
657
664
|
key: "8"
|
|
658
665
|
} : void 0
|
|
659
666
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
660
|
-
(r(),
|
|
667
|
+
(r(), u("svg", {
|
|
661
668
|
ref_key: "svgRef",
|
|
662
669
|
ref: ie,
|
|
663
|
-
xmlns: v(
|
|
670
|
+
xmlns: v(Ut),
|
|
664
671
|
class: E({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
665
672
|
viewBox: `0 0 ${D.value} ${A.value}`,
|
|
666
673
|
style: J(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
667
674
|
}, [
|
|
668
675
|
me(v(ht)),
|
|
669
|
-
t.$slots["chart-background"] ? (r(),
|
|
676
|
+
t.$slots["chart-background"] ? (r(), u("foreignObject", {
|
|
670
677
|
key: 0,
|
|
671
678
|
x: s.value.left,
|
|
672
679
|
y: s.value.top,
|
|
@@ -678,9 +685,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
678
685
|
}, [
|
|
679
686
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
680
687
|
], 8, fl)) : d("", !0),
|
|
681
|
-
e.value.style.chart.grid.show ? (r(),
|
|
682
|
-
e.value.style.chart.grid.horizontalGrid.show ? (r(),
|
|
683
|
-
(r(!0),
|
|
688
|
+
e.value.style.chart.grid.show ? (r(), u("g", bl, [
|
|
689
|
+
e.value.style.chart.grid.horizontalGrid.show ? (r(), u("g", yl, [
|
|
690
|
+
(r(!0), u(g, null, _(Ie.value, (l) => (r(), u("line", {
|
|
684
691
|
x1: l.x1,
|
|
685
692
|
x2: l.x2,
|
|
686
693
|
y1: l.y,
|
|
@@ -691,8 +698,8 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
691
698
|
"stroke-linecap": "round"
|
|
692
699
|
}, null, 8, ml))), 256))
|
|
693
700
|
])) : d("", !0),
|
|
694
|
-
e.value.style.chart.grid.verticalGrid.show ? (r(),
|
|
695
|
-
(r(!0),
|
|
701
|
+
e.value.style.chart.grid.verticalGrid.show ? (r(), u("g", gl, [
|
|
702
|
+
(r(!0), u(g, null, _(k.value, (l, o) => (r(), u("line", {
|
|
696
703
|
x1: s.value.left + (o + 1) * s.value.stripWidth,
|
|
697
704
|
x2: s.value.left + (o + 1) * s.value.stripWidth,
|
|
698
705
|
y1: s.value.top,
|
|
@@ -722,12 +729,12 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
722
729
|
"stroke-linecap": "round"
|
|
723
730
|
}, null, 8, wl)
|
|
724
731
|
])) : d("", !0),
|
|
725
|
-
e.value.style.chart.labels.yAxisLabels.show ? (r(),
|
|
732
|
+
e.value.style.chart.labels.yAxisLabels.show ? (r(), u("g", {
|
|
726
733
|
key: 2,
|
|
727
734
|
ref_key: "scaleLabels",
|
|
728
735
|
ref: oe
|
|
729
736
|
}, [
|
|
730
|
-
(r(!0),
|
|
737
|
+
(r(!0), u(g, null, _(Ie.value, (l, o) => (r(), u("text", {
|
|
731
738
|
x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
|
|
732
739
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
733
740
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
@@ -745,28 +752,28 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
745
752
|
{ datapoint: l, seriesIndex: o }
|
|
746
753
|
)), 9, Cl))), 256))
|
|
747
754
|
], 512)) : d("", !0),
|
|
748
|
-
e.value.style.chart.labels.xAxisLabels.show ? (r(),
|
|
755
|
+
e.value.style.chart.labels.xAxisLabels.show ? (r(), u("g", {
|
|
749
756
|
key: 3,
|
|
750
757
|
ref_key: "timeLabelsEls",
|
|
751
758
|
ref: H
|
|
752
759
|
}, [
|
|
753
|
-
(r(!0),
|
|
760
|
+
(r(!0), u(g, null, _(Ge.value, (l, o) => (r(), u("g", null, [
|
|
754
761
|
String(l).includes(`
|
|
755
|
-
`) ? (r(),
|
|
762
|
+
`) ? (r(), u("text", {
|
|
756
763
|
key: 1,
|
|
757
764
|
class: "vue-ui-strip-plot-category-name",
|
|
758
765
|
transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
759
766
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
760
767
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
761
768
|
"text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
762
|
-
innerHTML: v(
|
|
763
|
-
content: v(
|
|
769
|
+
innerHTML: v(Vt)({
|
|
770
|
+
content: v(Xt)(String(l)),
|
|
764
771
|
fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
765
772
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
766
773
|
x: 0,
|
|
767
774
|
y: 0
|
|
768
775
|
})
|
|
769
|
-
}, null, 8, Ll)) : (r(),
|
|
776
|
+
}, null, 8, Ll)) : (r(), u("text", {
|
|
770
777
|
key: 0,
|
|
771
778
|
class: "vue-ui-strip-plot-category-name",
|
|
772
779
|
transform: `translate(${s.value.left + (o + 1) * s.value.stripWidth - s.value.stripWidth / 2}, ${s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
|
|
@@ -776,7 +783,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
776
783
|
}, T(String(l)), 9, Al))
|
|
777
784
|
]))), 256))
|
|
778
785
|
], 512)) : d("", !0),
|
|
779
|
-
e.value.style.chart.labels.axis.yLabel ? (r(),
|
|
786
|
+
e.value.style.chart.labels.axis.yLabel ? (r(), u("text", {
|
|
780
787
|
key: 4,
|
|
781
788
|
ref_key: "yAxisLabel",
|
|
782
789
|
ref: ae,
|
|
@@ -785,7 +792,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
785
792
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
|
|
786
793
|
"text-anchor": "middle"
|
|
787
794
|
}, T(e.value.style.chart.labels.axis.yLabel), 9, _l)) : d("", !0),
|
|
788
|
-
e.value.style.chart.labels.axis.xLabel ? (r(),
|
|
795
|
+
e.value.style.chart.labels.axis.xLabel ? (r(), u("text", {
|
|
789
796
|
key: 5,
|
|
790
797
|
ref_key: "xAxisLabel",
|
|
791
798
|
ref: le,
|
|
@@ -795,7 +802,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
795
802
|
y: A.value - e.value.style.chart.labels.axis.fontSize / 3,
|
|
796
803
|
"text-anchor": "middle"
|
|
797
804
|
}, T(e.value.style.chart.labels.axis.xLabel), 9, Tl)) : d("", !0),
|
|
798
|
-
f.value ? (r(),
|
|
805
|
+
f.value ? (r(), u(g, { key: 6 }, [
|
|
799
806
|
m("line", {
|
|
800
807
|
x1: s.value.left,
|
|
801
808
|
x2: s.value.right,
|
|
@@ -821,17 +828,17 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
821
828
|
}, null, 10, Ol)
|
|
822
829
|
], 64)) : d("", !0),
|
|
823
830
|
m("defs", null, [
|
|
824
|
-
(r(!0),
|
|
831
|
+
(r(!0), u(g, null, _(k.value, (l) => (r(), u("radialGradient", {
|
|
825
832
|
id: l.id,
|
|
826
833
|
fy: "30%"
|
|
827
834
|
}, [
|
|
828
835
|
m("stop", {
|
|
829
836
|
offset: "10%",
|
|
830
|
-
"stop-color": v(
|
|
837
|
+
"stop-color": v(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
831
838
|
}, null, 8, Pl),
|
|
832
839
|
m("stop", {
|
|
833
840
|
offset: "90%",
|
|
834
|
-
"stop-color": v(
|
|
841
|
+
"stop-color": v(jt)(l.color, 0.1)
|
|
835
842
|
}, null, 8, Dl),
|
|
836
843
|
m("stop", {
|
|
837
844
|
offset: "100%",
|
|
@@ -839,50 +846,50 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
839
846
|
}, null, 8, Nl)
|
|
840
847
|
], 8, zl))), 256))
|
|
841
848
|
]),
|
|
842
|
-
(r(!0),
|
|
843
|
-
(r(!0),
|
|
844
|
-
plot: { x:
|
|
845
|
-
radius: f.value && f.value.id ===
|
|
849
|
+
(r(!0), u(g, null, _(wt.value, (l, o) => (r(), u(g, null, [
|
|
850
|
+
(r(!0), u(g, null, _(l.plots, (n, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
|
|
851
|
+
plot: { x: n.x, y: _e.value ? n.y : s.value.top },
|
|
852
|
+
radius: f.value && f.value.id === n.id ? he.value * 1.5 : he.value,
|
|
846
853
|
shape: e.value.style.chart.plots.shape,
|
|
847
854
|
stroke: e.value.style.chart.plots.stroke,
|
|
848
855
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
849
856
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
850
|
-
style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id ===
|
|
857
|
+
style: `transition: all 0.2s ease-in-out; opacity:${f.value ? f.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${R.value ? `transition-delay:${h * 50}ms` : ""}`,
|
|
851
858
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && R.value && !v(se), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !R.value },
|
|
852
|
-
onMouseenter: (N) => Lt({ datapoint:
|
|
853
|
-
onMouseleave: (N) => Ct({ datapoint:
|
|
854
|
-
onClick: (N) => At({ datapoint:
|
|
859
|
+
onMouseenter: (N) => Lt({ datapoint: n, seriesIndex: h }),
|
|
860
|
+
onMouseleave: (N) => Ct({ datapoint: n, seriesIndex: h }),
|
|
861
|
+
onClick: (N) => At({ datapoint: n, seriesIndex: h })
|
|
855
862
|
}), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
|
|
856
|
-
p.value.dataLabels.show ? (r(),
|
|
857
|
-
(r(!0),
|
|
858
|
-
h === l.plots.length - 1 || f.value && f.value.id ===
|
|
863
|
+
p.value.dataLabels.show ? (r(), u("g", Fl, [
|
|
864
|
+
(r(!0), u(g, null, _(l.plots, (n, h) => (r(), u(g, null, [
|
|
865
|
+
h === l.plots.length - 1 || f.value && f.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
|
|
859
866
|
key: 0,
|
|
860
|
-
x:
|
|
861
|
-
y:
|
|
867
|
+
x: n.x,
|
|
868
|
+
y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - he.value * (f.value && f.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
|
|
862
869
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
863
870
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
864
871
|
"text-anchor": "middle",
|
|
865
872
|
style: J(`opacity:${e.value.useCssAnimation && R.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
866
|
-
}, T(
|
|
873
|
+
}, T(n.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
|
|
867
874
|
e.value.style.chart.labels.formatter,
|
|
868
|
-
|
|
875
|
+
n.value,
|
|
869
876
|
v(K)({
|
|
870
877
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
871
|
-
v:
|
|
878
|
+
v: n.value,
|
|
872
879
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
873
880
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
874
881
|
}),
|
|
875
|
-
{ datapoint:
|
|
882
|
+
{ datapoint: n, seriesIndex: h }
|
|
876
883
|
) : ""), 13, Ml)) : d("", !0)
|
|
877
884
|
], 64))), 256))
|
|
878
885
|
])) : d("", !0)
|
|
879
886
|
], 64))), 256)),
|
|
880
887
|
y(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
881
888
|
], 14, pl)),
|
|
882
|
-
t.$slots.watermark ? (r(),
|
|
889
|
+
t.$slots.watermark ? (r(), u("div", Il, [
|
|
883
890
|
y(t.$slots, "watermark", F(M({ isPrinting: v(Pe) || v(De) })), void 0, !0)
|
|
884
891
|
])) : d("", !0),
|
|
885
|
-
t.$slots.source ? (r(),
|
|
892
|
+
t.$slots.source ? (r(), u("div", {
|
|
886
893
|
key: 5,
|
|
887
894
|
ref_key: "source",
|
|
888
895
|
ref: Ae,
|
|
@@ -918,7 +925,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
918
925
|
]),
|
|
919
926
|
_: 3
|
|
920
927
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
921
|
-
G.value && e.value.userOptions.buttons.table ? (r(), O(
|
|
928
|
+
G.value && e.value.userOptions.buttons.table ? (r(), O(It(W.value.component), qe({ key: 6 }, W.value.props, {
|
|
922
929
|
ref_key: "tableUnit",
|
|
923
930
|
ref: I,
|
|
924
931
|
onClose: He
|
|
@@ -963,7 +970,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
963
970
|
class: "vue-ui-user-options-button",
|
|
964
971
|
onClick: a[0] || (a[0] = (l) => be(e.value.userOptions.callbacks.csv))
|
|
965
972
|
}, [
|
|
966
|
-
me(v(
|
|
973
|
+
me(v(nt), {
|
|
967
974
|
name: "excel",
|
|
968
975
|
stroke: W.value.props.color
|
|
969
976
|
}, null, 8, ["stroke"])
|
|
@@ -972,10 +979,10 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
972
979
|
key: "1"
|
|
973
980
|
} : void 0
|
|
974
981
|
]), 1040)) : d("", !0),
|
|
975
|
-
v(se) ? (r(), O(
|
|
982
|
+
v(se) ? (r(), O(ll, { key: 7 })) : d("", !0)
|
|
976
983
|
], 46, dl));
|
|
977
984
|
}
|
|
978
|
-
}, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-
|
|
985
|
+
}, ta = /* @__PURE__ */ hl(Bl, [["__scopeId", "data-v-20847046"]]);
|
|
979
986
|
export {
|
|
980
987
|
ta as default
|
|
981
988
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a2 as Y, t as W, m as G, y as J, d as K, r as Z, x as q, a6 as Q, h as $, E as ee, s as E, p as te } from "./lib-
|
|
2
|
-
import { u as se } from "./useNestedProp-
|
|
3
|
-
import ne from "./vue-ui-xy-
|
|
4
|
-
import re from "./vue-ui-donut-
|
|
5
|
-
import le from "./BaseIcon-
|
|
1
|
+
import { a2 as Y, t as W, m as G, y as J, d as K, r as Z, x as q, a6 as Q, h as $, E as ee, s as E, p as te } from "./lib-CSDxt1Zh.js";
|
|
2
|
+
import { u as se } from "./useNestedProp-Dh-ldrr5.js";
|
|
3
|
+
import ne from "./vue-ui-xy-Da6oy2rm.js";
|
|
4
|
+
import re from "./vue-ui-donut-CDKS6sVu.js";
|
|
5
|
+
import le from "./BaseIcon-DG6cvf2h.js";
|
|
6
6
|
import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, withDirectives as O, withKeys as L, withModifiers as S, vModelText as A, createVNode as P, Fragment as C, renderList as k, normalizeClass as p, createTextVNode as _, vModelSelect as H, createBlock as R, ref as oe, computed as ae, useCssVars as ie } from "vue";
|
|
7
7
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const D = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as U, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as z, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
-
import { c as A, o as de, f as pe, a3 as ce, E as ve, a0 as me, x as fe, y as he } from "./lib-
|
|
3
|
-
import { u as ge, a as H } from "./useNestedProp-
|
|
4
|
-
import { u as be } from "./usePrinter-
|
|
2
|
+
import { c as A, o as de, f as pe, a3 as ce, E as ve, a0 as me, x as fe, y as he } from "./lib-CSDxt1Zh.js";
|
|
3
|
+
import { u as ge, a as H } from "./useNestedProp-Dh-ldrr5.js";
|
|
4
|
+
import { u as be } from "./usePrinter-Cq8Pt6Lh.js";
|
|
5
5
|
import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { t as Ce } from "./themes-Dw-dDudK.js";
|
|
7
|
-
import { _ as ke } from "./Shape-
|
|
7
|
+
import { _ as ke } from "./Shape-BS9UGhNq.js";
|
|
8
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
|
|
10
10
|
key: 0,
|
|
@@ -46,7 +46,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
46
46
|
cea75ac0: ee.value,
|
|
47
47
|
v98a6fd0a: j.value
|
|
48
48
|
}));
|
|
49
|
-
const X = oe(() => import("./UserOptions-
|
|
49
|
+
const X = oe(() => import("./UserOptions-CJXSEhan.js")), { vue_ui_table_heatmap: W } = ge(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
50
50
|
U(() => {
|
|
51
51
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
52
52
|
});
|