vue-data-ui 2.12.7 → 2.12.8-beta.1
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 +17 -0
- package/dist/{Arrow-Ca6eG0N_.js → Arrow-BZERXYRS.js} +1 -1
- package/dist/{BaseDraggableDialog-ByVkW-AD.js → BaseDraggableDialog-CsxEDFbY.js} +2 -2
- package/dist/{BaseIcon-C6sfyz-t.js → BaseIcon-C8g0bTnH.js} +1 -1
- package/dist/{ColorPicker-BjYIxV3R.js → ColorPicker-RCAns9t0.js} +2 -2
- package/dist/{DataTable-RHHytgnf.js → DataTable-DN8VsGNp.js} +2 -2
- package/dist/{Legend-DVoE92UD.js → Legend-B3x9Et6h.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Dm_GccZF.js → NonSvgPenAndPaper-D9ieEyKs.js} +3 -3
- package/dist/{PackageVersion-D3jw9qbD.js → PackageVersion-CFpmup6M.js} +2 -2
- package/dist/{PenAndPaper-DJQnBZUj.js → PenAndPaper-BrIjEzie.js} +3 -3
- package/dist/{Shape-D5RvL1Z8.js → Shape-CtkpE63a.js} +1 -1
- package/dist/{Slicer-UV4lGIFL.js → Slicer-COOEkKtu.js} +8 -8
- package/dist/{SparkTooltip-Cb7yfdvd.js → SparkTooltip-4iy6SPsL.js} +1 -1
- package/dist/{Title-Cy8tVKle.js → Title-BEQiIKjn.js} +1 -1
- package/dist/{Tooltip-C-WS5r47.js → Tooltip-R_tsQZO3.js} +1 -1
- package/dist/{UserOptions-Dy7HJubE.js → UserOptions-CIOyDPmN.js} +1 -1
- package/dist/{dom-to-png-BRrq6I_8.js → dom-to-png-CUCFZVax.js} +1 -1
- package/dist/{img-bj45MO35.js → img-DG5CAMFC.js} +1 -1
- package/dist/{index-BwdSxQMg.js → index-_gtZv10q.js} +635 -622
- package/dist/{pdf-Dhfyl6BR.js → pdf-CTRFaSN8.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +48 -0
- package/dist/types/vue-data-ui.d.ts +48 -0
- package/dist/{useNestedProp-CBca8A73.js → useNestedProp-Bz6Z0t8M.js} +1 -1
- package/dist/{usePrinter-CyvQ_O7J.js → usePrinter-LFM5suk6.js} +2 -2
- package/dist/{vue-data-ui-CTTwY7-z.js → vue-data-ui-DdACgPWc.js} +63 -63
- package/dist/vue-data-ui.js +6 -5
- package/dist/{vue-ui-3d-bar-CJ7FJpOh.js → vue-ui-3d-bar-BJNtd28w.js} +5 -5
- package/dist/{vue-ui-accordion-CRCKYAl1.js → vue-ui-accordion-DFfQ5rpF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CpcBTvl9.js → vue-ui-age-pyramid-DHs_TL8y.js} +5 -5
- package/dist/{vue-ui-annotator-CTcCenyG.js → vue-ui-annotator-CuPdtRUq.js} +2 -2
- package/dist/{vue-ui-bullet-DcwqXWjE.js → vue-ui-bullet-3TXSEM2Y.js} +6 -6
- package/dist/{vue-ui-candlestick-Co2B_FWz.js → vue-ui-candlestick-IcQJ9_WS.js} +9 -9
- package/dist/{vue-ui-carousel-table-BQ2jYaeN.js → vue-ui-carousel-table-DX7aRcCS.js} +4 -4
- package/dist/{vue-ui-chestnut-C-nM3yzb.js → vue-ui-chestnut-m-FVZD8y.js} +4 -4
- package/dist/{vue-ui-chord-DdFQS_uU.js → vue-ui-chord-DrvRDAyr.js} +7 -7
- package/dist/{vue-ui-circle-pack-Bz973n8i.js → vue-ui-circle-pack-CkNvMtLt.js} +5 -5
- package/dist/{vue-ui-cursor-CSb2HkUs.js → vue-ui-cursor-DxvPYJ2Y.js} +2 -2
- package/dist/{vue-ui-dashboard-CrMgEp3I.js → vue-ui-dashboard-CygrXSEE.js} +62 -62
- package/dist/{vue-ui-digits-B3vsg22h.js → vue-ui-digits-C-WSlGoq.js} +2 -2
- package/dist/{vue-ui-donut-DNFEdMVz.js → vue-ui-donut-CHoBqz39.js} +7 -7
- package/dist/{vue-ui-donut-evolution-DOX3I1hV.js → vue-ui-donut-evolution-D-ls2LUq.js} +7 -7
- package/dist/{vue-ui-dumbbell-usTCsUvW.js → vue-ui-dumbbell-BnwCfYOJ.js} +6 -6
- package/dist/{vue-ui-flow-D5ThUyEG.js → vue-ui-flow-09xAMehp.js} +6 -6
- package/dist/{vue-ui-funnel-CJ6PFMbq.js → vue-ui-funnel-DOrXAsbx.js} +9 -9
- package/dist/{vue-ui-galaxy-p0ftc25o.js → vue-ui-galaxy-BMXyhvCe.js} +4 -4
- package/dist/{vue-ui-gauge-CS6PUXDS.js → vue-ui-gauge-DkJVRsqL.js} +5 -5
- package/dist/{vue-ui-gizmo-DB89DfnA.js → vue-ui-gizmo-EISlXvOs.js} +3 -3
- package/dist/{vue-ui-heatmap-C7rXMkYw.js → vue-ui-heatmap-B3dgboHu.js} +6 -6
- package/dist/{vue-ui-history-plot-9P-hAVn-.js → vue-ui-history-plot-GZwvTkfa.js} +49 -49
- package/dist/{vue-ui-kpi-DT8S5hNy.js → vue-ui-kpi-Dyuf4jAg.js} +3 -3
- package/dist/{vue-ui-mini-loader-LahP_LkI.js → vue-ui-mini-loader-B2gkvvEB.js} +2 -2
- package/dist/{vue-ui-molecule-BQsS3sh8.js → vue-ui-molecule-DFTLY4ad.js} +4 -4
- package/dist/{vue-ui-mood-radar-CSaLjeb2.js → vue-ui-mood-radar-CQlhpdhp.js} +6 -6
- package/dist/{vue-ui-nested-donuts-DychuNJO.js → vue-ui-nested-donuts-BVS8QHol.js} +6 -6
- package/dist/{vue-ui-onion-CJd7q9G7.js → vue-ui-onion-BVdWS8RK.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-CRRsL9a4.js → vue-ui-parallel-coordinate-plot-crvd8Pln.js} +26 -26
- package/dist/{vue-ui-quadrant-BpacFtAs.js → vue-ui-quadrant-CREePTU2.js} +7 -7
- package/dist/{vue-ui-quick-chart-BYahfHel.js → vue-ui-quick-chart-DeaiKdlr.js} +5 -5
- package/dist/{vue-ui-radar-BNev5PVC.js → vue-ui-radar-BIL-3GUR.js} +6 -6
- package/dist/{vue-ui-rating-DtJ9fjAP.js → vue-ui-rating-BpU03_iR.js} +2 -2
- package/dist/{vue-ui-relation-circle-JfH2VtTH.js → vue-ui-relation-circle-BRUFM-tU.js} +27 -27
- package/dist/{vue-ui-ridgeline-B4wcMSDM.js → vue-ui-ridgeline-B4BGITxs.js} +7 -7
- package/dist/{vue-ui-rings-DhZ8wWdw.js → vue-ui-rings-DZTUSyr7.js} +7 -7
- package/dist/{vue-ui-scatter-C4LwaQuZ.js → vue-ui-scatter-DG1k85e_.js} +7 -7
- package/dist/{vue-ui-skeleton-CRKZxlay.js → vue-ui-skeleton-g2ChSAKh.js} +3 -3
- package/dist/{vue-ui-smiley-BPDmcLyi.js → vue-ui-smiley-BlPJI-D9.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVtNTOJm.js → vue-ui-spark-trend-DhZ3csGm.js} +3 -3
- package/dist/{vue-ui-sparkbar-jSQ8Mm8U.js → vue-ui-sparkbar-cJJWCLiJ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-cokFyQsS.js → vue-ui-sparkgauge-ByCUh-P0.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BTXreTVx.js → vue-ui-sparkhistogram-B3q-6W-d.js} +4 -4
- package/dist/{vue-ui-sparkline-UU0bh7rV.js → vue-ui-sparkline-ZMAOSesx.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DmcsfK7W.js → vue-ui-sparkstackbar-BDVSCmGl.js} +3 -3
- package/dist/{vue-ui-stackbar-_4QU7oWn.js → vue-ui-stackbar-BY3AQz0l.js} +8 -8
- package/dist/{vue-ui-strip-plot-CVDbtr9R.js → vue-ui-strip-plot-DpmUR3PK.js} +9 -9
- package/dist/{vue-ui-table-C6s7vGSO.js → vue-ui-table-DpFMZ4rJ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DHRccqOv.js → vue-ui-table-heatmap-4GOzV-IT.js} +5 -5
- package/dist/{vue-ui-table-sparkline-y2hibpyY.js → vue-ui-table-sparkline-1TrSrWvU.js} +4 -4
- package/dist/{vue-ui-thermometer-DCxM4rrZ.js → vue-ui-thermometer-CZIMCIDI.js} +5 -5
- package/dist/{vue-ui-timer-C_udr-hz.js → vue-ui-timer-C8VQR1EN.js} +22 -22
- package/dist/{vue-ui-tiremarks-DV9pFO41.js → vue-ui-tiremarks-DfCCzbZ-.js} +5 -5
- package/dist/{vue-ui-treemap-rBvqJ7Mi.js → vue-ui-treemap-Buou4k4m.js} +7 -7
- package/dist/{vue-ui-vertical-bar-CGHnPO7J.js → vue-ui-vertical-bar-D5NWJ0Ah.js} +8 -8
- package/dist/{vue-ui-waffle-C-IlVcbT.js → vue-ui-waffle-Cs77FlO0.js} +7 -7
- package/dist/{vue-ui-wheel-69E4wY0h.js → vue-ui-wheel-Oik-vORz.js} +5 -5
- package/dist/{vue-ui-word-cloud-B_KbDpWj.js → vue-ui-word-cloud-a4kmpLK9.js} +5 -5
- package/dist/{vue-ui-world-CfmS5JSY.js → vue-ui-world-CNDCD1yU.js} +5 -5
- package/dist/{vue-ui-xy-efxpAL5I.js → vue-ui-xy-BTe1HiZx.js} +711 -710
- package/dist/{vue-ui-xy-canvas-tfnorg6D.js → vue-ui-xy-canvas-BS0jWsyQ.js} +7 -7
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as N, ref as h, shallowRef as _e, computed as f, onMounted as et, onBeforeUnmount as tt, watch as lt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as M, normalizeClass as F, renderSlot as x, createBlock as O, createCommentVNode as v, createElementVNode as S, createVNode as $e, createSlots as at, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as z, createTextVNode as st, nextTick as ot } from "vue";
|
|
2
|
-
import { u as rt, c as Me, o as nt, e as Ae, g as ut, b as it, d as ct, p as G, D as Te, i as Y, f as j, X as vt, l as ht, h as
|
|
3
|
-
import { u as Se } from "./useNestedProp-
|
|
4
|
-
import { u as bt } from "./usePrinter-
|
|
2
|
+
import { u as rt, c as Me, o as nt, e as Ae, g as ut, b as it, d as ct, p as G, D as Te, i as Y, f as j, X as vt, l as ht, h as dt, G as yt, F as P, t as ft, a as xt, C as V, q as pt, r as mt, x as gt } from "./index-_gtZv10q.js";
|
|
3
|
+
import { u as Se } from "./useNestedProp-Bz6Z0t8M.js";
|
|
4
|
+
import { u as bt } from "./usePrinter-LFM5suk6.js";
|
|
5
5
|
import { t as kt, u as wt } from "./useResponsive-JZ9xq-JV.js";
|
|
6
6
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as _t } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import $t from "./Legend-
|
|
9
|
-
import Mt from "./Title-
|
|
8
|
+
import $t from "./Legend-B3x9Et6h.js";
|
|
9
|
+
import Mt from "./Title-BEQiIKjn.js";
|
|
10
10
|
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"], Lt = { key: 1 }, Nt = ["id"], Ot = ["stop-color"],
|
|
11
|
+
const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"], Lt = { key: 1 }, Nt = ["id"], Ot = ["stop-color"], Pt = ["stop-color"], It = ["stop-color"], Ft = { key: 2 }, Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 3 }, Yt = ["x", "y", "fill", "font-size"], jt = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Et = ["transform", "fill", "font-size", "text-anchor"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Zt = ["cx", "cy", "fill", "r"], Jt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Kt = { key: 1 }, Qt = ["x", "y", "font-size", "fill", "font-weight"], el = { key: 2 }, tl = ["x", "y", "font-size", "font-weight", "fill"], ll = ["cx", "cy", "r", "onMouseenter", "onClick"], al = {
|
|
12
12
|
key: 5,
|
|
13
13
|
class: "vue-data-ui-watermark"
|
|
14
14
|
}, sl = ["onClick"], ol = ["innerHTML"], rl = {
|
|
@@ -29,16 +29,16 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend", "selectDatapoint"],
|
|
31
31
|
setup(ze, { expose: Le, emit: Ne }) {
|
|
32
|
-
const Oe = N(() => import("./vue-ui-accordion-
|
|
33
|
-
get: () => !!
|
|
32
|
+
const Oe = N(() => import("./vue-ui-accordion-DFfQ5rpF.js")), Pe = N(() => import("./DataTable-DN8VsGNp.js")), Ie = N(() => import("./PackageVersion-CFpmup6M.js")), Fe = N(() => import("./PenAndPaper-BrIjEzie.js")), Xe = N(() => import("./vue-ui-skeleton-g2ChSAKh.js")), De = N(() => import("./Tooltip-R_tsQZO3.js")), Ye = N(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_history_plot: je } = rt(), d = ze, R = h(null), ee = h(null), te = h(0), le = h(null), ae = h(0), se = h(0), oe = h(0), A = _e(null), I = _e(null), re = h(null), B = h(Me()), q = h(!1), Z = h(""), g = h([]), E = h(!1), $ = h(null), W = h(!1), ne = h(null), w = f({
|
|
33
|
+
get: () => !!d.dataset && d.dataset.length,
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), ue = Ne;
|
|
36
36
|
et(ie);
|
|
37
37
|
function ie() {
|
|
38
|
-
if (nt(
|
|
38
|
+
if (nt(d.dataset) ? Ae({
|
|
39
39
|
componentName: "VueUiHistoryPlot",
|
|
40
40
|
type: "dataset"
|
|
41
|
-
}) :
|
|
41
|
+
}) : d.dataset.forEach((t, a) => {
|
|
42
42
|
ut({
|
|
43
43
|
datasetObject: t,
|
|
44
44
|
requiredAttributes: ["name", "values"]
|
|
@@ -60,86 +60,86 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
60
60
|
source: ne.value
|
|
61
61
|
});
|
|
62
62
|
requestAnimationFrame(() => {
|
|
63
|
-
|
|
63
|
+
y.value.width = a, y.value.height = l, e.value.responsiveProportionalSizing && (u.value.plots = P({
|
|
64
64
|
relator: Math.min(a, l),
|
|
65
65
|
adjuster: 600,
|
|
66
66
|
source: e.value.style.chart.plots.radius,
|
|
67
67
|
threshold: 3,
|
|
68
68
|
fallback: 3
|
|
69
|
-
}), u.value.indexLabels =
|
|
69
|
+
}), u.value.indexLabels = P({
|
|
70
70
|
relator: Math.min(a, l),
|
|
71
71
|
adjuster: 600,
|
|
72
72
|
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
73
73
|
threshold: 6,
|
|
74
74
|
fallback: 6
|
|
75
|
-
}), u.value.labels =
|
|
75
|
+
}), u.value.labels = P({
|
|
76
76
|
relator: Math.min(a, l),
|
|
77
77
|
adjuster: 600,
|
|
78
78
|
source: e.value.style.chart.plots.labels.fontSize,
|
|
79
79
|
threshold: 6,
|
|
80
80
|
fallback: 6
|
|
81
|
-
}), u.value.xAxisLabels =
|
|
81
|
+
}), u.value.xAxisLabels = P({
|
|
82
82
|
relator: Math.min(a, l),
|
|
83
83
|
adjuster: 600,
|
|
84
84
|
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
85
85
|
threshold: 6,
|
|
86
86
|
fallback: 6
|
|
87
|
-
}), u.value.xAxisName =
|
|
87
|
+
}), u.value.xAxisName = P({
|
|
88
88
|
relator: Math.min(a, l),
|
|
89
89
|
adjuster: 600,
|
|
90
90
|
source: e.value.style.chart.axes.x.name.fontSize,
|
|
91
91
|
threshold: 6,
|
|
92
92
|
fallback: 6
|
|
93
|
-
}), u.value.yAxisLabels =
|
|
93
|
+
}), u.value.yAxisLabels = P({
|
|
94
94
|
relator: Math.min(a, l),
|
|
95
95
|
adjuster: 600,
|
|
96
96
|
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
97
97
|
threshold: 6,
|
|
98
98
|
fallback: 6
|
|
99
|
-
}), u.value.yAxisName =
|
|
99
|
+
}), u.value.yAxisName = P({
|
|
100
100
|
relator: Math.min(a, l),
|
|
101
101
|
adjuster: 600,
|
|
102
102
|
source: e.value.style.chart.axes.y.name.fontSize,
|
|
103
103
|
threshold: 6,
|
|
104
104
|
fallback: 6
|
|
105
|
-
});
|
|
105
|
+
}));
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
|
-
A.value && (
|
|
108
|
+
A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect()), A.value = new ResizeObserver(t), I.value = R.value.parentNode, A.value.observe(I.value);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
tt(() => {
|
|
112
|
-
A.value && (
|
|
112
|
+
A.value && (I.value && A.value.unobserve(I.value), A.value.disconnect());
|
|
113
113
|
});
|
|
114
114
|
function ce() {
|
|
115
115
|
const t = Se({
|
|
116
|
-
userConfig:
|
|
116
|
+
userConfig: d.config,
|
|
117
117
|
defaultConfig: je
|
|
118
118
|
});
|
|
119
119
|
let a = {};
|
|
120
120
|
return t.theme ? a = {
|
|
121
121
|
...Se({
|
|
122
|
-
userConfig: xt.vue_ui_history_plot[t.theme] ||
|
|
122
|
+
userConfig: xt.vue_ui_history_plot[t.theme] || d.config,
|
|
123
123
|
defaultConfig: t
|
|
124
124
|
}),
|
|
125
125
|
customPalette: ft[t.theme] || G
|
|
126
|
-
} : a = t,
|
|
126
|
+
} : a = t, d.config && V(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 && V(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 && V(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 && V(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;
|
|
127
127
|
}
|
|
128
128
|
const e = f({
|
|
129
129
|
get: () => ce(),
|
|
130
130
|
set: (t) => t
|
|
131
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: he } = Ct({ config: e.value }), { svgRef:
|
|
132
|
-
lt(() =>
|
|
133
|
-
e.value = ce(), J.value = !e.value.userOptions.showOnChartHover, ie(), te.value += 1, se.value += 1, ae.value += 1,
|
|
131
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: he } = Ct({ config: e.value }), { svgRef: de } = _t({ config: e.value.style.chart.title });
|
|
132
|
+
lt(() => d.config, (t) => {
|
|
133
|
+
e.value = ce(), J.value = !e.value.userOptions.showOnChartHover, ie(), te.value += 1, se.value += 1, ae.value += 1, y.value.height = e.value.style.chart.height, y.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.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;
|
|
134
134
|
}, { deep: !0 });
|
|
135
|
-
const { isPrinting:
|
|
135
|
+
const { isPrinting: ye, isImaging: fe, generatePdf: xe, generateImage: pe } = bt({
|
|
136
136
|
elementId: `history_plot_${B.value}`,
|
|
137
137
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
|
|
138
138
|
options: e.value.userOptions.print
|
|
139
139
|
}), Re = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Be = f(() => it(e.value.customPalette)), C = h({
|
|
140
140
|
showTable: e.value.table.show,
|
|
141
141
|
showTooltip: e.value.style.chart.tooltip.show
|
|
142
|
-
}),
|
|
142
|
+
}), y = h({
|
|
143
143
|
height: e.value.style.chart.height,
|
|
144
144
|
width: e.value.style.chart.width
|
|
145
145
|
}), n = f(() => {
|
|
@@ -147,10 +147,10 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
147
147
|
return {
|
|
148
148
|
left: t,
|
|
149
149
|
top: a,
|
|
150
|
-
right:
|
|
151
|
-
bottom:
|
|
152
|
-
width:
|
|
153
|
-
height:
|
|
150
|
+
right: y.value.width - e.value.style.chart.padding.right,
|
|
151
|
+
bottom: y.value.height - e.value.style.chart.padding.bottom,
|
|
152
|
+
width: y.value.width - t - e.value.style.chart.padding.right,
|
|
153
|
+
height: y.value.height - a - e.value.style.chart.padding.bottom
|
|
154
154
|
};
|
|
155
155
|
}), u = h({
|
|
156
156
|
plots: e.value.style.chart.plots.radius,
|
|
@@ -160,7 +160,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
160
160
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
161
161
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
162
162
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
163
|
-
}), T = f(() => w.value ?
|
|
163
|
+
}), T = f(() => w.value ? d.dataset.map((t, a) => ({
|
|
164
164
|
...t,
|
|
165
165
|
color: t.color ? ct(t.color) : Be.value[a] || G[a] || G[a % G.length],
|
|
166
166
|
seriesIndex: a
|
|
@@ -407,7 +407,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
407
407
|
x(t.$slots, "userConfig", {}, void 0, !0),
|
|
408
408
|
e.value.userOptions.buttons.annotator ? (s(), O(i(Fe), {
|
|
409
409
|
key: 0,
|
|
410
|
-
svgRef: i(
|
|
410
|
+
svgRef: i(de),
|
|
411
411
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
412
412
|
color: e.value.style.chart.color,
|
|
413
413
|
active: U.value,
|
|
@@ -446,7 +446,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
446
446
|
key: `user_option_${oe.value}`,
|
|
447
447
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
448
448
|
color: e.value.style.chart.color,
|
|
449
|
-
isPrinting: i(
|
|
449
|
+
isPrinting: i(ye),
|
|
450
450
|
isImaging: i(fe),
|
|
451
451
|
uid: B.value,
|
|
452
452
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
@@ -534,12 +534,12 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
534
534
|
w.value ? (s(), r("svg", {
|
|
535
535
|
key: 4,
|
|
536
536
|
ref_key: "svgRef",
|
|
537
|
-
ref:
|
|
537
|
+
ref: de,
|
|
538
538
|
xmlns: i(vt),
|
|
539
|
-
viewBox: `0 0 ${
|
|
539
|
+
viewBox: `0 0 ${y.value.width < 0 ? 0.1 : y.value.width} ${y.value.height < 0 ? 0.1 : y.value.height}`,
|
|
540
540
|
style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
541
541
|
}, [
|
|
542
|
-
$e(i(
|
|
542
|
+
$e(i(Ie)),
|
|
543
543
|
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
544
544
|
key: 0,
|
|
545
545
|
x: n.value.left,
|
|
@@ -563,12 +563,12 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
563
563
|
}, null, 8, Ot),
|
|
564
564
|
S("stop", {
|
|
565
565
|
offset: "90%",
|
|
566
|
-
"stop-color": i(
|
|
567
|
-
}, null, 8,
|
|
566
|
+
"stop-color": i(dt)(l.color, 0.1)
|
|
567
|
+
}, null, 8, Pt),
|
|
568
568
|
S("stop", {
|
|
569
569
|
offset: "100%",
|
|
570
570
|
"stop-color": l.color
|
|
571
|
-
}, null, 8,
|
|
571
|
+
}, null, 8, It)
|
|
572
572
|
], 8, Nt))), 256))
|
|
573
573
|
])) : v("", !0),
|
|
574
574
|
e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Ft, [
|
|
@@ -602,7 +602,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
602
602
|
])) : v("", !0),
|
|
603
603
|
e.value.style.chart.axes.y.name.text ? (s(), r("text", {
|
|
604
604
|
key: 4,
|
|
605
|
-
transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${
|
|
605
|
+
transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${y.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
606
606
|
"font-size": u.value.yAxisName,
|
|
607
607
|
fill: e.value.style.chart.axes.y.name.color,
|
|
608
608
|
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
@@ -638,8 +638,8 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
638
638
|
])) : v("", !0),
|
|
639
639
|
e.value.style.chart.axes.x.name.text ? (s(), r("text", {
|
|
640
640
|
key: 7,
|
|
641
|
-
x:
|
|
642
|
-
y:
|
|
641
|
+
x: y.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
|
|
642
|
+
y: y.value.height + e.value.style.chart.axes.x.name.offsetY,
|
|
643
643
|
"font-size": u.value.xAxisName,
|
|
644
644
|
fill: e.value.style.chart.axes.x.name.color,
|
|
645
645
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
@@ -732,7 +732,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
732
732
|
y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
|
|
733
733
|
"font-size": u.value.indexLabels,
|
|
734
734
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
735
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(
|
|
735
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(yt)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
736
736
|
"text-anchor": "middle",
|
|
737
737
|
class: F({ animated: e.value.useCssAnimation }),
|
|
738
738
|
style: M({
|
|
@@ -760,10 +760,10 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
760
760
|
onClick: () => Ze(c)
|
|
761
761
|
}, null, 40, ll))), 256))
|
|
762
762
|
]))), 256)),
|
|
763
|
-
x(t.$slots, "svg", { svg:
|
|
763
|
+
x(t.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
764
764
|
], 12, St)) : v("", !0),
|
|
765
765
|
t.$slots.watermark ? (s(), r("div", al, [
|
|
766
|
-
x(t.$slots, "watermark", X(D({ isPrinting: i(
|
|
766
|
+
x(t.$slots, "watermark", X(D({ isPrinting: i(ye) || i(fe) })), void 0, !0)
|
|
767
767
|
])) : v("", !0),
|
|
768
768
|
w.value ? v("", !0) : (s(), O(i(Xe), {
|
|
769
769
|
key: 6,
|
|
@@ -852,7 +852,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
852
852
|
}
|
|
853
853
|
}, {
|
|
854
854
|
content: m(() => [
|
|
855
|
-
(s(), O(i(
|
|
855
|
+
(s(), O(i(Pe), {
|
|
856
856
|
key: `table_${se.value}`,
|
|
857
857
|
colNames: H.value.colNames,
|
|
858
858
|
head: H.value.head,
|
|
@@ -877,7 +877,7 @@ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
|
|
|
877
877
|
}, 8, ["config"])) : v("", !0)
|
|
878
878
|
], 46, Tt));
|
|
879
879
|
}
|
|
880
|
-
}, pl = /* @__PURE__ */ At(rl, [["__scopeId", "data-v-
|
|
880
|
+
}, pl = /* @__PURE__ */ At(rl, [["__scopeId", "data-v-ddbf7b9c"]]);
|
|
881
881
|
export {
|
|
882
882
|
pl as default
|
|
883
883
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as x, useSlots as z, onMounted as C, watch as y, ref as k, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as $, renderSlot as n, createTextVNode as h, toDisplayString as b, createVNode as w, unref as v, Fragment as B } from "vue";
|
|
2
|
-
import { u as L } from "./useNestedProp-
|
|
3
|
-
import { u as M, i as E, f as I } from "./index-
|
|
2
|
+
import { u as L } from "./useNestedProp-Bz6Z0t8M.js";
|
|
3
|
+
import { u as M, i as E, f as I } from "./index-_gtZv10q.js";
|
|
4
4
|
const G = {
|
|
5
5
|
__name: "vue-ui-kpi",
|
|
6
6
|
props: {
|
|
@@ -16,7 +16,7 @@ const G = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
|
-
const F = A(() => import("./vue-ui-digits-
|
|
19
|
+
const F = A(() => import("./vue-ui-digits-C-WSlGoq.js")), { vue_ui_kpi: N } = M(), l = o, e = x({
|
|
20
20
|
get: () => c(),
|
|
21
21
|
set: (a) => a
|
|
22
22
|
}), D = z();
|
|
@@ -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-Bz6Z0t8M.js";
|
|
3
|
+
import { u as y, X as L } from "./index-_gtZv10q.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,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Qe, defineAsyncComponent as p, computed as k, onMounted as Je, ref as u, watch as Ke, createElementBlock as y, openBlock as r, unref as l, normalizeStyle as B, normalizeClass as he, createBlock as $, createCommentVNode as f, createVNode as F, createSlots as et, withCtx as d, renderSlot as i, normalizeProps as w, guardReactiveProps as T, createElementVNode as _, Fragment as tt, renderList as ot, createTextVNode as lt, toDisplayString as st, nextTick as at } from "vue";
|
|
2
|
-
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, P as vt, X as ht, l as pt, Q as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-
|
|
3
|
-
import { u as me } from "./useNestedProp-
|
|
4
|
-
import { u as kt } from "./usePrinter-
|
|
2
|
+
import { u as nt, o as rt, e as it, c as pe, t as ut, p as fe, a as ct, b as dt, P as vt, X as ht, l as pt, Q as ft, d as ge, q as gt, r as mt, x as yt, y as bt } from "./index-_gtZv10q.js";
|
|
3
|
+
import { u as me } from "./useNestedProp-Bz6Z0t8M.js";
|
|
4
|
+
import { u as kt } from "./usePrinter-LFM5suk6.js";
|
|
5
5
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { u as wt } from "./usePanZoom-BQMvRXEQ.js";
|
|
@@ -46,7 +46,7 @@ const Pt = ["id"], Ot = {
|
|
|
46
46
|
Qe((t) => ({
|
|
47
47
|
ee2a6d54: t.slicerColor
|
|
48
48
|
}));
|
|
49
|
-
const Ce = p(() => import("./vue-ui-accordion-
|
|
49
|
+
const Ce = p(() => import("./vue-ui-accordion-DFfQ5rpF.js")), $e = p(() => import("./BaseIcon-C8g0bTnH.js")), we = p(() => import("./DataTable-DN8VsGNp.js")), Te = p(() => import("./PackageVersion-CFpmup6M.js")), Pe = p(() => import("./PenAndPaper-BrIjEzie.js")), Oe = p(() => import("./RecursiveCircles-Dn3TGoL6.js")), Ae = p(() => import("./RecursiveLabels-NTMB9w5C.js")), Ie = p(() => import("./RecursiveLinks-ld_gDZH4.js")), Ne = p(() => import("./vue-ui-skeleton-g2ChSAKh.js")), Fe = p(() => import("./Title-BEQiIKjn.js")), _e = p(() => import("./Tooltip-R_tsQZO3.js")), Se = p(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_molecule: Le } = nt(), C = ye, De = ke, S = k(() => !!C.dataset && C.dataset.length);
|
|
50
50
|
Je(() => {
|
|
51
51
|
W();
|
|
52
52
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as x, computed as c, onMounted as Ae, ref as y, watch as Oe, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as I, normalizeClass as te, createBlock as m, createCommentVNode as u, renderSlot as v, createVNode as U, createSlots as Te, withCtx as f, normalizeProps as F, guardReactiveProps as S, createElementVNode as s, Fragment as oe, renderList as le, toDisplayString as O, createTextVNode as ae, nextTick as Le } from "vue";
|
|
2
|
-
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-
|
|
3
|
-
import { u as ne } from "./useNestedProp-
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
2
|
+
import { u as Ie, o as Fe, e as se, c as Se, a as Ve, Q as je, X as Re, s as C, w as Be, R as Ue, i as re, f as V, q as We, r as ze } from "./index-_gtZv10q.js";
|
|
3
|
+
import { u as ne } from "./useNestedProp-Bz6Z0t8M.js";
|
|
4
|
+
import { u as De } from "./usePrinter-LFM5suk6.js";
|
|
5
5
|
import { u as Ee } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ge } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import He from "./Legend-
|
|
8
|
-
import Xe from "./Title-
|
|
7
|
+
import He from "./Legend-B3x9Et6h.js";
|
|
8
|
+
import Xe from "./Title-BEQiIKjn.js";
|
|
9
9
|
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const qe = ["id"], Qe = {
|
|
11
11
|
key: 2,
|
|
@@ -34,7 +34,7 @@ const qe = ["id"], Qe = {
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
setup(ue, { expose: ie }) {
|
|
37
|
-
const de = x(() => import("./vue-ui-accordion-
|
|
37
|
+
const de = x(() => import("./vue-ui-accordion-DFfQ5rpF.js")), _ = x(() => import("./BaseIcon-C8g0bTnH.js")), ce = x(() => import("./DataTable-DN8VsGNp.js")), ve = x(() => import("./PackageVersion-CFpmup6M.js")), ye = x(() => import("./PenAndPaper-BrIjEzie.js")), he = x(() => import("./vue-ui-skeleton-g2ChSAKh.js")), fe = x(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_mood_radar: pe } = Ie(), d = ue, $ = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
38
38
|
Ae(() => {
|
|
39
39
|
W();
|
|
40
40
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as R, computed as k, ref as v, watch as et, onMounted as tt, nextTick as lt, shallowRef as at, onBeforeUnmount as zt, createElementBlock as i, openBlock as n, unref as r, normalizeStyle as se, normalizeClass as B, createBlock as E, createCommentVNode as g, createVNode as ot, createSlots as Mt, withCtx as L, renderSlot as x, normalizeProps as Y, guardReactiveProps as X, createElementVNode as m, Fragment as T, renderList as O, toDisplayString as N, withDirectives as st, vShow as ut, createTextVNode as ue } from "vue";
|
|
2
|
-
import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as F, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-
|
|
2
|
+
import { u as Rt, c as Bt, t as Et, p as Ce, a as Ut, H as D, o as Gt, e as H, b as Yt, d as Xt, m as nt, f as F, X as Ht, s as rt, K as Wt, k as _e, n as W, i as J, x as it, q as qt, r as Kt, y as Jt, S as dt } from "./index-_gtZv10q.js";
|
|
3
3
|
import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as ct } from "./useNestedProp-
|
|
5
|
-
import { u as jt } from "./usePrinter-
|
|
4
|
+
import { u as ct } from "./useNestedProp-Bz6Z0t8M.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-LFM5suk6.js";
|
|
6
6
|
import { u as el } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as tl } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import ll from "./Title-
|
|
9
|
-
import al from "./Legend-
|
|
8
|
+
import ll from "./Title-BEQiIKjn.js";
|
|
9
|
+
import al from "./Legend-B3x9Et6h.js";
|
|
10
10
|
import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["id"], il = ["offset", "stop-color"], dl = ["offset", "stop-opacity"], cl = ["id"], vl = ["id"], fl = ["id"], hl = ["flood-color"], pl = ["d", "fill", "stroke", "stroke-width", "filter"], yl = { key: 1 }, bl = ["d", "fill"], gl = { key: 2 }, ml = ["x", "y", "font-size", "font-weight", "fill"], wl = { key: 3 }, $l = ["filter"], kl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ll = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], xl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Cl = ["d", "fill", "onMouseenter", "onClick"], _l = {
|
|
12
12
|
key: 5,
|
|
@@ -32,7 +32,7 @@ const sl = ["id"], ul = ["xmlns", "viewBox"], nl = ["width", "height"], rl = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend", "selectDatapoint"],
|
|
34
34
|
setup(vt, { expose: ft, emit: ht }) {
|
|
35
|
-
const pt = R(() => import("./vue-ui-accordion-
|
|
35
|
+
const pt = R(() => import("./vue-ui-accordion-DFfQ5rpF.js")), yt = R(() => import("./DataTable-DN8VsGNp.js")), bt = R(() => import("./PackageVersion-CFpmup6M.js")), gt = R(() => import("./PenAndPaper-BrIjEzie.js")), mt = R(() => import("./vue-ui-skeleton-g2ChSAKh.js")), wt = R(() => import("./Tooltip-R_tsQZO3.js")), $t = R(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_nested_donuts: kt } = Rt(), C = vt, Q = k(() => !!C.dataset && C.dataset.length), y = v(Bt()), ne = v(!1), re = v(""), Lt = v(null), Te = v(0), q = v(null), Fe = v(null), ie = v(null), Oe = v(null), Se = v(null), Ae = v(0), Ie = v(0), Ne = v(0), z = v(!0), M = v([]), K = v([]), U = v(!1);
|
|
36
36
|
function xt(l) {
|
|
37
37
|
U.value = l, Te.value += 1;
|
|
38
38
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as x, computed as h, ref as u, watch as Ce, shallowRef as xe, onMounted as Ze, onBeforeUnmount as et, createElementBlock as i, openBlock as s, unref as r, normalizeStyle as U, normalizeClass as G, createBlock as T, createCommentVNode as g, createElementVNode as A, createVNode as Te, createSlots as tt, withCtx as f, renderSlot as v, normalizeProps as I, guardReactiveProps as S, Fragment as D, renderList as L, toDisplayString as F, createTextVNode as at, nextTick as lt } from "vue";
|
|
2
|
-
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-
|
|
2
|
+
import { u as ot, c as nt, t as st, p as Oe, a as rt, b as ut, o as it, e as Z, d as ct, X as vt, f as V, i as ee, x as Pe, q as dt, r as ht, y as ft } from "./index-_gtZv10q.js";
|
|
3
3
|
import { t as gt, u as pt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as _e } from "./useNestedProp-
|
|
5
|
-
import { u as yt } from "./usePrinter-
|
|
4
|
+
import { u as _e } from "./useNestedProp-Bz6Z0t8M.js";
|
|
5
|
+
import { u as yt } from "./usePrinter-LFM5suk6.js";
|
|
6
6
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import kt from "./Title-
|
|
9
|
-
import wt from "./Legend-
|
|
8
|
+
import kt from "./Title-BEQiIKjn.js";
|
|
9
|
+
import wt from "./Legend-B3x9Et6h.js";
|
|
10
10
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Pt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["id"], At = ["stdDeviation"], It = ["filter"], St = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Ft = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Mt = { key: 2 }, Rt = ["onMouseenter"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Dt = {
|
|
12
12
|
key: 5,
|
|
@@ -29,7 +29,7 @@ const Ct = ["id"], xt = ["xmlns", "viewBox"], Tt = ["width", "height"], Ot = ["c
|
|
|
29
29
|
},
|
|
30
30
|
emits: ["selectLegend"],
|
|
31
31
|
setup(Ae, { expose: Ie, emit: Se }) {
|
|
32
|
-
const Fe = x(() => import("./vue-ui-accordion-
|
|
32
|
+
const Fe = x(() => import("./vue-ui-accordion-DFfQ5rpF.js")), Me = x(() => import("./DataTable-DN8VsGNp.js")), Re = x(() => import("./PackageVersion-CFpmup6M.js")), Ne = x(() => import("./PenAndPaper-BrIjEzie.js")), De = x(() => import("./vue-ui-skeleton-g2ChSAKh.js")), Le = x(() => import("./Tooltip-R_tsQZO3.js")), Ve = x(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_onion: ze } = ot(), w = Ae, z = h(() => !!w.dataset && w.dataset.length), O = u(nt()), Ye = u(null), te = u(0), Y = u(!1), E = u(""), y = u([]), M = u(null), ae = u(null), le = u(null), oe = u(null), ne = u(null), se = u(0), re = u(0), ue = u(0), e = h({
|
|
33
33
|
get: () => de(),
|
|
34
34
|
set: (t) => t
|
|
35
35
|
}), { userOptionsVisible: H, setUserOptionsVisibility: ie, keepUserOptionState: ce } = mt({ config: e.value }), { svgRef: ve } = bt({ config: e.value.style.chart.title });
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as P, computed as x, ref as d, watch as lt, shallowRef as _e, onMounted as ot, onBeforeUnmount as st, createElementBlock as i, openBlock as u, unref as v, normalizeStyle as T, normalizeClass as j, createBlock as _, createCommentVNode as y, createElementVNode as N, createVNode as Fe, createSlots as nt, withCtx as k, renderSlot as g, normalizeProps as V, guardReactiveProps as E, Fragment as C, renderList as F, toDisplayString as U, createTextVNode as ut } from "vue";
|
|
2
|
-
import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as
|
|
2
|
+
import { u as it, c as ae, t as rt, p as X, a as ct, o as vt, e as Pe, g as dt, b as ht, d as pt, D as mt, T as yt, U as ft, V as gt, X as bt, x as Ne, F as Y, q as xt, r as kt, i as Oe, f as Se, y as wt } from "./index-_gtZv10q.js";
|
|
3
3
|
import { t as Ct, u as $t } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as At } from "./usePrinter-
|
|
4
|
+
import { u as Le } from "./useNestedProp-Bz6Z0t8M.js";
|
|
5
|
+
import { u as At } from "./usePrinter-LFM5suk6.js";
|
|
6
6
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import zt from "./Title-
|
|
9
|
-
import It from "./Legend-
|
|
10
|
-
import { _ as _t } from "./Shape-
|
|
8
|
+
import zt from "./Title-BEQiIKjn.js";
|
|
9
|
+
import It from "./Legend-B3x9Et6h.js";
|
|
10
|
+
import { _ as _t } from "./Shape-CtkpE63a.js";
|
|
11
11
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"],
|
|
12
|
+
const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], St = { style: { "pointer-events": "none" } }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x", "y", "fill", "font-size", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x", "y", "fill", "font-size", "font-weight"], Et = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Wt = ["width", "x", "y"], jt = { style: { width: "100%" } }, Bt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ht = ["d", "stroke", "stroke-width", "onMouseenter"], Gt = ["d", "onMouseenter"], Xt = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
15
|
}, Yt = ["onClick"], qt = ["innerHTML"], Jt = {
|
|
@@ -30,28 +30,28 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
32
32
|
setup(De, { expose: Re, emit: Ve }) {
|
|
33
|
-
const Ee = P(() => import("./vue-ui-accordion-
|
|
33
|
+
const Ee = P(() => import("./vue-ui-accordion-DFfQ5rpF.js")), Ue = P(() => import("./DataTable-DN8VsGNp.js")), We = P(() => import("./PackageVersion-CFpmup6M.js")), je = P(() => import("./PenAndPaper-BrIjEzie.js")), Be = P(() => import("./vue-ui-skeleton-g2ChSAKh.js")), He = P(() => import("./Tooltip-R_tsQZO3.js")), Ge = P(() => import("./UserOptions-CIOyDPmN.js")), { vue_ui_parallel_coordinate_plot: Xe } = it(), M = De, O = x({
|
|
34
34
|
get() {
|
|
35
35
|
return !!M.dataset && M.dataset.length;
|
|
36
36
|
},
|
|
37
37
|
set(t) {
|
|
38
38
|
return t;
|
|
39
39
|
}
|
|
40
|
-
}), le = d(0), W = d(null), oe = d(null), se = d(null), ne = d(null), ue = d(null), ie = d(0), re = d(0), ce = d(0), q = d(ae()),
|
|
40
|
+
}), le = d(0), W = d(null), oe = d(null), se = d(null), ne = d(null), ue = d(null), ie = d(0), re = d(0), ce = d(0), q = d(ae()), S = d(!1);
|
|
41
41
|
function Ye(t) {
|
|
42
|
-
|
|
42
|
+
S.value = t, le.value += 1;
|
|
43
43
|
}
|
|
44
44
|
const e = x({
|
|
45
45
|
get: () => pe(),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: de } = Tt({ config: e.value }), { svgRef: he } = Mt({ config: e.value.style.chart.title });
|
|
48
48
|
function pe() {
|
|
49
|
-
const t =
|
|
49
|
+
const t = Le({
|
|
50
50
|
userConfig: M.config,
|
|
51
51
|
defaultConfig: Xe
|
|
52
52
|
});
|
|
53
53
|
return t.theme ? {
|
|
54
|
-
...
|
|
54
|
+
...Le({
|
|
55
55
|
userConfig: ct.vue_ui_parallel_coordinate_plot[t.theme] || M.config,
|
|
56
56
|
defaultConfig: t
|
|
57
57
|
}),
|
|
@@ -61,7 +61,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
61
61
|
lt(() => M.config, (t) => {
|
|
62
62
|
e.value = pe(), J.value = !e.value.userOptions.showOnChartHover, me(), ie.value += 1, ce.value += 1, re.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
63
63
|
}, { deep: !0 });
|
|
64
|
-
const z = _e(null),
|
|
64
|
+
const z = _e(null), L = _e(null);
|
|
65
65
|
ot(() => {
|
|
66
66
|
me();
|
|
67
67
|
});
|
|
@@ -91,7 +91,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
91
91
|
noTitle: ue.value
|
|
92
92
|
});
|
|
93
93
|
requestAnimationFrame(() => {
|
|
94
|
-
h.value.width = l, h.value.height = a, h.value.plotSize = Y({
|
|
94
|
+
h.value.width = l, h.value.height = a, e.value.responsiveProportionalSizing && (h.value.plotSize = Y({
|
|
95
95
|
relator: Math.min(l, a),
|
|
96
96
|
adjuster: 600,
|
|
97
97
|
source: e.value.style.chart.plots.radius,
|
|
@@ -115,14 +115,14 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
115
115
|
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
116
116
|
threshold: 12,
|
|
117
117
|
fallback: 12
|
|
118
|
-
});
|
|
118
|
+
}));
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
|
-
z.value && (
|
|
121
|
+
z.value && (L.value && z.value.unobserve(L.value), z.value.disconnect()), z.value = new ResizeObserver(t), L.value = W.value.parentNode, z.value.observe(L.value);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
st(() => {
|
|
125
|
-
z.value && (
|
|
125
|
+
z.value && (L.value && z.value.unobserve(L.value), z.value.disconnect());
|
|
126
126
|
});
|
|
127
127
|
const { isPrinting: ye, isImaging: fe, generatePdf: ge, generateImage: be } = At({
|
|
128
128
|
elementId: `pcp_${q.value}`,
|
|
@@ -240,7 +240,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
240
240
|
return Oe(
|
|
241
241
|
e.value.style.chart.yAxis.labels.formatters[l] || null,
|
|
242
242
|
t,
|
|
243
|
-
|
|
243
|
+
Se({
|
|
244
244
|
p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
|
|
245
245
|
v: t,
|
|
246
246
|
s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
|
|
@@ -274,7 +274,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
274
274
|
${Oe(
|
|
275
275
|
e.value.style.chart.yAxis.labels.formatters[m] || null,
|
|
276
276
|
a.datapoints[m].value,
|
|
277
|
-
|
|
277
|
+
Se({
|
|
278
278
|
p: e.value.style.chart.yAxis.labels.prefixes[m] || "",
|
|
279
279
|
v: a.datapoints[m].value,
|
|
280
280
|
s: e.value.style.chart.yAxis.labels.suffixes[m] || "",
|
|
@@ -354,7 +354,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
354
354
|
}), (t, l) => (u(), i("div", {
|
|
355
355
|
ref_key: "pcpChart",
|
|
356
356
|
ref: W,
|
|
357
|
-
class: j(`vue-ui-pcp ${
|
|
357
|
+
class: j(`vue-ui-pcp ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
358
358
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
359
359
|
id: `pcp_${q.value}`,
|
|
360
360
|
onMouseenter: l[6] || (l[6] = () => v(ve)(!0)),
|
|
@@ -410,7 +410,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
410
410
|
hasTable: e.value.userOptions.buttons.table,
|
|
411
411
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
412
412
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
413
|
-
isFullscreen:
|
|
413
|
+
isFullscreen: S.value,
|
|
414
414
|
isTooltip: p.value.showTooltip,
|
|
415
415
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
416
416
|
chartElement: W.value,
|
|
@@ -491,7 +491,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
491
491
|
ref_key: "svgRef",
|
|
492
492
|
ref: he,
|
|
493
493
|
xmlns: v(bt),
|
|
494
|
-
class: j({ "vue-data-ui-fullscreen--on":
|
|
494
|
+
class: j({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
495
495
|
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
496
496
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
497
497
|
}, [
|
|
@@ -508,7 +508,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
508
508
|
}, [
|
|
509
509
|
g(t.$slots, "chart-background", {}, void 0, !0)
|
|
510
510
|
], 8, Ot)) : y("", !0),
|
|
511
|
-
(u(!0), i(C, null, F(b.value, (a, o) => (u(), i("g",
|
|
511
|
+
(u(!0), i(C, null, F(b.value, (a, o) => (u(), i("g", St, [
|
|
512
512
|
N("line", {
|
|
513
513
|
x1: c.value.left + w.value * o + w.value / 2,
|
|
514
514
|
x2: c.value.left + w.value * o + w.value / 2,
|
|
@@ -516,7 +516,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
516
516
|
y2: c.value.bottom,
|
|
517
517
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
518
518
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
519
|
-
}, null, 8,
|
|
519
|
+
}, null, 8, Lt),
|
|
520
520
|
N("text", {
|
|
521
521
|
x: c.value.left + w.value * o + w.value / 2,
|
|
522
522
|
y: c.value.top - 24,
|
|
@@ -717,7 +717,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
717
717
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
718
718
|
parent: W.value,
|
|
719
719
|
content: ee.value,
|
|
720
|
-
isFullscreen:
|
|
720
|
+
isFullscreen: S.value,
|
|
721
721
|
isCustom: v(Ne)(e.value.style.chart.tooltip.customFormat)
|
|
722
722
|
}, {
|
|
723
723
|
"tooltip-before": k(() => [
|
|
@@ -767,7 +767,7 @@ const Pt = ["id"], Nt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
767
767
|
}, 8, ["config"])) : y("", !0)
|
|
768
768
|
], 46, Pt));
|
|
769
769
|
}
|
|
770
|
-
}, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-
|
|
770
|
+
}, ia = /* @__PURE__ */ Ft(Jt, [["__scopeId", "data-v-6615a1e0"]]);
|
|
771
771
|
export {
|
|
772
772
|
ia as default
|
|
773
773
|
};
|