vue-data-ui 3.2.6 → 3.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-5qR9AVYq.js → PackageVersion-C40g0Rfc.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-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-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/style.css +1 -1
- package/dist/{vue-data-ui-Djpo8FBy.js → vue-data-ui-BcRg499t.js} +62 -62
- package/dist/vue-data-ui.js +62 -62
- package/dist/{vue-ui-3d-bar-BdUUurQF.js → vue-ui-3d-bar-Cf7zHemQ.js} +3 -3
- package/dist/{vue-ui-accordion-C1OLvrea.js → vue-ui-accordion-CDIzGCG1.js} +20 -20
- package/dist/{vue-ui-age-pyramid-DmBRe5xH.js → vue-ui-age-pyramid-T09D0LHr.js} +3 -3
- package/dist/{vue-ui-annotator-BVdVOPF6.js → vue-ui-annotator-3bUg-1Zy.js} +3 -3
- package/dist/{vue-ui-bullet-C9JRu4NQ.js → vue-ui-bullet-DKgdFa2v.js} +3 -3
- package/dist/{vue-ui-candlestick--6CJDlW4.js → vue-ui-candlestick-g6PO_L_7.js} +3 -3
- package/dist/{vue-ui-carousel-table-DyuUDRR6.js → vue-ui-carousel-table-Ch2xooE8.js} +3 -3
- package/dist/{vue-ui-chestnut-CPFwRmpE.js → vue-ui-chestnut-B-nzp0b6.js} +4 -4
- package/dist/{vue-ui-chord-Dpkeaur6.js → vue-ui-chord-BqS8DoTd.js} +4 -3
- package/dist/{vue-ui-circle-pack-BennEsLy.js → vue-ui-circle-pack-B1axDP9l.js} +5 -5
- package/dist/{vue-ui-dashboard-D9JZVdHy.js → vue-ui-dashboard-TXcw45j_.js} +67 -66
- package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-pW7YVqxy.js} +8 -8
- package/dist/{vue-ui-donut-C36gley-.js → vue-ui-donut-BFpWEe2s.js} +3 -3
- package/dist/{vue-ui-donut-evolution-Cx_7Wi1t.js → vue-ui-donut-evolution-BoVslTri.js} +3 -3
- package/dist/{vue-ui-dumbbell-DFLWlWUJ.js → vue-ui-dumbbell-CRHvtmq9.js} +3 -3
- package/dist/{vue-ui-flow-sdg4P5gg.js → vue-ui-flow-CKGjSZoj.js} +50 -50
- package/dist/{vue-ui-funnel-Ctnlll1a.js → vue-ui-funnel-CKUlzitM.js} +51 -51
- package/dist/{vue-ui-galaxy-GWCCkX_k.js → vue-ui-galaxy-DZqCAK9c.js} +3 -3
- package/dist/{vue-ui-gauge-CXMQuWfj.js → vue-ui-gauge-D3bPFF59.js} +3 -3
- package/dist/{vue-ui-gizmo-k3BfWb5b.js → vue-ui-gizmo-oVLp367W.js} +16 -16
- package/dist/{vue-ui-heatmap-BVlD1EIN.js → vue-ui-heatmap-C1RctcPx.js} +5 -5
- package/dist/{vue-ui-history-plot-C1_5vtsJ.js → vue-ui-history-plot-CoQYOlF4.js} +84 -84
- package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-BZX-tqIm.js} +2 -2
- package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-hMqB-KQI.js} +17 -17
- package/dist/{vue-ui-molecule-WUR-7dEU.js → vue-ui-molecule-D0Kr_w-v.js} +4 -4
- package/dist/{vue-ui-mood-radar-BRR6mQHI.js → vue-ui-mood-radar-C6UCofDb.js} +3 -3
- package/dist/{vue-ui-nested-donuts-DAjxc3x7.js → vue-ui-nested-donuts-94Gu95Z9.js} +3 -3
- package/dist/{vue-ui-onion-CSavM_BP.js → vue-ui-onion-Dy_aTvGI.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BEbszAHE.js → vue-ui-parallel-coordinate-plot-D_oo5lQW.js} +3 -3
- package/dist/{vue-ui-quadrant-DPgncxZQ.js → vue-ui-quadrant-CRYpRl_q.js} +3 -3
- package/dist/{vue-ui-quick-chart-CtN8WFnA.js → vue-ui-quick-chart-B1s047tz.js} +3 -3
- package/dist/{vue-ui-radar-KbCqEit5.js → vue-ui-radar-DA7EuchK.js} +3 -3
- package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-z2bsnprP.js} +2 -2
- package/dist/{vue-ui-relation-circle-CCBM5wgz.js → vue-ui-relation-circle-DZ8IiUNu.js} +6 -6
- package/dist/{vue-ui-ridgeline-CL_3ByuI.js → vue-ui-ridgeline-5IWuJgs6.js} +3 -3
- package/dist/{vue-ui-rings-DfLmYMcP.js → vue-ui-rings-gY2f8mVf.js} +3 -3
- package/dist/{vue-ui-scatter-DMbolDeN.js → vue-ui-scatter-OLidvHlx.js} +3 -3
- package/dist/{vue-ui-skeleton-BYXvBTUe.js → vue-ui-skeleton-BaysGsg0.js} +104 -104
- package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-Dn2IR0oC.js} +87 -87
- package/dist/{vue-ui-spark-trend-C1UpWIDp.js → vue-ui-spark-trend-gp5B9uF7.js} +3 -3
- package/dist/{vue-ui-sparkbar-DwXV0oNn.js → vue-ui-sparkbar-8t63RYc7.js} +28 -28
- package/dist/{vue-ui-sparkgauge-CZNlg3nw.js → vue-ui-sparkgauge-BWSykUpn.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-CXJxaEgj.js → vue-ui-sparkhistogram-BEjxKMG5.js} +4 -4
- package/dist/{vue-ui-sparkline-DQEinDMl.js → vue-ui-sparkline-bFF-ZCCH.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-D-9dj2ZF.js → vue-ui-sparkstackbar-HtAlEtzK.js} +3 -3
- package/dist/{vue-ui-stackbar-DKAXnHbn.js → vue-ui-stackbar-CUIWPgfk.js} +3 -3
- package/dist/{vue-ui-strip-plot-AzK7kFIo.js → vue-ui-strip-plot-DwS52yGc.js} +3 -3
- package/dist/{vue-ui-table-BKANEUCO.js → vue-ui-table-BYqPx7k4.js} +13 -13
- package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-CRfjUoa1.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DclProaH.js → vue-ui-table-sparkline-Bvf0ZBOi.js} +4 -4
- package/dist/{vue-ui-thermometer-C2t96ChB.js → vue-ui-thermometer-BB7cHec0.js} +6 -6
- package/dist/{vue-ui-timer-BOIDckAe.js → vue-ui-timer-BVDKvC4v.js} +3 -3
- package/dist/{vue-ui-tiremarks-BKDEmrdG.js → vue-ui-tiremarks-CBVuu_Zi.js} +3 -3
- package/dist/{vue-ui-treemap-CPVCUhJQ.js → vue-ui-treemap-nGgRTw0l.js} +3 -3
- package/dist/{vue-ui-vertical-bar-CpzyHTRu.js → vue-ui-vertical-bar-BJOm2JQh.js} +5 -5
- package/dist/{vue-ui-waffle-svcjPH6f.js → vue-ui-waffle-aCMPaHbw.js} +3 -3
- package/dist/{vue-ui-wheel-Bsrxyhbo.js → vue-ui-wheel-D_q23eOk.js} +34 -34
- package/dist/{vue-ui-word-cloud-DTXolazg.js → vue-ui-word-cloud-C7TMR4Zq.js} +4 -4
- package/dist/{vue-ui-world-BQYgaqx3.js → vue-ui-world-DtMYYQ6T.js} +3 -3
- package/dist/{vue-ui-xy-DB5_PACt.js → vue-ui-xy-Dputm9QT.js} +4 -4
- package/dist/{vue-ui-xy-canvas-JwLwOxS-.js → vue-ui-xy-canvas-BCeQoXNM.js} +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as
|
|
1
|
+
import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as L, normalizeClass as D, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as de, createSlots as He, withCtx as m, normalizeProps as R, guardReactiveProps as B, Fragment as b, renderList as g, toDisplayString as T, Teleport as It, resolveDynamicComponent as Pt, mergeProps as Dt, createTextVNode as We, nextTick as Ft } from "vue";
|
|
2
2
|
import { c as je, o as Ue, f as Ge, g as Xt, t as Rt, e as Bt, h as Yt, p as Q, C as Ve, a as Y, d as E, X as Et, m as Ht, r as Wt, L as jt, E as Ut, D as F, b as Gt, B as ee, x as Vt, y as qt, z as Zt } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as qe, u as Jt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Kt, a as Ze } from "./useNestedProp-BOk-tPdu.js";
|
|
@@ -10,8 +10,8 @@ import { u as sl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
|
10
10
|
import ol from "./img-DjWwQXVS.js";
|
|
11
11
|
import rl from "./Title-DG2nloSB.js";
|
|
12
12
|
import { t as nl } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
13
|
+
import ul from "./Legend-BpoFJ8fc.js";
|
|
14
|
+
import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], yl = { key: 1 }, fl = ["id"], xl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = { key: 2 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = { key: 3 }, wl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "font-weight"], _l = { key: 6 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 7 }, Sl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Tl = ["transform", "fill", "font-size", "text-anchor"], Ml = ["x", "y", "font-size", "fill", "font-weight"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width"], Pl = ["cx", "cy", "fill", "r"], Dl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Fl = { key: 1 }, Xl = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Bl = { key: 2 }, Yl = ["x", "y", "font-size", "font-weight", "fill"], El = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Hl = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
@@ -33,7 +33,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
35
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
36
|
-
const et = O(() => import("./Tooltip-BOXz8skU.js")), tt = O(() => import("./BaseIcon-Bz-1GQhu.js")), lt = O(() => import("./vue-ui-accordion-
|
|
36
|
+
const et = O(() => import("./Tooltip-BOXz8skU.js")), tt = O(() => import("./BaseIcon-Bz-1GQhu.js")), lt = O(() => import("./vue-ui-accordion-CDIzGCG1.js")), at = O(() => import("./DataTable-BvjacRbw.js")), st = O(() => import("./PenAndPaper-CR8q353D.js")), ot = O(() => import("./UserOptions-DsTgvAok.js")), rt = O(() => import("./PackageVersion-C40g0Rfc.js")), nt = O(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_history_plot: ut } = Kt(), d = Je, $ = v(null), ye = v(null), fe = v(0), xe = v(null), pe = v(0), me = v(0), be = v(0), M = Ee(null), X = Ee(null), ge = v(null), S = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), ke = v(null), we = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = y({
|
|
37
37
|
get: () => !!d.dataset && d.dataset.length,
|
|
38
38
|
set: (t) => t
|
|
39
39
|
}), Ce = Qe;
|
|
@@ -46,7 +46,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
46
46
|
componentName: "VueUiHistoryPlot",
|
|
47
47
|
type: "dataset",
|
|
48
48
|
debug: Ae.value
|
|
49
|
-
}),
|
|
49
|
+
}), ue.value = !0) : d.dataset.forEach((t, a) => {
|
|
50
50
|
Xt({
|
|
51
51
|
datasetObject: t,
|
|
52
52
|
requiredAttributes: ["name", "values"]
|
|
@@ -59,7 +59,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
59
59
|
debug: Ae.value
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
|
-
}), Ue(d.dataset) || (
|
|
62
|
+
}), Ue(d.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
63
63
|
const t = qe(() => {
|
|
64
64
|
const { width: a, height: l } = Jt({
|
|
65
65
|
chart: $.value,
|
|
@@ -123,7 +123,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
123
123
|
function ne() {
|
|
124
124
|
const t = Ze({
|
|
125
125
|
userConfig: d.config,
|
|
126
|
-
defaultConfig:
|
|
126
|
+
defaultConfig: ut
|
|
127
127
|
});
|
|
128
128
|
let a = {};
|
|
129
129
|
return t.theme ? a = {
|
|
@@ -134,7 +134,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
134
134
|
customPalette: Gt[t.theme] || Q
|
|
135
135
|
} : a = t, d.config && ee(d.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = d.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, d.config && ee(d.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = d.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, d.config && ee(d.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = d.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, d.config && ee(d.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = d.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
136
136
|
}
|
|
137
|
-
const e = v(ne()), { loading: z, FINAL_DATASET:
|
|
137
|
+
const e = v(ne()), { loading: z, FINAL_DATASET: it, manualLoading: ue } = Qt({
|
|
138
138
|
...Nt(d),
|
|
139
139
|
FINAL_CONFIG: e,
|
|
140
140
|
prepareConfig: ne,
|
|
@@ -202,11 +202,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
})
|
|
205
|
-
}), { userOptionsVisible:
|
|
205
|
+
}), { userOptionsVisible: ie, setUserOptionsVisibility: Le, keepUserOptionState: $e } = ll({ config: e.value }), { svgRef: Se } = al({ config: e.value.style.chart.title });
|
|
206
206
|
K(() => d.config, (t) => {
|
|
207
|
-
z.value || (e.value = ne()),
|
|
207
|
+
z.value || (e.value = ne()), ie.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1, me.value += 1, pe.value += 1, f.value.height = e.value.style.chart.height, f.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
208
208
|
}, { deep: !0 }), K(() => d.dataset, (t) => {
|
|
209
|
-
Array.isArray(t) && t.length > 0 && (
|
|
209
|
+
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
210
210
|
}, { deep: !0 });
|
|
211
211
|
const { isPrinting: Te, isImaging: Me, generatePdf: ze, generateImage: Ne } = tl({
|
|
212
212
|
elementId: `history_plot_${S.value}`,
|
|
@@ -228,9 +228,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
228
228
|
}), ht = y(() => f.value.width), dt = y(() => f.value.height);
|
|
229
229
|
function yt() {
|
|
230
230
|
let t = 0;
|
|
231
|
-
re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((
|
|
231
|
+
re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((u, s) => {
|
|
232
232
|
const k = s.getComputedTextLength();
|
|
233
|
-
return k >
|
|
233
|
+
return k > u ? k : u;
|
|
234
234
|
}, 0));
|
|
235
235
|
const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
|
|
236
236
|
return t + a + (a ? 24 : 0);
|
|
@@ -241,8 +241,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
241
241
|
Ot((t) => {
|
|
242
242
|
const a = G.value;
|
|
243
243
|
if (!a) return;
|
|
244
|
-
const l = new ResizeObserver((
|
|
245
|
-
ft(
|
|
244
|
+
const l = new ResizeObserver((u) => {
|
|
245
|
+
ft(u[0].contentRect.height);
|
|
246
246
|
});
|
|
247
247
|
l.observe(a), t(() => l.disconnect());
|
|
248
248
|
});
|
|
@@ -252,14 +252,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
252
252
|
let a = 0;
|
|
253
253
|
return G.value && (a = Oe.value), t + a;
|
|
254
254
|
}), c = y(() => {
|
|
255
|
-
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(),
|
|
255
|
+
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(), u = e.value.style.chart.plots.radius;
|
|
256
256
|
return {
|
|
257
257
|
left: t + l + e.value.style.chart.axes.y.name.offsetX,
|
|
258
|
-
top: a +
|
|
259
|
-
right: f.value.width - e.value.style.chart.padding.right -
|
|
260
|
-
bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value -
|
|
261
|
-
width: f.value.width - t - e.value.style.chart.padding.right - l -
|
|
262
|
-
height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value -
|
|
258
|
+
top: a + u,
|
|
259
|
+
right: f.value.width - e.value.style.chart.padding.right - u - e.value.style.chart.axes.y.name.offsetX,
|
|
260
|
+
bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value - u - e.value.style.chart.axes.x.name.offsetY,
|
|
261
|
+
width: f.value.width - t - e.value.style.chart.padding.right - l - u - e.value.style.chart.axes.y.name.offsetX,
|
|
262
|
+
height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value - u * 2 - e.value.style.chart.axes.x.name.offsetY
|
|
263
263
|
};
|
|
264
264
|
}), n = v({
|
|
265
265
|
plots: e.value.style.chart.plots.radius,
|
|
@@ -269,7 +269,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
269
269
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
270
270
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
271
271
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
272
|
-
}), N = y(() =>
|
|
272
|
+
}), N = y(() => it.value.map((t, a) => ({
|
|
273
273
|
...t,
|
|
274
274
|
color: t.color ? Yt(t.color) : vt.value[a] || Q[a] || Q[a % Q.length],
|
|
275
275
|
seriesIndex: a
|
|
@@ -324,11 +324,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
324
324
|
color: t.color,
|
|
325
325
|
seriesName: t.name,
|
|
326
326
|
id: je()
|
|
327
|
-
})),
|
|
327
|
+
})), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
328
328
|
return {
|
|
329
329
|
...t,
|
|
330
330
|
plots: l,
|
|
331
|
-
path: `M${
|
|
331
|
+
path: `M${u}`
|
|
332
332
|
};
|
|
333
333
|
}));
|
|
334
334
|
function Pe(t) {
|
|
@@ -367,10 +367,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
367
367
|
}
|
|
368
368
|
function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
369
369
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ce.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, A.value = t;
|
|
370
|
-
const
|
|
371
|
-
if (W.value = !1, Zt(
|
|
370
|
+
const u = e.value.style.chart.tooltip.customFormat;
|
|
371
|
+
if (W.value = !1, Zt(u))
|
|
372
372
|
try {
|
|
373
|
-
const s =
|
|
373
|
+
const s = u({
|
|
374
374
|
seriesIndex: l,
|
|
375
375
|
datapoint: t,
|
|
376
376
|
plotIndex: a,
|
|
@@ -415,7 +415,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
415
415
|
e.value.table.columnNames.datapoint,
|
|
416
416
|
e.value.table.columnNames.x,
|
|
417
417
|
e.value.table.columnNames.y
|
|
418
|
-
], a = P.value.flatMap((
|
|
418
|
+
], a = P.value.flatMap((u) => u.plots.map((s) => [
|
|
419
419
|
{
|
|
420
420
|
color: s.color,
|
|
421
421
|
name: s.seriesName
|
|
@@ -473,11 +473,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
473
473
|
[J.label],
|
|
474
474
|
[J.valueX],
|
|
475
475
|
[J.valueY]
|
|
476
|
-
])),
|
|
476
|
+
])), u = [
|
|
477
477
|
[e.value.style.chart.title.text],
|
|
478
478
|
[e.value.style.chart.title.subtitle.text],
|
|
479
479
|
a
|
|
480
|
-
].concat(l), s = Vt(
|
|
480
|
+
].concat(l), s = Vt(u);
|
|
481
481
|
t ? t(s) : qt({
|
|
482
482
|
csvContent: s,
|
|
483
483
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
@@ -499,14 +499,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
499
499
|
}
|
|
500
500
|
async function $t({ scale: t = 2 } = {}) {
|
|
501
501
|
if (!$.value) return;
|
|
502
|
-
const { width: a, height: l } = $.value.getBoundingClientRect(),
|
|
502
|
+
const { width: a, height: l } = $.value.getBoundingClientRect(), u = a / l, { imageUri: s, base64: k } = await ol({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
503
503
|
return {
|
|
504
504
|
imageUri: s,
|
|
505
505
|
base64: k,
|
|
506
506
|
title: e.value.style.chart.title.text,
|
|
507
507
|
width: a,
|
|
508
508
|
height: l,
|
|
509
|
-
aspectRatio:
|
|
509
|
+
aspectRatio: u
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
512
|
const St = y(() => x.value.tickX), Tt = y(() => ({ start: 0, end: x.value.tickX.length }));
|
|
@@ -573,15 +573,15 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
573
573
|
id: `history_plot_${S.value}`,
|
|
574
574
|
ref_key: "historyPlotChart",
|
|
575
575
|
ref: $,
|
|
576
|
-
class: D({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
576
|
+
class: D({ "vue-data-ui-component": !0, "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
577
577
|
style: L(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
578
|
-
onMouseenter: a[2] || (a[2] = () =>
|
|
579
|
-
onMouseleave: a[3] || (a[3] = () =>
|
|
578
|
+
onMouseenter: a[2] || (a[2] = () => i(Le)(!0)),
|
|
579
|
+
onMouseleave: a[3] || (a[3] = () => i(Le)(!1))
|
|
580
580
|
}, [
|
|
581
581
|
p(t.$slots, "userConfig", {}, void 0, !0),
|
|
582
|
-
e.value.userOptions.buttons.annotator ? (o(), I(
|
|
582
|
+
e.value.userOptions.buttons.annotator ? (o(), I(i(st), {
|
|
583
583
|
key: 0,
|
|
584
|
-
svgRef:
|
|
584
|
+
svgRef: i(Se),
|
|
585
585
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
586
586
|
color: e.value.style.chart.color,
|
|
587
587
|
active: Z.value,
|
|
@@ -618,14 +618,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
618
618
|
_("div", {
|
|
619
619
|
id: `legend-top-${S.value}`
|
|
620
620
|
}, null, 8, vl),
|
|
621
|
-
e.value.userOptions.show && V.value && (
|
|
621
|
+
e.value.userOptions.show && V.value && (i($e) || i(ie)) ? (o(), I(i(ot), {
|
|
622
622
|
ref_key: "userOptionsRef",
|
|
623
623
|
ref: ae,
|
|
624
624
|
key: `user_option_${be.value}`,
|
|
625
625
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
626
626
|
color: e.value.style.chart.color,
|
|
627
|
-
isPrinting:
|
|
628
|
-
isImaging:
|
|
627
|
+
isPrinting: i(Te),
|
|
628
|
+
isImaging: i(Me),
|
|
629
629
|
uid: S.value,
|
|
630
630
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
631
631
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -645,20 +645,20 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
645
645
|
printScale: e.value.userOptions.print.scale,
|
|
646
646
|
tableDialog: e.value.table.useDialog,
|
|
647
647
|
onToggleFullscreen: Xe,
|
|
648
|
-
onGeneratePdf:
|
|
648
|
+
onGeneratePdf: i(ze),
|
|
649
649
|
onGenerateCsv: ve,
|
|
650
|
-
onGenerateImage:
|
|
650
|
+
onGenerateImage: i(Ne),
|
|
651
651
|
onToggleTable: Re,
|
|
652
652
|
onToggleTooltip: Be,
|
|
653
653
|
onToggleAnnotator: he,
|
|
654
654
|
style: L({
|
|
655
|
-
visibility:
|
|
655
|
+
visibility: i($e) ? i(ie) ? "visible" : "hidden" : "visible"
|
|
656
656
|
})
|
|
657
657
|
}, He({ _: 2 }, [
|
|
658
658
|
t.$slots.menuIcon ? {
|
|
659
659
|
name: "menuIcon",
|
|
660
|
-
fn: m(({ isOpen: l, color:
|
|
661
|
-
p(t.$slots, "menuIcon", R(B({ isOpen: l, color:
|
|
660
|
+
fn: m(({ isOpen: l, color: u }) => [
|
|
661
|
+
p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
|
|
662
662
|
]),
|
|
663
663
|
key: "0"
|
|
664
664
|
} : void 0,
|
|
@@ -699,15 +699,15 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
699
699
|
} : void 0,
|
|
700
700
|
t.$slots.optionFullscreen ? {
|
|
701
701
|
name: "optionFullscreen",
|
|
702
|
-
fn: m(({ toggleFullscreen: l, isFullscreen:
|
|
703
|
-
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen:
|
|
702
|
+
fn: m(({ toggleFullscreen: l, isFullscreen: u }) => [
|
|
703
|
+
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
|
|
704
704
|
]),
|
|
705
705
|
key: "6"
|
|
706
706
|
} : void 0,
|
|
707
707
|
t.$slots.optionAnnotator ? {
|
|
708
708
|
name: "optionAnnotator",
|
|
709
|
-
fn: m(({ toggleAnnotator: l, isAnnotator:
|
|
710
|
-
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator:
|
|
709
|
+
fn: m(({ toggleAnnotator: l, isAnnotator: u }) => [
|
|
710
|
+
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
|
|
711
711
|
]),
|
|
712
712
|
key: "7"
|
|
713
713
|
} : void 0
|
|
@@ -715,11 +715,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
715
715
|
(o(), r("svg", {
|
|
716
716
|
ref_key: "svgRef",
|
|
717
717
|
ref: Se,
|
|
718
|
-
xmlns:
|
|
718
|
+
xmlns: i(Et),
|
|
719
719
|
viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
|
|
720
720
|
style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
721
721
|
}, [
|
|
722
|
-
de(
|
|
722
|
+
de(i(rt)),
|
|
723
723
|
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
724
724
|
key: 0,
|
|
725
725
|
x: c.value.left,
|
|
@@ -733,17 +733,17 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
733
733
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
734
734
|
], 8, dl)) : h("", !0),
|
|
735
735
|
e.value.style.chart.plots.gradient.show ? (o(), r("defs", yl, [
|
|
736
|
-
(o(!0), r(b, null, g(P.value, (l,
|
|
737
|
-
id: `gradient_${
|
|
736
|
+
(o(!0), r(b, null, g(P.value, (l, u) => (o(), r("radialGradient", {
|
|
737
|
+
id: `gradient_${u}_${S.value}`,
|
|
738
738
|
fy: "30%"
|
|
739
739
|
}, [
|
|
740
740
|
_("stop", {
|
|
741
741
|
offset: "10%",
|
|
742
|
-
"stop-color":
|
|
742
|
+
"stop-color": i(Ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
743
743
|
}, null, 8, xl),
|
|
744
744
|
_("stop", {
|
|
745
745
|
offset: "90%",
|
|
746
|
-
"stop-color":
|
|
746
|
+
"stop-color": i(Wt)(l.color, 0.1)
|
|
747
747
|
}, null, 8, pl),
|
|
748
748
|
_("stop", {
|
|
749
749
|
offset: "100%",
|
|
@@ -784,10 +784,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
784
784
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
785
785
|
"font-size": n.value.yAxisLabels,
|
|
786
786
|
"text-anchor": "end"
|
|
787
|
-
}, T(
|
|
787
|
+
}, T(i(Y)(
|
|
788
788
|
e.value.style.chart.axes.y.labels.formatter,
|
|
789
789
|
l.value,
|
|
790
|
-
|
|
790
|
+
i(E)({
|
|
791
791
|
p: e.value.style.chart.axes.y.labels.prefix,
|
|
792
792
|
v: l.value,
|
|
793
793
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
@@ -838,10 +838,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
838
838
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
839
839
|
"font-size": n.value.xAxisLabels,
|
|
840
840
|
"text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
841
|
-
}, T(
|
|
841
|
+
}, T(i(Y)(
|
|
842
842
|
e.value.style.chart.axes.x.labels.formatter,
|
|
843
843
|
l.value,
|
|
844
|
-
|
|
844
|
+
i(E)({
|
|
845
845
|
p: e.value.style.chart.axes.x.labels.prefix,
|
|
846
846
|
v: l.value,
|
|
847
847
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
@@ -880,7 +880,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
880
880
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
881
881
|
"stroke-linecap": "round"
|
|
882
882
|
}, null, 8, Nl)) : h("", !0),
|
|
883
|
-
(o(!0), r(b, null, g(P.value, (l,
|
|
883
|
+
(o(!0), r(b, null, g(P.value, (l, u) => (o(), r("g", null, [
|
|
884
884
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
885
885
|
key: 0,
|
|
886
886
|
style: L({
|
|
@@ -894,7 +894,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
894
894
|
fill: "none",
|
|
895
895
|
"stroke-linecap": "round",
|
|
896
896
|
"stroke-linejoin": "round",
|
|
897
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
897
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) })
|
|
898
898
|
}, null, 10, Ol),
|
|
899
899
|
_("path", {
|
|
900
900
|
d: l.path,
|
|
@@ -903,7 +903,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
903
903
|
fill: "none",
|
|
904
904
|
"stroke-linecap": "round",
|
|
905
905
|
"stroke-linejoin": "round",
|
|
906
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
906
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) })
|
|
907
907
|
}, null, 10, Il)
|
|
908
908
|
], 4)) : h("", !0),
|
|
909
909
|
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
@@ -916,11 +916,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
916
916
|
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
917
917
|
cx: s.x,
|
|
918
918
|
cy: s.y,
|
|
919
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${
|
|
919
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${u}_${S.value})` : s.color,
|
|
920
920
|
r: n.value.plots,
|
|
921
921
|
stroke: e.value.style.chart.plots.stroke,
|
|
922
922
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
923
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
923
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) }),
|
|
924
924
|
style: L({
|
|
925
925
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
926
926
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -937,12 +937,12 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
937
937
|
fill: e.value.style.chart.plots.labels.color,
|
|
938
938
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
939
939
|
"text-anchor": "middle",
|
|
940
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
940
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) }),
|
|
941
941
|
style: L({
|
|
942
942
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
943
943
|
transition: "opacity 0.2s ease-in-out"
|
|
944
944
|
}),
|
|
945
|
-
innerHTML:
|
|
945
|
+
innerHTML: i(jt)({
|
|
946
946
|
content: String(s.label),
|
|
947
947
|
fontSize: n.value.labels,
|
|
948
948
|
fill: e.value.style.chart.plots.labels.color,
|
|
@@ -957,7 +957,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
957
957
|
fill: e.value.style.chart.plots.labels.color,
|
|
958
958
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
959
959
|
"text-anchor": "middle",
|
|
960
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
960
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) }),
|
|
961
961
|
style: L({
|
|
962
962
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
963
963
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -971,9 +971,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
971
971
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
972
972
|
"font-size": n.value.indexLabels,
|
|
973
973
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
974
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ?
|
|
974
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(Ut)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
975
975
|
"text-anchor": "middle",
|
|
976
|
-
class: D({ animated: e.value.useCssAnimation && !
|
|
976
|
+
class: D({ animated: e.value.useCssAnimation && !i(z) }),
|
|
977
977
|
style: L({
|
|
978
978
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
979
979
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -982,24 +982,24 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
982
982
|
])) : h("", !0)
|
|
983
983
|
]))), 256)),
|
|
984
984
|
(o(!0), r(b, null, g(P.value, (l) => (o(), r("g", null, [
|
|
985
|
-
(o(!0), r(b, null, g(l.plots, (
|
|
986
|
-
cx:
|
|
987
|
-
cy:
|
|
985
|
+
(o(!0), r(b, null, g(l.plots, (u, s) => (o(), r("circle", {
|
|
986
|
+
cx: u.x,
|
|
987
|
+
cy: u.y,
|
|
988
988
|
fill: "transparent",
|
|
989
989
|
r: n.value.plots,
|
|
990
990
|
stroke: "none",
|
|
991
991
|
onMouseenter: (k) => _t({
|
|
992
|
-
datapoint:
|
|
992
|
+
datapoint: u,
|
|
993
993
|
plotIndex: s,
|
|
994
994
|
seriesIndex: l.seriesIndex
|
|
995
995
|
}),
|
|
996
996
|
onMouseleave: (k) => At({
|
|
997
|
-
datapoint:
|
|
997
|
+
datapoint: u,
|
|
998
998
|
plotIndex: s,
|
|
999
999
|
seriesIndex: l.seriesIndex
|
|
1000
1000
|
}),
|
|
1001
1001
|
onClick: (k) => Ct({
|
|
1002
|
-
datapoint:
|
|
1002
|
+
datapoint: u,
|
|
1003
1003
|
plotIndex: s,
|
|
1004
1004
|
seriesIndex: l.seriesIndex
|
|
1005
1005
|
})
|
|
@@ -1008,7 +1008,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1008
1008
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
1009
1009
|
], 12, hl)),
|
|
1010
1010
|
t.$slots.watermark ? (o(), r("div", Hl, [
|
|
1011
|
-
p(t.$slots, "watermark", R(B({ isPrinting:
|
|
1011
|
+
p(t.$slots, "watermark", R(B({ isPrinting: i(Te) || i(Me) })), void 0, !0)
|
|
1012
1012
|
])) : h("", !0),
|
|
1013
1013
|
_("div", {
|
|
1014
1014
|
id: `legend-bottom-${S.value}`
|
|
@@ -1021,7 +1021,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1021
1021
|
ref_key: "chartLegend",
|
|
1022
1022
|
ref: xe
|
|
1023
1023
|
}, [
|
|
1024
|
-
e.value.style.chart.legend.show && V.value ? (o(), I(
|
|
1024
|
+
e.value.style.chart.legend.show && V.value ? (o(), I(ul, {
|
|
1025
1025
|
key: `legend_${pe.value}`,
|
|
1026
1026
|
legendSet: De.value,
|
|
1027
1027
|
config: wt.value,
|
|
@@ -1029,7 +1029,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1029
1029
|
Pe(l.seriesIndex), Fe(l);
|
|
1030
1030
|
})
|
|
1031
1031
|
}, {
|
|
1032
|
-
item: m(({ legend: l, index:
|
|
1032
|
+
item: m(({ legend: l, index: u }) => [
|
|
1033
1033
|
_("div", {
|
|
1034
1034
|
onClick: (s) => {
|
|
1035
1035
|
l.segregate(), Fe(l);
|
|
@@ -1052,7 +1052,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1052
1052
|
}, [
|
|
1053
1053
|
p(t.$slots, "source", {}, void 0, !0)
|
|
1054
1054
|
], 512)) : h("", !0),
|
|
1055
|
-
de(
|
|
1055
|
+
de(i(et), {
|
|
1056
1056
|
show: C.value.showTooltip && te.value,
|
|
1057
1057
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1058
1058
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1086,7 +1086,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1086
1086
|
onClose: Ye
|
|
1087
1087
|
}), He({
|
|
1088
1088
|
content: m(() => [
|
|
1089
|
-
(o(), I(
|
|
1089
|
+
(o(), I(i(at), {
|
|
1090
1090
|
key: `table_${me.value}`,
|
|
1091
1091
|
colNames: q.value.colNames,
|
|
1092
1092
|
head: q.value.head,
|
|
@@ -1125,7 +1125,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1125
1125
|
class: "vue-ui-user-options-button",
|
|
1126
1126
|
onClick: a[1] || (a[1] = (l) => ve(e.value.userOptions.callbacks.csv))
|
|
1127
1127
|
}, [
|
|
1128
|
-
de(
|
|
1128
|
+
de(i(tt), {
|
|
1129
1129
|
name: "excel",
|
|
1130
1130
|
stroke: U.value.props.color
|
|
1131
1131
|
}, null, 8, ["stroke"])
|
|
@@ -1134,10 +1134,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1134
1134
|
key: "1"
|
|
1135
1135
|
} : void 0
|
|
1136
1136
|
]), 1040)) : h("", !0),
|
|
1137
|
-
|
|
1137
|
+
i(z) ? (o(), I(el, { key: 8 })) : h("", !0)
|
|
1138
1138
|
], 46, cl));
|
|
1139
1139
|
}
|
|
1140
|
-
},
|
|
1140
|
+
}, ua = /* @__PURE__ */ il(Gl, [["__scopeId", "data-v-71a34cbd"]]);
|
|
1141
1141
|
export {
|
|
1142
|
-
|
|
1142
|
+
ua as default
|
|
1143
1143
|
};
|
|
@@ -16,7 +16,7 @@ const R = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const N = z(() => import("./vue-ui-digits-
|
|
19
|
+
const N = z(() => import("./vue-ui-digits-pW7YVqxy.js")), { vue_ui_kpi: D } = M(), l = o, e = C({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), S = w(), A = C(() => e.value.debug);
|
|
@@ -48,7 +48,7 @@ const R = {
|
|
|
48
48
|
return k(() => l.dataset, (a) => {
|
|
49
49
|
e.value.useAnimation ? d(a) : t.value = a;
|
|
50
50
|
}), (a, f) => (i(), s("div", {
|
|
51
|
-
class: r(`vue-ui-kpi ${e.value.layoutClass}`),
|
|
51
|
+
class: r(`vue-data-ui-component vue-ui-kpi ${e.value.layoutClass}`),
|
|
52
52
|
style: u(`background:${e.value.backgroundColor}; ${e.value.layoutCss}`)
|
|
53
53
|
}, [
|
|
54
54
|
b("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useCssVars as h, computed as
|
|
1
|
+
import { useCssVars as h, computed as o, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
2
|
import { u as m, a as y } from "./useNestedProp-BOk-tPdu.js";
|
|
3
3
|
import { X as L } from "./lib-BEpWEyMm.js";
|
|
4
|
-
import { _ as
|
|
5
|
-
const
|
|
4
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
const B = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
7
7
|
props: {
|
|
8
8
|
config: {
|
|
@@ -14,29 +14,29 @@ const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
14
14
|
},
|
|
15
15
|
setup(c) {
|
|
16
16
|
h((_) => ({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
v0567c4bc: v.value,
|
|
18
|
+
v3b89a9aa: C.value,
|
|
19
|
+
v4f67cf2c: g.value
|
|
20
20
|
}));
|
|
21
|
-
const { vue_ui_mini_loader: d } = m(), p = c, e =
|
|
21
|
+
const { vue_ui_mini_loader: d } = m(), p = c, e = o(() => y({
|
|
22
22
|
userConfig: p.config,
|
|
23
23
|
defaultConfig: d
|
|
24
24
|
})), k = f({
|
|
25
25
|
onion: "-10 -10 84 84",
|
|
26
26
|
line: "-10 -10 112 84",
|
|
27
27
|
bar: "-10 -10 106 84"
|
|
28
|
-
}), i =
|
|
28
|
+
}), i = o(() => ({
|
|
29
29
|
gutter: `stroke:${e.value.line.gutterColor};opacity:${e.value.line.gutterOpacity};`,
|
|
30
30
|
gutterBlur: `filter:blur(${e.value.line.gutterBlur}px);`
|
|
31
|
-
})), s =
|
|
31
|
+
})), s = o(() => ({
|
|
32
32
|
gutter: `stroke:${e.value.bar.gutterColor};opacity:${e.value.bar.gutterOpacity};`,
|
|
33
33
|
gutterBlur: `filter:blur(${e.value.bar.gutterBlur}px);`
|
|
34
|
-
})),
|
|
34
|
+
})), r = o(() => ({
|
|
35
35
|
gutter: `stroke:${e.value.onion.gutterColor};opacity:${e.value.onion.gutterOpacity};`,
|
|
36
36
|
gutterBlur: `filter:blur(${e.value.onion.gutterBlur}px);`
|
|
37
|
-
})), v =
|
|
37
|
+
})), v = o(() => `blur(${e.value.onion.trackBlur}px) hue-rotate(${e.value.onion.trackHueRotate}deg)`), C = o(() => `blur(${e.value.line.trackBlur}px) hue-rotate(${e.value.line.trackHueRotate}deg)`), g = o(() => `blur(${e.value.bar.trackBlur}px) hue-rotate(${e.value.bar.trackHueRotate}deg)`);
|
|
38
38
|
return (_, E) => (u(), n("svg", {
|
|
39
|
-
class: "vue-ui-mini-loader",
|
|
39
|
+
class: "vue-data-ui-component vue-ui-mini-loader",
|
|
40
40
|
xmlns: M(L),
|
|
41
41
|
viewBox: k.value[e.value.type],
|
|
42
42
|
style: { background: "transparent" },
|
|
@@ -48,21 +48,21 @@ const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
48
48
|
"stroke-width": "4",
|
|
49
49
|
fill: "none",
|
|
50
50
|
"stroke-linecap": "round",
|
|
51
|
-
style: l(
|
|
51
|
+
style: l(r.value.gutter + r.value.gutterBlur)
|
|
52
52
|
}, null, 4),
|
|
53
53
|
t("path", {
|
|
54
54
|
d: "M 13 32 C 13 39 19 52 32 52 A 1 1 0 0 0 32 13",
|
|
55
55
|
"stroke-width": "4",
|
|
56
56
|
fill: "none",
|
|
57
57
|
"stroke-linecap": "round",
|
|
58
|
-
style: l(
|
|
58
|
+
style: l(r.value.gutter + r.value.gutterBlur)
|
|
59
59
|
}, null, 4),
|
|
60
60
|
t("path", {
|
|
61
61
|
d: "M 23 32 C 23 37 26.5 41 32 41 A 1 1 0 0 0 32 25",
|
|
62
62
|
"stroke-width": "4",
|
|
63
63
|
fill: "none",
|
|
64
64
|
"stroke-linecap": "round",
|
|
65
|
-
style: l(
|
|
65
|
+
style: l(r.value.gutter + r.value.gutterBlur)
|
|
66
66
|
}, null, 4),
|
|
67
67
|
t("path", {
|
|
68
68
|
d: "M 3 32 C 3 45 12 62 32 62 A 1 1 0 0 0 32 3",
|
|
@@ -123,9 +123,9 @@ const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
123
123
|
class: "bar-animated"
|
|
124
124
|
}, null, 8, F)
|
|
125
125
|
])) : a("", !0)
|
|
126
|
-
], 8,
|
|
126
|
+
], 8, B));
|
|
127
127
|
}
|
|
128
|
-
}, U = /* @__PURE__ */
|
|
128
|
+
}, U = /* @__PURE__ */ b(I, [["__scopeId", "data-v-0a1977bc"]]);
|
|
129
129
|
export {
|
|
130
130
|
U as default
|
|
131
131
|
};
|