vue-data-ui 3.1.5 → 3.1.7
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 +37 -37
- package/dist/{Arrow-BFbcF5Sq.js → Arrow-BZ8rnWYn.js} +1 -1
- package/dist/{BaseDraggableDialog-BO4B1Kwa.js → BaseDraggableDialog-Bdva4JFr.js} +2 -2
- package/dist/{BaseIcon-BQQGRQ2U.js → BaseIcon-BCS8aIf4.js} +1 -1
- package/dist/{ColorPicker-d1kmGapq.js → ColorPicker-DF6PDOhr.js} +2 -2
- package/dist/{DataTable-D6voeZvO.js → DataTable-Ddu14t59.js} +2 -2
- package/dist/{Legend-nPGcCxG_.js → Legend-C3I0iaLM.js} +2 -2
- package/dist/{NonSvgPenAndPaper-xRGRe41H.js → NonSvgPenAndPaper-LSG0MLRC.js} +3 -3
- package/dist/{PackageVersion-BeStrsPr.js → PackageVersion-CtYY8jBZ.js} +1 -1
- package/dist/{PenAndPaper-C6tiapdo.js → PenAndPaper-DtlEAsLw.js} +3 -3
- package/dist/{Shape-DBVq0fdK.js → Shape-B8Cdu8s1.js} +1 -1
- package/dist/{Slicer-Duqm7KZK.js → Slicer-Bk01kWGC.js} +66 -67
- package/dist/{SparkTooltip-wNGmXZSx.js → SparkTooltip-qMi3IzXb.js} +1 -1
- package/dist/{Title-ydtId0LC.js → Title-BUVvr0U8.js} +1 -1
- package/dist/{Tooltip-oeu9knGI.js → Tooltip-VlJQQsYu.js} +1 -1
- package/dist/{UserOptions-CnJxN2Vo.js → UserOptions-sSygisu3.js} +2 -2
- package/dist/{dom-to-png-CMCYtLrX.js → dom-to-png-BqX4MBZN.js} +1 -1
- package/dist/{img-Neec0VVb.js → img-DN0--Lx6.js} +1 -1
- package/dist/{index-BkfuZCRT.js → index-BlRUhv0O.js} +1 -1
- package/dist/{pdf-CpQ-dqJh.js → pdf-Cm5HZB7J.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DR2HExYc.js → useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js} +1 -1
- package/dist/{useNestedProp-BMzw9VUz.js → useNestedProp-OxTlfHdh.js} +1 -1
- package/dist/{usePrinter-CEdg3j8S.js → usePrinter-DR__HfSR.js} +2 -2
- package/dist/{vue-data-ui-D5B7a84o.js → vue-data-ui-Ci8pH3va.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-C8_Qu1rf.js → vue-ui-3d-bar-h-8AQQKD.js} +8 -8
- package/dist/{vue-ui-accordion-DFxAHGEZ.js → vue-ui-accordion-DejV6zJ2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D_kTImtX.js → vue-ui-age-pyramid-yTcDoeqi.js} +8 -8
- package/dist/{vue-ui-annotator-B1vSlzfu.js → vue-ui-annotator-HqsIz-FI.js} +2 -2
- package/dist/{vue-ui-bullet-VPchh2r2.js → vue-ui-bullet-Co4ZttnE.js} +7 -7
- package/dist/{vue-ui-candlestick-CB3bj7_-.js → vue-ui-candlestick-BQQR9K33.js} +58 -58
- package/dist/{vue-ui-carousel-table-CUiSyrTY.js → vue-ui-carousel-table-BzDik-6R.js} +4 -4
- package/dist/{vue-ui-chestnut-BE5ZEt1N.js → vue-ui-chestnut-5VG75w-T.js} +37 -37
- package/dist/{vue-ui-chord-DVSBY9ou.js → vue-ui-chord-5HE-ZTDA.js} +11 -11
- package/dist/{vue-ui-circle-pack-BfDjZFaF.js → vue-ui-circle-pack-BVcr-3fG.js} +232 -228
- package/dist/{vue-ui-cursor-BIuc6nds.js → vue-ui-cursor-BDH4YPCA.js} +2 -2
- package/dist/{vue-ui-dashboard-C7xIcrvD.js → vue-ui-dashboard-VtafJ36J.js} +67 -67
- package/dist/{vue-ui-digits-C3mI-0Fg.js → vue-ui-digits-Bh5fmCge.js} +2 -2
- package/dist/{vue-ui-donut-BApz1ho5.js → vue-ui-donut-PiILi3WQ.js} +10 -10
- package/dist/{vue-ui-donut-evolution-B2PJiYY9.js → vue-ui-donut-evolution-DVp2UID9.js} +38 -38
- package/dist/{vue-ui-dumbbell-DQjVvBH_.js → vue-ui-dumbbell-DIX_gcC_.js} +84 -84
- package/dist/{vue-ui-flow-COtJRNLE.js → vue-ui-flow-DY64szfV.js} +55 -55
- package/dist/{vue-ui-funnel-BY2qeg-m.js → vue-ui-funnel-DnQFZe9P.js} +31 -31
- package/dist/{vue-ui-galaxy-3zec_QLi.js → vue-ui-galaxy-C0TCFGXT.js} +31 -31
- package/dist/{vue-ui-gauge-CFUA5ORH.js → vue-ui-gauge-BNIAJlUC.js} +7 -7
- package/dist/{vue-ui-gizmo-CUPFU8GE.js → vue-ui-gizmo-BnHruhLB.js} +3 -3
- package/dist/{vue-ui-heatmap-DakytdCv.js → vue-ui-heatmap-CH_twICb.js} +10 -10
- package/dist/{vue-ui-history-plot-DnSB7au4.js → vue-ui-history-plot-CtJrkyG8.js} +88 -88
- package/dist/{vue-ui-kpi-UmcKQftv.js → vue-ui-kpi-Co0app61.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bl8GHasa.js → vue-ui-mini-loader-DXrdP_7p.js} +2 -2
- package/dist/{vue-ui-molecule-BZrmSVps.js → vue-ui-molecule-C2cNArDQ.js} +8 -8
- package/dist/{vue-ui-mood-radar-CVM8vl5N.js → vue-ui-mood-radar-BrLLsYz5.js} +9 -9
- package/dist/{vue-ui-nested-donuts-LTzijeVK.js → vue-ui-nested-donuts-DRysa4v_.js} +42 -42
- package/dist/{vue-ui-onion-aHCc3r7L.js → vue-ui-onion-znQ-OGaR.js} +12 -11
- package/dist/{vue-ui-parallel-coordinate-plot-0xXe6A-6.js → vue-ui-parallel-coordinate-plot-DIX2Hytk.js} +10 -10
- package/dist/{vue-ui-quadrant-BlM9WNN7.js → vue-ui-quadrant-B4X5ePQQ.js} +10 -10
- package/dist/{vue-ui-quick-chart-CJ2Wdln9.js → vue-ui-quick-chart-Cm7iAsdB.js} +6 -6
- package/dist/{vue-ui-radar-Cgnooz7-.js → vue-ui-radar-CMXnDLdC.js} +10 -10
- package/dist/{vue-ui-rating-DF71ymNG.js → vue-ui-rating-wAMAKVA8.js} +2 -2
- package/dist/{vue-ui-relation-circle-DsuEL1gY.js → vue-ui-relation-circle-snHKlhA3.js} +7 -7
- package/dist/{vue-ui-ridgeline-DxP8uxgx.js → vue-ui-ridgeline-Bx7_nnJ7.js} +10 -10
- package/dist/{vue-ui-rings-C4hKgrft.js → vue-ui-rings-BGTPLeaD.js} +10 -10
- package/dist/{vue-ui-scatter-B_SzTSE5.js → vue-ui-scatter-D-rI3hK1.js} +10 -10
- package/dist/{vue-ui-skeleton-DCAlHSMV.js → vue-ui-skeleton-B-6lN9xS.js} +3 -3
- package/dist/{vue-ui-smiley-B_JFtrl6.js → vue-ui-smiley-DeLEE9m9.js} +2 -2
- package/dist/{vue-ui-spark-trend-CC7q1UbE.js → vue-ui-spark-trend-BvrboxYt.js} +3 -3
- package/dist/{vue-ui-sparkbar-C2YRX4mJ.js → vue-ui-sparkbar-nW5DeWC5.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BO4c3j-8.js → vue-ui-sparkgauge-Isge2K7-.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BuGOHT9h.js → vue-ui-sparkhistogram-ChSw4gHY.js} +4 -4
- package/dist/{vue-ui-sparkline-hOyPCIt8.js → vue-ui-sparkline-DH-VRt5o.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DhSc-U8u.js → vue-ui-sparkstackbar-l45aaRR1.js} +3 -3
- package/dist/{vue-ui-stackbar-VdBWv1wm.js → vue-ui-stackbar-ByVq83Og.js} +11 -11
- package/dist/{vue-ui-strip-plot-CBj5ntWM.js → vue-ui-strip-plot-CwooqV7G.js} +9 -9
- package/dist/{vue-ui-table-BItmKbvF.js → vue-ui-table-BRPcCRq-.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DziHVKba.js → vue-ui-table-heatmap-CaAadUo0.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CpWDqm7q.js → vue-ui-table-sparkline-Bt7VtPKK.js} +4 -4
- package/dist/{vue-ui-thermometer-CWt0q_Tu.js → vue-ui-thermometer-B-CWjknr.js} +7 -7
- package/dist/{vue-ui-timer-BIv2sfQA.js → vue-ui-timer-CxLcOKNv.js} +5 -5
- package/dist/{vue-ui-tiremarks-BE_VWjK-.js → vue-ui-tiremarks-DYEZvwDv.js} +6 -6
- package/dist/{vue-ui-treemap-2AIbDpTo.js → vue-ui-treemap-CeuebtPa.js} +10 -10
- package/dist/{vue-ui-vertical-bar-CP-XFVV5.js → vue-ui-vertical-bar-D8_txlgd.js} +50 -50
- package/dist/{vue-ui-waffle-CewP8k-W.js → vue-ui-waffle-B5Qe5PKA.js} +32 -32
- package/dist/{vue-ui-wheel-Ik8FoLfz.js → vue-ui-wheel-CxpLOCGw.js} +6 -6
- package/dist/{vue-ui-word-cloud-CEEc5ep_.js → vue-ui-word-cloud-DCoL3uD5.js} +38 -38
- package/dist/{vue-ui-world-CuwXMI3D.js → vue-ui-world-DmnwTNAv.js} +8 -8
- package/dist/{vue-ui-xy-Bsh2OBHp.js → vue-ui-xy-CzdchisK.js} +1090 -1075
- package/dist/{vue-ui-xy-canvas-CKzjhhNg.js → vue-ui-xy-canvas-CJp0mlzr.js} +12 -12
- package/package.json +4 -2
|
@@ -1,16 +1,16 @@
|
|
|
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
|
|
2
|
-
import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as D, a as Vt, b as qt, C as ee, v as Zt, w as Jt, y as Kt } from "./index-
|
|
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 P, 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 Ft, mergeProps as Pt, createTextVNode as We, nextTick as Dt } from "vue";
|
|
2
|
+
import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as D, a as Vt, b as qt, C as ee, v as Zt, w as Jt, y as Kt } from "./index-BlRUhv0O.js";
|
|
3
3
|
import { t as qe, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as el, B as tl } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as ll } from "./usePrinter-
|
|
6
|
-
import { u as Ze } from "./useNestedProp-
|
|
5
|
+
import { u as ll } from "./usePrinter-DR__HfSR.js";
|
|
6
|
+
import { u as Ze } from "./useNestedProp-OxTlfHdh.js";
|
|
7
7
|
import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
|
-
import rl from "./img-
|
|
11
|
-
import nl from "./Title-
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
10
|
+
import rl from "./img-DN0--Lx6.js";
|
|
11
|
+
import nl from "./Title-BUVvr0U8.js";
|
|
12
|
+
import ul from "./Legend-C3I0iaLM.js";
|
|
13
|
+
import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
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"], Fl = ["cx", "cy", "fill", "r"], Pl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Dl = { 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 = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
@@ -32,7 +32,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
35
|
-
const et = O(() => import("./Tooltip-
|
|
35
|
+
const et = O(() => import("./Tooltip-VlJQQsYu.js")), tt = O(() => import("./BaseIcon-BCS8aIf4.js")), lt = O(() => import("./vue-ui-accordion-DejV6zJ2.js")), at = O(() => import("./DataTable-Ddu14t59.js")), st = O(() => import("./PenAndPaper-DtlEAsLw.js")), ot = O(() => import("./UserOptions-sSygisu3.js")), rt = O(() => import("./PackageVersion-CtYY8jBZ.js")), nt = O(() => import("./BaseDraggableDialog-Bdva4JFr.js")), { vue_ui_history_plot: ut } = Xt(), 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({
|
|
36
36
|
get: () => !!d.dataset && d.dataset.length,
|
|
37
37
|
set: (t) => t
|
|
38
38
|
}), Ce = Qe;
|
|
@@ -45,7 +45,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
45
45
|
componentName: "VueUiHistoryPlot",
|
|
46
46
|
type: "dataset",
|
|
47
47
|
debug: Ae.value
|
|
48
|
-
}),
|
|
48
|
+
}), ue.value = !0) : d.dataset.forEach((t, a) => {
|
|
49
49
|
Rt({
|
|
50
50
|
datasetObject: t,
|
|
51
51
|
requiredAttributes: ["name", "values"]
|
|
@@ -58,7 +58,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
58
58
|
debug: Ae.value
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
-
}), Ue(d.dataset) || (
|
|
61
|
+
}), Ue(d.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
62
62
|
const t = qe(() => {
|
|
63
63
|
const { width: a, height: l } = Qt({
|
|
64
64
|
chart: $.value,
|
|
@@ -122,7 +122,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
122
122
|
function ne() {
|
|
123
123
|
const t = Ze({
|
|
124
124
|
userConfig: d.config,
|
|
125
|
-
defaultConfig:
|
|
125
|
+
defaultConfig: ut
|
|
126
126
|
});
|
|
127
127
|
let a = {};
|
|
128
128
|
return t.theme ? a = {
|
|
@@ -133,7 +133,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
133
133
|
customPalette: Vt[t.theme] || Q
|
|
134
134
|
} : 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;
|
|
135
135
|
}
|
|
136
|
-
const e = v(ne()), { loading: z, FINAL_DATASET:
|
|
136
|
+
const e = v(ne()), { loading: z, FINAL_DATASET: it, manualLoading: ue } = el({
|
|
137
137
|
...Nt(d),
|
|
138
138
|
FINAL_CONFIG: e,
|
|
139
139
|
prepareConfig: ne,
|
|
@@ -201,11 +201,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
})
|
|
204
|
-
}), { userOptionsVisible:
|
|
204
|
+
}), { userOptionsVisible: ie, setUserOptionsVisibility: Le, keepUserOptionState: $e } = al({ config: e.value }), { svgRef: Se } = sl({ config: e.value.style.chart.title });
|
|
205
205
|
K(() => d.config, (t) => {
|
|
206
|
-
z.value || (e.value = ne()),
|
|
206
|
+
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;
|
|
207
207
|
}, { deep: !0 }), K(() => d.dataset, (t) => {
|
|
208
|
-
Array.isArray(t) && t.length > 0 && (
|
|
208
|
+
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
209
209
|
}, { deep: !0 });
|
|
210
210
|
const { isPrinting: Te, isImaging: Me, generatePdf: ze, generateImage: Ne } = ll({
|
|
211
211
|
elementId: `history_plot_${S.value}`,
|
|
@@ -227,9 +227,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
227
227
|
}), ht = y(() => f.value.width), dt = y(() => f.value.height);
|
|
228
228
|
function yt() {
|
|
229
229
|
let t = 0;
|
|
230
|
-
re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((
|
|
230
|
+
re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((u, s) => {
|
|
231
231
|
const k = s.getComputedTextLength();
|
|
232
|
-
return k >
|
|
232
|
+
return k > u ? k : u;
|
|
233
233
|
}, 0));
|
|
234
234
|
const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
|
|
235
235
|
return t + a + (a ? 24 : 0);
|
|
@@ -240,8 +240,8 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
240
240
|
Ot((t) => {
|
|
241
241
|
const a = G.value;
|
|
242
242
|
if (!a) return;
|
|
243
|
-
const l = new ResizeObserver((
|
|
244
|
-
ft(
|
|
243
|
+
const l = new ResizeObserver((u) => {
|
|
244
|
+
ft(u[0].contentRect.height);
|
|
245
245
|
});
|
|
246
246
|
l.observe(a), t(() => l.disconnect());
|
|
247
247
|
});
|
|
@@ -251,14 +251,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
251
251
|
let a = 0;
|
|
252
252
|
return G.value && (a = Oe.value), t + a;
|
|
253
253
|
}), c = y(() => {
|
|
254
|
-
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(),
|
|
254
|
+
const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(), u = e.value.style.chart.plots.radius;
|
|
255
255
|
return {
|
|
256
256
|
left: t + l + e.value.style.chart.axes.y.name.offsetX,
|
|
257
|
-
top: a +
|
|
258
|
-
right: f.value.width - e.value.style.chart.padding.right -
|
|
259
|
-
bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value -
|
|
260
|
-
width: f.value.width - t - e.value.style.chart.padding.right - l -
|
|
261
|
-
height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value -
|
|
257
|
+
top: a + u,
|
|
258
|
+
right: f.value.width - e.value.style.chart.padding.right - u - e.value.style.chart.axes.y.name.offsetX,
|
|
259
|
+
bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value - u - e.value.style.chart.axes.x.name.offsetY,
|
|
260
|
+
width: f.value.width - t - e.value.style.chart.padding.right - l - u - e.value.style.chart.axes.y.name.offsetX,
|
|
261
|
+
height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value - u * 2 - e.value.style.chart.axes.x.name.offsetY
|
|
262
262
|
};
|
|
263
263
|
}), n = v({
|
|
264
264
|
plots: e.value.style.chart.plots.radius,
|
|
@@ -268,7 +268,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
268
268
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
269
269
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
270
270
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
271
|
-
}), N = y(() =>
|
|
271
|
+
}), N = y(() => it.value.map((t, a) => ({
|
|
272
272
|
...t,
|
|
273
273
|
color: t.color ? Et(t.color) : vt.value[a] || Q[a] || Q[a % Q.length],
|
|
274
274
|
seriesIndex: a
|
|
@@ -323,11 +323,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
323
323
|
color: t.color,
|
|
324
324
|
seriesName: t.name,
|
|
325
325
|
id: je()
|
|
326
|
-
})),
|
|
326
|
+
})), u = l.map((s) => `${s.x},${s.y} `).join("").trim();
|
|
327
327
|
return {
|
|
328
328
|
...t,
|
|
329
329
|
plots: l,
|
|
330
|
-
path: `M${
|
|
330
|
+
path: `M${u}`
|
|
331
331
|
};
|
|
332
332
|
}));
|
|
333
333
|
function Fe(t) {
|
|
@@ -366,10 +366,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
366
366
|
}
|
|
367
367
|
function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
368
368
|
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;
|
|
369
|
-
const
|
|
370
|
-
if (W.value = !1, Kt(
|
|
369
|
+
const u = e.value.style.chart.tooltip.customFormat;
|
|
370
|
+
if (W.value = !1, Kt(u))
|
|
371
371
|
try {
|
|
372
|
-
const s =
|
|
372
|
+
const s = u({
|
|
373
373
|
seriesIndex: l,
|
|
374
374
|
datapoint: t,
|
|
375
375
|
plotIndex: a,
|
|
@@ -414,7 +414,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
414
414
|
e.value.table.columnNames.datapoint,
|
|
415
415
|
e.value.table.columnNames.x,
|
|
416
416
|
e.value.table.columnNames.y
|
|
417
|
-
], a = F.value.flatMap((
|
|
417
|
+
], a = F.value.flatMap((u) => u.plots.map((s) => [
|
|
418
418
|
{
|
|
419
419
|
color: s.color,
|
|
420
420
|
name: s.seriesName
|
|
@@ -472,11 +472,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
472
472
|
[J.label],
|
|
473
473
|
[J.valueX],
|
|
474
474
|
[J.valueY]
|
|
475
|
-
])),
|
|
475
|
+
])), u = [
|
|
476
476
|
[e.value.style.chart.title.text],
|
|
477
477
|
[e.value.style.chart.title.subtitle.text],
|
|
478
478
|
a
|
|
479
|
-
].concat(l), s = Zt(
|
|
479
|
+
].concat(l), s = Zt(u);
|
|
480
480
|
t ? t(s) : Jt({
|
|
481
481
|
csvContent: s,
|
|
482
482
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
@@ -498,14 +498,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
498
498
|
}
|
|
499
499
|
async function $t({ scale: t = 2 } = {}) {
|
|
500
500
|
if (!$.value) return;
|
|
501
|
-
const { width: a, height: l } = $.value.getBoundingClientRect(),
|
|
501
|
+
const { width: a, height: l } = $.value.getBoundingClientRect(), u = a / l, { imageUri: s, base64: k } = await rl({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
502
502
|
return {
|
|
503
503
|
imageUri: s,
|
|
504
504
|
base64: k,
|
|
505
505
|
title: e.value.style.chart.title.text,
|
|
506
506
|
width: a,
|
|
507
507
|
height: l,
|
|
508
|
-
aspectRatio:
|
|
508
|
+
aspectRatio: u
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
const St = y(() => x.value.tickX), Tt = y(() => ({ start: 0, end: x.value.tickX.length }));
|
|
@@ -574,13 +574,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
574
574
|
ref: $,
|
|
575
575
|
class: P({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
|
|
576
576
|
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%" : ""}`),
|
|
577
|
-
onMouseenter: a[2] || (a[2] = () =>
|
|
578
|
-
onMouseleave: a[3] || (a[3] = () =>
|
|
577
|
+
onMouseenter: a[2] || (a[2] = () => i(Le)(!0)),
|
|
578
|
+
onMouseleave: a[3] || (a[3] = () => i(Le)(!1))
|
|
579
579
|
}, [
|
|
580
580
|
p(t.$slots, "userConfig", {}, void 0, !0),
|
|
581
|
-
e.value.userOptions.buttons.annotator ? (o(), I(
|
|
581
|
+
e.value.userOptions.buttons.annotator ? (o(), I(i(st), {
|
|
582
582
|
key: 0,
|
|
583
|
-
svgRef:
|
|
583
|
+
svgRef: i(Se),
|
|
584
584
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
585
585
|
color: e.value.style.chart.color,
|
|
586
586
|
active: Z.value,
|
|
@@ -617,14 +617,14 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
617
617
|
_("div", {
|
|
618
618
|
id: `legend-top-${S.value}`
|
|
619
619
|
}, null, 8, vl),
|
|
620
|
-
e.value.userOptions.show && V.value && (
|
|
620
|
+
e.value.userOptions.show && V.value && (i($e) || i(ie)) ? (o(), I(i(ot), {
|
|
621
621
|
ref_key: "userOptionsRef",
|
|
622
622
|
ref: ae,
|
|
623
623
|
key: `user_option_${be.value}`,
|
|
624
624
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
625
625
|
color: e.value.style.chart.color,
|
|
626
|
-
isPrinting:
|
|
627
|
-
isImaging:
|
|
626
|
+
isPrinting: i(Te),
|
|
627
|
+
isImaging: i(Me),
|
|
628
628
|
uid: S.value,
|
|
629
629
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
630
630
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -644,20 +644,20 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
644
644
|
printScale: e.value.userOptions.print.scale,
|
|
645
645
|
tableDialog: e.value.table.useDialog,
|
|
646
646
|
onToggleFullscreen: Xe,
|
|
647
|
-
onGeneratePdf:
|
|
647
|
+
onGeneratePdf: i(ze),
|
|
648
648
|
onGenerateCsv: ve,
|
|
649
|
-
onGenerateImage:
|
|
649
|
+
onGenerateImage: i(Ne),
|
|
650
650
|
onToggleTable: Re,
|
|
651
651
|
onToggleTooltip: Be,
|
|
652
652
|
onToggleAnnotator: he,
|
|
653
653
|
style: L({
|
|
654
|
-
visibility:
|
|
654
|
+
visibility: i($e) ? i(ie) ? "visible" : "hidden" : "visible"
|
|
655
655
|
})
|
|
656
656
|
}, He({ _: 2 }, [
|
|
657
657
|
t.$slots.menuIcon ? {
|
|
658
658
|
name: "menuIcon",
|
|
659
|
-
fn: m(({ isOpen: l, color:
|
|
660
|
-
p(t.$slots, "menuIcon", R(B({ isOpen: l, color:
|
|
659
|
+
fn: m(({ isOpen: l, color: u }) => [
|
|
660
|
+
p(t.$slots, "menuIcon", R(B({ isOpen: l, color: u })), void 0, !0)
|
|
661
661
|
]),
|
|
662
662
|
key: "0"
|
|
663
663
|
} : void 0,
|
|
@@ -698,15 +698,15 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
698
698
|
} : void 0,
|
|
699
699
|
t.$slots.optionFullscreen ? {
|
|
700
700
|
name: "optionFullscreen",
|
|
701
|
-
fn: m(({ toggleFullscreen: l, isFullscreen:
|
|
702
|
-
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen:
|
|
701
|
+
fn: m(({ toggleFullscreen: l, isFullscreen: u }) => [
|
|
702
|
+
p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
|
|
703
703
|
]),
|
|
704
704
|
key: "6"
|
|
705
705
|
} : void 0,
|
|
706
706
|
t.$slots.optionAnnotator ? {
|
|
707
707
|
name: "optionAnnotator",
|
|
708
|
-
fn: m(({ toggleAnnotator: l, isAnnotator:
|
|
709
|
-
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator:
|
|
708
|
+
fn: m(({ toggleAnnotator: l, isAnnotator: u }) => [
|
|
709
|
+
p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
|
|
710
710
|
]),
|
|
711
711
|
key: "7"
|
|
712
712
|
} : void 0
|
|
@@ -714,11 +714,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
714
714
|
(o(), r("svg", {
|
|
715
715
|
ref_key: "svgRef",
|
|
716
716
|
ref: Se,
|
|
717
|
-
xmlns:
|
|
717
|
+
xmlns: i(Ht),
|
|
718
718
|
viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
|
|
719
719
|
style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
720
720
|
}, [
|
|
721
|
-
de(
|
|
721
|
+
de(i(rt)),
|
|
722
722
|
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
723
723
|
key: 0,
|
|
724
724
|
x: c.value.left,
|
|
@@ -732,17 +732,17 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
732
732
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
733
733
|
], 8, dl)) : h("", !0),
|
|
734
734
|
e.value.style.chart.plots.gradient.show ? (o(), r("defs", yl, [
|
|
735
|
-
(o(!0), r(b, null, g(F.value, (l,
|
|
736
|
-
id: `gradient_${
|
|
735
|
+
(o(!0), r(b, null, g(F.value, (l, u) => (o(), r("radialGradient", {
|
|
736
|
+
id: `gradient_${u}_${S.value}`,
|
|
737
737
|
fy: "30%"
|
|
738
738
|
}, [
|
|
739
739
|
_("stop", {
|
|
740
740
|
offset: "10%",
|
|
741
|
-
"stop-color":
|
|
741
|
+
"stop-color": i(Wt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
742
742
|
}, null, 8, xl),
|
|
743
743
|
_("stop", {
|
|
744
744
|
offset: "90%",
|
|
745
|
-
"stop-color":
|
|
745
|
+
"stop-color": i(jt)(l.color, 0.1)
|
|
746
746
|
}, null, 8, pl),
|
|
747
747
|
_("stop", {
|
|
748
748
|
offset: "100%",
|
|
@@ -783,10 +783,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
783
783
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
784
784
|
"font-size": n.value.yAxisLabels,
|
|
785
785
|
"text-anchor": "end"
|
|
786
|
-
}, T(
|
|
786
|
+
}, T(i(Y)(
|
|
787
787
|
e.value.style.chart.axes.y.labels.formatter,
|
|
788
788
|
l.value,
|
|
789
|
-
|
|
789
|
+
i(E)({
|
|
790
790
|
p: e.value.style.chart.axes.y.labels.prefix,
|
|
791
791
|
v: l.value,
|
|
792
792
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
@@ -837,10 +837,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
837
837
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
838
838
|
"font-size": n.value.xAxisLabels,
|
|
839
839
|
"text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
840
|
-
}, T(
|
|
840
|
+
}, T(i(Y)(
|
|
841
841
|
e.value.style.chart.axes.x.labels.formatter,
|
|
842
842
|
l.value,
|
|
843
|
-
|
|
843
|
+
i(E)({
|
|
844
844
|
p: e.value.style.chart.axes.x.labels.prefix,
|
|
845
845
|
v: l.value,
|
|
846
846
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
@@ -879,7 +879,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
879
879
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
880
880
|
"stroke-linecap": "round"
|
|
881
881
|
}, null, 8, Nl)) : h("", !0),
|
|
882
|
-
(o(!0), r(b, null, g(F.value, (l,
|
|
882
|
+
(o(!0), r(b, null, g(F.value, (l, u) => (o(), r("g", null, [
|
|
883
883
|
e.value.style.chart.paths.show ? (o(), r("g", {
|
|
884
884
|
key: 0,
|
|
885
885
|
style: L({
|
|
@@ -893,7 +893,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
893
893
|
fill: "none",
|
|
894
894
|
"stroke-linecap": "round",
|
|
895
895
|
"stroke-linejoin": "round",
|
|
896
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
896
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) })
|
|
897
897
|
}, null, 10, Ol),
|
|
898
898
|
_("path", {
|
|
899
899
|
d: l.path,
|
|
@@ -902,7 +902,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
902
902
|
fill: "none",
|
|
903
903
|
"stroke-linecap": "round",
|
|
904
904
|
"stroke-linejoin": "round",
|
|
905
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
905
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) })
|
|
906
906
|
}, null, 10, Il)
|
|
907
907
|
], 4)) : h("", !0),
|
|
908
908
|
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
@@ -915,11 +915,11 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
915
915
|
(o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
|
|
916
916
|
cx: s.x,
|
|
917
917
|
cy: s.y,
|
|
918
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${
|
|
918
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${u}_${S.value})` : s.color,
|
|
919
919
|
r: n.value.plots,
|
|
920
920
|
stroke: e.value.style.chart.plots.stroke,
|
|
921
921
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
922
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
922
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) }),
|
|
923
923
|
style: L({
|
|
924
924
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
925
925
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -936,12 +936,12 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
936
936
|
fill: e.value.style.chart.plots.labels.color,
|
|
937
937
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
938
938
|
"text-anchor": "middle",
|
|
939
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
939
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) }),
|
|
940
940
|
style: L({
|
|
941
941
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
942
942
|
transition: "opacity 0.2s ease-in-out"
|
|
943
943
|
}),
|
|
944
|
-
innerHTML:
|
|
944
|
+
innerHTML: i(Ut)({
|
|
945
945
|
content: String(s.label),
|
|
946
946
|
fontSize: n.value.labels,
|
|
947
947
|
fill: e.value.style.chart.plots.labels.color,
|
|
@@ -956,7 +956,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
956
956
|
fill: e.value.style.chart.plots.labels.color,
|
|
957
957
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
958
958
|
"text-anchor": "middle",
|
|
959
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
959
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) }),
|
|
960
960
|
style: L({
|
|
961
961
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
962
962
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -970,9 +970,9 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
970
970
|
y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
|
|
971
971
|
"font-size": n.value.indexLabels,
|
|
972
972
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
973
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ?
|
|
973
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(Gt)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
974
974
|
"text-anchor": "middle",
|
|
975
|
-
class: P({ animated: e.value.useCssAnimation && !
|
|
975
|
+
class: P({ animated: e.value.useCssAnimation && !i(z) }),
|
|
976
976
|
style: L({
|
|
977
977
|
opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
|
|
978
978
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -981,24 +981,24 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
981
981
|
])) : h("", !0)
|
|
982
982
|
]))), 256)),
|
|
983
983
|
(o(!0), r(b, null, g(F.value, (l) => (o(), r("g", null, [
|
|
984
|
-
(o(!0), r(b, null, g(l.plots, (
|
|
985
|
-
cx:
|
|
986
|
-
cy:
|
|
984
|
+
(o(!0), r(b, null, g(l.plots, (u, s) => (o(), r("circle", {
|
|
985
|
+
cx: u.x,
|
|
986
|
+
cy: u.y,
|
|
987
987
|
fill: "transparent",
|
|
988
988
|
r: n.value.plots,
|
|
989
989
|
stroke: "none",
|
|
990
990
|
onMouseenter: (k) => _t({
|
|
991
|
-
datapoint:
|
|
991
|
+
datapoint: u,
|
|
992
992
|
plotIndex: s,
|
|
993
993
|
seriesIndex: l.seriesIndex
|
|
994
994
|
}),
|
|
995
995
|
onMouseleave: (k) => At({
|
|
996
|
-
datapoint:
|
|
996
|
+
datapoint: u,
|
|
997
997
|
plotIndex: s,
|
|
998
998
|
seriesIndex: l.seriesIndex
|
|
999
999
|
}),
|
|
1000
1000
|
onClick: (k) => Ct({
|
|
1001
|
-
datapoint:
|
|
1001
|
+
datapoint: u,
|
|
1002
1002
|
plotIndex: s,
|
|
1003
1003
|
seriesIndex: l.seriesIndex
|
|
1004
1004
|
})
|
|
@@ -1007,7 +1007,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1007
1007
|
p(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
1008
1008
|
], 12, hl)),
|
|
1009
1009
|
t.$slots.watermark ? (o(), r("div", Hl, [
|
|
1010
|
-
p(t.$slots, "watermark", R(B({ isPrinting:
|
|
1010
|
+
p(t.$slots, "watermark", R(B({ isPrinting: i(Te) || i(Me) })), void 0, !0)
|
|
1011
1011
|
])) : h("", !0),
|
|
1012
1012
|
_("div", {
|
|
1013
1013
|
id: `legend-bottom-${S.value}`
|
|
@@ -1020,7 +1020,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1020
1020
|
ref_key: "chartLegend",
|
|
1021
1021
|
ref: xe
|
|
1022
1022
|
}, [
|
|
1023
|
-
e.value.style.chart.legend.show && V.value ? (o(), I(
|
|
1023
|
+
e.value.style.chart.legend.show && V.value ? (o(), I(ul, {
|
|
1024
1024
|
key: `legend_${pe.value}`,
|
|
1025
1025
|
legendSet: Pe.value,
|
|
1026
1026
|
config: wt.value,
|
|
@@ -1028,7 +1028,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1028
1028
|
Fe(l.seriesIndex), De(l);
|
|
1029
1029
|
})
|
|
1030
1030
|
}, {
|
|
1031
|
-
item: m(({ legend: l, index:
|
|
1031
|
+
item: m(({ legend: l, index: u }) => [
|
|
1032
1032
|
_("div", {
|
|
1033
1033
|
onClick: (s) => {
|
|
1034
1034
|
l.segregate(), De(l);
|
|
@@ -1051,7 +1051,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1051
1051
|
}, [
|
|
1052
1052
|
p(t.$slots, "source", {}, void 0, !0)
|
|
1053
1053
|
], 512)) : h("", !0),
|
|
1054
|
-
de(
|
|
1054
|
+
de(i(et), {
|
|
1055
1055
|
show: C.value.showTooltip && te.value,
|
|
1056
1056
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1057
1057
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1079,13 +1079,13 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1079
1079
|
]),
|
|
1080
1080
|
_: 3
|
|
1081
1081
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1082
|
-
V.value ? (o(), I(Ft(U.value.component), Pt({ key: 7 }, U.value.props, {
|
|
1082
|
+
V.value && e.value.userOptions.buttons.table ? (o(), I(Ft(U.value.component), Pt({ key: 7 }, U.value.props, {
|
|
1083
1083
|
ref_key: "tableUnit",
|
|
1084
1084
|
ref: j,
|
|
1085
1085
|
onClose: Ye
|
|
1086
1086
|
}), He({
|
|
1087
1087
|
content: m(() => [
|
|
1088
|
-
(o(), I(
|
|
1088
|
+
(o(), I(i(at), {
|
|
1089
1089
|
key: `table_${me.value}`,
|
|
1090
1090
|
colNames: q.value.colNames,
|
|
1091
1091
|
head: q.value.head,
|
|
@@ -1124,7 +1124,7 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1124
1124
|
class: "vue-ui-user-options-button",
|
|
1125
1125
|
onClick: a[1] || (a[1] = (l) => ve(e.value.userOptions.callbacks.csv))
|
|
1126
1126
|
}, [
|
|
1127
|
-
de(
|
|
1127
|
+
de(i(tt), {
|
|
1128
1128
|
name: "excel",
|
|
1129
1129
|
stroke: U.value.props.color
|
|
1130
1130
|
}, null, 8, ["stroke"])
|
|
@@ -1133,10 +1133,10 @@ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "widt
|
|
|
1133
1133
|
key: "1"
|
|
1134
1134
|
} : void 0
|
|
1135
1135
|
]), 1040)) : h("", !0),
|
|
1136
|
-
|
|
1136
|
+
i(z) ? (o(), I(tl, { key: 8 })) : h("", !0)
|
|
1137
1137
|
], 46, cl));
|
|
1138
1138
|
}
|
|
1139
|
-
}, na = /* @__PURE__ */
|
|
1139
|
+
}, na = /* @__PURE__ */ il(Gl, [["__scopeId", "data-v-e31fd7ba"]]);
|
|
1140
1140
|
export {
|
|
1141
1141
|
na as default
|
|
1142
1142
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, computed as C, useSlots as w, onMounted as k, watch as y, ref as $, createElementBlock as s, openBlock as i, normalizeStyle as u, normalizeClass as r, createElementVNode as b, renderSlot as n, createTextVNode as h, toDisplayString as F, createVNode as B, unref as v, Fragment as L } from "vue";
|
|
2
|
-
import { u as M } from "./useNestedProp-
|
|
3
|
-
import { u as E, k as I, i as O } from "./index-
|
|
2
|
+
import { u as M } from "./useNestedProp-OxTlfHdh.js";
|
|
3
|
+
import { u as E, k as I, i as O } from "./index-BlRUhv0O.js";
|
|
4
4
|
const R = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -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-Bh5fmCge.js")), { vue_ui_kpi: D } = E(), l = o, e = C({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), S = w(), A = C(() => e.value.debug);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import { u as y, X as L } from "./index-
|
|
2
|
+
import { u as m } from "./useNestedProp-OxTlfHdh.js";
|
|
3
|
+
import { u as y, X as L } from "./index-BlRUhv0O.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
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",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars as ht, defineAsyncComponent as h, computed as b, onMounted as pt, ref as r, toRefs as ft, watch as E, nextTick as U, createElementBlock as C, openBlock as u, unref as a, normalizeStyle as M, normalizeClass as _e, createBlock as w, createCommentVNode as g, createVNode as I, createSlots as Oe, withCtx as c, renderSlot as v, normalizeProps as T, guardReactiveProps as $, createElementVNode as P, Fragment as mt, renderList as gt, resolveDynamicComponent as bt, mergeProps as Ct, createTextVNode as De, toDisplayString as Ie } from "vue";
|
|
2
|
-
import { u as yt, o as At, f as kt, c as Pe, t as wt, a as Tt, p as Fe, b as $t, d as _t, Q as Ot, X as Dt, l as It, R as Pt, e as Se, v as Ft, w as St, y as Nt, z as Lt } from "./index-
|
|
2
|
+
import { u as yt, o as At, f as kt, c as Pe, t as wt, a as Tt, p as Fe, b as $t, d as _t, Q as Ot, X as Dt, l as It, R as Pt, e as Se, v as Ft, w as St, y as Nt, z as Lt } from "./index-BlRUhv0O.js";
|
|
3
3
|
import { u as Bt, B as xt } from "./BaseScanner-BgWxam9d.js";
|
|
4
|
-
import { u as Rt } from "./usePrinter-
|
|
5
|
-
import { u as Ne } from "./useNestedProp-
|
|
4
|
+
import { u as Rt } from "./usePrinter-DR__HfSR.js";
|
|
5
|
+
import { u as Ne } from "./useNestedProp-OxTlfHdh.js";
|
|
6
6
|
import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Mt from "./img-
|
|
8
|
+
import Mt from "./img-DN0--Lx6.js";
|
|
9
9
|
import { u as zt } from "./usePanZoom-BVca3eMk.js";
|
|
10
10
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Vt = ["id"], Gt = {
|
|
@@ -46,9 +46,9 @@ const Vt = ["id"], Gt = {
|
|
|
46
46
|
emits: ["selectNode"],
|
|
47
47
|
setup(Le, { expose: Be, emit: xe }) {
|
|
48
48
|
ht((t) => ({
|
|
49
|
-
|
|
49
|
+
"9a76e0a8": t.slicerColor
|
|
50
50
|
}));
|
|
51
|
-
const Re = h(() => import("./Title-
|
|
51
|
+
const Re = h(() => import("./Title-BUVvr0U8.js")), Ee = h(() => import("./Tooltip-VlJQQsYu.js")), te = h(() => import("./BaseIcon-BCS8aIf4.js")), Ue = h(() => import("./vue-ui-accordion-DejV6zJ2.js")), Me = h(() => import("./DataTable-Ddu14t59.js")), ze = h(() => import("./PenAndPaper-DtlEAsLw.js")), He = h(() => import("./UserOptions-sSygisu3.js")), Ve = h(() => import("./PackageVersion-CtYY8jBZ.js")), Ge = h(() => import("./RecursiveLinks-00zGWPf9.js")), We = h(() => import("./RecursiveLabels-Bgcv0pzu.js")), Xe = h(() => import("./RecursiveCircles-BcLb1aRS.js")), je = h(() => import("./BaseDraggableDialog-Bdva4JFr.js")), { vue_ui_molecule: Ye } = yt(), A = Le, Ze = xe, oe = b(() => !!A.dataset && A.dataset.length);
|
|
52
52
|
pt(() => {
|
|
53
53
|
le();
|
|
54
54
|
});
|
|
@@ -646,7 +646,7 @@ const Vt = ["id"], Gt = {
|
|
|
646
646
|
]),
|
|
647
647
|
_: 3
|
|
648
648
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
649
|
-
oe.value ? (u(), w(bt(L.value.component), Ct({ key: 7 }, L.value.props, {
|
|
649
|
+
oe.value && e.value.userOptions.buttons.table ? (u(), w(bt(L.value.component), Ct({ key: 7 }, L.value.props, {
|
|
650
650
|
ref_key: "tableUnit",
|
|
651
651
|
ref: F,
|
|
652
652
|
onClose: ke
|
|
@@ -703,7 +703,7 @@ const Vt = ["id"], Gt = {
|
|
|
703
703
|
a(G) ? (u(), w(xt, { key: 8 })) : g("", !0)
|
|
704
704
|
], 46, Vt));
|
|
705
705
|
}
|
|
706
|
-
}, ho = /* @__PURE__ */ Ht(to, [["__scopeId", "data-v-
|
|
706
|
+
}, ho = /* @__PURE__ */ Ht(to, [["__scopeId", "data-v-8444816b"]]);
|
|
707
707
|
export {
|
|
708
708
|
ho as default
|
|
709
709
|
};
|