vue-data-ui 3.2.2 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
- package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-x4hg0tYe.js} +1 -1
- package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
- package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +5 -0
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
- package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +15 -4
- package/dist/types/vue-ui-annotator.d.ts +14 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
- package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-boJG_PFN.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-HrbA4DmH.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CS5384rT.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-DaauvX3a.js} +15 -15
- package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DQXu21Mp.js} +33 -33
- package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-Bh8Vb6ce.js} +4 -4
- package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-BgmAUlUz.js} +32 -32
- package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-3NX_jwG_.js} +53 -53
- package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-Berb37Aa.js} +29 -29
- package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BzU-96mz.js} +67 -67
- package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BBQNmH5y.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-BD3_nxd1.js} +55 -55
- package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-Ct-YAkFg.js} +7 -7
- package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-CVHjWM9l.js} +63 -63
- package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-Co79mdnX.js} +36 -36
- package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-D-XFEUfD.js} +46 -46
- package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-Cx6eQ1nL.js} +59 -59
- package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-D2PHxbS3.js} +3 -3
- package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-D4KCpMN3.js} +7 -7
- package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-Q_Q9g2Es.js} +44 -44
- package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
- package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-Bxs72uED.js} +5 -5
- package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-B5wYN9tI.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-pt6KriAc.js} +70 -70
- package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-C8jid2_q.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-06wFGFFV.js} +35 -35
- package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B2dS6aSz.js} +8 -8
- package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-CrkR07qv.js} +55 -55
- package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-CkAX2pUE.js} +54 -54
- package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-eROPsns9.js} +25 -25
- package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-AkXpQ6zB.js} +27 -27
- package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-DEwCnnwC.js} +38 -38
- package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-DzojJVhb.js} +49 -49
- package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-Bp8Ao16B.js} +3 -3
- package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-DqKebrx9.js} +22 -22
- package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BShmZ5Vp.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-NX3Z_bFF.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-TBxquo5S.js} +4 -4
- package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-Bw4jxjxk.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-D8YGkrZ9.js} +3 -3
- package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-0Kag52U5.js} +38 -38
- package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-CU0tiCsd.js} +7 -7
- package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-B4BTGeKs.js} +17 -17
- package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
- package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-BnqMY5lk.js} +4 -4
- package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-Ct3Sr0M1.js} +7 -7
- package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-DsAVvm1H.js} +27 -27
- package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-DKNpl_8J.js} +6 -6
- package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-Jdea_p8r.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-DE42y9ZI.js} +30 -30
- package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-CrYeU7zd.js} +75 -75
- package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-B4Be4Ol6.js} +6 -6
- package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-9QkLvAgs.js} +28 -28
- package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DTwfuIIZ.js} +6 -6
- package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-BKzt6d8T.js} +9 -9
- package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-BGzMXziC.js} +10 -10
- package/package.json +1 -1
- package/dist/ColorPicker-BO4ntExI.js +0 -135
- package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
- package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as
|
|
2
|
-
import { c as me, t as Ot, b as St, p as ee, o as Je, f as Ke, g as Dt, e as Rt, h as Bt,
|
|
1
|
+
import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as _t, onBeforeUnmount as Ft, watchEffect as Mt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as F, normalizeClass as X, createBlock as M, createCommentVNode as m, createElementVNode as N, createVNode as pe, createSlots as Ye, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Nt, resolveDynamicComponent as It, mergeProps as Lt, createTextVNode as qe, nextTick as Pt } from "vue";
|
|
2
|
+
import { c as me, t as Ot, b as St, p as ee, o as Je, f as Ke, g as Dt, e as Rt, h as Bt, C as Et, T as Ht, U as Wt, V as Ut, X as Vt, L as jt, z as Qe, D as te, x as Gt, y as Xt, a as Ze, d as et, A as Yt } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as tt, u as qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Jt, a as at } from "./useNestedProp-
|
|
5
|
-
import { u as Kt } from "./usePrinter-
|
|
4
|
+
import { u as Jt, a as at } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
|
+
import { u as Kt } from "./usePrinter-w23K-ezx.js";
|
|
6
6
|
import { u as Qt, B as Zt } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as ea } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as ta } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { u as aa } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
10
10
|
import { t as la } from "./themes-D3cUNuKw.js";
|
|
11
|
-
import oa from "./Title-
|
|
12
|
-
import sa from "./Legend-
|
|
13
|
-
import { _ as na } from "./Shape-
|
|
14
|
-
import ia from "./img-
|
|
11
|
+
import oa from "./Title-C__lOIPC.js";
|
|
12
|
+
import sa from "./Legend-BpoFJ8fc.js";
|
|
13
|
+
import { _ as na } from "./Shape-C_C_OmqR.js";
|
|
14
|
+
import ia from "./img-DjWwQXVS.js";
|
|
15
15
|
import { _ as ua } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "width", "height"], ha = { style: { "pointer-events": "none" } }, pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = { key: 0 }, fa = ["x", "y", "fill", "font-size", "font-weight"], ba = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ga = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], xa = { key: 0 }, ka = ["x", "y", "font-size", "fill"], wa = ["width", "x", "y"], Ca = { style: { width: "100%" } }, Aa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], $a = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ta = ["d", "onMouseenter", "onMouseleave", "onClick"], za = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, _a = ["id"], Fa = ["onClick"], Ma = ["innerHTML"], Na = {
|
|
20
20
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,7 +34,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
36
|
setup(lt, { expose: ot, emit: st }) {
|
|
37
|
-
const nt = O(() => import("./Tooltip-
|
|
37
|
+
const nt = O(() => import("./Tooltip-BOXz8skU.js")), it = O(() => import("./BaseIcon-Bz-1GQhu.js")), ut = O(() => import("./vue-ui-accordion-Cv7OaVUI.js")), rt = O(() => import("./DataTable-BvjacRbw.js")), ct = O(() => import("./PenAndPaper-CR8q353D.js")), vt = O(() => import("./UserOptions-DsTgvAok.js")), dt = O(() => import("./PackageVersion-x4hg0tYe.js")), ht = O(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_parallel_coordinate_plot: pt } = Jt(), $ = lt, Y = y({
|
|
38
38
|
get() {
|
|
39
39
|
return !!$.dataset && $.dataset.length;
|
|
40
40
|
},
|
|
@@ -116,7 +116,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
})
|
|
119
|
-
}), { userOptionsVisible: se, setUserOptionsVisibility: Te, keepUserOptionState: ze } = ea({ config: e.value }), { svgRef:
|
|
119
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: Te, keepUserOptionState: ze } = ea({ config: e.value }), { svgRef: _e } = ta({ config: e.value.style.chart.title });
|
|
120
120
|
function ne() {
|
|
121
121
|
const t = at({
|
|
122
122
|
userConfig: $.config,
|
|
@@ -136,15 +136,15 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
136
136
|
Array.isArray(t) && t.length > 0 && (oe.value = !1);
|
|
137
137
|
}, { deep: !0 });
|
|
138
138
|
const L = Xe(null), E = Xe(null);
|
|
139
|
-
|
|
139
|
+
_t(() => {
|
|
140
140
|
Ae.value = !0, Me();
|
|
141
141
|
});
|
|
142
|
-
const
|
|
142
|
+
const Fe = y(() => !!e.value.debug);
|
|
143
143
|
function Me() {
|
|
144
144
|
if (Je($.dataset) ? (Ke({
|
|
145
145
|
componentName: "VueUiParallelCoordinatePlot",
|
|
146
146
|
type: "dataset",
|
|
147
|
-
debug:
|
|
147
|
+
debug: Fe.value
|
|
148
148
|
}), oe.value = !0) : $.dataset.forEach((t, o) => {
|
|
149
149
|
Dt({
|
|
150
150
|
datasetObject: t,
|
|
@@ -155,7 +155,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
155
155
|
type: "datasetSerieAttribute",
|
|
156
156
|
property: a,
|
|
157
157
|
index: o,
|
|
158
|
-
debug:
|
|
158
|
+
debug: Fe.value
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
}), Je($.dataset) || (oe.value = e.value.loading), e.value.responsive) {
|
|
@@ -198,7 +198,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
198
198
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(t), E.value = z.value.parentNode, L.value.observe(E.value);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
Ft(() => {
|
|
202
202
|
L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
|
|
203
203
|
});
|
|
204
204
|
const { isPrinting: Ne, isImaging: Ie, generatePdf: Le, generateImage: Pe } = Kt({
|
|
@@ -253,9 +253,9 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
253
253
|
showTooltip: e.value.style.chart.tooltip.show
|
|
254
254
|
};
|
|
255
255
|
}, { immediate: !0 });
|
|
256
|
-
const
|
|
256
|
+
const _ = d([]);
|
|
257
257
|
function De(t) {
|
|
258
|
-
|
|
258
|
+
_.value.includes(t) ? _.value = _.value.filter((o) => o !== t) : _.value.push(t);
|
|
259
259
|
}
|
|
260
260
|
const P = y(() => mt.value.map((t, o) => {
|
|
261
261
|
const a = Bt(t.color) || bt.value[o] || ee[o] || ee[o % ee.length];
|
|
@@ -273,9 +273,9 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
273
273
|
};
|
|
274
274
|
})), gt = y(() => P.value.map((t) => ({
|
|
275
275
|
...t,
|
|
276
|
-
opacity:
|
|
276
|
+
opacity: _.value.includes(t.id) ? 0.5 : 1,
|
|
277
277
|
segregate: () => De(t.id),
|
|
278
|
-
isSegregated:
|
|
278
|
+
isSegregated: _.value.includes(t.id)
|
|
279
279
|
}))), xt = y(() => ({
|
|
280
280
|
cy: "pcp-div-legend",
|
|
281
281
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -284,8 +284,8 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
284
284
|
paddingBottom: 12,
|
|
285
285
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
286
286
|
})), Re = y(() => Math.max(
|
|
287
|
-
...P.value.filter((t) => !
|
|
288
|
-
)), C = y(() => h.value.width / Re.value), ie = y(() => P.value.filter((t) => !
|
|
287
|
+
...P.value.filter((t) => !_.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((o) => o.values.length)))
|
|
288
|
+
)), C = y(() => h.value.width / Re.value), ie = y(() => P.value.filter((t) => !_.value.includes(t.id))), f = y(() => {
|
|
289
289
|
let t = [];
|
|
290
290
|
for (let o = 0; o < Re.value; o += 1) {
|
|
291
291
|
const a = Math.min(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i = Et(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
|
|
@@ -520,14 +520,14 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
520
520
|
ref_key: "pcpChart",
|
|
521
521
|
ref: z,
|
|
522
522
|
class: X(`vue-ui-pcp ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
523
|
-
style:
|
|
523
|
+
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
524
524
|
id: `pcp_${S.value}`,
|
|
525
525
|
onMouseenter: o[2] || (o[2] = () => v(Te)(!0)),
|
|
526
526
|
onMouseleave: o[3] || (o[3] = () => v(Te)(!1))
|
|
527
527
|
}, [
|
|
528
528
|
e.value.userOptions.buttons.annotator ? (n(), M(v(ct), {
|
|
529
529
|
key: 0,
|
|
530
|
-
svgRef: v(
|
|
530
|
+
svgRef: v(_e),
|
|
531
531
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
532
532
|
color: e.value.style.chart.color,
|
|
533
533
|
active: Q.value,
|
|
@@ -597,7 +597,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
597
597
|
onToggleLabels: Ve,
|
|
598
598
|
onToggleTooltip: je,
|
|
599
599
|
onToggleAnnotator: he,
|
|
600
|
-
style:
|
|
600
|
+
style: F({
|
|
601
601
|
visibility: v(ze) ? v(se) ? "visible" : "hidden" : "visible"
|
|
602
602
|
})
|
|
603
603
|
}, Ye({ _: 2 }, [
|
|
@@ -660,11 +660,11 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
660
660
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
661
661
|
(n(), u("svg", {
|
|
662
662
|
ref_key: "svgRef",
|
|
663
|
-
ref:
|
|
663
|
+
ref: _e,
|
|
664
664
|
xmlns: v(Vt),
|
|
665
665
|
class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
666
666
|
viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
|
|
667
|
-
style:
|
|
667
|
+
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
668
668
|
}, [
|
|
669
669
|
pe(v(dt)),
|
|
670
670
|
t.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
@@ -696,7 +696,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
696
696
|
y2: l.y,
|
|
697
697
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
698
698
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
699
|
-
style:
|
|
699
|
+
style: F(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
700
700
|
}, null, 12, ma))), 256)),
|
|
701
701
|
v(R) ? m("", !0) : (n(), u("g", ya, [
|
|
702
702
|
(n(!0), u(A, null, I(a.ticks, (l) => (n(), u("text", {
|
|
@@ -706,7 +706,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
706
706
|
"text-anchor": "end",
|
|
707
707
|
"font-size": c.value.ticksFontSize,
|
|
708
708
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
709
|
-
style:
|
|
709
|
+
style: F(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
710
710
|
}, B(Be({ value: l.value, index: s, datapoint: l })), 13, fa))), 256))
|
|
711
711
|
]))
|
|
712
712
|
], 64)) : m("", !0)
|
|
@@ -763,7 +763,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
763
763
|
S: s
|
|
764
764
|
}),
|
|
765
765
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
766
|
-
style:
|
|
766
|
+
style: F(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
767
767
|
onClick: () => K({ serie: l, shape: a.shape, S: s })
|
|
768
768
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
|
|
769
769
|
p.value.showTooltip ? m("", !0) : (n(), u(A, { key: 0 }, [
|
|
@@ -812,7 +812,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
812
812
|
}),
|
|
813
813
|
onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
|
|
814
814
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
815
|
-
style:
|
|
815
|
+
style: F(`opacity:${w.value ? w.value === l.id ? 1 : 0.2 : 1}`)
|
|
816
816
|
}, B(Be({ value: i.value, index: T, datapoint: i })), 47, Aa))), 256)) : m("", !0),
|
|
817
817
|
N("path", {
|
|
818
818
|
d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
|
|
@@ -830,7 +830,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
830
830
|
}),
|
|
831
831
|
onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
|
|
832
832
|
onClick: () => K({ serie: l, shape: a.shape, S: s }),
|
|
833
|
-
style:
|
|
833
|
+
style: F(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
|
|
834
834
|
}, null, 46, $a),
|
|
835
835
|
p.value.showTooltip ? (n(), u("path", {
|
|
836
836
|
key: 2,
|
|
@@ -860,7 +860,7 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
860
860
|
])) : m("", !0),
|
|
861
861
|
N("div", {
|
|
862
862
|
id: `legend-bottom-${S.value}`
|
|
863
|
-
}, null, 8,
|
|
863
|
+
}, null, 8, _a),
|
|
864
864
|
Ae.value ? (n(), M(Nt, {
|
|
865
865
|
key: 5,
|
|
866
866
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
|
|
@@ -882,8 +882,8 @@ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "widt
|
|
|
882
882
|
onClick: (l) => {
|
|
883
883
|
a.segregate(), We(a);
|
|
884
884
|
},
|
|
885
|
-
style:
|
|
886
|
-
}, B(a.name), 13,
|
|
885
|
+
style: F(`opacity:${_.value.includes(a.id) ? 0.5 : 1}`)
|
|
886
|
+
}, B(a.name), 13, Fa)
|
|
887
887
|
]),
|
|
888
888
|
_: 1
|
|
889
889
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as F, computed as x, ref as y, toRefs as qt, watch as ge, shallowRef as tt, onMounted as St, onBeforeUnmount as Tt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as lt, withCtx as g, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as S, renderList as Y, toDisplayString as k, Teleport as zt, resolveDynamicComponent as At, mergeProps as Wt, createTextVNode as at, nextTick as ot } from "vue";
|
|
2
|
-
import { c as ut, t as Xt, b as Yt, p as me, o as Mt, f as Q, e as Ot, h as Nt,
|
|
2
|
+
import { c as ut, t as Xt, b as Yt, p as me, o as Mt, f as Q, e as Ot, h as Nt, W as Bt, a as R, d as P, X as Ft, s as re, i as Rt, Y as Pt, L as Vt, E as Dt, x as Ht, y as It, z as Et, A as Ut } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Gt, u as Qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Jt, a as st } from "./useNestedProp-
|
|
5
|
-
import { u as jt } from "./usePrinter-
|
|
4
|
+
import { u as Jt, a as st } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
|
+
import { u as jt } from "./usePrinter-w23K-ezx.js";
|
|
6
6
|
import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Kt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import el from "./img-
|
|
9
|
-
import tl from "./Title-
|
|
10
|
-
import { _ as rt } from "./Shape-
|
|
8
|
+
import el from "./img-DjWwQXVS.js";
|
|
9
|
+
import tl from "./Title-C__lOIPC.js";
|
|
10
|
+
import { _ as rt } from "./Shape-C_C_OmqR.js";
|
|
11
11
|
import { t as ll } from "./themes-D3cUNuKw.js";
|
|
12
|
-
import al from "./Legend-
|
|
12
|
+
import al from "./Legend-BpoFJ8fc.js";
|
|
13
13
|
import { u as ol, B as ul } from "./BaseScanner-BgWxam9d.js";
|
|
14
14
|
import { _ as sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y", "width", "height"], cl = ["id"], dl = ["stop-color"], hl = ["stop-color"], yl = { key: 1 }, bl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], fl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], pl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], gl = { key: 2 }, ml = ["points", "fill"], xl = ["points", "fill"], $l = ["points", "fill"], kl = ["points", "fill"], Ll = { key: 3 }, wl = ["y", "fill", "font-size"], _l = ["x", "y", "fill", "font-size"], Cl = ["x", "y", "fill", "font-size"], ql = ["y", "fill", "font-size"], Sl = { key: 4 }, Tl = ["x", "y", "font-size", "fill"], zl = ["x", "y", "font-size", "fill"], Al = ["x", "y", "font-size", "fill"], Wl = ["id", "font-size", "transform", "fill"], Xl = ["id", "font-size", "transform", "fill"], Yl = ["id", "font-size", "transform", "fill"], Ml = { key: 5 }, Ol = ["fill", "points"], Nl = ["x", "y", "width", "height"], Bl = ["x", "y", "width", "height"], Fl = ["x", "y", "width", "height"], Rl = ["x", "y", "width", "height"], Pl = {
|
|
@@ -44,7 +44,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
46
46
|
setup(nt, { expose: it, emit: vt }) {
|
|
47
|
-
const ct = F(() => import("./Tooltip-
|
|
47
|
+
const ct = F(() => import("./Tooltip-BOXz8skU.js")), dt = F(() => import("./BaseIcon-Bz-1GQhu.js")), ht = F(() => import("./vue-ui-accordion-Cv7OaVUI.js")), yt = F(() => import("./DataTable-BvjacRbw.js")), bt = F(() => import("./PenAndPaper-CR8q353D.js")), ft = F(() => import("./UserOptions-DsTgvAok.js")), pt = F(() => import("./PackageVersion-x4hg0tYe.js")), gt = F(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_quadrant: mt } = Jt(), M = nt, xe = x(() => !!M.dataset && M.dataset.length), w = y(ut()), ne = vt, ie = y(!1), ve = y(""), $e = y(0), p = y(!1), A = y(null), ke = y(null), Le = y(null), we = y(null), _e = y(null), Ce = y(0), qe = y(0), Se = y(0), Te = y(!1), J = y(null), ce = y(null), e = y(he()), { loading: ze, FINAL_DATASET: Ae } = ol({
|
|
48
48
|
...qt(M),
|
|
49
49
|
FINAL_CONFIG: e,
|
|
50
50
|
prepareConfig: he,
|