vue-data-ui 3.25.5 → 3.25.6
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/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
- package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
- package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
- package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
- package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
- package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
- package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
- package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
- package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-ur6jKRL5.js} +1 -1
- package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
- package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
- package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.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-dag.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-geo.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-hill.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-label.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-stackline.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/{package-ta2JoIjx.js → package-Dx7M6sYy.js} +1 -1
- package/dist/{render-common-bvOuxfN3.js → render-common-DETHvNhl.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +10 -0
- package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
- package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-Dh3_EsHb.js} +70 -70
- package/dist/vue-data-ui.js +71 -71
- package/dist/vue-ui-3d-bar-i1REAKnM.js +1831 -0
- package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
- package/dist/vue-ui-age-pyramid-DuHblCNO.js +1293 -0
- package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
- package/dist/vue-ui-bullet-CYLnKrmM.js +702 -0
- package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DhwySwgn.js} +380 -380
- package/dist/vue-ui-candlestick-BpiECaDj.js +1859 -0
- package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-D-T2yA7-.js} +2 -2
- package/dist/vue-ui-chestnut-1MsZ9Q3r.js +2016 -0
- package/dist/vue-ui-chord-QBQUSe7r.js +1347 -0
- package/dist/vue-ui-circle-pack-ZWEwtesD.js +1635 -0
- package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CHQcHAHQ.js} +2 -2
- package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-C_inEafb.js} +792 -792
- package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-Bs2mBur5.js} +67 -67
- package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-DwE4MoXI.js} +2 -2
- package/dist/vue-ui-donut-BM9dMHXj.js +2415 -0
- package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-CbOSJmRu.js} +2 -2
- package/dist/vue-ui-donut-evolution-C97_RHus.js +1552 -0
- package/dist/vue-ui-dumbbell-DwKa5EL5.js +1533 -0
- package/dist/vue-ui-flow-DTTr3YL9.js +1217 -0
- package/dist/vue-ui-funnel-C4pkBk3D.js +749 -0
- package/dist/vue-ui-galaxy-CuAPLOvX.js +1085 -0
- package/dist/vue-ui-gauge-DLDULH26.js +934 -0
- package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-DXIHhp-G.js} +429 -429
- package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-PuURiePo.js} +2 -2
- package/dist/vue-ui-heatmap-mvWLKB99.js +1555 -0
- package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-DqsVJkmO.js} +470 -470
- package/dist/vue-ui-history-plot-BBVLgt9_.js +1698 -0
- package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-y8Q8PZwT.js} +511 -511
- package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-B2hf3kpp.js} +2 -2
- package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
- package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
- package/dist/vue-ui-molecule-eeW1Pmg8.js +929 -0
- package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-Dd1qfUiu.js} +376 -376
- package/dist/vue-ui-nested-donuts-CUARCr6O.js +1503 -0
- package/dist/vue-ui-onion-NoxHP0cG.js +1235 -0
- package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-Cp3pCyxK.js} +407 -407
- package/dist/vue-ui-quadrant-C3kQtaeX.js +1967 -0
- package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BZq517pL.js} +4 -4
- package/dist/vue-ui-radar-DvNrl4uD.js +1374 -0
- package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
- package/dist/vue-ui-relation-circle-1iS6C0xx.js +905 -0
- package/dist/vue-ui-ridgeline-B-EZiPCF.js +1630 -0
- package/dist/vue-ui-rings-BXuwrHos.js +1252 -0
- package/dist/vue-ui-scatter-ByL-ZZ3B.js +2405 -0
- package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-BcU1onF6.js} +698 -698
- package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
- package/dist/vue-ui-spark-trend-DjS31avb.js +457 -0
- package/dist/vue-ui-sparkbar-1Al_TLw1.js +401 -0
- package/dist/vue-ui-sparkgauge-CwLo53Y8.js +268 -0
- package/dist/vue-ui-sparkhistogram-CGw6SThG.js +589 -0
- package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-CSZGBFfI.js} +511 -511
- package/dist/vue-ui-sparkstackbar-B8dloLMp.js +738 -0
- package/dist/vue-ui-stackbar-FvNd77t1.js +2355 -0
- package/dist/vue-ui-stackline-CP7PkqiG.js +2469 -0
- package/dist/vue-ui-strip-plot-DSMlDkv1.js +1740 -0
- package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
- package/dist/vue-ui-table-rwKtnJKt.js +1352 -0
- package/dist/vue-ui-table-sparkline-B6wyEAyC.js +738 -0
- package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-D0_KsB-y.js} +192 -192
- package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-1Z2zginj.js} +153 -153
- package/dist/vue-ui-tiremarks-zbl7aooy.js +540 -0
- package/dist/vue-ui-treemap-Drs4gK6L.js +1733 -0
- package/dist/vue-ui-waffle-DqUVsVNE.js +1621 -0
- package/dist/vue-ui-wheel-DLCBPW9t.js +873 -0
- package/dist/vue-ui-word-cloud-8Agk9h6c.js +1710 -0
- package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-BOBHo7-L.js} +524 -524
- package/dist/vue-ui-xy-CSTJzRkk.js +5283 -0
- package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-Dmk1gQkI.js} +2 -2
- package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
- package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
- package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
- package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
- package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
- package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
- package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
- package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
- package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
- package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
- package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
- package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
- package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
- package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
- package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
- package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
- package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
- package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
- package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
- package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
- package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
- package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
- package/dist/vue-ui-rating-CBdDXL80.js +0 -359
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
- package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
- package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
- package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
- package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
- package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
- package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
- package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
- package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
- package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
- package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
- package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
- package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
- package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
- package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
- package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
- package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
- package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
- package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
- package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, P as s, Pt as c, S as ee, V as te, X as ne, Xt as re, Yt as ie, Zt as ae, _ as oe, _t as se, ht as ce, i as le, lt as ue, nt as de, q as fe, t as pe, w as me } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as _e } from "./useConfig-
|
|
4
|
+
import { t as _e } from "./useConfig-CIQZ6_r7.js";
|
|
5
5
|
import { t as ve } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as xe } from "./useNestedProp-Chvyfpl-.js";
|
|
@@ -14,7 +14,7 @@ import { n as De } from "./Title-CPHi-evi.js";
|
|
|
14
14
|
import { t as Oe } from "./Shape-CIqU-p2F.js";
|
|
15
15
|
import { t as ke } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as Ae, t as je } from "./useResponsive-ZtArZtUf.js";
|
|
17
|
-
import { t as Me } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Me } from "./BaseLegendToggle-CXQrLjd-.js";
|
|
18
18
|
import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
@@ -125,7 +125,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
125
125
|
"copyAlt"
|
|
126
126
|
],
|
|
127
127
|
setup(e, { expose: ke, emit: Ze }) {
|
|
128
|
-
let St = h(() => import("./Tooltip-hhrkQ3Lk.js")), Ct = h(() => import("./BaseIcon-
|
|
128
|
+
let St = h(() => import("./Tooltip-hhrkQ3Lk.js")), Ct = h(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), wt = h(() => import("./vue-ui-accordion-BSmBUjwZ.js").then((e) => e.n)), Tt = h(() => import("./DataTable-oiM9uWrQ.js")), Et = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Dt = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ot = h(() => import("./PackageVersion-ur6jKRL5.js").then((e) => e.t)), kt = h(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), D = e, Nt = u({
|
|
129
129
|
get() {
|
|
130
130
|
return !!D.dataset && D.dataset.length;
|
|
131
131
|
},
|
|
@@ -139,7 +139,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
139
139
|
function Yt(e) {
|
|
140
140
|
j.value = e, Pt.value += 1;
|
|
141
141
|
}
|
|
142
|
-
let M = x(
|
|
142
|
+
let M = x(rn()), N = u(() => M.value.userOptions), P = u(() => M.value.style.chart.yAxis.labels), F = u(() => M.value.style.chart.tooltip), I = u(() => M.value.style.chart), { transitionEnabled: L } = we({
|
|
143
143
|
config: () => M.value.transitions,
|
|
144
144
|
dataset: () => D.dataset
|
|
145
145
|
});
|
|
@@ -175,7 +175,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
175
175
|
}
|
|
176
176
|
]
|
|
177
177
|
});
|
|
178
|
-
let
|
|
178
|
+
let R = u(() => M.value.userOptions.useCursorPointer), Xt = u(() => ae({
|
|
179
179
|
defaultConfig: {
|
|
180
180
|
useCssAnimation: !1,
|
|
181
181
|
userOptions: { show: !1 },
|
|
@@ -197,13 +197,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
197
197
|
} }
|
|
198
198
|
},
|
|
199
199
|
userConfig: M.value.skeletonConfig ?? {}
|
|
200
|
-
})), { loading:
|
|
200
|
+
})), { loading: Zt, FINAL_DATASET: Qt, manualLoading: $t } = ye({
|
|
201
201
|
...Je(D),
|
|
202
202
|
FINAL_CONFIG: M,
|
|
203
|
-
prepareConfig:
|
|
203
|
+
prepareConfig: rn,
|
|
204
204
|
callback: () => {
|
|
205
205
|
Promise.resolve().then(async () => {
|
|
206
|
-
await Ue(),
|
|
206
|
+
await Ue(), G.value.showTable = M.value.table.show;
|
|
207
207
|
});
|
|
208
208
|
},
|
|
209
209
|
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
@@ -254,8 +254,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
254
254
|
defaultConfig: M.value,
|
|
255
255
|
userConfig: Xt.value
|
|
256
256
|
})
|
|
257
|
-
}), { userOptionsVisible:
|
|
258
|
-
function
|
|
257
|
+
}), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Pe({ config: M.value }), { svgRef: z } = Fe({ config: I.value.title });
|
|
258
|
+
function rn() {
|
|
259
259
|
let e = xe({
|
|
260
260
|
userConfig: D.config,
|
|
261
261
|
defaultConfig: At
|
|
@@ -275,21 +275,21 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
277
|
Ye(() => D.config, (e) => {
|
|
278
|
-
|
|
278
|
+
Zt.value || (M.value = rn()), en.value = !M.value.userOptions.showOnChartHover, on(), zt.value += 1, Vt.value += 1, Bt.value += 1, G.value.dataLabels.show = P.value.datapoints.show, G.value.showTable = M.value.table.show, G.value.showTooltip = F.value.show;
|
|
279
279
|
}, { deep: !0 }), Ye(() => D.dataset, (e) => {
|
|
280
|
-
Array.isArray(e) && e.length > 0 && (
|
|
280
|
+
Array.isArray(e) && e.length > 0 && ($t.value = !1);
|
|
281
281
|
}, { deep: !0 });
|
|
282
|
-
let
|
|
282
|
+
let B = qe(null), V = qe(null);
|
|
283
283
|
Ge(() => {
|
|
284
|
-
Ht.value = !0,
|
|
284
|
+
Ht.value = !0, on();
|
|
285
285
|
});
|
|
286
|
-
let
|
|
287
|
-
function
|
|
286
|
+
let an = u(() => M.value.debug);
|
|
287
|
+
function on() {
|
|
288
288
|
if (c(D.dataset) ? (de({
|
|
289
289
|
componentName: "VueUiParallelCoordinatePlot",
|
|
290
290
|
type: "dataset",
|
|
291
|
-
debug:
|
|
292
|
-
}),
|
|
291
|
+
debug: an.value
|
|
292
|
+
}), $t.value = !0) : D.dataset.forEach((e, t) => {
|
|
293
293
|
ce({
|
|
294
294
|
datasetObject: e,
|
|
295
295
|
requiredAttributes: ["name", "series"]
|
|
@@ -299,109 +299,109 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
299
299
|
type: "datasetSerieAttribute",
|
|
300
300
|
property: e,
|
|
301
301
|
index: t,
|
|
302
|
-
debug:
|
|
302
|
+
debug: an.value
|
|
303
303
|
});
|
|
304
304
|
});
|
|
305
|
-
}), c(D.dataset) || (
|
|
305
|
+
}), c(D.dataset) || ($t.value = M.value.loading), M.value.responsive) {
|
|
306
306
|
let e = Ae(() => {
|
|
307
307
|
let { width: e, height: t } = je({
|
|
308
308
|
chart: O.value,
|
|
309
|
-
title:
|
|
310
|
-
legend:
|
|
309
|
+
title: I.value.title.text ? Ft.value : null,
|
|
310
|
+
legend: I.value.legend.show ? It.value : null,
|
|
311
311
|
source: Lt.value,
|
|
312
312
|
noTitle: Rt.value
|
|
313
313
|
});
|
|
314
314
|
requestAnimationFrame(() => {
|
|
315
|
-
|
|
315
|
+
H.value.width = e, H.value.height = t - 12, M.value.responsiveProportionalSizing ? (H.value.plotSize = re({
|
|
316
316
|
relator: Math.min(e, t),
|
|
317
317
|
adjuster: 600,
|
|
318
|
-
source:
|
|
318
|
+
source: I.value.plots.radius,
|
|
319
319
|
threshold: 2,
|
|
320
320
|
fallback: 2
|
|
321
|
-
}),
|
|
321
|
+
}), H.value.ticksFontSize = re({
|
|
322
322
|
relator: Math.min(e, t),
|
|
323
323
|
adjuster: 600,
|
|
324
|
-
source:
|
|
324
|
+
source: P.value.ticks.fontSize,
|
|
325
325
|
threshold: 10,
|
|
326
326
|
fallback: 10
|
|
327
|
-
}),
|
|
327
|
+
}), H.value.datapointFontSize = re({
|
|
328
328
|
relator: Math.min(e, t),
|
|
329
329
|
adjuster: 600,
|
|
330
|
-
source:
|
|
330
|
+
source: P.value.datapoints.fontSize,
|
|
331
331
|
threshold: 10,
|
|
332
332
|
fallback: 10
|
|
333
|
-
}),
|
|
333
|
+
}), H.value.axisNameFontSize = re({
|
|
334
334
|
relator: Math.min(e, t),
|
|
335
335
|
adjuster: 600,
|
|
336
|
-
source:
|
|
336
|
+
source: P.value.axisNamesFontSize,
|
|
337
337
|
threshold: 12,
|
|
338
338
|
fallback: 12
|
|
339
|
-
})) : (
|
|
339
|
+
})) : (H.value.plotSize = I.value.plots.radius, H.value.ticksFontSize = P.value.ticks.fontSize, H.value.datapointFontSize = P.value.datapoints.fontSize, H.value.axisNameFontSize = P.value.axisNamesFontSize);
|
|
340
340
|
});
|
|
341
341
|
});
|
|
342
|
-
|
|
342
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect()), B.value = new ResizeObserver(e), V.value = O.value.parentNode, B.value.observe(V.value);
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
We(() => {
|
|
346
|
-
|
|
346
|
+
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
347
347
|
});
|
|
348
|
-
let { isPrinting:
|
|
348
|
+
let { isPrinting: sn, isImaging: cn, generatePdf: ln, generateImage: un } = ve({
|
|
349
349
|
elementId: `pcp_${A.value}`,
|
|
350
|
-
fileName:
|
|
350
|
+
fileName: I.value.title.text || "vue-ui-parallel-coordinate-plot",
|
|
351
351
|
options: M.value.userOptions.print
|
|
352
|
-
}),
|
|
353
|
-
height:
|
|
354
|
-
width:
|
|
355
|
-
plotSize:
|
|
356
|
-
ticksFontSize:
|
|
357
|
-
datapointFontSize:
|
|
358
|
-
axisNameFontSize:
|
|
359
|
-
}),
|
|
360
|
-
|
|
352
|
+
}), dn = u(() => M.value.userOptions.show && !I.value.title.text), H = x({
|
|
353
|
+
height: I.value.height,
|
|
354
|
+
width: I.value.width,
|
|
355
|
+
plotSize: I.value.plots.radius,
|
|
356
|
+
ticksFontSize: P.value.ticks.fontSize,
|
|
357
|
+
datapointFontSize: P.value.datapoints.fontSize,
|
|
358
|
+
axisNameFontSize: P.value.axisNamesFontSize
|
|
359
|
+
}), fn = u(() => H.value.width), pn = u(() => H.value.height), U = x(0), mn = Ae((e) => {
|
|
360
|
+
U.value = e;
|
|
361
361
|
}, 100);
|
|
362
362
|
Xe((e) => {
|
|
363
363
|
let t = Gt.value;
|
|
364
364
|
if (!t) return;
|
|
365
365
|
let n = new ResizeObserver((e) => {
|
|
366
|
-
|
|
366
|
+
mn(e[0].contentRect.height);
|
|
367
367
|
});
|
|
368
368
|
n.observe(t), e(() => n.disconnect());
|
|
369
369
|
});
|
|
370
|
-
let
|
|
371
|
-
let { top: e, right: t, bottom: n, left: r } =
|
|
370
|
+
let W = u(() => {
|
|
371
|
+
let { top: e, right: t, bottom: n, left: r } = I.value.padding, i = pn.value, a = fn.value;
|
|
372
372
|
return {
|
|
373
373
|
chartHeight: Math.max(.001, i),
|
|
374
374
|
chartWidth: Math.max(.001, a),
|
|
375
|
-
height: Math.max(.001, i - e - n -
|
|
375
|
+
height: Math.max(.001, i - e - n - U.value - H.value.datapointFontSize * 2),
|
|
376
376
|
width: Math.max(.001, a - r - t),
|
|
377
|
-
top: e +
|
|
377
|
+
top: e + U.value + H.value.datapointFontSize,
|
|
378
378
|
left: r,
|
|
379
379
|
right: a - t,
|
|
380
|
-
bottom: i - n -
|
|
380
|
+
bottom: i - n - H.value.datapointFontSize
|
|
381
381
|
};
|
|
382
|
-
}),
|
|
383
|
-
dataLabels: { show:
|
|
382
|
+
}), hn = u(() => me(M.value.customPalette)), G = x({
|
|
383
|
+
dataLabels: { show: P.value.datapoints.show },
|
|
384
384
|
showTable: M.value.table.show,
|
|
385
|
-
showTooltip:
|
|
385
|
+
showTooltip: F.value.show
|
|
386
386
|
});
|
|
387
387
|
Ye(M, () => {
|
|
388
|
-
|
|
389
|
-
dataLabels: { show:
|
|
388
|
+
G.value = {
|
|
389
|
+
dataLabels: { show: P.value.datapoints.show },
|
|
390
390
|
showTable: M.value.table.show,
|
|
391
|
-
showTooltip:
|
|
391
|
+
showTooltip: F.value.show
|
|
392
392
|
};
|
|
393
393
|
}, { immediate: !0 });
|
|
394
|
-
let
|
|
395
|
-
function
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}),
|
|
394
|
+
let K = x([]);
|
|
395
|
+
function gn() {
|
|
396
|
+
K.value.length ? K.value = [] : xn.value.forEach((e) => {
|
|
397
|
+
K.value.push(e.id);
|
|
398
|
+
}), Fn("selectLegend", wn.value);
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
|
|
400
|
+
function _n(e) {
|
|
401
|
+
K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.push(e), Fn("selectLegend", wn.value);
|
|
402
402
|
}
|
|
403
|
-
let
|
|
404
|
-
let n = ee(e.color) ||
|
|
403
|
+
let q = u(() => Qt.value.map((e, t) => {
|
|
404
|
+
let n = ee(e.color) || hn.value[t] || o[t] || o[t % o.length];
|
|
405
405
|
return {
|
|
406
406
|
...e,
|
|
407
407
|
series: e.series.map((e) => ({
|
|
@@ -415,54 +415,54 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
415
415
|
shape: e.shape || "circle"
|
|
416
416
|
};
|
|
417
417
|
}));
|
|
418
|
-
function _n(e) {
|
|
419
|
-
return W.value.length ? W.value.find((t) => t.name === e) || (rn.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (rn.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
420
|
-
}
|
|
421
418
|
function vn(e) {
|
|
422
|
-
|
|
423
|
-
t !== null && U.value.includes(t.id) && gn(t.id);
|
|
419
|
+
return q.value.length ? q.value.find((t) => t.name === e) || (an.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (an.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
|
|
424
420
|
}
|
|
425
421
|
function yn(e) {
|
|
426
|
-
let t =
|
|
427
|
-
t !== null &&
|
|
422
|
+
let t = vn(e);
|
|
423
|
+
t !== null && K.value.includes(t.id) && _n(t.id);
|
|
428
424
|
}
|
|
429
|
-
|
|
425
|
+
function bn(e) {
|
|
426
|
+
let t = vn(e);
|
|
427
|
+
t !== null && (K.value.includes(t.id) || _n(t.id));
|
|
428
|
+
}
|
|
429
|
+
let xn = u(() => q.value.map((e) => ({
|
|
430
430
|
...e,
|
|
431
|
-
opacity:
|
|
432
|
-
segregate: () =>
|
|
433
|
-
isSegregated:
|
|
431
|
+
opacity: K.value.includes(e.id) ? .5 : 1,
|
|
432
|
+
segregate: () => _n(e.id),
|
|
433
|
+
isSegregated: K.value.includes(e.id),
|
|
434
434
|
shape: e.shape || "circle"
|
|
435
|
-
}))),
|
|
435
|
+
}))), Sn = u(() => ({
|
|
436
436
|
cy: "pcp-div-legend",
|
|
437
|
-
backgroundColor:
|
|
438
|
-
color:
|
|
439
|
-
fontSize:
|
|
437
|
+
backgroundColor: I.value.legend.backgroundColor,
|
|
438
|
+
color: I.value.legend.color,
|
|
439
|
+
fontSize: I.value.legend.fontSize,
|
|
440
440
|
paddingBottom: 12,
|
|
441
|
-
fontWeight:
|
|
442
|
-
})),
|
|
441
|
+
fontWeight: I.value.legend.bold ? "bold" : ""
|
|
442
|
+
})), Cn = u(() => Math.max(...q.value.filter((e) => !K.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), J = u(() => W.value.width / Cn.value), wn = u(() => q.value.filter((e) => !K.value.includes(e.id))), Y = u(() => {
|
|
443
443
|
let e = [];
|
|
444
|
-
for (let t = 0; t <
|
|
445
|
-
let n = Math.min(...
|
|
444
|
+
for (let t = 0; t < Cn.value; t += 1) {
|
|
445
|
+
let n = Math.min(...wn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...wn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = oe(i, a, I.value.yAxis.scaleTicks), s = o.ticks.map((e, n) => {
|
|
446
446
|
let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
|
|
447
447
|
return {
|
|
448
|
-
y:
|
|
449
|
-
x:
|
|
448
|
+
y: W.value.bottom - W.value.height * (r / i),
|
|
449
|
+
x: W.value.left + J.value * t + J.value / 2,
|
|
450
450
|
value: e
|
|
451
451
|
};
|
|
452
452
|
});
|
|
453
453
|
e.push({
|
|
454
454
|
scale: o,
|
|
455
455
|
ticks: s,
|
|
456
|
-
name:
|
|
456
|
+
name: P.value.axisNames[t] || `Y-${t + 1}`
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
return e;
|
|
460
|
-
}),
|
|
460
|
+
}), X = u(() => wn.value.map((e, t) => ({
|
|
461
461
|
...e,
|
|
462
462
|
series: e.series.map((n, r) => ({
|
|
463
463
|
...n,
|
|
464
464
|
datapoints: n.values.map((i, a) => {
|
|
465
|
-
let o =
|
|
465
|
+
let o = Y.value[a].scale.min < 0 ? (i || 0) + Math.abs(Y.value[a].scale.min) : (i || 0) - Math.abs(Y.value[a].scale.min), s = Y.value[a].scale.min < 0 ? Y.value[a].scale.max + Math.abs(Y.value[a].scale.min) : Y.value[a].scale.max - Math.abs(Y.value[a].scale.min);
|
|
466
466
|
return {
|
|
467
467
|
name: n.name,
|
|
468
468
|
seriesName: e.name,
|
|
@@ -470,8 +470,8 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
470
470
|
datapointIndex: r,
|
|
471
471
|
seriesIndex: t,
|
|
472
472
|
value: i || 0,
|
|
473
|
-
x:
|
|
474
|
-
y:
|
|
473
|
+
x: W.value.left + J.value * a + J.value / 2,
|
|
474
|
+
y: W.value.bottom - W.value.height * (o / s),
|
|
475
475
|
comment: n.comments && n.comments[a] || ""
|
|
476
476
|
};
|
|
477
477
|
})
|
|
@@ -479,7 +479,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
479
479
|
})).map((e) => ({
|
|
480
480
|
...e,
|
|
481
481
|
series: e.series.map((e) => {
|
|
482
|
-
let t = te(e.datapoints), n = s(e.datapoints, .12), r = se(
|
|
482
|
+
let t = te(e.datapoints), n = s(e.datapoints, .12), r = se(I.value.lines.smooth ? `M ${n}` : `M ${t}`);
|
|
483
483
|
return {
|
|
484
484
|
...e,
|
|
485
485
|
smoothPath: n,
|
|
@@ -487,7 +487,7 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
487
487
|
pathLength: r
|
|
488
488
|
};
|
|
489
489
|
})
|
|
490
|
-
}))),
|
|
490
|
+
}))), Z = u(() => X.value.flatMap((e, t) => e.series.map((n, r) => ({
|
|
491
491
|
shape: e.shape,
|
|
492
492
|
serieName: e.name,
|
|
493
493
|
serie: n,
|
|
@@ -496,19 +496,19 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
496
496
|
S: t,
|
|
497
497
|
key: `${t}_${r}`
|
|
498
498
|
}))));
|
|
499
|
-
function
|
|
500
|
-
return le(
|
|
501
|
-
p:
|
|
499
|
+
function Tn({ value: e, index: t, datapoint: n }) {
|
|
500
|
+
return le(P.value.formatters[t] || null, e, ne({
|
|
501
|
+
p: P.value.prefixes[t] || "",
|
|
502
502
|
v: e,
|
|
503
|
-
s:
|
|
504
|
-
r:
|
|
503
|
+
s: P.value.suffixes[t] || "",
|
|
504
|
+
r: P.value.roundings[t] || 0
|
|
505
505
|
}), {
|
|
506
506
|
datapoint: n,
|
|
507
507
|
seriesIndex: t
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
|
-
let
|
|
511
|
-
function
|
|
510
|
+
let Q = x(null), En = x(null), Dn = x(!1), On = x("");
|
|
511
|
+
function kn({ shape: e, serie: t, S: n }) {
|
|
512
512
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
513
513
|
datapoint: {
|
|
514
514
|
...t,
|
|
@@ -516,73 +516,73 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
516
516
|
},
|
|
517
517
|
seriesIndex: n
|
|
518
518
|
});
|
|
519
|
-
let r = k.value === null ? null :
|
|
520
|
-
qt.value === "keyboard" && r && r.serie.id === t.id || (
|
|
519
|
+
let r = k.value === null ? null : Z.value[k.value];
|
|
520
|
+
qt.value === "keyboard" && r && r.serie.id === t.id || (Q.value = null, Dn.value = !1);
|
|
521
521
|
}
|
|
522
|
-
function
|
|
523
|
-
if (!
|
|
522
|
+
function An(e) {
|
|
523
|
+
if (!z.value || !e?.datapoints?.length) return;
|
|
524
524
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
525
525
|
if (!t) return;
|
|
526
|
-
let n = a(t.x, t.y,
|
|
526
|
+
let n = a(t.x, t.y, z.value);
|
|
527
527
|
n && (Kt.value = n);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function jn({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: s = "pointer" }) {
|
|
530
530
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
531
531
|
datapoint: {
|
|
532
532
|
...r,
|
|
533
533
|
shape: e
|
|
534
534
|
},
|
|
535
535
|
seriesIndex: o
|
|
536
|
-
}), qt.value = s,
|
|
536
|
+
}), qt.value = s, En.value = {
|
|
537
537
|
config: M.value,
|
|
538
538
|
datapoint: r,
|
|
539
539
|
serie: r,
|
|
540
540
|
relativeIndex: i,
|
|
541
541
|
seriesIndex: a,
|
|
542
|
-
series:
|
|
543
|
-
scales:
|
|
544
|
-
},
|
|
545
|
-
let c = "", ee =
|
|
542
|
+
series: q.value,
|
|
543
|
+
scales: Y.value
|
|
544
|
+
}, Dn.value = !0, Q.value = r.id;
|
|
545
|
+
let c = "", ee = F.value.customFormat;
|
|
546
546
|
n(ee) && ue(() => ee({
|
|
547
547
|
serie: r,
|
|
548
548
|
seriesIndex: r.seriesIndex,
|
|
549
|
-
series:
|
|
549
|
+
series: q.value,
|
|
550
550
|
config: M.value,
|
|
551
|
-
scales:
|
|
552
|
-
})) ?
|
|
551
|
+
scales: Y.value
|
|
552
|
+
})) ? On.value = ee({
|
|
553
553
|
serie: r,
|
|
554
554
|
seriesIndex: r.seriesIndex,
|
|
555
|
-
series:
|
|
555
|
+
series: q.value,
|
|
556
556
|
config: M.value,
|
|
557
|
-
scales:
|
|
558
|
-
}) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${
|
|
557
|
+
scales: Y.value
|
|
558
|
+
}) : (c += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, Y.value.map((e) => e.name).forEach((e, t) => {
|
|
559
559
|
c += `
|
|
560
560
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
561
561
|
<span>${e}: </span>
|
|
562
562
|
<span>
|
|
563
|
-
${le(
|
|
564
|
-
p:
|
|
563
|
+
${le(P.value.formatters[t] || null, r.datapoints[t].value, ne({
|
|
564
|
+
p: P.value.prefixes[t] || "",
|
|
565
565
|
v: r.datapoints[t].value,
|
|
566
|
-
s:
|
|
567
|
-
r:
|
|
566
|
+
s: P.value.suffixes[t] || "",
|
|
567
|
+
r: P.value.roundings[t] || ""
|
|
568
568
|
}), {
|
|
569
569
|
datapoint: r.datapoints[t],
|
|
570
570
|
seriesIndex: t
|
|
571
571
|
})}
|
|
572
572
|
</span>
|
|
573
573
|
</div>
|
|
574
|
-
`,
|
|
575
|
-
}),
|
|
576
|
-
|
|
574
|
+
`, I.value.comments.showInTooltip && r.datapoints[t].comment && (c += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
|
|
575
|
+
}), On.value = `<div>${c}</div>`), s === "keyboard" && Ue(() => {
|
|
576
|
+
An(r);
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
return
|
|
579
|
+
function Mn() {
|
|
580
|
+
return q.value;
|
|
581
581
|
}
|
|
582
|
-
let
|
|
583
|
-
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
582
|
+
let $ = u(() => {
|
|
583
|
+
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(Y.value.map((e) => e.name));
|
|
584
584
|
return {
|
|
585
|
-
body:
|
|
585
|
+
body: X.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
|
|
586
586
|
head: e,
|
|
587
587
|
config: {
|
|
588
588
|
th: {
|
|
@@ -597,52 +597,52 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
597
597
|
},
|
|
598
598
|
breakpoint: M.value.table.responsiveBreakpoint
|
|
599
599
|
},
|
|
600
|
-
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
600
|
+
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(Y.value.map((e) => e.name))
|
|
601
601
|
};
|
|
602
|
-
}),
|
|
602
|
+
}), Nn = u(() => X.value.length === 0 ? {
|
|
603
603
|
head: [],
|
|
604
604
|
body: [],
|
|
605
605
|
config: {},
|
|
606
606
|
columnNames: []
|
|
607
607
|
} : {
|
|
608
|
-
head:
|
|
609
|
-
body:
|
|
608
|
+
head: $.value.head,
|
|
609
|
+
body: $.value.body
|
|
610
610
|
});
|
|
611
|
-
function
|
|
611
|
+
function Pn(e = null) {
|
|
612
612
|
let n = [
|
|
613
|
-
[
|
|
614
|
-
[
|
|
613
|
+
[I.value.title.text],
|
|
614
|
+
[I.value.title.subtitle.text],
|
|
615
615
|
[""]
|
|
616
|
-
], i =
|
|
616
|
+
], i = Nn.value.head, a = Nn.value.body, o = n.concat([i]).concat(a), s = r(o);
|
|
617
617
|
e ? e(s) : t({
|
|
618
618
|
csvContent: s,
|
|
619
|
-
title:
|
|
619
|
+
title: I.value.title.text || "vue-ui-parallel-coordinate-plot"
|
|
620
620
|
});
|
|
621
621
|
}
|
|
622
|
-
let
|
|
623
|
-
function
|
|
622
|
+
let Fn = Ze;
|
|
623
|
+
function In({ serie: e, shape: t, S: n }) {
|
|
624
624
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
625
625
|
datapoint: {
|
|
626
626
|
...e,
|
|
627
627
|
shape: t
|
|
628
628
|
},
|
|
629
629
|
seriesIndex: n
|
|
630
|
-
}),
|
|
630
|
+
}), Fn("selectDatapoint", e);
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
|
|
632
|
+
function Ln() {
|
|
633
|
+
G.value.showTable = !G.value.showTable;
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
|
|
635
|
+
function Rn() {
|
|
636
|
+
G.value.dataLabels.show = !G.value.dataLabels.show;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
|
|
638
|
+
function zn() {
|
|
639
|
+
G.value.showTooltip = !G.value.showTooltip;
|
|
640
640
|
}
|
|
641
|
-
let
|
|
642
|
-
function
|
|
643
|
-
|
|
641
|
+
let Bn = x(!1);
|
|
642
|
+
function Vn() {
|
|
643
|
+
Bn.value = !Bn.value;
|
|
644
644
|
}
|
|
645
|
-
async function
|
|
645
|
+
async function Hn({ scale: e = 2 } = {}) {
|
|
646
646
|
if (!O.value) return;
|
|
647
647
|
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ee({
|
|
648
648
|
domElement: O.value,
|
|
@@ -653,20 +653,20 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
653
653
|
return {
|
|
654
654
|
imageUri: i,
|
|
655
655
|
base64: a,
|
|
656
|
-
title:
|
|
656
|
+
title: I.value.title.text,
|
|
657
657
|
width: t,
|
|
658
658
|
height: n,
|
|
659
659
|
aspectRatio: r
|
|
660
660
|
};
|
|
661
661
|
}
|
|
662
|
-
let
|
|
662
|
+
let Un = x({
|
|
663
663
|
start: 0,
|
|
664
664
|
end: 1
|
|
665
|
-
}),
|
|
665
|
+
}), Wn = u(() => Y.value.map((e) => e.name));
|
|
666
666
|
Te({
|
|
667
667
|
timeLabelsEls: Gt,
|
|
668
|
-
timeLabels:
|
|
669
|
-
slicer:
|
|
668
|
+
timeLabels: Wn,
|
|
669
|
+
slicer: Un,
|
|
670
670
|
configRef: M,
|
|
671
671
|
rotationPath: [
|
|
672
672
|
"style",
|
|
@@ -684,16 +684,16 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
684
684
|
"enable"
|
|
685
685
|
],
|
|
686
686
|
isAutoSize: !1,
|
|
687
|
-
width:
|
|
688
|
-
height:
|
|
687
|
+
width: fn,
|
|
688
|
+
height: pn,
|
|
689
689
|
targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
|
|
690
|
-
rotation:
|
|
690
|
+
rotation: P.value.axisNamesAutoRotate.angle
|
|
691
691
|
});
|
|
692
|
-
let
|
|
693
|
-
let e = M.value.table.useDialog && !M.value.table.show, t =
|
|
692
|
+
let Gn = u(() => {
|
|
693
|
+
let e = M.value.table.useDialog && !M.value.table.show, t = G.value.showTable;
|
|
694
694
|
return {
|
|
695
695
|
component: e ? kt : wt,
|
|
696
|
-
title: `${
|
|
696
|
+
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
697
697
|
props: e ? {
|
|
698
698
|
backgroundColor: M.value.table.th.backgroundColor,
|
|
699
699
|
color: M.value.table.th.color,
|
|
@@ -702,86 +702,86 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
702
702
|
isFullscreen: j.value,
|
|
703
703
|
fullscreenParent: O.value,
|
|
704
704
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
705
|
-
isCursorPointer:
|
|
705
|
+
isCursorPointer: R.value
|
|
706
706
|
} : {
|
|
707
707
|
hideDetails: !0,
|
|
708
708
|
config: {
|
|
709
709
|
open: t,
|
|
710
710
|
maxHeight: 1e4,
|
|
711
711
|
body: {
|
|
712
|
-
backgroundColor:
|
|
713
|
-
color:
|
|
712
|
+
backgroundColor: I.value.backgroundColor,
|
|
713
|
+
color: I.value.color
|
|
714
714
|
},
|
|
715
715
|
head: {
|
|
716
|
-
backgroundColor:
|
|
717
|
-
color:
|
|
716
|
+
backgroundColor: I.value.backgroundColor,
|
|
717
|
+
color: I.value.color
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
});
|
|
723
|
-
Ye(() =>
|
|
723
|
+
Ye(() => G.value.showTable, (e) => {
|
|
724
724
|
M.value.table.show || (e && M.value.table.useDialog && Ut.value ? Ut.value.open() : "close" in Ut.value && Ut.value.close());
|
|
725
725
|
});
|
|
726
|
-
function
|
|
727
|
-
|
|
726
|
+
function Kn() {
|
|
727
|
+
G.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
728
728
|
}
|
|
729
|
-
let
|
|
730
|
-
svg:
|
|
731
|
-
title:
|
|
732
|
-
legend:
|
|
733
|
-
legendItems:
|
|
734
|
-
backgroundColor:
|
|
729
|
+
let qn = u(() => I.value.backgroundColor), Jn = u(() => I.value.legend), Yn = u(() => I.value.title), { isCallbackImaging: Xn, isCallbackSvg: Zn, generateSvg: Qn, onGenerateImage: $n } = Ce({
|
|
730
|
+
svg: z,
|
|
731
|
+
title: Yn,
|
|
732
|
+
legend: Jn,
|
|
733
|
+
legendItems: xn,
|
|
734
|
+
backgroundColor: qn,
|
|
735
735
|
getSvgCallback: () => M.value.userOptions.callbacks.svg,
|
|
736
|
-
generateImage:
|
|
736
|
+
generateImage: un
|
|
737
737
|
});
|
|
738
|
-
async function
|
|
739
|
-
if (
|
|
738
|
+
async function er() {
|
|
739
|
+
if (Fn("copyAlt", {
|
|
740
740
|
config: M.value,
|
|
741
|
-
dataset:
|
|
741
|
+
dataset: X.value
|
|
742
742
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
743
743
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
744
744
|
return;
|
|
745
745
|
}
|
|
746
746
|
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
747
747
|
config: M.value,
|
|
748
|
-
dataset:
|
|
748
|
+
dataset: X.value
|
|
749
749
|
}));
|
|
750
750
|
}
|
|
751
|
-
function
|
|
752
|
-
let t =
|
|
751
|
+
function tr(e) {
|
|
752
|
+
let t = Z.value.length;
|
|
753
753
|
return t ? (e % t + t) % t : null;
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function nr() {
|
|
756
756
|
if (k.value !== null) {
|
|
757
|
-
let e =
|
|
758
|
-
e &&
|
|
757
|
+
let e = Z.value[k.value];
|
|
758
|
+
e && kn({
|
|
759
759
|
shape: e.shape,
|
|
760
760
|
serie: e.serie,
|
|
761
761
|
S: e.S
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
|
-
k.value = null, qt.value = "pointer",
|
|
764
|
+
k.value = null, qt.value = "pointer", Q.value = null, Dn.value = !1;
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function rr() {
|
|
767
767
|
k.value = null, Jt.value = !0;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
770
|
-
|
|
769
|
+
function ir() {
|
|
770
|
+
nr(), Jt.value = !1;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
773
|
-
if (!
|
|
772
|
+
function ar(e) {
|
|
773
|
+
if (!z.value || Bn.value || document.activeElement !== z.value || !Z.value.length) return;
|
|
774
774
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
775
775
|
if (!t && !n && !r && !i) return;
|
|
776
776
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
777
|
-
|
|
777
|
+
nr();
|
|
778
778
|
return;
|
|
779
779
|
}
|
|
780
780
|
if (r) {
|
|
781
781
|
if (k.value === null) return;
|
|
782
|
-
let e =
|
|
782
|
+
let e = Z.value[k.value];
|
|
783
783
|
if (!e) return;
|
|
784
|
-
|
|
784
|
+
In({
|
|
785
785
|
serie: e.serie,
|
|
786
786
|
shape: e.shape,
|
|
787
787
|
S: e.S
|
|
@@ -789,9 +789,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
789
789
|
return;
|
|
790
790
|
}
|
|
791
791
|
let a = k.value;
|
|
792
|
-
a = a === null ? n ? 0 :
|
|
793
|
-
let o =
|
|
794
|
-
o && (k.value = a,
|
|
792
|
+
a = a === null ? n ? 0 : Z.value.length - 1 : tr(a + (n ? 1 : -1));
|
|
793
|
+
let o = Z.value[a];
|
|
794
|
+
o && (k.value = a, jn({
|
|
795
795
|
shape: o.shape,
|
|
796
796
|
serieName: o.serieName,
|
|
797
797
|
serie: o.serie,
|
|
@@ -801,9 +801,9 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
801
801
|
triggerMode: "keyboard"
|
|
802
802
|
}));
|
|
803
803
|
}
|
|
804
|
-
let
|
|
805
|
-
head:
|
|
806
|
-
body:
|
|
804
|
+
let or = u(() => ({
|
|
805
|
+
head: $.value.head,
|
|
806
|
+
body: $.value.body.map((e) => [
|
|
807
807
|
e[0] ?? "",
|
|
808
808
|
e[1] ?? "",
|
|
809
809
|
...e.slice(2)
|
|
@@ -812,40 +812,40 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
812
812
|
notice: M.value.a11y.translations.tableAvailable
|
|
813
813
|
}));
|
|
814
814
|
return ke({
|
|
815
|
-
getData:
|
|
816
|
-
getImage:
|
|
817
|
-
generateCsv:
|
|
818
|
-
generatePdf:
|
|
819
|
-
generateImage:
|
|
820
|
-
generateSvg:
|
|
821
|
-
hideSeries:
|
|
822
|
-
showSeries:
|
|
823
|
-
toggleTable:
|
|
824
|
-
toggleLabels:
|
|
825
|
-
toggleTooltip:
|
|
826
|
-
toggleAnnotator:
|
|
815
|
+
getData: Mn,
|
|
816
|
+
getImage: Hn,
|
|
817
|
+
generateCsv: Pn,
|
|
818
|
+
generatePdf: ln,
|
|
819
|
+
generateImage: un,
|
|
820
|
+
generateSvg: Qn,
|
|
821
|
+
hideSeries: bn,
|
|
822
|
+
showSeries: yn,
|
|
823
|
+
toggleTable: Ln,
|
|
824
|
+
toggleLabels: Rn,
|
|
825
|
+
toggleTooltip: zn,
|
|
826
|
+
toggleAnnotator: Vn,
|
|
827
827
|
toggleFullscreen: Yt,
|
|
828
|
-
copyAlt:
|
|
828
|
+
copyAlt: er
|
|
829
829
|
}), (e, t) => (b(), p("div", {
|
|
830
830
|
ref_key: "pcpChart",
|
|
831
831
|
ref: O,
|
|
832
832
|
class: _(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
833
|
-
style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${
|
|
833
|
+
style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${I.value.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
|
|
834
834
|
id: `pcp_${A.value}`,
|
|
835
|
-
onMouseenter: t[2] ||= () => T(
|
|
836
|
-
onMouseleave: t[3] ||= () => T(
|
|
835
|
+
onMouseenter: t[2] ||= () => T(tn)(!0),
|
|
836
|
+
onMouseleave: t[3] ||= () => T(tn)(!1)
|
|
837
837
|
}, [
|
|
838
838
|
m("div", {
|
|
839
839
|
id: `chart-instructions-${A.value}`,
|
|
840
840
|
class: "sr-only"
|
|
841
841
|
}, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, $e),
|
|
842
|
-
|
|
842
|
+
or.value.body.length ? (b(), d(Ne, {
|
|
843
843
|
key: 0,
|
|
844
844
|
uid: A.value,
|
|
845
|
-
head:
|
|
846
|
-
body:
|
|
847
|
-
caption:
|
|
848
|
-
notice:
|
|
845
|
+
head: or.value.head,
|
|
846
|
+
body: or.value.body,
|
|
847
|
+
caption: or.value.caption,
|
|
848
|
+
notice: or.value.notice
|
|
849
849
|
}, null, 8, [
|
|
850
850
|
"uid",
|
|
851
851
|
"head",
|
|
@@ -853,15 +853,15 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
853
853
|
"caption",
|
|
854
854
|
"notice"
|
|
855
855
|
])) : f("", !0),
|
|
856
|
-
|
|
856
|
+
N.value.buttons.annotator ? (b(), d(T(Et), {
|
|
857
857
|
key: 1,
|
|
858
|
-
svgRef: T(
|
|
859
|
-
backgroundColor:
|
|
860
|
-
color:
|
|
861
|
-
active:
|
|
862
|
-
isCursorPointer:
|
|
863
|
-
palette:
|
|
864
|
-
onClose:
|
|
858
|
+
svgRef: T(z),
|
|
859
|
+
backgroundColor: I.value.backgroundColor,
|
|
860
|
+
color: I.value.color,
|
|
861
|
+
active: Bn.value,
|
|
862
|
+
isCursorPointer: R.value,
|
|
863
|
+
palette: N.value.annotatorPalette,
|
|
864
|
+
onClose: Vn
|
|
865
865
|
}, {
|
|
866
866
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
867
867
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -878,14 +878,14 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
878
878
|
"isCursorPointer",
|
|
879
879
|
"palette"
|
|
880
880
|
])) : f("", !0),
|
|
881
|
-
|
|
881
|
+
dn.value ? (b(), p("div", {
|
|
882
882
|
key: 2,
|
|
883
883
|
ref_key: "noTitle",
|
|
884
884
|
ref: Rt,
|
|
885
885
|
class: "vue-data-ui-no-title-space",
|
|
886
886
|
style: "height:36px; width: 100%;background:transparent"
|
|
887
887
|
}, null, 512)) : f("", !0),
|
|
888
|
-
|
|
888
|
+
I.value.title.text ? (b(), p("div", {
|
|
889
889
|
key: 3,
|
|
890
890
|
ref_key: "chartTitle",
|
|
891
891
|
ref: Ft,
|
|
@@ -895,55 +895,55 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
895
895
|
config: {
|
|
896
896
|
title: {
|
|
897
897
|
cy: "pcp-div-title",
|
|
898
|
-
...
|
|
898
|
+
...I.value.title
|
|
899
899
|
},
|
|
900
900
|
subtitle: {
|
|
901
901
|
cy: "pcp-div-subtitle",
|
|
902
|
-
...
|
|
902
|
+
...I.value.title.subtitle
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
905
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
906
906
|
m("div", { id: `legend-top-${A.value}` }, null, 8, et),
|
|
907
|
-
|
|
907
|
+
N.value.show && Nt.value && (T(nn) || T(en)) ? (b(), d(T(Dt), {
|
|
908
908
|
ref_key: "userOptionsRef",
|
|
909
909
|
ref: Wt,
|
|
910
910
|
key: `user_options_${Pt.value}`,
|
|
911
|
-
backgroundColor:
|
|
912
|
-
color:
|
|
913
|
-
isPrinting: T(
|
|
914
|
-
isImaging: T(
|
|
911
|
+
backgroundColor: I.value.backgroundColor,
|
|
912
|
+
color: I.value.color,
|
|
913
|
+
isPrinting: T(sn),
|
|
914
|
+
isImaging: T(cn),
|
|
915
915
|
uid: A.value,
|
|
916
|
-
hasTooltip:
|
|
917
|
-
hasPdf:
|
|
918
|
-
hasXls:
|
|
919
|
-
hasImg:
|
|
920
|
-
hasSvg:
|
|
921
|
-
hasTable:
|
|
922
|
-
hasLabel:
|
|
923
|
-
hasFullscreen:
|
|
924
|
-
hasAltCopy:
|
|
916
|
+
hasTooltip: N.value.buttons.tooltip && F.value.show,
|
|
917
|
+
hasPdf: N.value.buttons.pdf,
|
|
918
|
+
hasXls: N.value.buttons.csv,
|
|
919
|
+
hasImg: N.value.buttons.img,
|
|
920
|
+
hasSvg: N.value.buttons.svg,
|
|
921
|
+
hasTable: N.value.buttons.table,
|
|
922
|
+
hasLabel: N.value.buttons.labels,
|
|
923
|
+
hasFullscreen: N.value.buttons.fullscreen,
|
|
924
|
+
hasAltCopy: N.value.buttons.altCopy,
|
|
925
925
|
isFullscreen: j.value,
|
|
926
|
-
isTooltip:
|
|
927
|
-
titles: { ...
|
|
926
|
+
isTooltip: G.value.showTooltip,
|
|
927
|
+
titles: { ...N.value.buttonTitles },
|
|
928
928
|
chartElement: O.value,
|
|
929
|
-
position:
|
|
930
|
-
hasAnnotator:
|
|
931
|
-
isAnnotation:
|
|
932
|
-
callbacks:
|
|
933
|
-
printScale:
|
|
929
|
+
position: N.value.position,
|
|
930
|
+
hasAnnotator: N.value.buttons.annotator,
|
|
931
|
+
isAnnotation: Bn.value,
|
|
932
|
+
callbacks: N.value.callbacks,
|
|
933
|
+
printScale: N.value.print.scale,
|
|
934
934
|
tableDialog: M.value.table.useDialog,
|
|
935
|
-
isCursorPointer:
|
|
935
|
+
isCursorPointer: R.value,
|
|
936
936
|
onToggleFullscreen: Yt,
|
|
937
|
-
onGeneratePdf: T(
|
|
938
|
-
onGenerateCsv:
|
|
939
|
-
onGenerateImage: T(
|
|
940
|
-
onGenerateSvg: T(
|
|
941
|
-
onToggleTable:
|
|
942
|
-
onToggleLabels:
|
|
943
|
-
onToggleTooltip:
|
|
944
|
-
onToggleAnnotator:
|
|
945
|
-
onCopyAlt:
|
|
946
|
-
style: y({ visibility: T(
|
|
937
|
+
onGeneratePdf: T(ln),
|
|
938
|
+
onGenerateCsv: Pn,
|
|
939
|
+
onGenerateImage: T($n),
|
|
940
|
+
onGenerateSvg: T(Qn),
|
|
941
|
+
onToggleTable: Ln,
|
|
942
|
+
onToggleLabels: Rn,
|
|
943
|
+
onToggleTooltip: zn,
|
|
944
|
+
onToggleAnnotator: Vn,
|
|
945
|
+
onCopyAlt: er,
|
|
946
|
+
style: y({ visibility: T(nn) ? T(en) ? "visible" : "hidden" : "visible" })
|
|
947
947
|
}, ze({ _: 2 }, [
|
|
948
948
|
e.$slots.menuIcon ? {
|
|
949
949
|
name: "menuIcon",
|
|
@@ -1022,88 +1022,88 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1022
1022
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : f("", !0),
|
|
1023
1023
|
m("div", tt, [(b(), p("svg", {
|
|
1024
1024
|
ref_key: "svgRef",
|
|
1025
|
-
ref:
|
|
1025
|
+
ref: z,
|
|
1026
1026
|
xmlns: T(pe),
|
|
1027
1027
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1028
1028
|
class: _({
|
|
1029
1029
|
"vue-data-ui-fullscreen--on": j.value,
|
|
1030
1030
|
"vue-data-ui-fulscreen--off": !j.value,
|
|
1031
|
-
"vue-data-ui-no-transition": !T(
|
|
1031
|
+
"vue-data-ui-no-transition": !T(L)
|
|
1032
1032
|
}),
|
|
1033
|
-
viewBox: `0 0 ${
|
|
1034
|
-
style: y(`max-width:100%; overflow: visible; background:transparent;color:${
|
|
1033
|
+
viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
|
|
1034
|
+
style: y(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color}`),
|
|
1035
1035
|
tabindex: "0",
|
|
1036
|
-
onFocus:
|
|
1037
|
-
onBlur:
|
|
1038
|
-
onKeydown:
|
|
1036
|
+
onFocus: rr,
|
|
1037
|
+
onBlur: ir,
|
|
1038
|
+
onKeydown: ar
|
|
1039
1039
|
}, [
|
|
1040
1040
|
Ve(T(Ot)),
|
|
1041
1041
|
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
1042
1042
|
key: 0,
|
|
1043
|
-
x:
|
|
1044
|
-
y:
|
|
1045
|
-
width:
|
|
1046
|
-
height:
|
|
1043
|
+
x: W.value.left,
|
|
1044
|
+
y: W.value.top,
|
|
1045
|
+
width: W.value.width,
|
|
1046
|
+
height: W.value.height,
|
|
1047
1047
|
style: { pointerEvents: "none" }
|
|
1048
1048
|
}, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : f("", !0),
|
|
1049
|
-
(b(!0), p(l, null, S(
|
|
1050
|
-
x1:
|
|
1051
|
-
x2:
|
|
1052
|
-
y1:
|
|
1053
|
-
y2:
|
|
1054
|
-
stroke:
|
|
1055
|
-
"stroke-width":
|
|
1056
|
-
}, null, 8, at),
|
|
1057
|
-
class: _({ "vue-data-ui-transition": T(
|
|
1049
|
+
(b(!0), p(l, null, S(Y.value, (e, t) => (b(), p("g", it, [m("line", {
|
|
1050
|
+
x1: W.value.left + J.value * t + J.value / 2,
|
|
1051
|
+
x2: W.value.left + J.value * t + J.value / 2,
|
|
1052
|
+
y1: W.value.top,
|
|
1053
|
+
y2: W.value.bottom,
|
|
1054
|
+
stroke: I.value.yAxis.stroke,
|
|
1055
|
+
"stroke-width": I.value.yAxis.strokeWidth
|
|
1056
|
+
}, null, 8, at), P.value.ticks.show ? (b(), p(l, { key: 0 }, [(b(!0), p(l, null, S(e.ticks, (t, n) => (b(), p("path", {
|
|
1057
|
+
class: _({ "vue-data-ui-transition": T(L) }),
|
|
1058
1058
|
key: `tick_${e.name}_${n}`,
|
|
1059
1059
|
d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
|
|
1060
|
-
stroke:
|
|
1061
|
-
"stroke-width":
|
|
1062
|
-
style: y(`opacity:${
|
|
1063
|
-
}, null, 14, ot))), 128)), T(
|
|
1060
|
+
stroke: I.value.yAxis.stroke,
|
|
1061
|
+
"stroke-width": I.value.yAxis.strokeWidth,
|
|
1062
|
+
style: y(`opacity:${Q.value && !G.value.showTooltip ? .2 : 1}`)
|
|
1063
|
+
}, null, 14, ot))), 128)), T(Zt) ? f("", !0) : (b(), p("g", st, [(b(!0), p(l, null, S(e.ticks, (n, r) => (b(), p("text", {
|
|
1064
1064
|
key: `tl_${e.name}_${r}`,
|
|
1065
|
-
class: _({ "vue-data-ui-transition": T(
|
|
1066
|
-
transform: `translate(${n.x - 12 +
|
|
1067
|
-
fill:
|
|
1065
|
+
class: _({ "vue-data-ui-transition": T(L) }),
|
|
1066
|
+
transform: `translate(${n.x - 12 + P.value.ticks.offsetX}, ${n.y + P.value.ticks.offsetY + H.value.ticksFontSize / 3})`,
|
|
1067
|
+
fill: P.value.ticks.color,
|
|
1068
1068
|
"text-anchor": "end",
|
|
1069
|
-
"font-size":
|
|
1070
|
-
"font-weight":
|
|
1071
|
-
style: y(`opacity:${
|
|
1072
|
-
}, w(
|
|
1069
|
+
"font-size": H.value.ticksFontSize,
|
|
1070
|
+
"font-weight": P.value.ticks.bold ? "bold" : "normal",
|
|
1071
|
+
style: y(`opacity:${Q.value && !G.value.showTooltip ? .2 : 1}`)
|
|
1072
|
+
}, w(Tn({
|
|
1073
1073
|
value: n.value,
|
|
1074
1074
|
index: t,
|
|
1075
1075
|
datapoint: n
|
|
1076
1076
|
})), 15, ct))), 128))]))], 64)) : f("", !0)]))), 256)),
|
|
1077
|
-
|
|
1077
|
+
P.value.showAxisNames ? (b(), p("g", {
|
|
1078
1078
|
key: 1,
|
|
1079
1079
|
ref_key: "xAxisLabels",
|
|
1080
1080
|
ref: Gt
|
|
1081
|
-
}, [(b(!0), p(l, null, S(
|
|
1081
|
+
}, [(b(!0), p(l, null, S(Y.value, (e, t) => (b(), p(l, null, [String(e.name).includes("\n") ? (b(), p("text", {
|
|
1082
1082
|
key: 1,
|
|
1083
1083
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1084
|
-
fill:
|
|
1085
|
-
"font-size":
|
|
1086
|
-
"font-weight":
|
|
1087
|
-
"text-anchor":
|
|
1088
|
-
transform: `translate(${
|
|
1084
|
+
fill: P.value.axisNamesColor,
|
|
1085
|
+
"font-size": H.value.axisNameFontSize,
|
|
1086
|
+
"font-weight": P.value.axisNamesBold ? "bold" : "",
|
|
1087
|
+
"text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
|
|
1088
|
+
transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${U.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`,
|
|
1089
1089
|
innerHTML: T(i)({
|
|
1090
1090
|
content: String(e.name),
|
|
1091
|
-
fontSize:
|
|
1092
|
-
fill:
|
|
1091
|
+
fontSize: H.value.axisNameFontSize,
|
|
1092
|
+
fill: P.value.axisNamesColor,
|
|
1093
1093
|
x: 0,
|
|
1094
1094
|
y: 0
|
|
1095
1095
|
})
|
|
1096
1096
|
}, null, 8, ut)) : (b(), p("text", {
|
|
1097
1097
|
key: 0,
|
|
1098
1098
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1099
|
-
fill:
|
|
1100
|
-
"font-size":
|
|
1101
|
-
"font-weight":
|
|
1102
|
-
"text-anchor":
|
|
1103
|
-
transform: `translate(${
|
|
1099
|
+
fill: P.value.axisNamesColor,
|
|
1100
|
+
"font-size": H.value.axisNameFontSize,
|
|
1101
|
+
"font-weight": P.value.axisNamesBold ? "bold" : "",
|
|
1102
|
+
"text-anchor": P.value.axisNamesRotation === 0 ? "middle" : P.value.axisNamesRotation < 0 ? "start" : "end",
|
|
1103
|
+
transform: `translate(${W.value.left + J.value * t + J.value / 2}, ${U.value - H.value.axisNameFontSize}), rotate(${P.value.axisNamesRotation})`
|
|
1104
1104
|
}, w(e.name), 9, lt))], 64))), 256))], 512)) : f("", !0),
|
|
1105
|
-
(b(!0), p(l, null, S(
|
|
1106
|
-
|
|
1105
|
+
(b(!0), p(l, null, S(X.value, (t, n) => (b(), p("g", null, [(b(!0), p(l, null, S(t.series, (r, i) => (b(), p("g", null, [
|
|
1106
|
+
I.value.plots.show ? (b(), p("g", dt, [
|
|
1107
1107
|
(b(!0), p(l, null, S(r.datapoints, (e, a) => (b(), d(Oe, {
|
|
1108
1108
|
plot: {
|
|
1109
1109
|
x: e.x,
|
|
@@ -1111,10 +1111,10 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1111
1111
|
},
|
|
1112
1112
|
color: t.color,
|
|
1113
1113
|
shape: t.shape,
|
|
1114
|
-
radius: t.shape === "triangle" ?
|
|
1115
|
-
stroke:
|
|
1114
|
+
radius: t.shape === "triangle" ? H.value.plotSize * 1.2 : H.value.plotSize,
|
|
1115
|
+
stroke: I.value.backgroundColor,
|
|
1116
1116
|
strokeWidth: .5,
|
|
1117
|
-
onMouseenter: (e) =>
|
|
1117
|
+
onMouseenter: (e) => jn({
|
|
1118
1118
|
shape: t.shape,
|
|
1119
1119
|
serieName: t.name,
|
|
1120
1120
|
serie: r,
|
|
@@ -1123,13 +1123,13 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1123
1123
|
S: n,
|
|
1124
1124
|
triggerMode: "pointer"
|
|
1125
1125
|
}),
|
|
1126
|
-
onMouseleave: (e) =>
|
|
1126
|
+
onMouseleave: (e) => kn({
|
|
1127
1127
|
serie: r,
|
|
1128
1128
|
shape: t.shape,
|
|
1129
1129
|
S: n
|
|
1130
1130
|
}),
|
|
1131
|
-
style: y(`opacity:${
|
|
1132
|
-
onClick: () =>
|
|
1131
|
+
style: y(`opacity:${Q.value ? Q.value === r.id ? I.value.plots.opacity : .2 : I.value.plots.opacity}`),
|
|
1132
|
+
onClick: () => In({
|
|
1133
1133
|
serie: r,
|
|
1134
1134
|
shape: t.shape,
|
|
1135
1135
|
S: n
|
|
@@ -1145,37 +1145,37 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1145
1145
|
"style",
|
|
1146
1146
|
"onClick"
|
|
1147
1147
|
]))), 256)),
|
|
1148
|
-
|
|
1148
|
+
G.value.showTooltip ? f("", !0) : (b(), p(l, { key: 0 }, [Q.value && Q.value === r.id && r.datapoints.length ? (b(), p("text", {
|
|
1149
1149
|
key: 0,
|
|
1150
|
-
x: r.datapoints[0].x -
|
|
1151
|
-
y: r.datapoints[0].y +
|
|
1150
|
+
x: r.datapoints[0].x - H.value.ticksFontSize,
|
|
1151
|
+
y: r.datapoints[0].y + H.value.ticksFontSize / 3,
|
|
1152
1152
|
"text-anchor": "end",
|
|
1153
|
-
"font-size":
|
|
1153
|
+
"font-size": H.value.ticksFontSize,
|
|
1154
1154
|
fill: t.color,
|
|
1155
1155
|
"font-weight": "bold"
|
|
1156
1156
|
}, w(r.name), 9, ft)) : f("", !0)], 64)),
|
|
1157
|
-
|
|
1157
|
+
I.value.comments.show ? (b(!0), p(l, { key: 1 }, S(r.datapoints, (n) => (b(), p("g", null, [n.comment ? (b(), p("foreignObject", {
|
|
1158
1158
|
key: 0,
|
|
1159
1159
|
style: { overflow: "visible" },
|
|
1160
1160
|
height: "12",
|
|
1161
|
-
width:
|
|
1162
|
-
x: n.x -
|
|
1163
|
-
y: n.y +
|
|
1161
|
+
width: I.value.comments.width,
|
|
1162
|
+
x: n.x - I.value.comments.width / 2 + I.value.comments.offsetX,
|
|
1163
|
+
y: n.y + I.value.comments.offsetY + 6
|
|
1164
1164
|
}, [m("div", mt, [C(e.$slots, "plot-comment", { plot: {
|
|
1165
1165
|
...n,
|
|
1166
1166
|
color: t.color
|
|
1167
1167
|
} }, void 0, !0)])], 8, pt)) : f("", !0)]))), 256)) : f("", !0)
|
|
1168
1168
|
])) : f("", !0),
|
|
1169
1169
|
m("path", {
|
|
1170
|
-
d: `M${
|
|
1170
|
+
d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
1171
1171
|
stroke: t.color,
|
|
1172
|
-
"stroke-width":
|
|
1172
|
+
"stroke-width": I.value.lines.strokeWidth,
|
|
1173
1173
|
fill: "none",
|
|
1174
1174
|
class: _({
|
|
1175
1175
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1176
|
-
"vue-data-ui-transition": T(
|
|
1176
|
+
"vue-data-ui-transition": T(L)
|
|
1177
1177
|
}),
|
|
1178
|
-
onMouseenter: (e) =>
|
|
1178
|
+
onMouseenter: (e) => jn({
|
|
1179
1179
|
shape: t.shape,
|
|
1180
1180
|
serieName: t.name,
|
|
1181
1181
|
serie: r,
|
|
@@ -1184,29 +1184,29 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1184
1184
|
S: n,
|
|
1185
1185
|
triggerMode: "pointer"
|
|
1186
1186
|
}),
|
|
1187
|
-
onMouseleave: (e) =>
|
|
1187
|
+
onMouseleave: (e) => kn({
|
|
1188
1188
|
serie: r,
|
|
1189
1189
|
shape: t.shape,
|
|
1190
1190
|
S: n
|
|
1191
1191
|
}),
|
|
1192
|
-
onClick: () =>
|
|
1192
|
+
onClick: () => In({
|
|
1193
1193
|
serie: r,
|
|
1194
1194
|
shape: t.shape,
|
|
1195
1195
|
S: n
|
|
1196
1196
|
}),
|
|
1197
|
-
style: y(`opacity:${
|
|
1197
|
+
style: y(`opacity:${Q.value ? Q.value === r.id ? I.value.lines.opacity : .2 : I.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
|
|
1198
1198
|
}, null, 46, ht),
|
|
1199
|
-
|
|
1199
|
+
G.value.showTooltip ? (b(), p("path", {
|
|
1200
1200
|
key: 1,
|
|
1201
|
-
d: `M${
|
|
1201
|
+
d: `M${I.value.lines.smooth ? r.smoothPath : r.straightPath}`,
|
|
1202
1202
|
stroke: "transparent",
|
|
1203
1203
|
"stroke-width": 12,
|
|
1204
1204
|
fill: "none",
|
|
1205
1205
|
class: _({
|
|
1206
1206
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1207
|
-
"vue-data-ui-transition": T(
|
|
1207
|
+
"vue-data-ui-transition": T(L)
|
|
1208
1208
|
}),
|
|
1209
|
-
onMouseenter: (e) =>
|
|
1209
|
+
onMouseenter: (e) => jn({
|
|
1210
1210
|
shape: t.shape,
|
|
1211
1211
|
serieName: t.name,
|
|
1212
1212
|
serie: r,
|
|
@@ -1215,12 +1215,12 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1215
1215
|
S: n,
|
|
1216
1216
|
triggerMode: "pointer"
|
|
1217
1217
|
}),
|
|
1218
|
-
onMouseleave: (e) =>
|
|
1218
|
+
onMouseleave: (e) => kn({
|
|
1219
1219
|
serie: r,
|
|
1220
1220
|
shape: t.shape,
|
|
1221
1221
|
S: n
|
|
1222
1222
|
}),
|
|
1223
|
-
onClick: () =>
|
|
1223
|
+
onClick: () => In({
|
|
1224
1224
|
serie: r,
|
|
1225
1225
|
shape: t.shape,
|
|
1226
1226
|
S: n
|
|
@@ -1228,23 +1228,23 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1228
1228
|
style: { opacity: "0" }
|
|
1229
1229
|
}, null, 42, gt)) : f("", !0)
|
|
1230
1230
|
]))), 256))]))), 256)),
|
|
1231
|
-
(b(!0), p(l, null, S(
|
|
1231
|
+
(b(!0), p(l, null, S(X.value, (e, t) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (n, r) => (b(), p("g", null, [!T(Zt) && (G.value.dataLabels.show || Q.value && Q.value === n.id) ? (b(!0), p(l, { key: 0 }, S(n.datapoints, (i, a) => (b(), p("text", {
|
|
1232
1232
|
key: `pl_${n.id}_${a}`,
|
|
1233
|
-
transform: `translate(${i.x + 12 +
|
|
1234
|
-
fill:
|
|
1233
|
+
transform: `translate(${i.x + 12 + P.value.datapoints.offsetX}, ${i.y + P.value.datapoints.offsetY + H.value.datapointFontSize / 3})`,
|
|
1234
|
+
fill: P.value.datapoints.useSerieColor ? e.color : P.value.datapoints.color,
|
|
1235
1235
|
"text-anchor": "start",
|
|
1236
|
-
"font-weight":
|
|
1236
|
+
"font-weight": P.value.datapoints.bold ? "bold" : "normal",
|
|
1237
1237
|
class: _({
|
|
1238
1238
|
"vue-ui-pcp-plot-label": !0,
|
|
1239
|
-
"vue-data-ui-transition": T(
|
|
1239
|
+
"vue-data-ui-transition": T(L)
|
|
1240
1240
|
}),
|
|
1241
|
-
"font-size":
|
|
1242
|
-
stroke:
|
|
1241
|
+
"font-size": H.value.datapointFontSize,
|
|
1242
|
+
stroke: I.value.backgroundColor,
|
|
1243
1243
|
"stroke-width": 3,
|
|
1244
1244
|
"stroke-linecap": "round",
|
|
1245
1245
|
"stroke-linejoin": "round",
|
|
1246
1246
|
"paint-order": "stroke fill",
|
|
1247
|
-
onMouseenter: (i) =>
|
|
1247
|
+
onMouseenter: (i) => jn({
|
|
1248
1248
|
shape: e.shape,
|
|
1249
1249
|
serieName: e.name,
|
|
1250
1250
|
serie: n,
|
|
@@ -1253,60 +1253,60 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1253
1253
|
S: t,
|
|
1254
1254
|
triggerMode: "pointer"
|
|
1255
1255
|
}),
|
|
1256
|
-
onMouseleave: (r) =>
|
|
1256
|
+
onMouseleave: (r) => kn({
|
|
1257
1257
|
serie: n,
|
|
1258
1258
|
shape: e.shape,
|
|
1259
1259
|
S: t
|
|
1260
1260
|
}),
|
|
1261
|
-
onClick: () =>
|
|
1261
|
+
onClick: () => In({
|
|
1262
1262
|
serie: n,
|
|
1263
1263
|
shape: e.shape,
|
|
1264
1264
|
S: t
|
|
1265
1265
|
}),
|
|
1266
|
-
style: y(`opacity:${
|
|
1267
|
-
}, w(
|
|
1266
|
+
style: y(`opacity:${Q.value ? Q.value === n.id ? 1 : .2 : 1}`)
|
|
1267
|
+
}, w(Tn({
|
|
1268
1268
|
value: i.value,
|
|
1269
1269
|
index: a,
|
|
1270
1270
|
datapoint: i
|
|
1271
1271
|
})), 47, _t))), 128)) : f("", !0)]))), 256))]))), 256)),
|
|
1272
1272
|
C(e.$slots, "svg", { svg: {
|
|
1273
|
-
...
|
|
1274
|
-
isPrintingImg: T(
|
|
1275
|
-
isPrintingSvg: T(
|
|
1273
|
+
...W.value,
|
|
1274
|
+
isPrintingImg: T(sn) || T(cn) || T(Xn),
|
|
1275
|
+
isPrintingSvg: T(Zn)
|
|
1276
1276
|
} }, void 0, !0)
|
|
1277
1277
|
], 46, nt)), e.$slots.hint ? (b(), p("div", vt, [C(e.$slots, "hint", v(g({
|
|
1278
1278
|
hint: M.value.a11y.translations.keyboardNavigation,
|
|
1279
1279
|
isVisible: Jt.value
|
|
1280
1280
|
})), void 0, !0)])) : f("", !0)]),
|
|
1281
|
-
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(
|
|
1281
|
+
e.$slots.watermark ? (b(), p("div", yt, [C(e.$slots, "watermark", v(g({ isPrinting: T(sn) || T(cn) || T(Xn) || T(Zn) })), void 0, !0)])) : f("", !0),
|
|
1282
1282
|
m("div", { id: `legend-bottom-${A.value}` }, null, 8, bt),
|
|
1283
|
-
Ht.value && (
|
|
1283
|
+
Ht.value && (I.value.legend.show || e.$slots.legend) ? (b(), d(Re, {
|
|
1284
1284
|
key: 6,
|
|
1285
|
-
to:
|
|
1285
|
+
to: I.value.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
|
|
1286
1286
|
}, [m("div", {
|
|
1287
1287
|
ref_key: "chartLegend",
|
|
1288
1288
|
ref: It
|
|
1289
|
-
}, [C(e.$slots, "legend", { legend:
|
|
1289
|
+
}, [C(e.$slots, "legend", { legend: xn.value }, () => [I.value.legend.show && Nt.value ? (b(), d(Ie, {
|
|
1290
1290
|
key: `legend_${Bt.value}`,
|
|
1291
|
-
legendSet:
|
|
1292
|
-
config:
|
|
1293
|
-
isCursorPointer:
|
|
1291
|
+
legendSet: xn.value,
|
|
1292
|
+
config: Sn.value,
|
|
1293
|
+
isCursorPointer: R.value,
|
|
1294
1294
|
onClickMarker: t[0] ||= ({ legend: e }) => {
|
|
1295
|
-
|
|
1295
|
+
_n(e.id);
|
|
1296
1296
|
}
|
|
1297
1297
|
}, {
|
|
1298
1298
|
item: E(({ legend: e, index: t }) => [m("div", {
|
|
1299
1299
|
onClick: (t) => e.segregate(),
|
|
1300
|
-
style: y(`opacity:${
|
|
1300
|
+
style: y(`opacity:${K.value.includes(e.id) ? .5 : 1}`)
|
|
1301
1301
|
}, w(e.name), 13, xt)]),
|
|
1302
|
-
legendToggle: E(() => [
|
|
1302
|
+
legendToggle: E(() => [xn.value.length > 2 && I.value.legend.selectAllToggle.show && !T(Zt) ? (b(), d(Me, {
|
|
1303
1303
|
key: 0,
|
|
1304
|
-
backgroundColor:
|
|
1305
|
-
color:
|
|
1306
|
-
fontSize:
|
|
1307
|
-
checked:
|
|
1308
|
-
isCursorPointer:
|
|
1309
|
-
onToggle:
|
|
1304
|
+
backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
|
|
1305
|
+
color: I.value.legend.selectAllToggle.color,
|
|
1306
|
+
fontSize: I.value.legend.fontSize,
|
|
1307
|
+
checked: K.value.length > 0,
|
|
1308
|
+
isCursorPointer: R.value,
|
|
1309
|
+
onToggle: gn
|
|
1310
1310
|
}, null, 8, [
|
|
1311
1311
|
"backgroundColor",
|
|
1312
1312
|
"color",
|
|
@@ -1327,32 +1327,32 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1327
1327
|
dir: "auto"
|
|
1328
1328
|
}, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1329
1329
|
Ve(T(St), {
|
|
1330
|
-
teleportTo:
|
|
1331
|
-
show:
|
|
1332
|
-
backgroundColor:
|
|
1333
|
-
color:
|
|
1334
|
-
fontSize:
|
|
1335
|
-
borderRadius:
|
|
1336
|
-
borderColor:
|
|
1337
|
-
borderWidth:
|
|
1338
|
-
backgroundOpacity:
|
|
1339
|
-
position:
|
|
1340
|
-
offsetX:
|
|
1341
|
-
offsetY:
|
|
1330
|
+
teleportTo: F.value.teleportTo,
|
|
1331
|
+
show: G.value.showTooltip && Dn.value,
|
|
1332
|
+
backgroundColor: F.value.backgroundColor,
|
|
1333
|
+
color: F.value.color,
|
|
1334
|
+
fontSize: F.value.fontSize,
|
|
1335
|
+
borderRadius: F.value.borderRadius,
|
|
1336
|
+
borderColor: F.value.borderColor,
|
|
1337
|
+
borderWidth: F.value.borderWidth,
|
|
1338
|
+
backgroundOpacity: F.value.backgroundOpacity,
|
|
1339
|
+
position: F.value.position,
|
|
1340
|
+
offsetX: F.value.offsetX,
|
|
1341
|
+
offsetY: F.value.offsetY,
|
|
1342
1342
|
parent: O.value,
|
|
1343
|
-
content:
|
|
1343
|
+
content: On.value,
|
|
1344
1344
|
isFullscreen: j.value,
|
|
1345
|
-
isCustom: T(n)(
|
|
1346
|
-
smooth:
|
|
1347
|
-
backdropFilter:
|
|
1348
|
-
smoothForce:
|
|
1349
|
-
smoothSnapThreshold:
|
|
1345
|
+
isCustom: T(n)(F.value.customFormat),
|
|
1346
|
+
smooth: F.value.smooth,
|
|
1347
|
+
backdropFilter: F.value.backdropFilter,
|
|
1348
|
+
smoothForce: F.value.smoothForce,
|
|
1349
|
+
smoothSnapThreshold: F.value.smoothSnapThreshold,
|
|
1350
1350
|
isA11yMode: qt.value === "keyboard",
|
|
1351
1351
|
a11yPosition: Kt.value
|
|
1352
1352
|
}, {
|
|
1353
|
-
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...
|
|
1354
|
-
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...
|
|
1355
|
-
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...
|
|
1353
|
+
"tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...En.value })), void 0, !0)]),
|
|
1354
|
+
tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...En.value })), void 0, !0)]),
|
|
1355
|
+
"tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...En.value })), void 0, !0)]),
|
|
1356
1356
|
_: 3
|
|
1357
1357
|
}, 8, [
|
|
1358
1358
|
"teleportTo",
|
|
@@ -1378,21 +1378,21 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1378
1378
|
"isA11yMode",
|
|
1379
1379
|
"a11yPosition"
|
|
1380
1380
|
]),
|
|
1381
|
-
Nt.value &&
|
|
1381
|
+
Nt.value && N.value.buttons.table ? (b(), d(Ke(Gn.value.component), He({ key: 8 }, Gn.value.props, {
|
|
1382
1382
|
ref_key: "tableUnit",
|
|
1383
1383
|
ref: Ut,
|
|
1384
|
-
onClose:
|
|
1384
|
+
onClose: Kn
|
|
1385
1385
|
}), ze({
|
|
1386
1386
|
content: E(() => [(b(), d(T(Tt), {
|
|
1387
1387
|
key: `table_${Vt.value}`,
|
|
1388
|
-
colNames:
|
|
1389
|
-
head:
|
|
1390
|
-
body:
|
|
1391
|
-
config:
|
|
1392
|
-
title: M.value.table.useDialog ? "" :
|
|
1388
|
+
colNames: $.value.colNames,
|
|
1389
|
+
head: $.value.head,
|
|
1390
|
+
body: $.value.body,
|
|
1391
|
+
config: $.value.config,
|
|
1392
|
+
title: M.value.table.useDialog ? "" : Gn.value.title,
|
|
1393
1393
|
withCloseButton: !M.value.table.useDialog,
|
|
1394
|
-
isCursorPointer:
|
|
1395
|
-
onClose:
|
|
1394
|
+
isCursorPointer: R.value,
|
|
1395
|
+
onClose: Kn
|
|
1396
1396
|
}, {
|
|
1397
1397
|
th: E(({ th: e }) => [m("div", null, w(e), 1)]),
|
|
1398
1398
|
td: E(({ td: e }) => [Be(w(e), 1)]),
|
|
@@ -1409,24 +1409,24 @@ var Ze = /* @__PURE__ */ e({ default: () => St }), Qe = ["id"], $e = ["id"], et
|
|
|
1409
1409
|
_: 2
|
|
1410
1410
|
}, [M.value.table.useDialog ? {
|
|
1411
1411
|
name: "title",
|
|
1412
|
-
fn: E(() => [Be(w(
|
|
1412
|
+
fn: E(() => [Be(w(Gn.value.title), 1)]),
|
|
1413
1413
|
key: "0"
|
|
1414
1414
|
} : void 0, M.value.table.useDialog ? {
|
|
1415
1415
|
name: "actions",
|
|
1416
1416
|
fn: E(() => [m("button", {
|
|
1417
1417
|
tabindex: "0",
|
|
1418
1418
|
class: "vue-ui-user-options-button",
|
|
1419
|
-
onClick: t[1] ||= (e) =>
|
|
1420
|
-
style: y({ cursor:
|
|
1419
|
+
onClick: t[1] ||= (e) => Pn(N.value.callbacks.csv),
|
|
1420
|
+
style: y({ cursor: R.value ? "pointer" : "default" })
|
|
1421
1421
|
}, [Ve(T(Ct), {
|
|
1422
1422
|
name: "fileCsv",
|
|
1423
|
-
stroke:
|
|
1423
|
+
stroke: Gn.value.props.color
|
|
1424
1424
|
}, null, 8, ["stroke"])], 4)]),
|
|
1425
1425
|
key: "1"
|
|
1426
1426
|
} : void 0]), 1040)) : f("", !0),
|
|
1427
|
-
C(e.$slots, "skeleton", {}, () => [T(
|
|
1427
|
+
C(e.$slots, "skeleton", {}, () => [T(Zt) ? (b(), d(be, { key: 0 })) : f("", !0)], !0)
|
|
1428
1428
|
], 46, Qe));
|
|
1429
1429
|
}
|
|
1430
|
-
}, [["__scopeId", "data-v-
|
|
1430
|
+
}, [["__scopeId", "data-v-7c093aa9"]]);
|
|
1431
1431
|
//#endregion
|
|
1432
1432
|
export { Ze as n, St as t };
|