vue-data-ui 3.23.8 → 3.23.10
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-CF0VFcBH.js → Arrow-bwmME0jw.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-DBVHlhQZ.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-B4n7br_R.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-wRhcG_-q.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-BZjzzyQo.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-B9kUMLSz.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-DMsScfkx.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-IWPfuceW.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-DWEFXq9E.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-Crs4-xWz.js} +3 -3
- package/dist/{PackageVersion-C9lXG-wa.js → PackageVersion-DNTJUKh1.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-DJ607Hx6.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAhF1ToV.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-sXtk2ZZ2.js} +2 -2
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-BE50SZQH.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-BGLPsoA9.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-DO4-MVhc.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-HQyukyl2.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 +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-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/{dom-to-png-BYIvdTe8.js → dom-to-png-Cg_3vpOo.js} +1 -1
- package/dist/{exposedLib-C0DPCgFj.js → exposedLib-vfRiIvq_.js} +1 -1
- package/dist/{img-Bnokohej.js → img-tU9mMt9W.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-C_lMnQRs.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-AT2PUyyh.js} +1 -1
- package/dist/{package-BieOvFq9.js → package-enC-Nivt.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-ColHHJFH.js} +1 -1
- package/dist/{render-common-C5vqxC-e.js → render-common-CqcoYfCA.js} +2 -2
- 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 +2 -7
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CW0vJS1B.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-BFS7d6eb.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui--BufRcn0.js → vue-data-ui-DD7J3yor.js} +69 -69
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +1829 -0
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-DJNjilyy.js} +3 -3
- package/dist/{vue-ui-age-pyramid-j6nm1rbi.js → vue-ui-age-pyramid-DI8b5E2H.js} +6 -6
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-7ZVfFskI.js} +6 -6
- package/dist/{vue-ui-bullet-CKQ35-dP.js → vue-ui-bullet-Dyd5F1Wa.js} +7 -7
- package/dist/{vue-ui-bump-BXp-EozA.js → vue-ui-bump-DzB3WQnq.js} +166 -166
- package/dist/{vue-ui-candlestick-DvvyheWp.js → vue-ui-candlestick--YWEtek_.js} +7 -7
- package/dist/{vue-ui-carousel-table-D_dEXiNd.js → vue-ui-carousel-table-Dn3RZU0p.js} +4 -4
- package/dist/{vue-ui-chestnut-eCwEo5D9.js → vue-ui-chestnut-BIsXeXiU.js} +5 -5
- package/dist/{vue-ui-chord-C6O2lzrg.js → vue-ui-chord-BimXqVsF.js} +8 -8
- package/dist/{vue-ui-circle-pack-D_nwf-RO.js → vue-ui-circle-pack-DKQEhL-L.js} +13 -16
- package/dist/{vue-ui-cursor-Bu9PM_P_.js → vue-ui-cursor-C-P2D5i6.js} +3 -3
- package/dist/{vue-ui-dag-DSx4o3Rk.js → vue-ui-dag-CThnMMWA.js} +7 -7
- package/dist/{vue-ui-dashboard-BM747fZF.js → vue-ui-dashboard-D0NNTRO3.js} +69 -69
- package/dist/{vue-ui-digits-BtvY8wIB.js → vue-ui-digits-9tGjGzZh.js} +3 -3
- package/dist/{vue-ui-donut-DQHLJR8y.js → vue-ui-donut-DLN9uPOi.js} +2 -2
- package/dist/vue-ui-donut-EZu8p7HF.js +2413 -0
- package/dist/{vue-ui-donut-evolution-PSmZvtzE.js → vue-ui-donut-evolution-mu-iGTIn.js} +9 -9
- package/dist/{vue-ui-dumbbell-CGquzMdY.js → vue-ui-dumbbell-Dvldi3Oo.js} +13 -16
- package/dist/{vue-ui-flow-9el51M_Y.js → vue-ui-flow-DYZBT5Cb.js} +13 -16
- package/dist/{vue-ui-funnel-D7Gy--C2.js → vue-ui-funnel--NaxO0cZ.js} +13 -16
- package/dist/{vue-ui-galaxy-Dxj9UwDo.js → vue-ui-galaxy-D6eYN8Ut.js} +291 -293
- package/dist/{vue-ui-gauge-Cn9YVMXf.js → vue-ui-gauge-DTIEl2Xb.js} +6 -6
- package/dist/{vue-ui-geo-BPOiMgSG.js → vue-ui-geo-CQqNemR6.js} +7 -7
- package/dist/{vue-ui-gizmo-DWHHzGBD.js → vue-ui-gizmo-ClunTUxX.js} +3 -3
- package/dist/{vue-ui-heatmap-BE1K40ib.js → vue-ui-heatmap-B_pSQNzO.js} +7 -7
- package/dist/{vue-ui-hill-Dr4UkjNJ.js → vue-ui-hill-Byp0Tnny.js} +6 -6
- package/dist/{vue-ui-history-plot-CxCKkOf0.js → vue-ui-history-plot-CMu8ST1E.js} +14 -17
- package/dist/{vue-ui-horizontal-bar-BkmnLr-i.js → vue-ui-horizontal-bar-BQn7WxQ-.js} +10 -10
- package/dist/{vue-ui-kpi-BBWW791i.js → vue-ui-kpi-BKw5t-rX.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BNm0MQDw.js} +2 -2
- package/dist/{vue-ui-molecule-CxkcMjno.js → vue-ui-molecule-DRwQV5hN.js} +232 -238
- package/dist/{vue-ui-mood-radar-C4CzuVdT.js → vue-ui-mood-radar-Bj3KTWYj.js} +298 -300
- package/dist/{vue-ui-nested-donuts-DSDJQExL.js → vue-ui-nested-donuts-83Wh2w6z.js} +15 -18
- package/dist/{vue-ui-onion-Cu0dBdFS.js → vue-ui-onion-C27GpneA.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-D_EwS2Xg.js → vue-ui-parallel-coordinate-plot-BklOszr1.js} +212 -212
- package/dist/{vue-ui-quadrant-jyEV4UXd.js → vue-ui-quadrant-_J-Qr7-K.js} +9 -9
- package/dist/{vue-ui-quick-chart-DiWQ1MyR.js → vue-ui-quick-chart-DcOUq4ym.js} +7 -7
- package/dist/{vue-ui-radar-BmgJ961A.js → vue-ui-radar-FlRlsoAd.js} +8 -8
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-eCxEZD8C.js} +2 -2
- package/dist/{vue-ui-relation-circle-DV54YMDh.js → vue-ui-relation-circle-DnsxHv7t.js} +6 -6
- package/dist/{vue-ui-ridgeline-izSLMS2A.js → vue-ui-ridgeline-TopTLyaE.js} +485 -485
- package/dist/vue-ui-rings-obVfb09j.js +1250 -0
- package/dist/{vue-ui-scatter-D_qfVTjs.js → vue-ui-scatter-BHSuA506.js} +9 -9
- package/dist/{vue-ui-skeleton-ORnWxVcQ.js → vue-ui-skeleton-CNOam3kC.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-YdyidjBH.js} +2 -2
- package/dist/{vue-ui-spark-trend-CnWD2enH.js → vue-ui-spark-trend-CS5GLtYL.js} +3 -3
- package/dist/{vue-ui-sparkbar-Cgbnebde.js → vue-ui-sparkbar-DDHwgP4k.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cvlb65Sh.js → vue-ui-sparkgauge-BcQu9V3h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BiTJ8hLF.js → vue-ui-sparkhistogram-CPsA5P6c.js} +4 -4
- package/dist/{vue-ui-sparkline-D_lUtZ0M.js → vue-ui-sparkline-CnbO-GkM.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-44IKCY9x.js → vue-ui-sparkstackbar-4tsTxMe2.js} +4 -4
- package/dist/{vue-ui-stackbar-DF3p95Bo.js → vue-ui-stackbar-2_SrMFNT.js} +575 -571
- package/dist/{vue-ui-stackline-DhKuZEnZ.js → vue-ui-stackline-BNCWO_jG.js} +612 -608
- package/dist/{vue-ui-strip-plot-C-ulifjS.js → vue-ui-strip-plot-2Y1c02Ek.js} +13 -16
- package/dist/{vue-ui-table-CpnarLaC.js → vue-ui-table-DJZxHo5N.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-BacaEjQy.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Du4MfWFg.js → vue-ui-table-sparkline-B8oAU5yr.js} +4 -4
- package/dist/{vue-ui-thermometer-CrbJmWkG.js → vue-ui-thermometer-BGtxNU9T.js} +6 -6
- package/dist/{vue-ui-timer-CG_cHMLa.js → vue-ui-timer-CWZgSpP8.js} +5 -5
- package/dist/{vue-ui-tiremarks-C9op3rMU.js → vue-ui-tiremarks-LLVCPyg9.js} +6 -6
- package/dist/{vue-ui-treemap-X6xvCAx5.js → vue-ui-treemap-ehBl9JMC.js} +16 -19
- package/dist/{vue-ui-waffle-CC8t5ghD.js → vue-ui-waffle-DpBAXbhh.js} +288 -290
- package/dist/{vue-ui-wheel-qsjBqrXG.js → vue-ui-wheel-C4OHPrtC.js} +6 -6
- package/dist/{vue-ui-word-cloud-PpZeiZUt.js → vue-ui-word-cloud-CDHn3Kwa.js} +13 -16
- package/dist/{vue-ui-world-CvLyEEZQ.js → vue-ui-world-ao1xf04I.js} +13 -16
- package/dist/{vue-ui-xy-eKIptvTV.js → vue-ui-xy-DmJDCl3c.js} +2 -2
- package/dist/{vue-ui-xy-BJ96qlGZ.js → vue-ui-xy-_U3wmtCf.js} +1502 -1496
- package/dist/{vue-ui-xy-canvas-B-KxaFGF.js → vue-ui-xy-canvas-Bx-9y53V.js} +334 -330
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Dspy8rjO.js +0 -1831
- package/dist/vue-ui-donut-DtmxMF94.js +0 -2415
- package/dist/vue-ui-rings-B-vqjj5N.js +0 -1252
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Ht as i, Jt as a, Kt as o, N as s, P as ee, Pt as c, Q as te, S as ne, V as re, X as l, ht as ie, i as u, jt as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Ht as i, Jt as a, Kt as o, N as s, P as ee, Pt as c, Q as te, S as ne, V as re, X as l, ht as ie, i as u, jt as ae, pt as oe, q as se, r as ce, t as le, tt as ue, w as de } from "./lib-AT2PUyyh.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as me } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as he } from "./useConfig-DwdGsXTx.js";
|
|
6
|
-
import { t as ge } from "./usePrinter-
|
|
6
|
+
import { t as ge } from "./usePrinter-BFS7d6eb.js";
|
|
7
7
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as ye } from "./useNestedProp-
|
|
8
|
+
import { t as ye } from "./useNestedProp-CW0vJS1B.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as xe } from "./useChartExport-DNiwdPmb.js";
|
|
11
11
|
import { t as Se } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Ce } from "./img-
|
|
13
|
-
import { n as we } from "./Title-
|
|
14
|
-
import { t as Te } from "./Shape-
|
|
12
|
+
import { t as Ce } from "./img-tU9mMt9W.js";
|
|
13
|
+
import { n as we } from "./Title-BGLPsoA9.js";
|
|
14
|
+
import { t as Te } from "./Shape-BAhF1ToV.js";
|
|
15
15
|
import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as De, t as Oe } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as ke } from "./DefGrad-DVBqDjhO.js";
|
|
18
|
-
import { t as Ae } from "./BaseLegendToggle-
|
|
18
|
+
import { t as Ae } from "./BaseLegendToggle-wRhcG_-q.js";
|
|
19
19
|
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
20
20
|
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
21
|
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
|
-
import { t as Pe } from "./Legend-
|
|
22
|
+
import { t as Pe } from "./Legend-DWEFXq9E.js";
|
|
23
23
|
import { t as Fe } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
24
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as He, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as T, toRefs as Ge, unref as E, watch as
|
|
24
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as He, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as T, toRefs as Ge, unref as E, watch as Ke, watchEffect as qe, withCtx as D } from "vue";
|
|
25
25
|
//#region src/components/vue-ui-ridgeline.vue
|
|
26
|
-
var
|
|
26
|
+
var Je = /* @__PURE__ */ e({ default: () => _t }), Ye = ["id"], Xe = ["id"], Ze = { style: { position: "relative" } }, Qe = [
|
|
27
27
|
"xmlns",
|
|
28
28
|
"aria-describedby",
|
|
29
29
|
"viewBox"
|
|
30
|
-
],
|
|
30
|
+
], $e = { key: 0 }, et = ["fill", "d"], tt = [
|
|
31
31
|
"stroke",
|
|
32
32
|
"stroke-width",
|
|
33
33
|
"d"
|
|
34
|
-
],
|
|
34
|
+
], nt = ["fill", "d"], rt = [
|
|
35
35
|
"stroke",
|
|
36
36
|
"stroke-dasharray",
|
|
37
37
|
"stroke-width",
|
|
38
38
|
"d"
|
|
39
|
-
],
|
|
39
|
+
], it = [
|
|
40
40
|
"x1",
|
|
41
41
|
"y1",
|
|
42
42
|
"x2",
|
|
@@ -44,14 +44,14 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
44
44
|
"stroke",
|
|
45
45
|
"stroke-width",
|
|
46
46
|
"stroke-dasharray"
|
|
47
|
-
],
|
|
47
|
+
], at = [
|
|
48
48
|
"cx",
|
|
49
49
|
"cy",
|
|
50
50
|
"stroke",
|
|
51
51
|
"stroke-width",
|
|
52
52
|
"r",
|
|
53
53
|
"fill"
|
|
54
|
-
],
|
|
54
|
+
], ot = [
|
|
55
55
|
"x",
|
|
56
56
|
"y",
|
|
57
57
|
"font-size",
|
|
@@ -60,20 +60,20 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
60
60
|
"text-decoration",
|
|
61
61
|
"onMouseenter",
|
|
62
62
|
"onClick"
|
|
63
|
-
],
|
|
63
|
+
], st = { key: 0 }, ct = [
|
|
64
64
|
"font-size",
|
|
65
65
|
"fill",
|
|
66
66
|
"font-weight",
|
|
67
67
|
"transform",
|
|
68
68
|
"text-anchor"
|
|
69
|
-
],
|
|
69
|
+
], lt = [
|
|
70
70
|
"font-size",
|
|
71
71
|
"fill",
|
|
72
72
|
"font-weight",
|
|
73
73
|
"transform",
|
|
74
74
|
"text-anchor",
|
|
75
75
|
"innerHTML"
|
|
76
|
-
],
|
|
76
|
+
], ut = [
|
|
77
77
|
"x",
|
|
78
78
|
"y",
|
|
79
79
|
"width",
|
|
@@ -81,7 +81,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
81
81
|
"onMouseenter",
|
|
82
82
|
"onMouseleave",
|
|
83
83
|
"onClick"
|
|
84
|
-
],
|
|
84
|
+
], dt = [
|
|
85
85
|
"x1",
|
|
86
86
|
"x2",
|
|
87
87
|
"y1",
|
|
@@ -89,20 +89,20 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
89
89
|
"stroke",
|
|
90
90
|
"stroke-width",
|
|
91
91
|
"stroke-dasharray"
|
|
92
|
-
],
|
|
92
|
+
], ft = [
|
|
93
93
|
"cx",
|
|
94
94
|
"cy",
|
|
95
95
|
"stroke",
|
|
96
96
|
"stroke-width",
|
|
97
97
|
"r",
|
|
98
98
|
"fill"
|
|
99
|
-
],
|
|
99
|
+
], pt = [
|
|
100
100
|
"x",
|
|
101
101
|
"y",
|
|
102
102
|
"text-anchor",
|
|
103
103
|
"font-size",
|
|
104
104
|
"fill"
|
|
105
|
-
],
|
|
105
|
+
], mt = {
|
|
106
106
|
key: 0,
|
|
107
107
|
style: {
|
|
108
108
|
position: "absolute",
|
|
@@ -112,10 +112,10 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
112
112
|
},
|
|
113
113
|
"data-dom-to-png-ignore": "",
|
|
114
114
|
"aria-hidden": "true"
|
|
115
|
-
},
|
|
115
|
+
}, ht = {
|
|
116
116
|
key: 5,
|
|
117
117
|
class: "vue-data-ui-watermark"
|
|
118
|
-
},
|
|
118
|
+
}, gt = ["onClick"], _t = /*#__PURE__*/ Ee({
|
|
119
119
|
__name: "vue-ui-ridgeline",
|
|
120
120
|
props: {
|
|
121
121
|
config: {
|
|
@@ -137,27 +137,27 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
137
137
|
"selectX",
|
|
138
138
|
"copyAlt"
|
|
139
139
|
],
|
|
140
|
-
setup(e, { expose: Ee, emit:
|
|
141
|
-
let _t = _(() => import("./vue-ui-xy-
|
|
140
|
+
setup(e, { expose: Ee, emit: Je }) {
|
|
141
|
+
let _t = _(() => import("./vue-ui-xy-_U3wmtCf.js").then((e) => e.n)), vt = _(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), yt = _(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), bt = _(() => import("./DataTable-DMsScfkx.js")), xt = _(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), St = _(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), Ct = _(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), wt = _(() => import("./BaseDraggableDialog-DBVHlhQZ.js").then((e) => e.n)), { vue_ui_ridgeline: Tt } = he(), { isThemeValid: Et, warnInvalidTheme: Dt } = be(), O = e, k = f({
|
|
142
142
|
get() {
|
|
143
|
-
return Array.isArray(
|
|
143
|
+
return Array.isArray(z.value) && z.value.length > 0;
|
|
144
144
|
},
|
|
145
145
|
set(e) {
|
|
146
146
|
return e;
|
|
147
147
|
}
|
|
148
|
-
}),
|
|
148
|
+
}), Ot = Je, A = S(null), kt = S(null), At = S(null), j = We(null), M = We(null), jt = S(null), Mt = S(null), Nt = S(0), Pt = S(0), Ft = S(0), N = S(se()), It = S(0), Lt = S(0), Rt = S(512), P = S(null), F = S(null), zt = S(null), Bt = S(0), Vt = S(null), Ht = S(null), Ut = S(null), I = S(null), Wt = S(!1);
|
|
149
149
|
function Gt() {
|
|
150
150
|
let e = ye({
|
|
151
|
-
userConfig:
|
|
151
|
+
userConfig: O.config,
|
|
152
152
|
defaultConfig: Tt
|
|
153
153
|
}), t = e.theme;
|
|
154
154
|
if (!t) return e;
|
|
155
155
|
if (!Et.value(e)) return Dt(e), e;
|
|
156
156
|
let n = ye({
|
|
157
|
-
userConfig: Fe[t] ||
|
|
157
|
+
userConfig: Fe[t] || O.config,
|
|
158
158
|
defaultConfig: e
|
|
159
159
|
}), r = ye({
|
|
160
|
-
userConfig:
|
|
160
|
+
userConfig: O.config,
|
|
161
161
|
defaultConfig: n
|
|
162
162
|
});
|
|
163
163
|
return {
|
|
@@ -165,10 +165,10 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
165
165
|
customPalette: r.customPalette.length ? r.customPalette : o[t] || c
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
|
-
let
|
|
168
|
+
let L = S(Gt());
|
|
169
169
|
fe({
|
|
170
|
-
config: () =>
|
|
171
|
-
dataset: () =>
|
|
170
|
+
config: () => L.value,
|
|
171
|
+
dataset: () => O.dataset,
|
|
172
172
|
component: "VueUiRidgeline",
|
|
173
173
|
rules: [
|
|
174
174
|
pe.emptyArray,
|
|
@@ -202,7 +202,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
202
202
|
}
|
|
203
203
|
]
|
|
204
204
|
});
|
|
205
|
-
let
|
|
205
|
+
let R = f(() => L.value.userOptions.useCursorPointer), Kt = f(() => a({
|
|
206
206
|
defaultConfig: {
|
|
207
207
|
userOptions: { show: !1 },
|
|
208
208
|
table: { show: !1 },
|
|
@@ -223,12 +223,12 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
223
223
|
zeroLine: { show: !1 }
|
|
224
224
|
} }
|
|
225
225
|
},
|
|
226
|
-
userConfig:
|
|
227
|
-
})), { loading: qt, FINAL_DATASET:
|
|
228
|
-
...Ge(
|
|
229
|
-
FINAL_CONFIG:
|
|
226
|
+
userConfig: L.value.skeletonConfig ?? {}
|
|
227
|
+
})), { loading: qt, FINAL_DATASET: z, manualLoading: Jt } = _e({
|
|
228
|
+
...Ge(O),
|
|
229
|
+
FINAL_CONFIG: L,
|
|
230
230
|
prepareConfig: Gt,
|
|
231
|
-
skeletonDataset:
|
|
231
|
+
skeletonDataset: O.config?.skeletonDataset ?? [
|
|
232
232
|
{
|
|
233
233
|
name: "_",
|
|
234
234
|
datapoints: [{
|
|
@@ -459,17 +459,17 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
459
459
|
}
|
|
460
460
|
],
|
|
461
461
|
skeletonConfig: a({
|
|
462
|
-
defaultConfig:
|
|
462
|
+
defaultConfig: L.value,
|
|
463
463
|
userConfig: Kt.value
|
|
464
464
|
})
|
|
465
|
-
}),
|
|
466
|
-
function
|
|
467
|
-
let e =
|
|
465
|
+
}), B = S(Math.min(L.value.style.chart.areas.height, L.value.style.chart.areas.rowHeight)), { userOptionsVisible: Yt, setUserOptionsVisibility: Xt, keepUserOptionState: Zt } = Me({ config: L.value }), { svgRef: V } = Ne({ config: L.value.style.chart.title }), H = f(() => L.value.debug);
|
|
466
|
+
function Qt() {
|
|
467
|
+
let e = z.value || [];
|
|
468
468
|
if (!Array.isArray(e) || e.length === 0) {
|
|
469
469
|
ue({
|
|
470
470
|
componentName: "VueUiRidgeline",
|
|
471
471
|
type: "dataset",
|
|
472
|
-
debug:
|
|
472
|
+
debug: H.value
|
|
473
473
|
}), Jt.value = !0;
|
|
474
474
|
return;
|
|
475
475
|
}
|
|
@@ -478,39 +478,39 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
478
478
|
datasetObject: e,
|
|
479
479
|
requiredAttributes: ["name", "datapoints"]
|
|
480
480
|
}).forEach((e) => {
|
|
481
|
-
|
|
481
|
+
k.value = !1, ue({
|
|
482
482
|
componentName: "VueUiRidgeline",
|
|
483
483
|
type: "datasetSerieAttribute",
|
|
484
484
|
property: e,
|
|
485
485
|
index: t,
|
|
486
|
-
debug:
|
|
486
|
+
debug: H.value
|
|
487
487
|
});
|
|
488
488
|
}), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
|
|
489
489
|
oe({
|
|
490
490
|
datasetObject: e,
|
|
491
491
|
requiredAttributes: ["name", "values"]
|
|
492
492
|
}).forEach((e) => {
|
|
493
|
-
|
|
493
|
+
k.value = !1, ue({
|
|
494
494
|
componentName: "VueUiRidgeline",
|
|
495
495
|
type: "datasetSerieAttribute",
|
|
496
496
|
property: `datapoint.${e}`,
|
|
497
497
|
index: `${t}-${n}`,
|
|
498
|
-
debug:
|
|
498
|
+
debug: H.value
|
|
499
499
|
});
|
|
500
500
|
});
|
|
501
501
|
});
|
|
502
|
-
}),
|
|
502
|
+
}), Lt.value = e.length, B.value = Math.min(L.value.style.chart.areas.height, L.value.style.chart.areas.rowHeight), ae(O.dataset) || (Jt.value = L.value.loading), L.value.responsive) {
|
|
503
503
|
let t = De(() => {
|
|
504
504
|
let { width: t, height: n } = Oe({
|
|
505
505
|
chart: A.value,
|
|
506
|
-
title:
|
|
507
|
-
legend:
|
|
508
|
-
source:
|
|
509
|
-
noTitle:
|
|
510
|
-
padding:
|
|
506
|
+
title: L.value.style.chart.title.text ? kt.value : null,
|
|
507
|
+
legend: L.value.style.chart.legend.show ? At.value : null,
|
|
508
|
+
source: jt.value,
|
|
509
|
+
noTitle: Mt.value,
|
|
510
|
+
padding: L.value.style.chart.padding
|
|
511
511
|
});
|
|
512
512
|
requestAnimationFrame(() => {
|
|
513
|
-
|
|
513
|
+
Rt.value = t, B.value = e.length ? n / e.length : 0, Bt.value = n - 12;
|
|
514
514
|
});
|
|
515
515
|
});
|
|
516
516
|
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(t), M.value = A.value?.parentNode || null, M.value && j.value.observe(M.value);
|
|
@@ -519,160 +519,160 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
519
519
|
He(() => {
|
|
520
520
|
j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect());
|
|
521
521
|
});
|
|
522
|
-
let { isPrinting:
|
|
522
|
+
let { isPrinting: $t, isImaging: en, generatePdf: tn, generateImage: nn } = ge({
|
|
523
523
|
elementId: `vue-ui-ridgeline_${N.value}`,
|
|
524
|
-
fileName:
|
|
525
|
-
options:
|
|
526
|
-
}),
|
|
527
|
-
|
|
528
|
-
Array.isArray(e) && e.length && (Yt.value = !
|
|
524
|
+
fileName: L.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
525
|
+
options: L.value.userOptions.print
|
|
526
|
+
}), rn = f(() => L.value.userOptions.show && !L.value.style.chart.title.text), an = f(() => de(L.value.customPalette)), U = S({ showTable: L.value.table.show });
|
|
527
|
+
Ke(() => z.value, async (e) => {
|
|
528
|
+
Array.isArray(e) && e.length && (Yt.value = !L.value.userOptions.showOnChartHover, await Be(), Qt(), Nt.value += 1, Ft.value += 1, U.value.showTable = L.value.table.show);
|
|
529
529
|
}, {
|
|
530
530
|
deep: !0,
|
|
531
531
|
immediate: !0
|
|
532
|
-
}),
|
|
532
|
+
}), Ke(() => O.dataset, (e) => {
|
|
533
533
|
Array.isArray(e) && e.length > 0 && (Jt.value = !1);
|
|
534
|
-
}, { deep: !0 }),
|
|
535
|
-
e || (await Be(),
|
|
536
|
-
}, { immediate: !0 }),
|
|
537
|
-
|
|
534
|
+
}, { deep: !0 }), Ke(() => qt.value, async (e) => {
|
|
535
|
+
e || (await Be(), Qt());
|
|
536
|
+
}, { immediate: !0 }), Ke(() => O.config, () => {
|
|
537
|
+
L.value = Gt(z.value || null), Yt.value = !L.value.userOptions.showOnChartHover, B.value = Math.min(L.value.style.chart.areas.height, L.value.style.chart.areas.rowHeight), U.value.showTable = L.value.table.show, Nt.value += 1, Ft.value += 1;
|
|
538
538
|
}, { deep: !0 });
|
|
539
|
-
let
|
|
540
|
-
function
|
|
539
|
+
let on = f(() => L.value.style.chart.areas.height / L.value.style.chart.areas.rowHeight);
|
|
540
|
+
function sn() {
|
|
541
541
|
X.value.length ? X.value = [] : Z.value.forEach((e) => {
|
|
542
542
|
X.value.push(e.id);
|
|
543
|
-
}),
|
|
543
|
+
}), Ot("selectLegend", Y.value);
|
|
544
|
+
}
|
|
545
|
+
function cn(e) {
|
|
546
|
+
X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e), Ot("selectLegend", Y.value);
|
|
544
547
|
}
|
|
545
548
|
function ln(e) {
|
|
546
|
-
|
|
549
|
+
return Z.value.length ? Z.value.find((t) => t.name === e) || (H.value && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (H.value && console.warn("VueUiRidgeline - There are no series to show."), null);
|
|
547
550
|
}
|
|
548
551
|
function un(e) {
|
|
549
|
-
|
|
552
|
+
let t = ln(e);
|
|
553
|
+
t !== null && X.value.includes(t.id) && cn(t.id);
|
|
550
554
|
}
|
|
551
555
|
function dn(e) {
|
|
552
|
-
let t =
|
|
553
|
-
t !== null && X.value.includes(t.id)
|
|
556
|
+
let t = ln(e);
|
|
557
|
+
t !== null && (X.value.includes(t.id) || cn(t.id));
|
|
554
558
|
}
|
|
555
|
-
|
|
556
|
-
let t = un(e);
|
|
557
|
-
t !== null && (X.value.includes(t.id) || ln(t.id));
|
|
558
|
-
}
|
|
559
|
-
let W = f(() => Ot.value ? (B.value || []).map((e) => ({
|
|
559
|
+
let W = f(() => k.value ? (z.value || []).map((e) => ({
|
|
560
560
|
...e,
|
|
561
|
-
labelLen:
|
|
561
|
+
labelLen: Tn(e.name, L.value.style.chart.yAxis.labels.fontSize),
|
|
562
562
|
uid: se(),
|
|
563
563
|
datapoints: e.datapoints.map((e, t) => {
|
|
564
|
-
let n = e.color ? ne(e.color) :
|
|
564
|
+
let n = e.color ? ne(e.color) : an.value[t] || c[t] || c[t % c.length], r = i(e.name);
|
|
565
565
|
return {
|
|
566
566
|
...e,
|
|
567
567
|
color: n,
|
|
568
568
|
id: r
|
|
569
569
|
};
|
|
570
570
|
})
|
|
571
|
-
})) : []),
|
|
572
|
-
let e =
|
|
571
|
+
})) : []), fn = f(() => L.value.style.chart.padding.top + B.value * (z.value || []).length + B.value * on.value + L.value.style.chart.padding.bottom), G = f(() => {
|
|
572
|
+
let e = L.value.style.chart.padding;
|
|
573
573
|
return {
|
|
574
|
-
width:
|
|
575
|
-
height:
|
|
574
|
+
width: Rt.value,
|
|
575
|
+
height: fn.value,
|
|
576
576
|
padding: e
|
|
577
577
|
};
|
|
578
|
-
}),
|
|
579
|
-
|
|
578
|
+
}), pn = f(() => G.value.width), mn = f(() => G.value.height), hn = S(0), gn = De((e) => {
|
|
579
|
+
hn.value = e;
|
|
580
580
|
}, 100);
|
|
581
|
-
|
|
582
|
-
let t =
|
|
581
|
+
qe((e) => {
|
|
582
|
+
let t = Vt.value;
|
|
583
583
|
if (!t) return;
|
|
584
584
|
let n = new ResizeObserver((e) => {
|
|
585
|
-
|
|
585
|
+
gn(e[0].contentRect.height);
|
|
586
586
|
});
|
|
587
587
|
n.observe(t), e(() => n.disconnect());
|
|
588
588
|
}), He(() => {
|
|
589
|
-
|
|
589
|
+
hn.value = 0;
|
|
590
590
|
});
|
|
591
591
|
let K = f(() => ({
|
|
592
|
-
fullHeight: G.value.height +
|
|
592
|
+
fullHeight: G.value.height + hn.value,
|
|
593
593
|
top: G.value.padding.top,
|
|
594
594
|
left: G.value.padding.left,
|
|
595
595
|
right: G.value.width - G.value.padding.right,
|
|
596
|
-
bottom: G.value.height -
|
|
596
|
+
bottom: G.value.height - L.value.style.chart.padding.bottom,
|
|
597
597
|
width: G.value.width - (G.value.padding.left + G.value.padding.right)
|
|
598
|
-
})),
|
|
599
|
-
|
|
600
|
-
let e = ++
|
|
598
|
+
})), _n = f(() => Math.max(...W.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), q = S([]), vn = 0;
|
|
599
|
+
qe(() => {
|
|
600
|
+
let e = ++vn;
|
|
601
601
|
(async () => {
|
|
602
602
|
let t = await me({
|
|
603
|
-
values:
|
|
604
|
-
maxDatapoints:
|
|
605
|
-
formatter:
|
|
603
|
+
values: L.value.style.chart.xAxis.labels.values,
|
|
604
|
+
maxDatapoints: _n.value,
|
|
605
|
+
formatter: L.value.style.chart.xAxis.labels.datetimeFormatter,
|
|
606
606
|
start: 0,
|
|
607
|
-
end:
|
|
607
|
+
end: L.value.style.chart.xAxis.labels.values.length
|
|
608
608
|
});
|
|
609
|
-
e ===
|
|
609
|
+
e === vn && (q.value = t);
|
|
610
610
|
})();
|
|
611
611
|
});
|
|
612
612
|
let J = f(() => {
|
|
613
|
-
let e = Math.max(...W.value.map((e) => e.labelLen)), t = G.value.padding.left + e + 16 +
|
|
614
|
-
for (let e = 0; e <
|
|
613
|
+
let e = Math.max(...W.value.map((e) => e.labelLen)), t = G.value.padding.left + e + 16 + L.value.style.chart.yAxis.labels.offsetX, n = (K.value.width - t) / _n.value, r = [];
|
|
614
|
+
for (let e = 0; e < _n.value; e += 1) r.push({
|
|
615
615
|
selectorX: t + n * e,
|
|
616
616
|
x: t + n * e - n / 2,
|
|
617
617
|
y: K.value.top,
|
|
618
|
-
label:
|
|
618
|
+
label: L.value.style.chart.xAxis.labels.values[e] ? q.value[e]?.text ?? "" : "",
|
|
619
619
|
index: e,
|
|
620
620
|
width: n,
|
|
621
|
-
height:
|
|
621
|
+
height: fn.value
|
|
622
622
|
});
|
|
623
623
|
return r;
|
|
624
624
|
});
|
|
625
|
-
function
|
|
625
|
+
function yn(e) {
|
|
626
626
|
return W.value.map((t) => t.datapoints.map((t) => ({
|
|
627
627
|
dp: t,
|
|
628
628
|
selected: t.values[e.index]
|
|
629
629
|
})));
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function bn(e) {
|
|
632
632
|
P.value = e;
|
|
633
|
-
let t =
|
|
634
|
-
|
|
633
|
+
let t = yn(e);
|
|
634
|
+
L.value.events.datapointEnter && L.value.events.datapointEnter({
|
|
635
635
|
datapoint: t,
|
|
636
636
|
seriesIndex: e.index
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function xn(e) {
|
|
640
640
|
P.value = null;
|
|
641
|
-
let t =
|
|
642
|
-
|
|
641
|
+
let t = yn(e);
|
|
642
|
+
L.value.events.datapointLeave && L.value.events.datapointLeave({
|
|
643
643
|
datapoint: t,
|
|
644
644
|
seriesIndex: e.index
|
|
645
645
|
});
|
|
646
646
|
}
|
|
647
|
-
function
|
|
648
|
-
let t =
|
|
649
|
-
|
|
647
|
+
function Sn(e) {
|
|
648
|
+
let t = yn(e);
|
|
649
|
+
L.value.events.datapointClick && L.value.events.datapointClick({
|
|
650
650
|
datapoint: t,
|
|
651
651
|
seriesIndex: e.index
|
|
652
|
-
}),
|
|
652
|
+
}), Ot("selectX", t);
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function Cn(e, t) {
|
|
655
655
|
return e.length * t / 2 + t;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
return e +
|
|
657
|
+
function wn(e, t, n) {
|
|
658
|
+
return e + Cn(t, n) > K.value.right;
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function Tn(e, t, n = "sans-serif") {
|
|
661
661
|
let r = document.createElement("canvas").getContext("2d");
|
|
662
662
|
return r.font = `${typeof t == "number" ? `${t}px` : t} ${n}`, r.measureText(e).width;
|
|
663
663
|
}
|
|
664
664
|
let Y = f(() => {
|
|
665
|
-
|
|
666
|
-
let e = Math.max(...W.value.map((e) => e.labelLen)), t = Math.max(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = G.value.padding.left + e + 16 +
|
|
665
|
+
B.value;
|
|
666
|
+
let e = Math.max(...W.value.map((e) => e.labelLen)), t = Math.max(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...W.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = G.value.padding.left + e + 16 + L.value.style.chart.yAxis.labels.offsetX, i = (K.value.width - r) / _n.value, a = Math.abs(Math.min(n, 0)), o = t + a;
|
|
667
667
|
function c(e) {
|
|
668
668
|
return isNaN(e / o) ? 0 : e / o;
|
|
669
669
|
}
|
|
670
670
|
return W.value.map((e, t) => {
|
|
671
|
-
let n = K.value.top +
|
|
671
|
+
let n = K.value.top + B.value * t, o = K.value.top + n + B.value * on.value * (1 - c(a));
|
|
672
672
|
return {
|
|
673
673
|
...e,
|
|
674
674
|
label: {
|
|
675
|
-
x: r -
|
|
675
|
+
x: r - L.value.style.chart.yAxis.labels.fontSize,
|
|
676
676
|
y: o
|
|
677
677
|
},
|
|
678
678
|
datapoints: e.datapoints.map((e) => {
|
|
@@ -687,12 +687,12 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
687
687
|
].includes(t) ? 0 : t || 0;
|
|
688
688
|
return {
|
|
689
689
|
x: r + i * s,
|
|
690
|
-
y: K.value.top + n +
|
|
690
|
+
y: K.value.top + n + B.value * on.value * (1 - c(ee + a)),
|
|
691
691
|
value: t,
|
|
692
692
|
isMaxPoint: t === Math.max(...e.values),
|
|
693
693
|
zero: o
|
|
694
694
|
};
|
|
695
|
-
}), te = `${s(t, o, !1, !1)}`, ne = `M ${r},${o} ${re(t)} ${t.at(-1).x},${o}`, l = `M ${r},${o} ${t.at(-1).x},${o}`, u = `M ${ee(t)}`, ae = `M ${re(t)}`, oe = ie(
|
|
695
|
+
}), te = `${s(t, o, !1, !1)}`, ne = `M ${r},${o} ${re(t)} ${t.at(-1).x},${o}`, l = `M ${r},${o} ${t.at(-1).x},${o}`, u = `M ${ee(t)}`, ae = `M ${re(t)}`, oe = ie(L.value.style.chart.areas.smooth ? u : ae);
|
|
696
696
|
return {
|
|
697
697
|
...e,
|
|
698
698
|
uid: se(),
|
|
@@ -708,7 +708,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
708
708
|
};
|
|
709
709
|
});
|
|
710
710
|
}), X = S([]);
|
|
711
|
-
function
|
|
711
|
+
function En(e) {
|
|
712
712
|
let t = /* @__PURE__ */ new Map();
|
|
713
713
|
return e.forEach((e) => {
|
|
714
714
|
e.datapoints.forEach((e, n) => {
|
|
@@ -718,126 +718,126 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
718
718
|
name: e.name,
|
|
719
719
|
color: e.color,
|
|
720
720
|
shape: "circle",
|
|
721
|
-
segregate: () =>
|
|
721
|
+
segregate: () => cn(r),
|
|
722
722
|
isSegregated: X.value.includes(r),
|
|
723
723
|
opacity: X.value.includes(r) ? .5 : 1
|
|
724
724
|
});
|
|
725
725
|
});
|
|
726
726
|
}), Array.from(t.values());
|
|
727
727
|
}
|
|
728
|
-
let Z = f(() =>
|
|
728
|
+
let Z = f(() => En(W.value)), Dn = f(() => ({
|
|
729
729
|
cy: "donut-div-legend",
|
|
730
|
-
backgroundColor:
|
|
731
|
-
color:
|
|
732
|
-
fontSize:
|
|
730
|
+
backgroundColor: L.value.style.chart.legend.backgroundColor,
|
|
731
|
+
color: L.value.style.chart.legend.color,
|
|
732
|
+
fontSize: L.value.style.chart.legend.fontSize,
|
|
733
733
|
paddingBottom: 12,
|
|
734
|
-
fontWeight:
|
|
734
|
+
fontWeight: L.value.style.chart.legend.bold ? "bold" : ""
|
|
735
735
|
})), Q = S(!1);
|
|
736
|
-
function
|
|
737
|
-
Q.value = e,
|
|
736
|
+
function On(e) {
|
|
737
|
+
Q.value = e, It.value += 1;
|
|
738
738
|
}
|
|
739
|
-
let
|
|
740
|
-
function
|
|
741
|
-
|
|
739
|
+
let kn = S({}), An = S([]);
|
|
740
|
+
function jn(e) {
|
|
741
|
+
Ot("selectDatapoint", e), L.value.style.chart.dialog.show && (An.value = e.datapoints.map((e) => ({
|
|
742
742
|
name: e.name,
|
|
743
743
|
color: e.color,
|
|
744
744
|
type: "line",
|
|
745
745
|
useArea: !0,
|
|
746
|
-
smooth:
|
|
746
|
+
smooth: L.value.style.chart.areas.smooth,
|
|
747
747
|
series: e.values
|
|
748
|
-
})), F.value = e,
|
|
749
|
-
...
|
|
748
|
+
})), F.value = e, kn.value = te({
|
|
749
|
+
...L.value.style.chart.dialog.xyChart,
|
|
750
750
|
responsive: !0,
|
|
751
751
|
chart: {
|
|
752
|
-
...
|
|
752
|
+
...L.value.style.chart.dialog.xyChart.chart,
|
|
753
753
|
grid: {
|
|
754
|
-
...
|
|
754
|
+
...L.value.style.chart.dialog.xyChart.chart.grid,
|
|
755
755
|
labels: {
|
|
756
|
-
...
|
|
756
|
+
...L.value.style.chart.dialog.xyChart.chart.grid.labels,
|
|
757
757
|
xAxisLabels: {
|
|
758
|
-
...
|
|
759
|
-
values:
|
|
758
|
+
...L.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
|
|
759
|
+
values: L.value.style.chart.xAxis.labels.values,
|
|
760
760
|
autoRotate: {
|
|
761
761
|
enable: !0,
|
|
762
|
-
angle:
|
|
762
|
+
angle: L.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels.autoRotate.angle
|
|
763
763
|
},
|
|
764
|
-
datetimeFormatter:
|
|
764
|
+
datetimeFormatter: L.value.style.chart.xAxis.labels.datetimeFormatter
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
768
|
tooltip: {
|
|
769
|
-
...
|
|
770
|
-
showTimeLabel:
|
|
769
|
+
...L.value.style.chart.dialog.xyChart.chart.tooltip,
|
|
770
|
+
showTimeLabel: L.value.style.chart.xAxis.labels.values.length > 0
|
|
771
771
|
},
|
|
772
772
|
userOptions: {
|
|
773
|
-
...
|
|
773
|
+
...L.value.style.chart.dialog.xyChart.chart.userOptions,
|
|
774
774
|
buttons: {
|
|
775
|
-
...
|
|
776
|
-
altCopy:
|
|
775
|
+
...L.value.style.chart.dialog.xyChart.chart.userOptions.buttons,
|
|
776
|
+
altCopy: L.value.userOptions.buttons.altCopy
|
|
777
777
|
},
|
|
778
778
|
callbacks: {
|
|
779
|
-
...
|
|
779
|
+
...L.value.style.chart.dialog.xyChart.chart.userOptions.callbacks,
|
|
780
780
|
altCopy: () => {}
|
|
781
781
|
},
|
|
782
|
-
useCursorPointer:
|
|
782
|
+
useCursorPointer: L.value.userOptions.useCursorPointer
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
|
-
}),
|
|
785
|
+
}), zt.value && zt.value.open());
|
|
786
786
|
}
|
|
787
|
-
let
|
|
788
|
-
function
|
|
789
|
-
|
|
787
|
+
let Mn = S(null);
|
|
788
|
+
function Nn(e) {
|
|
789
|
+
Mn.value = e;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
|
|
791
|
+
function Pn() {
|
|
792
|
+
Mn.value = null;
|
|
793
793
|
}
|
|
794
|
-
let
|
|
795
|
-
function
|
|
796
|
-
|
|
794
|
+
let Fn = S(!1);
|
|
795
|
+
function In() {
|
|
796
|
+
Fn.value = !Fn.value;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
798
|
+
function Ln() {
|
|
799
799
|
U.value.showTable = !U.value.showTable;
|
|
800
800
|
}
|
|
801
|
-
let
|
|
801
|
+
let Rn = f(() => ({ body: Y.value.flatMap((e) => e.datapoints.flatMap((t) => ({
|
|
802
802
|
...t,
|
|
803
803
|
rowName: `${e.name}: ${t.name}`
|
|
804
804
|
}))).map((e) => [{
|
|
805
805
|
name: e.rowName,
|
|
806
806
|
color: e.color
|
|
807
807
|
}, ...e.values]) })), $ = f(() => {
|
|
808
|
-
let e = [
|
|
808
|
+
let e = [L.value.table.columnNames.series, ...q.value.map((e) => e.text)], t = {
|
|
809
809
|
th: {
|
|
810
|
-
backgroundColor:
|
|
811
|
-
color:
|
|
812
|
-
outline:
|
|
810
|
+
backgroundColor: L.value.table.th.backgroundColor,
|
|
811
|
+
color: L.value.table.th.color,
|
|
812
|
+
outline: L.value.table.th.outline
|
|
813
813
|
},
|
|
814
814
|
td: {
|
|
815
|
-
backgroundColor:
|
|
816
|
-
color:
|
|
817
|
-
outline:
|
|
815
|
+
backgroundColor: L.value.table.td.backgroundColor,
|
|
816
|
+
color: L.value.table.td.color,
|
|
817
|
+
outline: L.value.table.td.outline
|
|
818
818
|
},
|
|
819
|
-
breakpoint:
|
|
819
|
+
breakpoint: L.value.table.responsiveBreakpoint
|
|
820
820
|
};
|
|
821
821
|
return {
|
|
822
|
-
colNames: [
|
|
822
|
+
colNames: [L.value.table.columnNames.series, ...q.value.map((e) => e.text)],
|
|
823
823
|
head: e,
|
|
824
|
-
body:
|
|
824
|
+
body: Rn.value.body,
|
|
825
825
|
config: t
|
|
826
826
|
};
|
|
827
827
|
});
|
|
828
|
-
function
|
|
828
|
+
function zn(e = null) {
|
|
829
829
|
Be(() => {
|
|
830
|
-
let r = [[
|
|
830
|
+
let r = [[L.value.table.columnNames.series, ...q.map((e) => [e.text])], ...Rn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], i = [[L.value.style.chart.title.text], [L.value.style.chart.title.subtitle.text]].concat(r), a = n(i);
|
|
831
831
|
e ? e(a) : t({
|
|
832
832
|
csvContent: a,
|
|
833
|
-
title:
|
|
833
|
+
title: L.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
834
834
|
});
|
|
835
835
|
});
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function Bn() {
|
|
838
838
|
return Y.value;
|
|
839
839
|
}
|
|
840
|
-
async function
|
|
840
|
+
async function Vn({ scale: e = 2 } = {}) {
|
|
841
841
|
if (!A.value) return;
|
|
842
842
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Ce({
|
|
843
843
|
domElement: A.value,
|
|
@@ -848,21 +848,21 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
848
848
|
return {
|
|
849
849
|
imageUri: i,
|
|
850
850
|
base64: a,
|
|
851
|
-
title:
|
|
851
|
+
title: L.value.style.chart.title.text,
|
|
852
852
|
width: t,
|
|
853
853
|
height: n,
|
|
854
854
|
aspectRatio: r
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
|
-
let
|
|
857
|
+
let Hn = f(() => ({
|
|
858
858
|
min: 0,
|
|
859
|
-
max:
|
|
859
|
+
max: _n.value
|
|
860
860
|
}));
|
|
861
861
|
Se({
|
|
862
|
-
timeLabelsEls:
|
|
862
|
+
timeLabelsEls: Vt,
|
|
863
863
|
timeLabels: q,
|
|
864
|
-
slicer:
|
|
865
|
-
configRef:
|
|
864
|
+
slicer: Hn,
|
|
865
|
+
configRef: L,
|
|
866
866
|
rotationPath: [
|
|
867
867
|
"style",
|
|
868
868
|
"chart",
|
|
@@ -879,153 +879,153 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
879
879
|
"enable"
|
|
880
880
|
],
|
|
881
881
|
isAutoSize: !1,
|
|
882
|
-
width:
|
|
883
|
-
height:
|
|
882
|
+
width: pn,
|
|
883
|
+
height: mn,
|
|
884
884
|
targetClass: ".vue-ui-ridgeline-x-axis-label",
|
|
885
|
-
angle:
|
|
885
|
+
angle: L.value.style.chart.xAxis.labels.autoRotate.angle
|
|
886
886
|
});
|
|
887
|
-
let
|
|
888
|
-
let e =
|
|
887
|
+
let Un = f(() => {
|
|
888
|
+
let e = L.value.table.useDialog && !L.value.table.show, t = U.value.showTable;
|
|
889
889
|
return {
|
|
890
890
|
component: e ? wt : yt,
|
|
891
|
-
title: `${
|
|
891
|
+
title: `${L.value.style.chart.title.text}${L.value.style.chart.title.subtitle.text ? `: ${L.value.style.chart.title.subtitle.text}` : ""}`,
|
|
892
892
|
props: e ? {
|
|
893
|
-
backgroundColor:
|
|
894
|
-
color:
|
|
895
|
-
headerColor:
|
|
896
|
-
headerBg:
|
|
893
|
+
backgroundColor: L.value.table.th.backgroundColor,
|
|
894
|
+
color: L.value.table.th.color,
|
|
895
|
+
headerColor: L.value.table.th.color,
|
|
896
|
+
headerBg: L.value.table.th.backgroundColor,
|
|
897
897
|
isFullscreen: Q.value,
|
|
898
898
|
fullscreenParent: A.value,
|
|
899
899
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
900
|
-
isCursorPointer:
|
|
900
|
+
isCursorPointer: R.value
|
|
901
901
|
} : {
|
|
902
902
|
hideDetails: !0,
|
|
903
903
|
config: {
|
|
904
904
|
open: t,
|
|
905
905
|
maxHeight: 1e4,
|
|
906
906
|
body: {
|
|
907
|
-
backgroundColor:
|
|
908
|
-
color:
|
|
907
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
908
|
+
color: L.value.style.chart.color
|
|
909
909
|
},
|
|
910
910
|
head: {
|
|
911
|
-
backgroundColor:
|
|
912
|
-
color:
|
|
911
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
912
|
+
color: L.value.style.chart.color
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
917
|
});
|
|
918
|
-
|
|
919
|
-
|
|
918
|
+
Ke(() => U.value.showTable, (e) => {
|
|
919
|
+
L.value.table.show || (e && L.value.table.useDialog && Ht.value ? Ht.value.open() : "close" in Ht.value && Ht.value.close());
|
|
920
920
|
});
|
|
921
|
-
function
|
|
921
|
+
function Wn() {
|
|
922
922
|
U.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
|
|
923
923
|
}
|
|
924
|
-
let
|
|
925
|
-
...
|
|
924
|
+
let Gn = f(() => L.value.style.chart.backgroundColor), Kn = f(() => ({
|
|
925
|
+
...L.value.style.chart.legend,
|
|
926
926
|
position: "bottom"
|
|
927
|
-
})),
|
|
928
|
-
svg:
|
|
929
|
-
title:
|
|
930
|
-
legend:
|
|
927
|
+
})), qn = f(() => L.value.style.chart.title), { isCallbackImaging: Jn, isCallbackSvg: Yn, generateSvg: Xn, onGenerateImage: Zn } = xe({
|
|
928
|
+
svg: V,
|
|
929
|
+
title: qn,
|
|
930
|
+
legend: Kn,
|
|
931
931
|
legendItems: Z,
|
|
932
|
-
backgroundColor:
|
|
933
|
-
getSvgCallback: () =>
|
|
934
|
-
generateImage:
|
|
932
|
+
backgroundColor: Gn,
|
|
933
|
+
getSvgCallback: () => L.value.userOptions.callbacks.svg,
|
|
934
|
+
generateImage: nn
|
|
935
935
|
});
|
|
936
|
-
function
|
|
937
|
-
|
|
936
|
+
function Qn(e) {
|
|
937
|
+
$n("xy-zoom", e.dataset, e.config);
|
|
938
938
|
}
|
|
939
|
-
async function
|
|
940
|
-
if (
|
|
939
|
+
async function $n(e = "main-chart", t = null, n = null) {
|
|
940
|
+
if (Ot("copyAlt", {
|
|
941
941
|
source: e,
|
|
942
|
-
config: e === "main-chart" ?
|
|
943
|
-
dataset: e === "main-chart" ? Y.value :
|
|
944
|
-
}), !
|
|
942
|
+
config: e === "main-chart" ? L.value : kn.value,
|
|
943
|
+
dataset: e === "main-chart" ? Y.value : An.value
|
|
944
|
+
}), !L.value.userOptions.callbacks.altCopy) {
|
|
945
945
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
946
946
|
return;
|
|
947
947
|
}
|
|
948
|
-
await Promise.resolve(
|
|
948
|
+
await Promise.resolve(L.value.userOptions.callbacks.altCopy({
|
|
949
949
|
source: e,
|
|
950
|
-
config: e === "main-chart" ?
|
|
951
|
-
dataset: e === "main-chart" ? Y.value :
|
|
950
|
+
config: e === "main-chart" ? L.value : kn.value,
|
|
951
|
+
dataset: e === "main-chart" ? Y.value : An.value
|
|
952
952
|
}));
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
|
|
954
|
+
function er() {
|
|
955
|
+
I.value = null, Wt.value = !0;
|
|
956
956
|
}
|
|
957
|
-
function
|
|
958
|
-
|
|
957
|
+
function tr() {
|
|
958
|
+
ar(), Wt.value = !1;
|
|
959
959
|
}
|
|
960
|
-
function
|
|
961
|
-
if (!
|
|
960
|
+
function nr(e) {
|
|
961
|
+
if (!V.value || Fn.value || document.activeElement !== V.value || !Y.value.length) return;
|
|
962
962
|
let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
|
|
963
963
|
if (!t && !n && !r && !i && !a && !o) return;
|
|
964
964
|
if (e.preventDefault(), e.stopPropagation(), o) {
|
|
965
|
-
|
|
965
|
+
ar();
|
|
966
966
|
return;
|
|
967
967
|
}
|
|
968
968
|
if (a) {
|
|
969
|
-
if (
|
|
970
|
-
let e = Y.value[
|
|
971
|
-
e &&
|
|
969
|
+
if (I.value !== null) {
|
|
970
|
+
let e = Y.value[I.value];
|
|
971
|
+
e && jn(e);
|
|
972
972
|
return;
|
|
973
973
|
}
|
|
974
|
-
P.value &&
|
|
974
|
+
P.value && Sn(P.value);
|
|
975
975
|
return;
|
|
976
976
|
}
|
|
977
977
|
if (t || n) {
|
|
978
|
-
let e =
|
|
979
|
-
e = e === null ? n ? 0 : Y.value.length - 1 :
|
|
978
|
+
let e = I.value;
|
|
979
|
+
e = e === null ? n ? 0 : Y.value.length - 1 : rr(e + (n ? 1 : -1)), I.value = e, Mn.value = e;
|
|
980
980
|
return;
|
|
981
981
|
}
|
|
982
982
|
if (!J.value.length) return;
|
|
983
983
|
let s = P.value?.index ?? null;
|
|
984
|
-
s = s === null ? i ? 0 : J.value.length - 1 :
|
|
984
|
+
s = s === null ? i ? 0 : J.value.length - 1 : ir(s + (i ? 1 : -1));
|
|
985
985
|
let ee = J.value[s];
|
|
986
|
-
ee &&
|
|
986
|
+
ee && bn(ee);
|
|
987
987
|
}
|
|
988
|
-
function
|
|
988
|
+
function rr(e) {
|
|
989
989
|
let t = Y.value.length;
|
|
990
990
|
return t ? (e % t + t) % t : null;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
992
|
+
function ir(e) {
|
|
993
993
|
let t = J.value.length;
|
|
994
994
|
return t ? (e % t + t) % t : null;
|
|
995
995
|
}
|
|
996
|
-
function
|
|
997
|
-
|
|
996
|
+
function ar() {
|
|
997
|
+
I.value = null, Mn.value = null, P.value ? xn(P.value) : P.value = null;
|
|
998
998
|
}
|
|
999
|
-
let
|
|
999
|
+
let or = f(() => ({
|
|
1000
1000
|
head: $.value.head,
|
|
1001
1001
|
body: $.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
|
|
1002
|
-
caption:
|
|
1003
|
-
notice:
|
|
1002
|
+
caption: L.value.a11y.translations.tableCaption,
|
|
1003
|
+
notice: L.value.a11y.translations.tableAvailable
|
|
1004
1004
|
}));
|
|
1005
1005
|
return Ee({
|
|
1006
|
-
getData:
|
|
1007
|
-
getImage:
|
|
1008
|
-
generateImage:
|
|
1009
|
-
generateSvg:
|
|
1010
|
-
generatePdf:
|
|
1011
|
-
generateCsv:
|
|
1012
|
-
hideSeries:
|
|
1013
|
-
showSeries:
|
|
1014
|
-
toggleAnnotator:
|
|
1015
|
-
toggleTable:
|
|
1016
|
-
toggleFullscreen:
|
|
1017
|
-
copyAlt:
|
|
1006
|
+
getData: Bn,
|
|
1007
|
+
getImage: Vn,
|
|
1008
|
+
generateImage: nn,
|
|
1009
|
+
generateSvg: Xn,
|
|
1010
|
+
generatePdf: tn,
|
|
1011
|
+
generateCsv: zn,
|
|
1012
|
+
hideSeries: dn,
|
|
1013
|
+
showSeries: un,
|
|
1014
|
+
toggleAnnotator: In,
|
|
1015
|
+
toggleTable: Ln,
|
|
1016
|
+
toggleFullscreen: On,
|
|
1017
|
+
copyAlt: $n
|
|
1018
1018
|
}), (e, t) => (x(), h("div", {
|
|
1019
1019
|
ref_key: "ridgelineChart",
|
|
1020
1020
|
ref: A,
|
|
1021
1021
|
class: Ve(`vue-data-ui-component vue-ui-ridgeline ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1022
1022
|
id: `vue-ui-ridgeline_${N.value}`,
|
|
1023
1023
|
style: b({
|
|
1024
|
-
fontFamily:
|
|
1024
|
+
fontFamily: L.value.style.fontFamily,
|
|
1025
1025
|
width: "100%",
|
|
1026
1026
|
textAlign: "center",
|
|
1027
|
-
background:
|
|
1028
|
-
height:
|
|
1027
|
+
background: L.value.style.chart.backgroundColor,
|
|
1028
|
+
height: L.value.responsive ? "100%" : void 0
|
|
1029
1029
|
}),
|
|
1030
1030
|
onMouseenter: t[3] ||= () => E(Xt)(!0),
|
|
1031
1031
|
onMouseleave: t[4] ||= () => E(Xt)(!1)
|
|
@@ -1033,14 +1033,14 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1033
1033
|
g("div", {
|
|
1034
1034
|
id: `chart-instructions-${N.value}`,
|
|
1035
1035
|
class: "sr-only"
|
|
1036
|
-
}, [g("p", null, T(
|
|
1037
|
-
|
|
1036
|
+
}, [g("p", null, T(L.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
|
|
1037
|
+
or.value.body.length ? (x(), p(je, {
|
|
1038
1038
|
key: 0,
|
|
1039
1039
|
uid: N.value,
|
|
1040
|
-
head:
|
|
1041
|
-
body:
|
|
1042
|
-
caption:
|
|
1043
|
-
notice:
|
|
1040
|
+
head: or.value.head,
|
|
1041
|
+
body: or.value.body,
|
|
1042
|
+
caption: or.value.caption,
|
|
1043
|
+
notice: or.value.notice
|
|
1044
1044
|
}, null, 8, [
|
|
1045
1045
|
"uid",
|
|
1046
1046
|
"head",
|
|
@@ -1048,21 +1048,21 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1048
1048
|
"caption",
|
|
1049
1049
|
"notice"
|
|
1050
1050
|
])) : m("", !0),
|
|
1051
|
-
|
|
1051
|
+
L.value.userOptions.buttons.annotator && E(V) ? (x(), p(E(xt), {
|
|
1052
1052
|
key: 1,
|
|
1053
|
-
color:
|
|
1054
|
-
backgroundColor:
|
|
1055
|
-
active:
|
|
1056
|
-
svgRef: E(
|
|
1057
|
-
isCursorPointer:
|
|
1058
|
-
onClose:
|
|
1053
|
+
color: L.value.style.chart.color,
|
|
1054
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1055
|
+
active: Fn.value,
|
|
1056
|
+
svgRef: E(V),
|
|
1057
|
+
isCursorPointer: R.value,
|
|
1058
|
+
onClose: In
|
|
1059
1059
|
}, {
|
|
1060
|
-
"annotator-action-close":
|
|
1061
|
-
"annotator-action-color":
|
|
1062
|
-
"annotator-action-draw":
|
|
1063
|
-
"annotator-action-undo":
|
|
1064
|
-
"annotator-action-redo":
|
|
1065
|
-
"annotator-action-delete":
|
|
1060
|
+
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1061
|
+
"annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(v({ color: t })), void 0, !0)]),
|
|
1062
|
+
"annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(v({ mode: t })), void 0, !0)]),
|
|
1063
|
+
"annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(v({ disabled: t })), void 0, !0)]),
|
|
1064
|
+
"annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(v({ disabled: t })), void 0, !0)]),
|
|
1065
|
+
"annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(v({ disabled: t })), void 0, !0)]),
|
|
1066
1066
|
_: 3
|
|
1067
1067
|
}, 8, [
|
|
1068
1068
|
"color",
|
|
@@ -1072,73 +1072,73 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1072
1072
|
"isCursorPointer"
|
|
1073
1073
|
])) : m("", !0),
|
|
1074
1074
|
w(e.$slots, "userConfig", {}, void 0, !0),
|
|
1075
|
-
|
|
1075
|
+
rn.value ? (x(), h("div", {
|
|
1076
1076
|
key: 2,
|
|
1077
1077
|
ref_key: "noTitle",
|
|
1078
|
-
ref:
|
|
1078
|
+
ref: Mt,
|
|
1079
1079
|
class: "vue-data-ui-no-title-space",
|
|
1080
1080
|
style: "height:36px; width: 100%;background:transparent"
|
|
1081
1081
|
}, null, 512)) : m("", !0),
|
|
1082
|
-
|
|
1082
|
+
L.value.style.chart.title.text ? (x(), h("div", {
|
|
1083
1083
|
key: 3,
|
|
1084
1084
|
ref_key: "chartTitle",
|
|
1085
|
-
ref:
|
|
1085
|
+
ref: kt,
|
|
1086
1086
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1087
1087
|
}, [(x(), p(we, {
|
|
1088
|
-
key: `title_${
|
|
1088
|
+
key: `title_${Nt.value}`,
|
|
1089
1089
|
config: {
|
|
1090
1090
|
title: {
|
|
1091
1091
|
cy: "ridgeline-div-title",
|
|
1092
|
-
...
|
|
1092
|
+
...L.value.style.chart.title
|
|
1093
1093
|
},
|
|
1094
1094
|
subtitle: {
|
|
1095
1095
|
cy: "ridgeline-div-subtitle",
|
|
1096
|
-
...
|
|
1096
|
+
...L.value.style.chart.title.subtitle
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
}, null, 8, ["config"]))], 512)) : m("", !0),
|
|
1100
|
-
|
|
1100
|
+
L.value.userOptions.show && k.value && (E(Zt) || E(Yt)) ? (x(), p(E(St), {
|
|
1101
1101
|
ref_key: "userOptionsRef",
|
|
1102
1102
|
ref: Ut,
|
|
1103
|
-
key: `user_option_${
|
|
1104
|
-
backgroundColor:
|
|
1105
|
-
color:
|
|
1106
|
-
isPrinting: E(
|
|
1107
|
-
isImaging: E(
|
|
1103
|
+
key: `user_option_${It.value}`,
|
|
1104
|
+
backgroundColor: L.value.style.chart.backgroundColor,
|
|
1105
|
+
color: L.value.style.chart.color,
|
|
1106
|
+
isPrinting: E($t),
|
|
1107
|
+
isImaging: E(en),
|
|
1108
1108
|
uid: N.value,
|
|
1109
1109
|
hasTooltip: !1,
|
|
1110
|
-
callbacks:
|
|
1111
|
-
hasPdf:
|
|
1112
|
-
hasImg:
|
|
1113
|
-
hasSvg:
|
|
1114
|
-
hasXls:
|
|
1115
|
-
hasTable:
|
|
1110
|
+
callbacks: L.value.userOptions.callbacks,
|
|
1111
|
+
hasPdf: L.value.userOptions.buttons.pdf,
|
|
1112
|
+
hasImg: L.value.userOptions.buttons.img,
|
|
1113
|
+
hasSvg: L.value.userOptions.buttons.svg,
|
|
1114
|
+
hasXls: L.value.userOptions.buttons.csv,
|
|
1115
|
+
hasTable: L.value.userOptions.buttons.table,
|
|
1116
1116
|
hasLabel: !1,
|
|
1117
|
-
hasFullscreen:
|
|
1118
|
-
hasAltCopy:
|
|
1117
|
+
hasFullscreen: L.value.userOptions.buttons.fullscreen,
|
|
1118
|
+
hasAltCopy: L.value.userOptions.buttons.altCopy,
|
|
1119
1119
|
isFullscreen: Q.value,
|
|
1120
|
-
printScale:
|
|
1120
|
+
printScale: L.value.userOptions.print.scale,
|
|
1121
1121
|
chartElement: A.value,
|
|
1122
|
-
position:
|
|
1122
|
+
position: L.value.userOptions.position,
|
|
1123
1123
|
isTooltip: !1,
|
|
1124
|
-
titles: { ...
|
|
1125
|
-
hasAnnotator:
|
|
1126
|
-
isAnnotation:
|
|
1127
|
-
tableDialog:
|
|
1124
|
+
titles: { ...L.value.userOptions.buttonTitles },
|
|
1125
|
+
hasAnnotator: L.value.userOptions.buttons.annotator,
|
|
1126
|
+
isAnnotation: Fn.value,
|
|
1127
|
+
tableDialog: L.value.table.useDialog,
|
|
1128
1128
|
style: b({ visibility: E(Zt) ? E(Yt) ? "visible" : "hidden" : "visible" }),
|
|
1129
|
-
isCursorPointer:
|
|
1130
|
-
onToggleFullscreen:
|
|
1131
|
-
onGeneratePdf: E(
|
|
1132
|
-
onGenerateCsv:
|
|
1133
|
-
onGenerateImage: E(
|
|
1134
|
-
onGenerateSvg: E(
|
|
1135
|
-
onToggleTable:
|
|
1136
|
-
onToggleAnnotator:
|
|
1137
|
-
onCopyAlt:
|
|
1129
|
+
isCursorPointer: R.value,
|
|
1130
|
+
onToggleFullscreen: On,
|
|
1131
|
+
onGeneratePdf: E(tn),
|
|
1132
|
+
onGenerateCsv: zn,
|
|
1133
|
+
onGenerateImage: E(Zn),
|
|
1134
|
+
onGenerateSvg: E(Xn),
|
|
1135
|
+
onToggleTable: Ln,
|
|
1136
|
+
onToggleAnnotator: In,
|
|
1137
|
+
onCopyAlt: $n
|
|
1138
1138
|
}, Ie({ _: 2 }, [
|
|
1139
1139
|
e.$slots.menuIcon ? {
|
|
1140
1140
|
name: "menuIcon",
|
|
1141
|
-
fn:
|
|
1141
|
+
fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(v({
|
|
1142
1142
|
isOpen: t,
|
|
1143
1143
|
color: n
|
|
1144
1144
|
})), void 0, !0)]),
|
|
@@ -1146,37 +1146,37 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1146
1146
|
} : void 0,
|
|
1147
1147
|
e.$slots.optionTooltip ? {
|
|
1148
1148
|
name: "optionTooltip",
|
|
1149
|
-
fn:
|
|
1149
|
+
fn: D(() => [w(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1150
1150
|
key: "1"
|
|
1151
1151
|
} : void 0,
|
|
1152
1152
|
e.$slots.optionPdf ? {
|
|
1153
1153
|
name: "optionPdf",
|
|
1154
|
-
fn:
|
|
1154
|
+
fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1155
1155
|
key: "2"
|
|
1156
1156
|
} : void 0,
|
|
1157
1157
|
e.$slots.optionCsv ? {
|
|
1158
1158
|
name: "optionCsv",
|
|
1159
|
-
fn:
|
|
1159
|
+
fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1160
1160
|
key: "3"
|
|
1161
1161
|
} : void 0,
|
|
1162
1162
|
e.$slots.optionImg ? {
|
|
1163
1163
|
name: "optionImg",
|
|
1164
|
-
fn:
|
|
1164
|
+
fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1165
1165
|
key: "4"
|
|
1166
1166
|
} : void 0,
|
|
1167
1167
|
e.$slots.optionSvg ? {
|
|
1168
1168
|
name: "optionSvg",
|
|
1169
|
-
fn:
|
|
1169
|
+
fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1170
1170
|
key: "5"
|
|
1171
1171
|
} : void 0,
|
|
1172
1172
|
e.$slots.optionTable ? {
|
|
1173
1173
|
name: "optionTable",
|
|
1174
|
-
fn:
|
|
1174
|
+
fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1175
1175
|
key: "6"
|
|
1176
1176
|
} : void 0,
|
|
1177
1177
|
e.$slots.optionFullscreen ? {
|
|
1178
1178
|
name: "optionFullscreen",
|
|
1179
|
-
fn:
|
|
1179
|
+
fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(v({
|
|
1180
1180
|
toggleFullscreen: t,
|
|
1181
1181
|
isFullscreen: n
|
|
1182
1182
|
})), void 0, !0)]),
|
|
@@ -1184,7 +1184,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1184
1184
|
} : void 0,
|
|
1185
1185
|
e.$slots.optionAnnotator ? {
|
|
1186
1186
|
name: "optionAnnotator",
|
|
1187
|
-
fn:
|
|
1187
|
+
fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(v({
|
|
1188
1188
|
toggleAnnotator: t,
|
|
1189
1189
|
isAnnotator: n
|
|
1190
1190
|
})), void 0, !0)]),
|
|
@@ -1192,23 +1192,23 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1192
1192
|
} : void 0,
|
|
1193
1193
|
e.$slots.optionAltCopy ? {
|
|
1194
1194
|
name: "optionAltCopy",
|
|
1195
|
-
fn:
|
|
1195
|
+
fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(v({ altCopy: t })), void 0, !0)]),
|
|
1196
1196
|
key: "9"
|
|
1197
1197
|
} : void 0,
|
|
1198
1198
|
e.$slots["custom-menu-before"] ? {
|
|
1199
1199
|
name: "custom-menu-before",
|
|
1200
|
-
fn:
|
|
1200
|
+
fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1201
1201
|
key: "10"
|
|
1202
1202
|
} : void 0,
|
|
1203
1203
|
e.$slots["custom-menu-after"] ? {
|
|
1204
1204
|
name: "custom-menu-after",
|
|
1205
|
-
fn:
|
|
1205
|
+
fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1206
1206
|
key: "11"
|
|
1207
1207
|
} : void 0
|
|
1208
1208
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.callbacks.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.printScale.chartElement.position.titles.hasAnnotator.isAnnotation.tableDialog.style.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg".split("."))) : m("", !0),
|
|
1209
|
-
g("div",
|
|
1209
|
+
g("div", Ze, [(x(), h("svg", {
|
|
1210
1210
|
ref_key: "svgRef",
|
|
1211
|
-
ref:
|
|
1211
|
+
ref: V,
|
|
1212
1212
|
xmlns: E(le),
|
|
1213
1213
|
"aria-describedby": `chart-instructions-${N.value}`,
|
|
1214
1214
|
class: Ve({
|
|
@@ -1216,11 +1216,11 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1216
1216
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1217
1217
|
}),
|
|
1218
1218
|
viewBox: `0 0 ${G.value.width <= 0 ? 10 : G.value.width} ${K.value.fullHeight <= 0 ? 10 : K.value.fullHeight}`,
|
|
1219
|
-
style: b(`max-width:100%;overflow:visible;background:transparent;color:${
|
|
1219
|
+
style: b(`max-width:100%;overflow:visible;background:transparent;color:${L.value.style.chart.color};${L.value.responsive ? `height: ${Bt.value}px; width: 100%;` : ""}`),
|
|
1220
1220
|
tabindex: "0",
|
|
1221
|
-
onFocus:
|
|
1222
|
-
onBlur:
|
|
1223
|
-
onKeydown:
|
|
1221
|
+
onFocus: er,
|
|
1222
|
+
onBlur: tr,
|
|
1223
|
+
onKeydown: nr
|
|
1224
1224
|
}, [
|
|
1225
1225
|
Re(E(Ct)),
|
|
1226
1226
|
g("defs", null, [(x(!0), h(d, null, C(Z.value, (e, t) => (x(), p(ke, {
|
|
@@ -1285,122 +1285,122 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1285
1285
|
]
|
|
1286
1286
|
}, null, 8, ["id", "stops"]))), 128))], 64))), 256))]),
|
|
1287
1287
|
(x(!0), h(d, null, C(Y.value, (t, n) => (x(), h("g", { key: `ds-${n}` }, [(x(!0), h(d, null, C(t.datapoints, (t, r) => (x(), h("g", { key: t.id }, [
|
|
1288
|
-
e.$slots.pattern ? (x(), h("g",
|
|
1288
|
+
e.$slots.pattern ? (x(), h("g", $e, [g("defs", null, [w(e.$slots, "pattern", ze({ ref_for: !0 }, {
|
|
1289
1289
|
datapointIndex: n,
|
|
1290
1290
|
seriesIndex: r,
|
|
1291
1291
|
patternId: `pattern_${N.value}_${t.uid}`
|
|
1292
1292
|
}), void 0, !0)])])) : m("", !0),
|
|
1293
1293
|
g("path", {
|
|
1294
|
-
fill: e.$slots.pattern ? `url(#pattern_${N.value}_${t.uid})` :
|
|
1294
|
+
fill: e.$slots.pattern ? `url(#pattern_${N.value}_${t.uid})` : L.value.style.chart.backgroundColor,
|
|
1295
1295
|
stroke: "none",
|
|
1296
1296
|
"stroke-linecap": "round",
|
|
1297
|
-
d:
|
|
1298
|
-
style: b({ opacity:
|
|
1299
|
-
}, null, 12,
|
|
1297
|
+
d: L.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1298
|
+
style: b({ opacity: L.value.style.chart.areas.opacity })
|
|
1299
|
+
}, null, 12, et),
|
|
1300
1300
|
g("path", {
|
|
1301
1301
|
fill: "none",
|
|
1302
|
-
stroke:
|
|
1303
|
-
"stroke-width":
|
|
1304
|
-
d:
|
|
1302
|
+
stroke: L.value.style.chart.areas.stroke.useSerieColor ? t.color : L.value.style.chart.areas.stroke.color,
|
|
1303
|
+
"stroke-width": L.value.style.chart.areas.strokeWidth,
|
|
1304
|
+
d: L.value.style.chart.areas.smooth ? t.smoothPathRidge : t.straightPathRidge,
|
|
1305
1305
|
"stroke-linecap": "round",
|
|
1306
1306
|
"stroke-linejoin": "round",
|
|
1307
1307
|
style: b({
|
|
1308
1308
|
strokeDasharray: t.pathLength,
|
|
1309
|
-
strokeDashoffset:
|
|
1309
|
+
strokeDashoffset: L.value.useCssAnimation ? t.pathLength : 0
|
|
1310
1310
|
})
|
|
1311
|
-
}, null, 12,
|
|
1311
|
+
}, null, 12, tt),
|
|
1312
1312
|
g("path", {
|
|
1313
|
-
fill:
|
|
1313
|
+
fill: L.value.style.chart.areas.useGradient ? L.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${N.value})` : `url(#gradient-single-${N.value}-${t.uid})` : t.color,
|
|
1314
1314
|
stroke: "none",
|
|
1315
|
-
d:
|
|
1315
|
+
d: L.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1316
1316
|
"stroke-linecap": "round",
|
|
1317
1317
|
"stroke-linejoin": "round",
|
|
1318
1318
|
style: b({
|
|
1319
1319
|
strokeDasharray: t.pathLength,
|
|
1320
|
-
strokeDashoffset:
|
|
1320
|
+
strokeDashoffset: L.value.useCssAnimation ? t.pathLength : 0
|
|
1321
1321
|
})
|
|
1322
|
-
}, null, 12,
|
|
1323
|
-
|
|
1322
|
+
}, null, 12, nt),
|
|
1323
|
+
L.value.style.chart.zeroLine.show ? (x(), h("path", {
|
|
1324
1324
|
key: 1,
|
|
1325
|
-
stroke:
|
|
1326
|
-
"stroke-dasharray":
|
|
1327
|
-
"stroke-width":
|
|
1325
|
+
stroke: L.value.style.chart.zeroLine.useSerieColor ? t.color : L.value.style.chart.zeroLine.stroke,
|
|
1326
|
+
"stroke-dasharray": L.value.style.chart.zeroLine.strokeDasharray,
|
|
1327
|
+
"stroke-width": L.value.style.chart.zeroLine.strokeWidth,
|
|
1328
1328
|
d: t.zeroPath,
|
|
1329
1329
|
"stroke-linecap": "round"
|
|
1330
|
-
}, null, 8,
|
|
1331
|
-
|
|
1330
|
+
}, null, 8, rt)) : m("", !0),
|
|
1331
|
+
L.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (x(!0), h(d, { key: 2 }, C(t.plots, (e) => (x(), h(d, null, [e.isMaxPoint ? (x(), h("line", {
|
|
1332
1332
|
key: 0,
|
|
1333
1333
|
x1: e.x,
|
|
1334
1334
|
y1: e.y,
|
|
1335
1335
|
x2: e.x,
|
|
1336
1336
|
y2: e.zero,
|
|
1337
|
-
stroke:
|
|
1338
|
-
"stroke-width":
|
|
1337
|
+
stroke: L.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? E(ce)(t.color) : L.value.style.chart.areas.maxPoint.stroke,
|
|
1338
|
+
"stroke-width": L.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1339
1339
|
"stroke-linecap": "round",
|
|
1340
|
-
"stroke-dasharray":
|
|
1341
|
-
}, null, 8,
|
|
1340
|
+
"stroke-dasharray": L.value.style.chart.areas.maxPoint.strokeDasharray
|
|
1341
|
+
}, null, 8, it)) : m("", !0)], 64))), 256)) : m("", !0),
|
|
1342
1342
|
t.plots.length === 1 ? (x(), h("circle", {
|
|
1343
1343
|
key: 3,
|
|
1344
1344
|
cx: t.plots[0].x,
|
|
1345
1345
|
cy: t.plots[0].y,
|
|
1346
|
-
stroke:
|
|
1347
|
-
"stroke-width":
|
|
1348
|
-
r:
|
|
1349
|
-
fill:
|
|
1346
|
+
stroke: L.value.style.chart.selector.dot.stroke,
|
|
1347
|
+
"stroke-width": L.value.style.chart.selector.dot.strokeWidth,
|
|
1348
|
+
r: L.value.style.chart.selector.dot.radius,
|
|
1349
|
+
fill: L.value.style.chart.selector.dot.useDatapointColor ? t.color : L.value.style.chart.selector.dot.fill,
|
|
1350
1350
|
style: { pointerEvents: "none" }
|
|
1351
|
-
}, null, 8,
|
|
1351
|
+
}, null, 8, at)) : m("", !0)
|
|
1352
1352
|
]))), 128)), g("text", {
|
|
1353
1353
|
x: t.label.x,
|
|
1354
1354
|
y: t.label.y,
|
|
1355
1355
|
"text-anchor": "end",
|
|
1356
|
-
"font-size":
|
|
1357
|
-
"font-weight":
|
|
1358
|
-
fill:
|
|
1359
|
-
style: b({ cursor:
|
|
1360
|
-
"text-decoration":
|
|
1361
|
-
onMouseenter: (e) =>
|
|
1362
|
-
onMouseleave:
|
|
1363
|
-
onClick: (e) =>
|
|
1364
|
-
}, T(t.name), 45,
|
|
1365
|
-
|
|
1356
|
+
"font-size": L.value.style.chart.yAxis.labels.fontSize,
|
|
1357
|
+
"font-weight": L.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
1358
|
+
fill: L.value.style.chart.yAxis.labels.color,
|
|
1359
|
+
style: b({ cursor: L.value.style.chart.dialog.show && R.value ? "pointer" : "default" }),
|
|
1360
|
+
"text-decoration": L.value.style.chart.dialog.show && (Mn.value === n || F.value && t.uid === F.value.uid || I.value === n) ? "underline" : "",
|
|
1361
|
+
onMouseenter: (e) => Nn(n),
|
|
1362
|
+
onMouseleave: Pn,
|
|
1363
|
+
onClick: (e) => jn(t)
|
|
1364
|
+
}, T(t.name), 45, ot)]))), 128)),
|
|
1365
|
+
L.value.style.chart.xAxis.labels.values.length ? (x(), h("g", {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
ref_key: "timeLabelsEls",
|
|
1368
|
-
ref:
|
|
1368
|
+
ref: Vt
|
|
1369
1369
|
}, [(x(!0), h(d, null, C(J.value, (t, n) => w(e.$slots, "time-label", ze({ ref_for: !0 }, {
|
|
1370
|
-
show: t && !
|
|
1371
|
-
fontSize:
|
|
1370
|
+
show: t && !L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !L.value.style.chart.xAxis.labels.showOnlyAtModulo || t && L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && P.value && P.value.index === n || t && !L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && L.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / L.value.style.chart.xAxis.labels.modulo) === 0,
|
|
1371
|
+
fontSize: L.value.style.chart.xAxis.labels.fontSize,
|
|
1372
1372
|
content: t.label,
|
|
1373
|
-
textAnchor:
|
|
1374
|
-
fill:
|
|
1375
|
-
transform: `translate(${t.selectorX}, ${K.value.top + t.height +
|
|
1373
|
+
textAnchor: L.value.style.chart.xAxis.labels.rotation > 0 ? "start" : L.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1374
|
+
fill: L.value.style.chart.xAxis.labels.color,
|
|
1375
|
+
transform: `translate(${t.selectorX}, ${K.value.top + t.height + L.value.style.chart.xAxis.labels.offsetY}), rotate(${L.value.style.chart.xAxis.labels.rotation})`,
|
|
1376
1376
|
x: t.selectorX,
|
|
1377
|
-
y: K.value.bottom +
|
|
1378
|
-
}), () => [t && !
|
|
1377
|
+
y: K.value.bottom + L.value.style.chart.xAxis.labels.offsetY
|
|
1378
|
+
}), () => [t && !L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !L.value.style.chart.xAxis.labels.showOnlyAtModulo || t && L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && P.value && P.value.index === n || t && !L.value.style.chart.xAxis.labels.showOnlyFirstAndLast && L.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / L.value.style.chart.xAxis.labels.modulo) === 0 ? (x(), h("g", st, [String(t.label).includes("\n") ? (x(), h("text", {
|
|
1379
1379
|
key: 1,
|
|
1380
1380
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1381
|
-
"font-size":
|
|
1382
|
-
fill:
|
|
1383
|
-
"font-weight":
|
|
1384
|
-
transform: `translate(${t.selectorX}, ${K.value.bottom +
|
|
1385
|
-
"text-anchor":
|
|
1381
|
+
"font-size": L.value.style.chart.xAxis.labels.fontSize,
|
|
1382
|
+
fill: L.value.style.chart.xAxis.labels.color,
|
|
1383
|
+
"font-weight": L.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1384
|
+
transform: `translate(${t.selectorX}, ${K.value.bottom + L.value.style.chart.xAxis.labels.offsetY}), rotate(${L.value.style.chart.xAxis.labels.rotation})`,
|
|
1385
|
+
"text-anchor": L.value.style.chart.xAxis.labels.rotation > 0 ? "start" : L.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1386
1386
|
style: b({ opacity: P.value ? P.value.index === n ? 1 : .2 : 1 }),
|
|
1387
1387
|
innerHTML: E(r)({
|
|
1388
1388
|
content: String(t.label),
|
|
1389
|
-
fontSize:
|
|
1390
|
-
fill:
|
|
1389
|
+
fontSize: L.value.style.chart.xAxis.labels.fontSize,
|
|
1390
|
+
fill: L.value.style.chart.xAxis.labels.color,
|
|
1391
1391
|
x: 0,
|
|
1392
1392
|
y: 0
|
|
1393
1393
|
})
|
|
1394
|
-
}, null, 12,
|
|
1394
|
+
}, null, 12, lt)) : (x(), h("text", {
|
|
1395
1395
|
key: 0,
|
|
1396
1396
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1397
|
-
"font-size":
|
|
1398
|
-
fill:
|
|
1399
|
-
"font-weight":
|
|
1400
|
-
transform: `translate(${t.selectorX}, ${K.value.bottom +
|
|
1401
|
-
"text-anchor":
|
|
1397
|
+
"font-size": L.value.style.chart.xAxis.labels.fontSize,
|
|
1398
|
+
fill: L.value.style.chart.xAxis.labels.color,
|
|
1399
|
+
"font-weight": L.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1400
|
+
transform: `translate(${t.selectorX}, ${K.value.bottom + L.value.style.chart.xAxis.labels.offsetY}), rotate(${L.value.style.chart.xAxis.labels.rotation})`,
|
|
1401
|
+
"text-anchor": L.value.style.chart.xAxis.labels.rotation > 0 ? "start" : L.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1402
1402
|
style: b({ opacity: P.value ? P.value.index === n ? 1 : .2 : 1 })
|
|
1403
|
-
}, T(t.label), 13,
|
|
1403
|
+
}, T(t.label), 13, ct))])) : m("", !0)], !0)), 256))], 512)) : m("", !0),
|
|
1404
1404
|
g("g", null, [
|
|
1405
1405
|
(x(!0), h(d, null, C(J.value, (e, t) => (x(), h("rect", {
|
|
1406
1406
|
x: e.x,
|
|
@@ -1408,90 +1408,90 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1408
1408
|
width: e.width < 0 ? .1 : e.width,
|
|
1409
1409
|
height: e.height < 0 ? .1 : e.height,
|
|
1410
1410
|
fill: "transparent",
|
|
1411
|
-
onMouseenter: (t) =>
|
|
1412
|
-
onMouseleave: (t) =>
|
|
1413
|
-
onClick: () =>
|
|
1414
|
-
}, null, 40,
|
|
1415
|
-
|
|
1411
|
+
onMouseenter: (t) => bn(e),
|
|
1412
|
+
onMouseleave: (t) => xn(e),
|
|
1413
|
+
onClick: () => Sn(e)
|
|
1414
|
+
}, null, 40, ut))), 256)),
|
|
1415
|
+
L.value.style.chart.selector.show && P.value ? (x(), h("line", {
|
|
1416
1416
|
key: 0,
|
|
1417
1417
|
x1: P.value.selectorX,
|
|
1418
1418
|
x2: P.value.selectorX,
|
|
1419
1419
|
y1: P.value.y,
|
|
1420
|
-
y2: P.value.y + P.value.height -
|
|
1421
|
-
stroke:
|
|
1422
|
-
"stroke-width":
|
|
1423
|
-
"stroke-dasharray":
|
|
1420
|
+
y2: P.value.y + P.value.height - B.value / 2,
|
|
1421
|
+
stroke: L.value.style.chart.selector.stroke,
|
|
1422
|
+
"stroke-width": L.value.style.chart.selector.strokeWidth,
|
|
1423
|
+
"stroke-dasharray": L.value.style.chart.selector.strokeDasharray,
|
|
1424
1424
|
"stroke-linecap": "round",
|
|
1425
1425
|
style: { pointerEvents: "none" }
|
|
1426
|
-
}, null, 8,
|
|
1426
|
+
}, null, 8, dt)) : m("", !0),
|
|
1427
1427
|
P.value ? (x(!0), h(d, { key: 1 }, C(Y.value, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.datapoints, (e) => (x(), h(d, null, [(x(!0), h(d, null, C(e.plots, (t, n) => (x(), h(d, null, [P.value && P.value.index === n ? (x(), h("circle", {
|
|
1428
1428
|
key: 0,
|
|
1429
1429
|
cx: t.x,
|
|
1430
1430
|
cy: t.y,
|
|
1431
|
-
stroke:
|
|
1432
|
-
"stroke-width":
|
|
1433
|
-
r:
|
|
1434
|
-
fill:
|
|
1431
|
+
stroke: L.value.style.chart.selector.dot.stroke,
|
|
1432
|
+
"stroke-width": L.value.style.chart.selector.dot.strokeWidth,
|
|
1433
|
+
r: L.value.style.chart.selector.dot.radius,
|
|
1434
|
+
fill: L.value.style.chart.selector.dot.useDatapointColor ? e.color : L.value.style.chart.selector.dot.fill,
|
|
1435
1435
|
style: { pointerEvents: "none" }
|
|
1436
|
-
}, null, 8,
|
|
1436
|
+
}, null, 8, ft)) : m("", !0), P.value && P.value.index === n ? (x(), h("text", {
|
|
1437
1437
|
key: 1,
|
|
1438
|
-
x:
|
|
1439
|
-
p:
|
|
1438
|
+
x: wn(t.x, E(u)(L.value.style.chart.selector.labels.formatter, t.value, E(l)({
|
|
1439
|
+
p: L.value.style.chart.xAxis.labels.prefix,
|
|
1440
1440
|
v: t.value,
|
|
1441
|
-
s:
|
|
1442
|
-
r:
|
|
1443
|
-
})),
|
|
1444
|
-
y: t.y +
|
|
1445
|
-
"text-anchor":
|
|
1446
|
-
p:
|
|
1441
|
+
s: L.value.style.chart.xAxis.labels.suffix,
|
|
1442
|
+
r: L.value.style.chart.selector.labels.rounding
|
|
1443
|
+
})), L.value.style.chart.selector.labels.fontSize) ? t.x - L.value.style.chart.selector.labels.fontSize / 2 : t.x + L.value.style.chart.selector.labels.fontSize / 2,
|
|
1444
|
+
y: t.y + L.value.style.chart.selector.labels.fontSize / 3,
|
|
1445
|
+
"text-anchor": wn(t.x, E(u)(L.value.style.chart.selector.labels.formatter, t.value, E(l)({
|
|
1446
|
+
p: L.value.style.chart.xAxis.labels.prefix,
|
|
1447
1447
|
v: t.value,
|
|
1448
|
-
s:
|
|
1449
|
-
r:
|
|
1450
|
-
})),
|
|
1451
|
-
"font-size":
|
|
1452
|
-
fill:
|
|
1448
|
+
s: L.value.style.chart.xAxis.labels.suffix,
|
|
1449
|
+
r: L.value.style.chart.selector.labels.rounding
|
|
1450
|
+
})), L.value.style.chart.selector.labels.fontSize) ? "end" : "start",
|
|
1451
|
+
"font-size": L.value.style.chart.selector.labels.fontSize,
|
|
1452
|
+
fill: L.value.style.chart.selector.labels.color,
|
|
1453
1453
|
style: { pointerEvents: "none" }
|
|
1454
|
-
}, T(E(u)(
|
|
1455
|
-
p:
|
|
1454
|
+
}, T(E(u)(L.value.style.chart.selector.labels.formatter, t.value, E(l)({
|
|
1455
|
+
p: L.value.style.chart.xAxis.labels.prefix,
|
|
1456
1456
|
v: t.value,
|
|
1457
|
-
s:
|
|
1458
|
-
r:
|
|
1459
|
-
}))), 9,
|
|
1457
|
+
s: L.value.style.chart.xAxis.labels.suffix,
|
|
1458
|
+
r: L.value.style.chart.selector.labels.rounding
|
|
1459
|
+
}))), 9, pt)) : m("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : m("", !0)
|
|
1460
1460
|
]),
|
|
1461
1461
|
w(e.$slots, "svg", { svg: {
|
|
1462
1462
|
...G.value,
|
|
1463
1463
|
drawingArea: K.value,
|
|
1464
|
-
isPrintingImg: E(
|
|
1465
|
-
isPrintingSvg: E(
|
|
1464
|
+
isPrintingImg: E($t) || E(en) || E(Jn),
|
|
1465
|
+
isPrintingSvg: E(Yn)
|
|
1466
1466
|
} }, void 0, !0)
|
|
1467
|
-
], 46,
|
|
1468
|
-
hint:
|
|
1467
|
+
], 46, Qe)), e.$slots.hint ? (x(), h("div", mt, [w(e.$slots, "hint", y(v({
|
|
1468
|
+
hint: L.value.a11y.translations.keyboardNavigation,
|
|
1469
1469
|
isVisible: Wt.value
|
|
1470
1470
|
})), void 0, !0)])) : m("", !0)]),
|
|
1471
|
-
e.$slots.watermark ? (x(), h("div",
|
|
1471
|
+
e.$slots.watermark ? (x(), h("div", ht, [w(e.$slots, "watermark", y(v({ isPrinting: E($t) || E(en) || E(Jn) || E(Yn) })), void 0, !0)])) : m("", !0),
|
|
1472
1472
|
g("div", {
|
|
1473
1473
|
ref_key: "chartLegend",
|
|
1474
|
-
ref:
|
|
1475
|
-
}, [w(e.$slots, "legend", { legend: Z.value }, () => [
|
|
1476
|
-
key: `legend_${
|
|
1474
|
+
ref: At
|
|
1475
|
+
}, [w(e.$slots, "legend", { legend: Z.value }, () => [L.value.style.chart.legend.show ? (x(), p(Pe, {
|
|
1476
|
+
key: `legend_${Ft.value}`,
|
|
1477
1477
|
legendSet: Z.value,
|
|
1478
|
-
config:
|
|
1479
|
-
isCursorPointer:
|
|
1480
|
-
onClickMarker: t[0] ||= ({ legend: e }) =>
|
|
1478
|
+
config: Dn.value,
|
|
1479
|
+
isCursorPointer: R.value,
|
|
1480
|
+
onClickMarker: t[0] ||= ({ legend: e }) => cn(e.id)
|
|
1481
1481
|
}, Ie({
|
|
1482
|
-
item:
|
|
1482
|
+
item: D(({ legend: e }) => [E(qt) ? m("", !0) : (x(), h("div", {
|
|
1483
1483
|
key: 0,
|
|
1484
1484
|
style: b(`opacity:${X.value.includes(e.id) ? .5 : 1}`),
|
|
1485
1485
|
onClick: (t) => e.segregate()
|
|
1486
|
-
}, T(e.name), 13,
|
|
1487
|
-
legendToggle:
|
|
1486
|
+
}, T(e.name), 13, gt))]),
|
|
1487
|
+
legendToggle: D(() => [Z.value.length > 2 && L.value.style.chart.legend.selectAllToggle.show && !E(qt) ? (x(), p(Ae, {
|
|
1488
1488
|
key: 0,
|
|
1489
|
-
backgroundColor:
|
|
1490
|
-
color:
|
|
1491
|
-
fontSize:
|
|
1489
|
+
backgroundColor: L.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1490
|
+
color: L.value.style.chart.legend.selectAllToggle.color,
|
|
1491
|
+
fontSize: L.value.style.chart.legend.fontSize,
|
|
1492
1492
|
checked: X.value.length > 0,
|
|
1493
|
-
isCursorPointer:
|
|
1494
|
-
onToggle:
|
|
1493
|
+
isCursorPointer: R.value,
|
|
1494
|
+
onToggle: sn
|
|
1495
1495
|
}, null, 8, [
|
|
1496
1496
|
"backgroundColor",
|
|
1497
1497
|
"color",
|
|
@@ -1502,7 +1502,7 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1502
1502
|
_: 2
|
|
1503
1503
|
}, [e.$slots.pattern ? {
|
|
1504
1504
|
name: "legend-pattern",
|
|
1505
|
-
fn:
|
|
1505
|
+
fn: D(({ legend: e, index: t }) => [Re(Te, {
|
|
1506
1506
|
shape: e.shape,
|
|
1507
1507
|
radius: 30,
|
|
1508
1508
|
stroke: "none",
|
|
@@ -1521,31 +1521,31 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1521
1521
|
e.$slots.source ? (x(), h("div", {
|
|
1522
1522
|
key: 6,
|
|
1523
1523
|
ref_key: "source",
|
|
1524
|
-
ref:
|
|
1524
|
+
ref: jt,
|
|
1525
1525
|
dir: "auto"
|
|
1526
1526
|
}, [w(e.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
|
|
1527
|
-
|
|
1527
|
+
k.value && L.value.userOptions.buttons.table ? (x(), p(Ue(Un.value.component), ze({ key: 7 }, Un.value.props, {
|
|
1528
1528
|
ref_key: "tableUnit",
|
|
1529
|
-
ref:
|
|
1530
|
-
onClose:
|
|
1529
|
+
ref: Ht,
|
|
1530
|
+
onClose: Wn
|
|
1531
1531
|
}), Ie({
|
|
1532
|
-
content:
|
|
1533
|
-
key: `table_${
|
|
1532
|
+
content: D(() => [(x(), p(E(bt), {
|
|
1533
|
+
key: `table_${Pt.value}`,
|
|
1534
1534
|
colNames: $.value.colNames,
|
|
1535
1535
|
head: $.value.head,
|
|
1536
1536
|
body: $.value.body,
|
|
1537
1537
|
config: $.value.config,
|
|
1538
|
-
title:
|
|
1539
|
-
withCloseButton: !
|
|
1540
|
-
isCursorPointer:
|
|
1541
|
-
onClose:
|
|
1538
|
+
title: L.value.table.useDialog ? "" : Un.value.title,
|
|
1539
|
+
withCloseButton: !L.value.table.useDialog,
|
|
1540
|
+
isCursorPointer: R.value,
|
|
1541
|
+
onClose: Wn
|
|
1542
1542
|
}, {
|
|
1543
|
-
th:
|
|
1544
|
-
td:
|
|
1545
|
-
p:
|
|
1543
|
+
th: D(({ th: e }) => [g("div", null, T(e), 1)]),
|
|
1544
|
+
td: D(({ td: e }) => [Le(T(e.name ? e.name : E(u)(L.value.style.chart.selector.labels.formatter, e, E(l)({
|
|
1545
|
+
p: L.value.style.chart.xAxis.labels.prefix,
|
|
1546
1546
|
v: e,
|
|
1547
|
-
s:
|
|
1548
|
-
r:
|
|
1547
|
+
s: L.value.style.chart.xAxis.labels.suffix,
|
|
1548
|
+
r: L.value.table.td.roundingValue
|
|
1549
1549
|
}))), 1)]),
|
|
1550
1550
|
_: 1
|
|
1551
1551
|
}, 8, [
|
|
@@ -1558,43 +1558,43 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1558
1558
|
"isCursorPointer"
|
|
1559
1559
|
]))]),
|
|
1560
1560
|
_: 2
|
|
1561
|
-
}, [
|
|
1561
|
+
}, [L.value.table.useDialog ? {
|
|
1562
1562
|
name: "title",
|
|
1563
|
-
fn:
|
|
1563
|
+
fn: D(() => [Le(T(Un.value.title), 1)]),
|
|
1564
1564
|
key: "0"
|
|
1565
|
-
} : void 0,
|
|
1565
|
+
} : void 0, L.value.table.useDialog ? {
|
|
1566
1566
|
name: "actions",
|
|
1567
|
-
fn:
|
|
1567
|
+
fn: D(() => [g("button", {
|
|
1568
1568
|
tabindex: "0",
|
|
1569
1569
|
class: "vue-ui-user-options-button",
|
|
1570
|
-
onClick: t[1] ||= (e) =>
|
|
1571
|
-
style: b({ cursor:
|
|
1570
|
+
onClick: t[1] ||= (e) => zn(L.value.userOptions.callbacks.csv),
|
|
1571
|
+
style: b({ cursor: R.value ? "pointer" : "default" })
|
|
1572
1572
|
}, [Re(E(vt), {
|
|
1573
1573
|
name: "fileCsv",
|
|
1574
|
-
stroke:
|
|
1574
|
+
stroke: Un.value.props.color
|
|
1575
1575
|
}, null, 8, ["stroke"])], 4)]),
|
|
1576
1576
|
key: "1"
|
|
1577
1577
|
} : void 0]), 1040)) : m("", !0),
|
|
1578
|
-
|
|
1578
|
+
L.value.style.chart.dialog.show ? (x(), p(E(wt), {
|
|
1579
1579
|
key: 8,
|
|
1580
1580
|
ref_key: "dialog",
|
|
1581
|
-
ref:
|
|
1581
|
+
ref: zt,
|
|
1582
1582
|
onClose: t[2] ||= (e) => F.value = null,
|
|
1583
|
-
backgroundColor:
|
|
1584
|
-
color:
|
|
1585
|
-
headerBg:
|
|
1586
|
-
headerColor:
|
|
1583
|
+
backgroundColor: L.value.style.chart.dialog.backgroundColor,
|
|
1584
|
+
color: L.value.style.chart.dialog.color,
|
|
1585
|
+
headerBg: L.value.style.chart.dialog.header.backgroundColor,
|
|
1586
|
+
headerColor: L.value.style.chart.dialog.header.color,
|
|
1587
1587
|
isFullscreen: Q.value,
|
|
1588
1588
|
fullscreenParent: A.value,
|
|
1589
|
-
isCursorPointer:
|
|
1589
|
+
isCursorPointer: R.value,
|
|
1590
1590
|
withPadding: ""
|
|
1591
1591
|
}, {
|
|
1592
|
-
title:
|
|
1593
|
-
content:
|
|
1592
|
+
title: D(() => [Le(T(F.value.name), 1)]),
|
|
1593
|
+
content: D(() => [F.value ? (x(), p(E(_t), {
|
|
1594
1594
|
key: 0,
|
|
1595
|
-
config:
|
|
1596
|
-
dataset:
|
|
1597
|
-
onCopyAlt:
|
|
1595
|
+
config: kn.value,
|
|
1596
|
+
dataset: An.value,
|
|
1597
|
+
onCopyAlt: Qn
|
|
1598
1598
|
}, null, 8, ["config", "dataset"])) : m("", !0)]),
|
|
1599
1599
|
_: 1
|
|
1600
1600
|
}, 8, [
|
|
@@ -1607,8 +1607,8 @@ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe
|
|
|
1607
1607
|
"isCursorPointer"
|
|
1608
1608
|
])) : m("", !0),
|
|
1609
1609
|
w(e.$slots, "skeleton", {}, () => [E(qt) ? (x(), p(ve, { key: 0 })) : m("", !0)], !0)
|
|
1610
|
-
], 46,
|
|
1610
|
+
], 46, Ye));
|
|
1611
1611
|
}
|
|
1612
|
-
}, [["__scopeId", "data-v-
|
|
1612
|
+
}, [["__scopeId", "data-v-fa19773f"]]);
|
|
1613
1613
|
//#endregion
|
|
1614
|
-
export {
|
|
1614
|
+
export { Je as n, _t as t };
|