vue-data-ui 3.25.2 → 3.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-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/{dom-to-png-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -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,
|
|
2
|
+
import { $ as t, D as n, G as r, Gt as i, Lt as a, N as ee, P as o, Pt as s, Q as te, S as ne, V as re, X as c, Yt as ie, Zt as ae, _t as oe, ht as se, i as ce, nt as le, q as ue, r as de, t as fe, w as pe } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as ge } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as _e } from "./useConfig-CyCVHo81.js";
|
|
6
|
-
import { t as ve } from "./usePrinter-
|
|
6
|
+
import { t as ve } from "./usePrinter-DISD7q5m.js";
|
|
7
7
|
import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as xe } from "./useNestedProp-
|
|
8
|
+
import { t as xe } from "./useNestedProp-Chvyfpl-.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ce } from "./useChartExport-iwOqiIWX.js";
|
|
11
11
|
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Te } from "./img-
|
|
13
|
-
import { n as Ee } from "./Title-
|
|
14
|
-
import { t as De } from "./Shape-
|
|
12
|
+
import { t as Te } from "./img-DhGApYG0.js";
|
|
13
|
+
import { n as Ee } from "./Title-CPHi-evi.js";
|
|
14
|
+
import { t as De } from "./Shape-CIqU-p2F.js";
|
|
15
15
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
|
|
17
17
|
import { t as je } from "./DefGrad-DVBqDjhO.js";
|
|
18
|
-
import { t as Me } from "./BaseLegendToggle-
|
|
18
|
+
import { t as Me } from "./BaseLegendToggle-__JnV08B.js";
|
|
19
19
|
import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
|
|
20
20
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
21
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
|
-
import { t as Ie } from "./Legend-
|
|
22
|
+
import { t as Ie } from "./Legend-X4kF4PvW.js";
|
|
23
23
|
import { t as Le } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
24
|
-
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as
|
|
24
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as T, watchEffect as Je, withCtx as E } from "vue";
|
|
25
25
|
//#region src/components/vue-ui-ridgeline.vue
|
|
26
|
-
var
|
|
26
|
+
var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe = { style: { position: "relative" } }, $e = [
|
|
27
27
|
"xmlns",
|
|
28
28
|
"aria-describedby",
|
|
29
29
|
"viewBox"
|
|
30
|
-
],
|
|
30
|
+
], et = { key: 0 }, tt = ["fill", "d"], nt = [
|
|
31
31
|
"stroke",
|
|
32
32
|
"stroke-width",
|
|
33
33
|
"d"
|
|
34
|
-
],
|
|
34
|
+
], rt = ["fill", "d"], it = [
|
|
35
35
|
"stroke",
|
|
36
36
|
"stroke-dasharray",
|
|
37
37
|
"stroke-width",
|
|
38
38
|
"d"
|
|
39
|
-
],
|
|
39
|
+
], at = [
|
|
40
40
|
"x1",
|
|
41
41
|
"y1",
|
|
42
42
|
"x2",
|
|
@@ -44,14 +44,14 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
44
44
|
"stroke",
|
|
45
45
|
"stroke-width",
|
|
46
46
|
"stroke-dasharray"
|
|
47
|
-
],
|
|
47
|
+
], ot = [
|
|
48
48
|
"cx",
|
|
49
49
|
"cy",
|
|
50
50
|
"stroke",
|
|
51
51
|
"stroke-width",
|
|
52
52
|
"r",
|
|
53
53
|
"fill"
|
|
54
|
-
],
|
|
54
|
+
], st = [
|
|
55
55
|
"x",
|
|
56
56
|
"y",
|
|
57
57
|
"font-size",
|
|
@@ -60,21 +60,21 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
60
60
|
"text-decoration",
|
|
61
61
|
"onMouseenter",
|
|
62
62
|
"onClick"
|
|
63
|
-
],
|
|
63
|
+
], ct = { key: 0 }, lt = [
|
|
64
64
|
"font-size",
|
|
65
65
|
"fill",
|
|
66
66
|
"stroke",
|
|
67
67
|
"font-weight",
|
|
68
68
|
"transform",
|
|
69
69
|
"text-anchor"
|
|
70
|
-
],
|
|
70
|
+
], ut = [
|
|
71
71
|
"font-size",
|
|
72
72
|
"fill",
|
|
73
73
|
"font-weight",
|
|
74
74
|
"transform",
|
|
75
75
|
"text-anchor",
|
|
76
76
|
"innerHTML"
|
|
77
|
-
],
|
|
77
|
+
], dt = [
|
|
78
78
|
"x",
|
|
79
79
|
"y",
|
|
80
80
|
"width",
|
|
@@ -82,7 +82,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
82
82
|
"onMouseenter",
|
|
83
83
|
"onMouseleave",
|
|
84
84
|
"onClick"
|
|
85
|
-
],
|
|
85
|
+
], ft = [
|
|
86
86
|
"x1",
|
|
87
87
|
"x2",
|
|
88
88
|
"y1",
|
|
@@ -90,20 +90,20 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
90
90
|
"stroke",
|
|
91
91
|
"stroke-width",
|
|
92
92
|
"stroke-dasharray"
|
|
93
|
-
],
|
|
93
|
+
], pt = [
|
|
94
94
|
"cx",
|
|
95
95
|
"cy",
|
|
96
96
|
"stroke",
|
|
97
97
|
"stroke-width",
|
|
98
98
|
"r",
|
|
99
99
|
"fill"
|
|
100
|
-
],
|
|
100
|
+
], mt = [
|
|
101
101
|
"x",
|
|
102
102
|
"y",
|
|
103
103
|
"text-anchor",
|
|
104
104
|
"font-size",
|
|
105
105
|
"fill"
|
|
106
|
-
],
|
|
106
|
+
], ht = {
|
|
107
107
|
key: 0,
|
|
108
108
|
style: {
|
|
109
109
|
position: "absolute",
|
|
@@ -113,10 +113,10 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
113
113
|
},
|
|
114
114
|
"data-dom-to-png-ignore": "",
|
|
115
115
|
"aria-hidden": "true"
|
|
116
|
-
},
|
|
116
|
+
}, gt = {
|
|
117
117
|
key: 5,
|
|
118
118
|
class: "vue-data-ui-watermark"
|
|
119
|
-
},
|
|
119
|
+
}, _t = ["onClick"], vt = /*#__PURE__*/ Oe({
|
|
120
120
|
__name: "vue-ui-ridgeline",
|
|
121
121
|
props: {
|
|
122
122
|
config: {
|
|
@@ -138,38 +138,38 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
138
138
|
"selectX",
|
|
139
139
|
"copyAlt"
|
|
140
140
|
],
|
|
141
|
-
setup(e, { expose: Oe, emit:
|
|
142
|
-
let
|
|
141
|
+
setup(e, { expose: Oe, emit: Ye }) {
|
|
142
|
+
let vt = h(() => import("./vue-ui-xy-Ck41KYqF.js").then((e) => e.n)), yt = h(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), bt = h(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), xt = h(() => import("./DataTable-COIO9gi4.js")), St = h(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Ct = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), wt = h(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), Tt = h(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_ridgeline: Et } = _e(), { isThemeValid: Dt, warnInvalidTheme: Ot } = Se(), D = e, kt = u({
|
|
143
143
|
get() {
|
|
144
144
|
return Array.isArray(R.value) && R.value.length > 0;
|
|
145
145
|
},
|
|
146
146
|
set(e) {
|
|
147
147
|
return e;
|
|
148
148
|
}
|
|
149
|
-
}),
|
|
149
|
+
}), At = Ye, O = b(null), jt = b(null), Mt = b(null), k = Ke(null), A = Ke(null), Nt = b(null), Pt = b(null), Ft = b(0), It = b(0), Lt = b(0), j = b(ue()), Rt = b(0), zt = b(0), Bt = b(512), M = b(null), N = b(null), Vt = b(null), Ht = b(0), Ut = b(null), P = b(null), Wt = b(null), F = b(null), Gt = b(!1);
|
|
150
150
|
function Kt() {
|
|
151
151
|
let e = xe({
|
|
152
|
-
userConfig:
|
|
153
|
-
defaultConfig:
|
|
152
|
+
userConfig: D.config,
|
|
153
|
+
defaultConfig: Et
|
|
154
154
|
}), t = e.theme;
|
|
155
155
|
if (!t) return e;
|
|
156
|
-
if (!
|
|
156
|
+
if (!Dt.value(e)) return Ot(e), e;
|
|
157
157
|
let n = xe({
|
|
158
|
-
userConfig: Le[t] ||
|
|
158
|
+
userConfig: Le[t] || D.config,
|
|
159
159
|
defaultConfig: e
|
|
160
160
|
}), r = xe({
|
|
161
|
-
userConfig:
|
|
161
|
+
userConfig: D.config,
|
|
162
162
|
defaultConfig: n
|
|
163
163
|
});
|
|
164
164
|
return {
|
|
165
165
|
...r,
|
|
166
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
166
|
+
customPalette: r.customPalette.length ? r.customPalette : ie[t] || a
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
let I = b(Kt());
|
|
170
170
|
me({
|
|
171
171
|
config: () => I.value,
|
|
172
|
-
dataset: () =>
|
|
172
|
+
dataset: () => D.dataset,
|
|
173
173
|
component: "VueUiRidgeline",
|
|
174
174
|
rules: [
|
|
175
175
|
he.emptyArray,
|
|
@@ -203,7 +203,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
203
203
|
}
|
|
204
204
|
]
|
|
205
205
|
});
|
|
206
|
-
let L = u(() => I.value.userOptions.useCursorPointer), qt = u(() =>
|
|
206
|
+
let L = u(() => I.value.userOptions.useCursorPointer), qt = u(() => ae({
|
|
207
207
|
defaultConfig: {
|
|
208
208
|
userOptions: { show: !1 },
|
|
209
209
|
table: { show: !1 },
|
|
@@ -226,10 +226,10 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
226
226
|
},
|
|
227
227
|
userConfig: I.value.skeletonConfig ?? {}
|
|
228
228
|
})), { loading: Jt, FINAL_DATASET: R, manualLoading: Yt } = ye({
|
|
229
|
-
...qe(
|
|
229
|
+
...qe(D),
|
|
230
230
|
FINAL_CONFIG: I,
|
|
231
231
|
prepareConfig: Kt,
|
|
232
|
-
skeletonDataset:
|
|
232
|
+
skeletonDataset: D.config?.skeletonDataset ?? [
|
|
233
233
|
{
|
|
234
234
|
name: "_",
|
|
235
235
|
datapoints: [{
|
|
@@ -459,7 +459,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
459
459
|
}]
|
|
460
460
|
}
|
|
461
461
|
],
|
|
462
|
-
skeletonConfig:
|
|
462
|
+
skeletonConfig: ae({
|
|
463
463
|
defaultConfig: I.value,
|
|
464
464
|
userConfig: qt.value
|
|
465
465
|
})
|
|
@@ -475,11 +475,11 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
477
|
if (e.forEach((e, t) => {
|
|
478
|
-
|
|
478
|
+
se({
|
|
479
479
|
datasetObject: e,
|
|
480
480
|
requiredAttributes: ["name", "datapoints"]
|
|
481
481
|
}).forEach((e) => {
|
|
482
|
-
|
|
482
|
+
kt.value = !1, le({
|
|
483
483
|
componentName: "VueUiRidgeline",
|
|
484
484
|
type: "datasetSerieAttribute",
|
|
485
485
|
property: e,
|
|
@@ -487,11 +487,11 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
487
487
|
debug: V.value
|
|
488
488
|
});
|
|
489
489
|
}), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
|
|
490
|
-
|
|
490
|
+
se({
|
|
491
491
|
datasetObject: e,
|
|
492
492
|
requiredAttributes: ["name", "values"]
|
|
493
493
|
}).forEach((e) => {
|
|
494
|
-
|
|
494
|
+
kt.value = !1, le({
|
|
495
495
|
componentName: "VueUiRidgeline",
|
|
496
496
|
type: "datasetSerieAttribute",
|
|
497
497
|
property: `datapoint.${e}`,
|
|
@@ -500,51 +500,51 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
500
500
|
});
|
|
501
501
|
});
|
|
502
502
|
});
|
|
503
|
-
}),
|
|
503
|
+
}), zt.value = e.length, z.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), s(D.dataset) || (Yt.value = I.value.loading), I.value.responsive) {
|
|
504
504
|
let t = ke(() => {
|
|
505
505
|
let { width: t, height: n } = Ae({
|
|
506
|
-
chart:
|
|
507
|
-
title: I.value.style.chart.title.text ?
|
|
508
|
-
legend: I.value.style.chart.legend.show ?
|
|
509
|
-
source:
|
|
510
|
-
noTitle:
|
|
506
|
+
chart: O.value,
|
|
507
|
+
title: I.value.style.chart.title.text ? jt.value : null,
|
|
508
|
+
legend: I.value.style.chart.legend.show ? Mt.value : null,
|
|
509
|
+
source: Nt.value,
|
|
510
|
+
noTitle: Pt.value,
|
|
511
511
|
padding: I.value.style.chart.padding
|
|
512
512
|
});
|
|
513
513
|
requestAnimationFrame(() => {
|
|
514
|
-
|
|
514
|
+
Bt.value = t, z.value = e.length ? n / e.length : 0, Ht.value = n - 12;
|
|
515
515
|
});
|
|
516
516
|
});
|
|
517
|
-
|
|
517
|
+
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(t), A.value = O.value?.parentNode || null, A.value && k.value.observe(A.value);
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
We(() => {
|
|
521
|
-
|
|
521
|
+
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
|
|
522
522
|
});
|
|
523
523
|
let { isPrinting: en, isImaging: tn, generatePdf: nn, generateImage: rn } = ve({
|
|
524
|
-
elementId: `vue-ui-ridgeline_${
|
|
524
|
+
elementId: `vue-ui-ridgeline_${j.value}`,
|
|
525
525
|
fileName: I.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
526
526
|
options: I.value.userOptions.print
|
|
527
527
|
}), an = u(() => I.value.userOptions.show && !I.value.style.chart.title.text), on = u(() => pe(I.value.customPalette)), H = b({ showTable: I.value.table.show });
|
|
528
|
-
|
|
529
|
-
Array.isArray(e) && e.length && (Xt.value = !I.value.userOptions.showOnChartHover, await He(), $t(),
|
|
528
|
+
T(() => R.value, async (e) => {
|
|
529
|
+
Array.isArray(e) && e.length && (Xt.value = !I.value.userOptions.showOnChartHover, await He(), $t(), Ft.value += 1, Lt.value += 1, H.value.showTable = I.value.table.show);
|
|
530
530
|
}, {
|
|
531
531
|
deep: !0,
|
|
532
532
|
immediate: !0
|
|
533
|
-
}),
|
|
533
|
+
}), T(() => D.dataset, (e) => {
|
|
534
534
|
Array.isArray(e) && e.length > 0 && (Yt.value = !1);
|
|
535
|
-
}, { deep: !0 }),
|
|
535
|
+
}, { deep: !0 }), T(() => Jt.value, async (e) => {
|
|
536
536
|
e || (await He(), $t());
|
|
537
|
-
}, { immediate: !0 }),
|
|
538
|
-
I.value = Kt(R.value || null), Xt.value = !I.value.userOptions.showOnChartHover, z.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show,
|
|
537
|
+
}, { immediate: !0 }), T(() => D.config, () => {
|
|
538
|
+
I.value = Kt(R.value || null), Xt.value = !I.value.userOptions.showOnChartHover, z.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show, Ft.value += 1, Lt.value += 1;
|
|
539
539
|
}, { deep: !0 });
|
|
540
540
|
let sn = u(() => I.value.style.chart.areas.height / I.value.style.chart.areas.rowHeight);
|
|
541
541
|
function cn() {
|
|
542
542
|
X.value.length ? X.value = [] : Z.value.forEach((e) => {
|
|
543
543
|
X.value.push(e.id);
|
|
544
|
-
}),
|
|
544
|
+
}), At("selectLegend", Y.value);
|
|
545
545
|
}
|
|
546
546
|
function ln(e) {
|
|
547
|
-
X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e),
|
|
547
|
+
X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e), At("selectLegend", Y.value);
|
|
548
548
|
}
|
|
549
549
|
function un(e) {
|
|
550
550
|
return Z.value.length ? Z.value.find((t) => t.name === e) || (V.value && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (V.value && console.warn("VueUiRidgeline - There are no series to show."), null);
|
|
@@ -557,12 +557,12 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
557
557
|
let t = un(e);
|
|
558
558
|
t !== null && (X.value.includes(t.id) || ln(t.id));
|
|
559
559
|
}
|
|
560
|
-
let U = u(() =>
|
|
560
|
+
let U = u(() => kt.value ? (R.value || []).map((e) => ({
|
|
561
561
|
...e,
|
|
562
562
|
labelLen: Tn(e.name, I.value.style.chart.yAxis.labels.fontSize),
|
|
563
563
|
uid: ue(),
|
|
564
564
|
datapoints: e.datapoints.map((e, t) => {
|
|
565
|
-
let n = e.color ?
|
|
565
|
+
let n = e.color ? ne(e.color) : on.value[t] || a[t] || a[t % a.length], r = i(e.name);
|
|
566
566
|
return {
|
|
567
567
|
...e,
|
|
568
568
|
color: n,
|
|
@@ -572,15 +572,15 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
572
572
|
})) : []), pn = u(() => I.value.style.chart.padding.top + z.value * (R.value || []).length + z.value * sn.value + I.value.style.chart.padding.bottom), W = u(() => {
|
|
573
573
|
let e = I.value.style.chart.padding;
|
|
574
574
|
return {
|
|
575
|
-
width:
|
|
575
|
+
width: Bt.value,
|
|
576
576
|
height: pn.value,
|
|
577
577
|
padding: e
|
|
578
578
|
};
|
|
579
579
|
}), mn = u(() => W.value.width), hn = u(() => W.value.height), gn = b(0), _n = ke((e) => {
|
|
580
580
|
gn.value = e;
|
|
581
581
|
}, 100);
|
|
582
|
-
|
|
583
|
-
let t =
|
|
582
|
+
Je((e) => {
|
|
583
|
+
let t = Ut.value;
|
|
584
584
|
if (!t) return;
|
|
585
585
|
let n = new ResizeObserver((e) => {
|
|
586
586
|
_n(e[0].contentRect.height);
|
|
@@ -597,7 +597,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
597
597
|
bottom: W.value.height - I.value.style.chart.padding.bottom,
|
|
598
598
|
width: W.value.width - (W.value.padding.left + W.value.padding.right)
|
|
599
599
|
})), K = u(() => Math.max(...U.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), q = b([]), vn = 0;
|
|
600
|
-
|
|
600
|
+
Je(() => {
|
|
601
601
|
let e = ++vn;
|
|
602
602
|
(async () => {
|
|
603
603
|
let t = await ge({
|
|
@@ -630,7 +630,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
630
630
|
})));
|
|
631
631
|
}
|
|
632
632
|
function bn(e) {
|
|
633
|
-
|
|
633
|
+
M.value = e;
|
|
634
634
|
let t = yn(e);
|
|
635
635
|
I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
636
636
|
datapoint: t,
|
|
@@ -638,7 +638,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
638
638
|
});
|
|
639
639
|
}
|
|
640
640
|
function xn(e) {
|
|
641
|
-
|
|
641
|
+
M.value = null;
|
|
642
642
|
let t = yn(e);
|
|
643
643
|
I.value.events.datapointLeave && I.value.events.datapointLeave({
|
|
644
644
|
datapoint: t,
|
|
@@ -650,7 +650,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
650
650
|
I.value.events.datapointClick && I.value.events.datapointClick({
|
|
651
651
|
datapoint: t,
|
|
652
652
|
seriesIndex: e.index
|
|
653
|
-
}),
|
|
653
|
+
}), At("selectX", t);
|
|
654
654
|
}
|
|
655
655
|
function Cn(e, t) {
|
|
656
656
|
return e.length * t / 2 + t;
|
|
@@ -664,21 +664,21 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
664
664
|
}
|
|
665
665
|
let Y = u(() => {
|
|
666
666
|
z.value;
|
|
667
|
-
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, i = (G.value.width - r) / K.value, a = Math.abs(Math.min(n, 0)),
|
|
668
|
-
function
|
|
669
|
-
return isNaN(e /
|
|
667
|
+
let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, i = (G.value.width - r) / K.value, a = Math.abs(Math.min(n, 0)), s = t + a;
|
|
668
|
+
function te(e) {
|
|
669
|
+
return isNaN(e / s) ? 0 : e / s;
|
|
670
670
|
}
|
|
671
671
|
return U.value.map((e, t) => {
|
|
672
|
-
let n = G.value.top + z.value * t,
|
|
672
|
+
let n = G.value.top + z.value * t, s = G.value.top + n + z.value * sn.value * (1 - te(a));
|
|
673
673
|
return {
|
|
674
674
|
...e,
|
|
675
675
|
label: {
|
|
676
676
|
x: r - I.value.style.chart.yAxis.labels.fontSize,
|
|
677
|
-
y:
|
|
677
|
+
y: s
|
|
678
678
|
},
|
|
679
679
|
datapoints: e.datapoints.map((e) => {
|
|
680
680
|
let t = e.values.map((t, ee) => {
|
|
681
|
-
let
|
|
681
|
+
let o = isNaN(t) || [
|
|
682
682
|
void 0,
|
|
683
683
|
null,
|
|
684
684
|
"NaN",
|
|
@@ -688,22 +688,22 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
688
688
|
].includes(t) ? 0 : t || 0;
|
|
689
689
|
return {
|
|
690
690
|
x: r + i * ee,
|
|
691
|
-
y: G.value.top + n + z.value * sn.value * (1 -
|
|
691
|
+
y: G.value.top + n + z.value * sn.value * (1 - te(o + a)),
|
|
692
692
|
value: t,
|
|
693
693
|
isMaxPoint: t === Math.max(...e.values),
|
|
694
|
-
zero:
|
|
694
|
+
zero: s
|
|
695
695
|
};
|
|
696
|
-
}),
|
|
696
|
+
}), ne = `${ee(t, s, !1, !1)}`, c = `M ${r},${s} ${re(t)} ${t.at(-1).x},${s}`, ie = `M ${r},${s} ${t.at(-1).x},${s}`, ae = `M ${o(t)}`, se = `M ${re(t)}`, ce = oe(I.value.style.chart.areas.smooth ? ae : se);
|
|
697
697
|
return {
|
|
698
698
|
...e,
|
|
699
699
|
uid: ue(),
|
|
700
700
|
plots: t,
|
|
701
|
-
smoothPath:
|
|
702
|
-
straightPath:
|
|
703
|
-
zeroPath:
|
|
701
|
+
smoothPath: ne,
|
|
702
|
+
straightPath: c,
|
|
703
|
+
zeroPath: ie,
|
|
704
704
|
pathLength: ce,
|
|
705
|
-
smoothPathRidge:
|
|
706
|
-
straightPathRidge:
|
|
705
|
+
smoothPathRidge: ae,
|
|
706
|
+
straightPathRidge: se
|
|
707
707
|
};
|
|
708
708
|
}).filter((e) => !X.value.includes(e.id))
|
|
709
709
|
};
|
|
@@ -713,7 +713,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
713
713
|
let t = /* @__PURE__ */ new Map();
|
|
714
714
|
return e.forEach((e) => {
|
|
715
715
|
e.datapoints.forEach((e, n) => {
|
|
716
|
-
let r =
|
|
716
|
+
let r = i(e.name);
|
|
717
717
|
t.has(r) || t.set(r, {
|
|
718
718
|
id: r,
|
|
719
719
|
name: e.name,
|
|
@@ -735,18 +735,18 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
735
735
|
fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
|
|
736
736
|
})), Q = b(!1);
|
|
737
737
|
function On(e) {
|
|
738
|
-
Q.value = e,
|
|
738
|
+
Q.value = e, Rt.value += 1;
|
|
739
739
|
}
|
|
740
740
|
let kn = b({}), An = b([]);
|
|
741
741
|
function jn(e) {
|
|
742
|
-
|
|
742
|
+
At("selectDatapoint", e), I.value.style.chart.dialog.show && (An.value = e.datapoints.map((e) => ({
|
|
743
743
|
name: e.name,
|
|
744
744
|
color: e.color,
|
|
745
745
|
type: "line",
|
|
746
746
|
useArea: !0,
|
|
747
747
|
smooth: I.value.style.chart.areas.smooth,
|
|
748
748
|
series: e.values
|
|
749
|
-
})),
|
|
749
|
+
})), N.value = e, kn.value = te({
|
|
750
750
|
...I.value.style.chart.dialog.xyChart,
|
|
751
751
|
responsive: !0,
|
|
752
752
|
chart: {
|
|
@@ -783,7 +783,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
783
783
|
useCursorPointer: I.value.userOptions.useCursorPointer
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
|
-
}),
|
|
786
|
+
}), Vt.value && Vt.value.open());
|
|
787
787
|
}
|
|
788
788
|
let Mn = b(null);
|
|
789
789
|
function Nn(e) {
|
|
@@ -839,9 +839,9 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
839
839
|
return Y.value;
|
|
840
840
|
}
|
|
841
841
|
async function Vn({ scale: e = 2 } = {}) {
|
|
842
|
-
if (!
|
|
843
|
-
let { width: t, height: n } =
|
|
844
|
-
domElement:
|
|
842
|
+
if (!O.value) return;
|
|
843
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Te({
|
|
844
|
+
domElement: O.value,
|
|
845
845
|
base64: !0,
|
|
846
846
|
img: !0,
|
|
847
847
|
scale: e
|
|
@@ -860,7 +860,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
860
860
|
max: K.value
|
|
861
861
|
}));
|
|
862
862
|
we({
|
|
863
|
-
timeLabelsEls:
|
|
863
|
+
timeLabelsEls: Ut,
|
|
864
864
|
timeLabels: q,
|
|
865
865
|
slicer: Hn,
|
|
866
866
|
configRef: I,
|
|
@@ -888,7 +888,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
888
888
|
let Un = u(() => {
|
|
889
889
|
let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
|
|
890
890
|
return {
|
|
891
|
-
component: e ?
|
|
891
|
+
component: e ? Tt : bt,
|
|
892
892
|
title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
|
|
893
893
|
props: e ? {
|
|
894
894
|
backgroundColor: I.value.table.th.backgroundColor,
|
|
@@ -896,7 +896,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
896
896
|
headerColor: I.value.table.th.color,
|
|
897
897
|
headerBg: I.value.table.th.backgroundColor,
|
|
898
898
|
isFullscreen: Q.value,
|
|
899
|
-
fullscreenParent:
|
|
899
|
+
fullscreenParent: O.value,
|
|
900
900
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
901
901
|
isCursorPointer: L.value
|
|
902
902
|
} : {
|
|
@@ -916,8 +916,8 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
916
916
|
}
|
|
917
917
|
};
|
|
918
918
|
});
|
|
919
|
-
|
|
920
|
-
I.value.table.show || (e && I.value.table.useDialog &&
|
|
919
|
+
T(() => H.value.showTable, (e) => {
|
|
920
|
+
I.value.table.show || (e && I.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
921
921
|
});
|
|
922
922
|
function Wn() {
|
|
923
923
|
H.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
|
|
@@ -938,7 +938,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
938
938
|
$n("xy-zoom", e.dataset, e.config);
|
|
939
939
|
}
|
|
940
940
|
async function $n(e = "main-chart", t = null, n = null) {
|
|
941
|
-
if (
|
|
941
|
+
if (At("copyAlt", {
|
|
942
942
|
source: e,
|
|
943
943
|
config: e === "main-chart" ? I.value : kn.value,
|
|
944
944
|
dataset: e === "main-chart" ? Y.value : An.value
|
|
@@ -972,7 +972,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
972
972
|
e && jn(e);
|
|
973
973
|
return;
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
M.value && Sn(M.value);
|
|
976
976
|
return;
|
|
977
977
|
}
|
|
978
978
|
if (t || n) {
|
|
@@ -981,10 +981,10 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
981
981
|
return;
|
|
982
982
|
}
|
|
983
983
|
if (!J.value.length) return;
|
|
984
|
-
let o =
|
|
984
|
+
let o = M.value?.index ?? null;
|
|
985
985
|
o = o === null ? i ? 0 : J.value.length - 1 : ir(o + (i ? 1 : -1));
|
|
986
|
-
let
|
|
987
|
-
|
|
986
|
+
let s = J.value[o];
|
|
987
|
+
s && bn(s);
|
|
988
988
|
}
|
|
989
989
|
function rr(e) {
|
|
990
990
|
let t = Y.value.length;
|
|
@@ -995,7 +995,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
995
995
|
return t ? (e % t + t) % t : null;
|
|
996
996
|
}
|
|
997
997
|
function ar() {
|
|
998
|
-
F.value = null, Mn.value = null,
|
|
998
|
+
F.value = null, Mn.value = null, M.value ? xn(M.value) : M.value = null;
|
|
999
999
|
}
|
|
1000
1000
|
let or = u(() => ({
|
|
1001
1001
|
head: $.value.head,
|
|
@@ -1018,9 +1018,9 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1018
1018
|
copyAlt: $n
|
|
1019
1019
|
}), (e, t) => (y(), p("div", {
|
|
1020
1020
|
ref_key: "ridgelineChart",
|
|
1021
|
-
ref:
|
|
1021
|
+
ref: O,
|
|
1022
1022
|
class: Ue(`vue-data-ui-component vue-ui-ridgeline ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1023
|
-
id: `vue-ui-ridgeline_${
|
|
1023
|
+
id: `vue-ui-ridgeline_${j.value}`,
|
|
1024
1024
|
style: v({
|
|
1025
1025
|
fontFamily: I.value.style.fontFamily,
|
|
1026
1026
|
width: "100%",
|
|
@@ -1032,12 +1032,12 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1032
1032
|
onMouseleave: t[4] ||= () => w(Zt)(!1)
|
|
1033
1033
|
}, [
|
|
1034
1034
|
m("div", {
|
|
1035
|
-
id: `chart-instructions-${
|
|
1035
|
+
id: `chart-instructions-${j.value}`,
|
|
1036
1036
|
class: "sr-only"
|
|
1037
|
-
}, [m("p", null, C(I.value.a11y.translations.keyboardNavigation), 1)], 8,
|
|
1037
|
+
}, [m("p", null, C(I.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
|
|
1038
1038
|
or.value.body.length ? (y(), d(Ne, {
|
|
1039
1039
|
key: 0,
|
|
1040
|
-
uid:
|
|
1040
|
+
uid: j.value,
|
|
1041
1041
|
head: or.value.head,
|
|
1042
1042
|
body: or.value.body,
|
|
1043
1043
|
caption: or.value.caption,
|
|
@@ -1049,7 +1049,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1049
1049
|
"caption",
|
|
1050
1050
|
"notice"
|
|
1051
1051
|
])) : f("", !0),
|
|
1052
|
-
I.value.userOptions.buttons.annotator && w(B) ? (y(), d(w(
|
|
1052
|
+
I.value.userOptions.buttons.annotator && w(B) ? (y(), d(w(St), {
|
|
1053
1053
|
key: 1,
|
|
1054
1054
|
color: I.value.style.chart.color,
|
|
1055
1055
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
@@ -1058,12 +1058,12 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1058
1058
|
isCursorPointer: L.value,
|
|
1059
1059
|
onClose: In
|
|
1060
1060
|
}, {
|
|
1061
|
-
"annotator-action-close":
|
|
1062
|
-
"annotator-action-color":
|
|
1063
|
-
"annotator-action-draw":
|
|
1064
|
-
"annotator-action-undo":
|
|
1065
|
-
"annotator-action-redo":
|
|
1066
|
-
"annotator-action-delete":
|
|
1061
|
+
"annotator-action-close": E(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1062
|
+
"annotator-action-color": E(({ color: t }) => [S(e.$slots, "annotator-action-color", _(g({ color: t })), void 0, !0)]),
|
|
1063
|
+
"annotator-action-draw": E(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(g({ mode: t })), void 0, !0)]),
|
|
1064
|
+
"annotator-action-undo": E(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(g({ disabled: t })), void 0, !0)]),
|
|
1065
|
+
"annotator-action-redo": E(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(g({ disabled: t })), void 0, !0)]),
|
|
1066
|
+
"annotator-action-delete": E(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(g({ disabled: t })), void 0, !0)]),
|
|
1067
1067
|
_: 3
|
|
1068
1068
|
}, 8, [
|
|
1069
1069
|
"color",
|
|
@@ -1076,17 +1076,17 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1076
1076
|
an.value ? (y(), p("div", {
|
|
1077
1077
|
key: 2,
|
|
1078
1078
|
ref_key: "noTitle",
|
|
1079
|
-
ref:
|
|
1079
|
+
ref: Pt,
|
|
1080
1080
|
class: "vue-data-ui-no-title-space",
|
|
1081
1081
|
style: "height:36px; width: 100%;background:transparent"
|
|
1082
1082
|
}, null, 512)) : f("", !0),
|
|
1083
1083
|
I.value.style.chart.title.text ? (y(), p("div", {
|
|
1084
1084
|
key: 3,
|
|
1085
1085
|
ref_key: "chartTitle",
|
|
1086
|
-
ref:
|
|
1086
|
+
ref: jt,
|
|
1087
1087
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
1088
1088
|
}, [(y(), d(Ee, {
|
|
1089
|
-
key: `title_${
|
|
1089
|
+
key: `title_${Ft.value}`,
|
|
1090
1090
|
config: {
|
|
1091
1091
|
title: {
|
|
1092
1092
|
cy: "ridgeline-div-title",
|
|
@@ -1098,15 +1098,15 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1098
1098
|
}
|
|
1099
1099
|
}
|
|
1100
1100
|
}, null, 8, ["config"]))], 512)) : f("", !0),
|
|
1101
|
-
I.value.userOptions.show &&
|
|
1101
|
+
I.value.userOptions.show && kt.value && (w(Qt) || w(Xt)) ? (y(), d(w(Ct), {
|
|
1102
1102
|
ref_key: "userOptionsRef",
|
|
1103
1103
|
ref: Wt,
|
|
1104
|
-
key: `user_option_${
|
|
1104
|
+
key: `user_option_${Rt.value}`,
|
|
1105
1105
|
backgroundColor: I.value.style.chart.backgroundColor,
|
|
1106
1106
|
color: I.value.style.chart.color,
|
|
1107
1107
|
isPrinting: w(en),
|
|
1108
1108
|
isImaging: w(tn),
|
|
1109
|
-
uid:
|
|
1109
|
+
uid: j.value,
|
|
1110
1110
|
hasTooltip: !1,
|
|
1111
1111
|
callbacks: I.value.userOptions.callbacks,
|
|
1112
1112
|
hasPdf: I.value.userOptions.buttons.pdf,
|
|
@@ -1119,7 +1119,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1119
1119
|
hasAltCopy: I.value.userOptions.buttons.altCopy,
|
|
1120
1120
|
isFullscreen: Q.value,
|
|
1121
1121
|
printScale: I.value.userOptions.print.scale,
|
|
1122
|
-
chartElement:
|
|
1122
|
+
chartElement: O.value,
|
|
1123
1123
|
position: I.value.userOptions.position,
|
|
1124
1124
|
isTooltip: !1,
|
|
1125
1125
|
titles: { ...I.value.userOptions.buttonTitles },
|
|
@@ -1139,7 +1139,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1139
1139
|
}, Re({ _: 2 }, [
|
|
1140
1140
|
e.$slots.menuIcon ? {
|
|
1141
1141
|
name: "menuIcon",
|
|
1142
|
-
fn:
|
|
1142
|
+
fn: E(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(g({
|
|
1143
1143
|
isOpen: t,
|
|
1144
1144
|
color: n
|
|
1145
1145
|
})), void 0, !0)]),
|
|
@@ -1147,37 +1147,37 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1147
1147
|
} : void 0,
|
|
1148
1148
|
e.$slots.optionTooltip ? {
|
|
1149
1149
|
name: "optionTooltip",
|
|
1150
|
-
fn:
|
|
1150
|
+
fn: E(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
1151
1151
|
key: "1"
|
|
1152
1152
|
} : void 0,
|
|
1153
1153
|
e.$slots.optionPdf ? {
|
|
1154
1154
|
name: "optionPdf",
|
|
1155
|
-
fn:
|
|
1155
|
+
fn: E(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
1156
1156
|
key: "2"
|
|
1157
1157
|
} : void 0,
|
|
1158
1158
|
e.$slots.optionCsv ? {
|
|
1159
1159
|
name: "optionCsv",
|
|
1160
|
-
fn:
|
|
1160
|
+
fn: E(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
1161
1161
|
key: "3"
|
|
1162
1162
|
} : void 0,
|
|
1163
1163
|
e.$slots.optionImg ? {
|
|
1164
1164
|
name: "optionImg",
|
|
1165
|
-
fn:
|
|
1165
|
+
fn: E(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
1166
1166
|
key: "4"
|
|
1167
1167
|
} : void 0,
|
|
1168
1168
|
e.$slots.optionSvg ? {
|
|
1169
1169
|
name: "optionSvg",
|
|
1170
|
-
fn:
|
|
1170
|
+
fn: E(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
1171
1171
|
key: "5"
|
|
1172
1172
|
} : void 0,
|
|
1173
1173
|
e.$slots.optionTable ? {
|
|
1174
1174
|
name: "optionTable",
|
|
1175
|
-
fn:
|
|
1175
|
+
fn: E(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
1176
1176
|
key: "6"
|
|
1177
1177
|
} : void 0,
|
|
1178
1178
|
e.$slots.optionFullscreen ? {
|
|
1179
1179
|
name: "optionFullscreen",
|
|
1180
|
-
fn:
|
|
1180
|
+
fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(g({
|
|
1181
1181
|
toggleFullscreen: t,
|
|
1182
1182
|
isFullscreen: n
|
|
1183
1183
|
})), void 0, !0)]),
|
|
@@ -1185,7 +1185,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1185
1185
|
} : void 0,
|
|
1186
1186
|
e.$slots.optionAnnotator ? {
|
|
1187
1187
|
name: "optionAnnotator",
|
|
1188
|
-
fn:
|
|
1188
|
+
fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(g({
|
|
1189
1189
|
toggleAnnotator: t,
|
|
1190
1190
|
isAnnotator: n
|
|
1191
1191
|
})), void 0, !0)]),
|
|
@@ -1193,41 +1193,41 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1193
1193
|
} : void 0,
|
|
1194
1194
|
e.$slots.optionAltCopy ? {
|
|
1195
1195
|
name: "optionAltCopy",
|
|
1196
|
-
fn:
|
|
1196
|
+
fn: E(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(g({ altCopy: t })), void 0, !0)]),
|
|
1197
1197
|
key: "9"
|
|
1198
1198
|
} : void 0,
|
|
1199
1199
|
e.$slots["custom-menu-before"] ? {
|
|
1200
1200
|
name: "custom-menu-before",
|
|
1201
|
-
fn:
|
|
1201
|
+
fn: E(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
1202
1202
|
key: "10"
|
|
1203
1203
|
} : void 0,
|
|
1204
1204
|
e.$slots["custom-menu-after"] ? {
|
|
1205
1205
|
name: "custom-menu-after",
|
|
1206
|
-
fn:
|
|
1206
|
+
fn: E(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
1207
1207
|
key: "11"
|
|
1208
1208
|
} : void 0
|
|
1209
1209
|
]), 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("."))) : f("", !0),
|
|
1210
|
-
m("div",
|
|
1210
|
+
m("div", Qe, [(y(), p("svg", {
|
|
1211
1211
|
ref_key: "svgRef",
|
|
1212
1212
|
ref: B,
|
|
1213
1213
|
xmlns: w(fe),
|
|
1214
|
-
"aria-describedby": `chart-instructions-${
|
|
1214
|
+
"aria-describedby": `chart-instructions-${j.value}`,
|
|
1215
1215
|
class: Ue({
|
|
1216
1216
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
1217
1217
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
1218
1218
|
}),
|
|
1219
1219
|
viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${G.value.fullHeight <= 0 ? 10 : G.value.fullHeight}`,
|
|
1220
|
-
style: v(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${
|
|
1220
|
+
style: v(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${Ht.value}px; width: 100%;` : ""}`),
|
|
1221
1221
|
tabindex: "0",
|
|
1222
1222
|
onFocus: er,
|
|
1223
1223
|
onBlur: tr,
|
|
1224
1224
|
onKeydown: nr
|
|
1225
1225
|
}, [
|
|
1226
|
-
Be(w(
|
|
1226
|
+
Be(w(wt)),
|
|
1227
1227
|
m("defs", null, [(y(!0), p(l, null, x(Z.value, (e, t) => (y(), d(je, {
|
|
1228
1228
|
t: "linear",
|
|
1229
|
-
id: `gradient-${e.id}-${
|
|
1230
|
-
key: `gradient-${e.id}-${
|
|
1229
|
+
id: `gradient-${e.id}-${j.value}`,
|
|
1230
|
+
key: `gradient-${e.id}-${j.value}`,
|
|
1231
1231
|
x1: "50%",
|
|
1232
1232
|
y1: "0%",
|
|
1233
1233
|
x2: "50%",
|
|
@@ -1257,7 +1257,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1257
1257
|
}, null, 8, ["id", "stops"]))), 128)), (y(!0), p(l, null, x(Y.value, (e, t) => (y(), p(l, null, [(y(!0), p(l, null, x(e.datapoints, (e, t) => (y(), d(je, {
|
|
1258
1258
|
t: "linear",
|
|
1259
1259
|
key: `grad${e.id}`,
|
|
1260
|
-
id: `gradient-single-${
|
|
1260
|
+
id: `gradient-single-${j.value}-${e.uid}`,
|
|
1261
1261
|
x1: "50%",
|
|
1262
1262
|
y1: "0%",
|
|
1263
1263
|
x2: "50%",
|
|
@@ -1286,18 +1286,18 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1286
1286
|
]
|
|
1287
1287
|
}, null, 8, ["id", "stops"]))), 128))], 64))), 256))]),
|
|
1288
1288
|
(y(!0), p(l, null, x(Y.value, (t, n) => (y(), p("g", { key: `ds-${n}` }, [(y(!0), p(l, null, x(t.datapoints, (t, r) => (y(), p("g", { key: t.id }, [
|
|
1289
|
-
e.$slots.pattern ? (y(), p("g",
|
|
1289
|
+
e.$slots.pattern ? (y(), p("g", et, [m("defs", null, [S(e.$slots, "pattern", Ve({ ref_for: !0 }, {
|
|
1290
1290
|
datapointIndex: n,
|
|
1291
1291
|
seriesIndex: r,
|
|
1292
|
-
patternId: `pattern_${
|
|
1292
|
+
patternId: `pattern_${j.value}_${t.uid}`
|
|
1293
1293
|
}), void 0, !0)])])) : f("", !0),
|
|
1294
1294
|
m("path", {
|
|
1295
|
-
fill: e.$slots.pattern ? `url(#pattern_${
|
|
1295
|
+
fill: e.$slots.pattern ? `url(#pattern_${j.value}_${t.uid})` : I.value.style.chart.backgroundColor,
|
|
1296
1296
|
stroke: "none",
|
|
1297
1297
|
"stroke-linecap": "round",
|
|
1298
1298
|
d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1299
1299
|
style: v({ opacity: I.value.style.chart.areas.opacity })
|
|
1300
|
-
}, null, 12,
|
|
1300
|
+
}, null, 12, tt),
|
|
1301
1301
|
m("path", {
|
|
1302
1302
|
fill: "none",
|
|
1303
1303
|
stroke: I.value.style.chart.areas.stroke.useSerieColor ? t.color : I.value.style.chart.areas.stroke.color,
|
|
@@ -1309,9 +1309,9 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1309
1309
|
strokeDasharray: t.pathLength,
|
|
1310
1310
|
strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
|
|
1311
1311
|
})
|
|
1312
|
-
}, null, 12,
|
|
1312
|
+
}, null, 12, nt),
|
|
1313
1313
|
m("path", {
|
|
1314
|
-
fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${
|
|
1314
|
+
fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${j.value})` : `url(#gradient-single-${j.value}-${t.uid})` : t.color,
|
|
1315
1315
|
stroke: "none",
|
|
1316
1316
|
d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
|
|
1317
1317
|
"stroke-linecap": "round",
|
|
@@ -1320,7 +1320,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1320
1320
|
strokeDasharray: t.pathLength,
|
|
1321
1321
|
strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
|
|
1322
1322
|
})
|
|
1323
|
-
}, null, 12,
|
|
1323
|
+
}, null, 12, rt),
|
|
1324
1324
|
I.value.style.chart.zeroLine.show ? (y(), p("path", {
|
|
1325
1325
|
key: 1,
|
|
1326
1326
|
stroke: I.value.style.chart.zeroLine.useSerieColor ? t.color : I.value.style.chart.zeroLine.stroke,
|
|
@@ -1328,7 +1328,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1328
1328
|
"stroke-width": I.value.style.chart.zeroLine.strokeWidth,
|
|
1329
1329
|
d: t.zeroPath,
|
|
1330
1330
|
"stroke-linecap": "round"
|
|
1331
|
-
}, null, 8,
|
|
1331
|
+
}, null, 8, it)) : f("", !0),
|
|
1332
1332
|
I.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (y(!0), p(l, { key: 2 }, x(t.plots, (e) => (y(), p(l, null, [e.isMaxPoint ? (y(), p("line", {
|
|
1333
1333
|
key: 0,
|
|
1334
1334
|
x1: e.x,
|
|
@@ -1339,7 +1339,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1339
1339
|
"stroke-width": I.value.style.chart.areas.maxPoint.strokeWidth,
|
|
1340
1340
|
"stroke-linecap": "round",
|
|
1341
1341
|
"stroke-dasharray": I.value.style.chart.areas.maxPoint.strokeDasharray
|
|
1342
|
-
}, null, 8,
|
|
1342
|
+
}, null, 8, at)) : f("", !0)], 64))), 256)) : f("", !0),
|
|
1343
1343
|
t.plots.length === 1 ? (y(), p("circle", {
|
|
1344
1344
|
key: 3,
|
|
1345
1345
|
cx: t.plots[0].x,
|
|
@@ -1349,7 +1349,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1349
1349
|
r: I.value.style.chart.selector.dot.radius,
|
|
1350
1350
|
fill: I.value.style.chart.selector.dot.useDatapointColor ? t.color : I.value.style.chart.selector.dot.fill,
|
|
1351
1351
|
style: { pointerEvents: "none" }
|
|
1352
|
-
}, null, 8,
|
|
1352
|
+
}, null, 8, ot)) : f("", !0)
|
|
1353
1353
|
]))), 128)), m("text", {
|
|
1354
1354
|
x: t.label.x,
|
|
1355
1355
|
y: t.label.y,
|
|
@@ -1358,17 +1358,17 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1358
1358
|
"font-weight": I.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
1359
1359
|
fill: I.value.style.chart.yAxis.labels.color,
|
|
1360
1360
|
style: v({ cursor: I.value.style.chart.dialog.show && L.value ? "pointer" : "default" }),
|
|
1361
|
-
"text-decoration": I.value.style.chart.dialog.show && (Mn.value === n ||
|
|
1361
|
+
"text-decoration": I.value.style.chart.dialog.show && (Mn.value === n || N.value && t.uid === N.value.uid || F.value === n) ? "underline" : "",
|
|
1362
1362
|
onMouseenter: (e) => Nn(n),
|
|
1363
1363
|
onMouseleave: Pn,
|
|
1364
1364
|
onClick: (e) => jn(t)
|
|
1365
|
-
}, C(t.name), 45,
|
|
1365
|
+
}, C(t.name), 45, st)]))), 128)),
|
|
1366
1366
|
I.value.style.chart.xAxis.labels.values.length ? (y(), p("g", {
|
|
1367
1367
|
key: 0,
|
|
1368
1368
|
ref_key: "timeLabelsEls",
|
|
1369
|
-
ref:
|
|
1369
|
+
ref: Ut
|
|
1370
1370
|
}, [(y(!0), p(l, null, x(J.value, (t, n) => S(e.$slots, "time-label", Ve({ ref_for: !0 }, {
|
|
1371
|
-
show: t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t &&
|
|
1371
|
+
show: t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && M.value && M.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.max(1, Math.floor(Number(I.value.style.chart.xAxis.labels.modulo) || 1)) === 0,
|
|
1372
1372
|
fontSize: I.value.style.chart.xAxis.labels.fontSize,
|
|
1373
1373
|
content: t.label,
|
|
1374
1374
|
textAnchor: I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -1376,7 +1376,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1376
1376
|
transform: `translate(${t.selectorX}, ${G.value.top + t.height + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1377
1377
|
x: t.selectorX,
|
|
1378
1378
|
y: G.value.bottom + I.value.style.chart.xAxis.labels.offsetY
|
|
1379
|
-
}), () => [t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t &&
|
|
1379
|
+
}), () => [t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && M.value && M.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.max(1, Math.floor(Number(I.value.style.chart.xAxis.labels.modulo) || 1)) === 0 ? (y(), p("g", ct, [String(t.label).includes("\n") ? (y(), p("text", {
|
|
1380
1380
|
key: 1,
|
|
1381
1381
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1382
1382
|
"font-size": I.value.style.chart.xAxis.labels.fontSize,
|
|
@@ -1384,7 +1384,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1384
1384
|
"font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1385
1385
|
transform: `translate(${t.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1386
1386
|
"text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1387
|
-
style: v({ opacity:
|
|
1387
|
+
style: v({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 }),
|
|
1388
1388
|
innerHTML: w(r)({
|
|
1389
1389
|
content: String(t.label),
|
|
1390
1390
|
fontSize: I.value.style.chart.xAxis.labels.fontSize,
|
|
@@ -1393,7 +1393,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1393
1393
|
x: 0,
|
|
1394
1394
|
y: 0
|
|
1395
1395
|
})
|
|
1396
|
-
}, null, 12,
|
|
1396
|
+
}, null, 12, ut)) : (y(), p("text", {
|
|
1397
1397
|
key: 0,
|
|
1398
1398
|
class: "vue-ui-ridgeline-x-axis-label",
|
|
1399
1399
|
"font-size": I.value.style.chart.xAxis.labels.fontSize,
|
|
@@ -1406,8 +1406,8 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1406
1406
|
"font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
1407
1407
|
transform: `translate(${t.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
|
|
1408
1408
|
"text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
1409
|
-
style: v({ opacity:
|
|
1410
|
-
}, C(t.label), 13,
|
|
1409
|
+
style: v({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 })
|
|
1410
|
+
}, C(t.label), 13, lt))])) : f("", !0)], !0)), 256))], 512)) : f("", !0),
|
|
1411
1411
|
m("g", null, [
|
|
1412
1412
|
(y(!0), p(l, null, x(J.value, (e, t) => (y(), p("rect", {
|
|
1413
1413
|
x: e.x,
|
|
@@ -1418,20 +1418,20 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1418
1418
|
onMouseenter: (t) => bn(e),
|
|
1419
1419
|
onMouseleave: (t) => xn(e),
|
|
1420
1420
|
onClick: () => Sn(e)
|
|
1421
|
-
}, null, 40,
|
|
1422
|
-
I.value.style.chart.selector.show &&
|
|
1421
|
+
}, null, 40, dt))), 256)),
|
|
1422
|
+
I.value.style.chart.selector.show && M.value ? (y(), p("line", {
|
|
1423
1423
|
key: 0,
|
|
1424
|
-
x1:
|
|
1425
|
-
x2:
|
|
1426
|
-
y1:
|
|
1427
|
-
y2:
|
|
1424
|
+
x1: M.value.selectorX,
|
|
1425
|
+
x2: M.value.selectorX,
|
|
1426
|
+
y1: M.value.y,
|
|
1427
|
+
y2: M.value.y + M.value.height - z.value / 2,
|
|
1428
1428
|
stroke: I.value.style.chart.selector.stroke,
|
|
1429
1429
|
"stroke-width": I.value.style.chart.selector.strokeWidth,
|
|
1430
1430
|
"stroke-dasharray": I.value.style.chart.selector.strokeDasharray,
|
|
1431
1431
|
"stroke-linecap": "round",
|
|
1432
1432
|
style: { pointerEvents: "none" }
|
|
1433
|
-
}, null, 8,
|
|
1434
|
-
|
|
1433
|
+
}, null, 8, ft)) : f("", !0),
|
|
1434
|
+
M.value ? (y(!0), p(l, { key: 1 }, x(Y.value, (e) => (y(), p(l, null, [(y(!0), p(l, null, x(e.datapoints, (e) => (y(), p(l, null, [(y(!0), p(l, null, x(e.plots, (t, n) => (y(), p(l, null, [M.value && M.value.index === n ? (y(), p("circle", {
|
|
1435
1435
|
key: 0,
|
|
1436
1436
|
cx: t.x,
|
|
1437
1437
|
cy: t.y,
|
|
@@ -1440,16 +1440,16 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1440
1440
|
r: I.value.style.chart.selector.dot.radius,
|
|
1441
1441
|
fill: I.value.style.chart.selector.dot.useDatapointColor ? e.color : I.value.style.chart.selector.dot.fill,
|
|
1442
1442
|
style: { pointerEvents: "none" }
|
|
1443
|
-
}, null, 8,
|
|
1443
|
+
}, null, 8, pt)) : f("", !0), M.value && M.value.index === n ? (y(), p("text", {
|
|
1444
1444
|
key: 1,
|
|
1445
|
-
x: wn(t.x, w(
|
|
1445
|
+
x: wn(t.x, w(ce)(I.value.style.chart.selector.labels.formatter, t.value, w(c)({
|
|
1446
1446
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1447
1447
|
v: t.value,
|
|
1448
1448
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
1449
1449
|
r: I.value.style.chart.selector.labels.rounding
|
|
1450
1450
|
})), I.value.style.chart.selector.labels.fontSize) ? t.x - I.value.style.chart.selector.labels.fontSize / 2 : t.x + I.value.style.chart.selector.labels.fontSize / 2,
|
|
1451
1451
|
y: t.y + I.value.style.chart.selector.labels.fontSize / 3,
|
|
1452
|
-
"text-anchor": wn(t.x, w(
|
|
1452
|
+
"text-anchor": wn(t.x, w(ce)(I.value.style.chart.selector.labels.formatter, t.value, w(c)({
|
|
1453
1453
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1454
1454
|
v: t.value,
|
|
1455
1455
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1458,12 +1458,12 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1458
1458
|
"font-size": I.value.style.chart.selector.labels.fontSize,
|
|
1459
1459
|
fill: I.value.style.chart.selector.labels.color,
|
|
1460
1460
|
style: { pointerEvents: "none" }
|
|
1461
|
-
}, C(w(
|
|
1461
|
+
}, C(w(ce)(I.value.style.chart.selector.labels.formatter, t.value, w(c)({
|
|
1462
1462
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1463
1463
|
v: t.value,
|
|
1464
1464
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
1465
1465
|
r: I.value.style.chart.selector.labels.rounding
|
|
1466
|
-
}))), 9,
|
|
1466
|
+
}))), 9, mt)) : f("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : f("", !0)
|
|
1467
1467
|
]),
|
|
1468
1468
|
S(e.$slots, "svg", { svg: {
|
|
1469
1469
|
...W.value,
|
|
@@ -1471,27 +1471,27 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1471
1471
|
isPrintingImg: w(en) || w(tn) || w(Jn),
|
|
1472
1472
|
isPrintingSvg: w(Yn)
|
|
1473
1473
|
} }, void 0, !0)
|
|
1474
|
-
], 46,
|
|
1474
|
+
], 46, $e)), e.$slots.hint ? (y(), p("div", ht, [S(e.$slots, "hint", _(g({
|
|
1475
1475
|
hint: I.value.a11y.translations.keyboardNavigation,
|
|
1476
1476
|
isVisible: Gt.value
|
|
1477
1477
|
})), void 0, !0)])) : f("", !0)]),
|
|
1478
|
-
e.$slots.watermark ? (y(), p("div",
|
|
1478
|
+
e.$slots.watermark ? (y(), p("div", gt, [S(e.$slots, "watermark", _(g({ isPrinting: w(en) || w(tn) || w(Jn) || w(Yn) })), void 0, !0)])) : f("", !0),
|
|
1479
1479
|
m("div", {
|
|
1480
1480
|
ref_key: "chartLegend",
|
|
1481
|
-
ref:
|
|
1481
|
+
ref: Mt
|
|
1482
1482
|
}, [S(e.$slots, "legend", { legend: Z.value }, () => [I.value.style.chart.legend.show ? (y(), d(Ie, {
|
|
1483
|
-
key: `legend_${
|
|
1483
|
+
key: `legend_${Lt.value}`,
|
|
1484
1484
|
legendSet: Z.value,
|
|
1485
1485
|
config: Dn.value,
|
|
1486
1486
|
isCursorPointer: L.value,
|
|
1487
1487
|
onClickMarker: t[0] ||= ({ legend: e }) => ln(e.id)
|
|
1488
1488
|
}, Re({
|
|
1489
|
-
item:
|
|
1489
|
+
item: E(({ legend: e }) => [w(Jt) ? f("", !0) : (y(), p("div", {
|
|
1490
1490
|
key: 0,
|
|
1491
1491
|
style: v(`opacity:${X.value.includes(e.id) ? .5 : 1}`),
|
|
1492
1492
|
onClick: (t) => e.segregate()
|
|
1493
|
-
}, C(e.name), 13,
|
|
1494
|
-
legendToggle:
|
|
1493
|
+
}, C(e.name), 13, _t))]),
|
|
1494
|
+
legendToggle: E(() => [Z.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !w(Jt) ? (y(), d(Me, {
|
|
1495
1495
|
key: 0,
|
|
1496
1496
|
backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1497
1497
|
color: I.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1509,7 +1509,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1509
1509
|
_: 2
|
|
1510
1510
|
}, [e.$slots.pattern ? {
|
|
1511
1511
|
name: "legend-pattern",
|
|
1512
|
-
fn:
|
|
1512
|
+
fn: E(({ legend: e, index: t }) => [Be(De, {
|
|
1513
1513
|
shape: e.shape,
|
|
1514
1514
|
radius: 30,
|
|
1515
1515
|
stroke: "none",
|
|
@@ -1517,7 +1517,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1517
1517
|
x: 30,
|
|
1518
1518
|
y: 30
|
|
1519
1519
|
},
|
|
1520
|
-
fill: `url(#pattern_${
|
|
1520
|
+
fill: `url(#pattern_${j.value}_${t})`
|
|
1521
1521
|
}, null, 8, ["shape", "fill"])]),
|
|
1522
1522
|
key: "0"
|
|
1523
1523
|
} : void 0]), 1032, [
|
|
@@ -1528,16 +1528,16 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1528
1528
|
e.$slots.source ? (y(), p("div", {
|
|
1529
1529
|
key: 6,
|
|
1530
1530
|
ref_key: "source",
|
|
1531
|
-
ref:
|
|
1531
|
+
ref: Nt,
|
|
1532
1532
|
dir: "auto"
|
|
1533
1533
|
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
1534
|
-
|
|
1534
|
+
kt.value && I.value.userOptions.buttons.table ? (y(), d(Ge(Un.value.component), Ve({ key: 7 }, Un.value.props, {
|
|
1535
1535
|
ref_key: "tableUnit",
|
|
1536
|
-
ref:
|
|
1536
|
+
ref: P,
|
|
1537
1537
|
onClose: Wn
|
|
1538
1538
|
}), Re({
|
|
1539
|
-
content:
|
|
1540
|
-
key: `table_${
|
|
1539
|
+
content: E(() => [(y(), d(w(xt), {
|
|
1540
|
+
key: `table_${It.value}`,
|
|
1541
1541
|
colNames: $.value.colNames,
|
|
1542
1542
|
head: $.value.head,
|
|
1543
1543
|
body: $.value.body,
|
|
@@ -1547,8 +1547,8 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1547
1547
|
isCursorPointer: L.value,
|
|
1548
1548
|
onClose: Wn
|
|
1549
1549
|
}, {
|
|
1550
|
-
th:
|
|
1551
|
-
td:
|
|
1550
|
+
th: E(({ th: e }) => [m("div", null, C(e), 1)]),
|
|
1551
|
+
td: E(({ td: e }) => [ze(C(e.name ? e.name : w(ce)(I.value.style.chart.selector.labels.formatter, e, w(c)({
|
|
1552
1552
|
p: I.value.style.chart.xAxis.labels.prefix,
|
|
1553
1553
|
v: e,
|
|
1554
1554
|
s: I.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1567,37 +1567,37 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1567
1567
|
_: 2
|
|
1568
1568
|
}, [I.value.table.useDialog ? {
|
|
1569
1569
|
name: "title",
|
|
1570
|
-
fn:
|
|
1570
|
+
fn: E(() => [ze(C(Un.value.title), 1)]),
|
|
1571
1571
|
key: "0"
|
|
1572
1572
|
} : void 0, I.value.table.useDialog ? {
|
|
1573
1573
|
name: "actions",
|
|
1574
|
-
fn:
|
|
1574
|
+
fn: E(() => [m("button", {
|
|
1575
1575
|
tabindex: "0",
|
|
1576
1576
|
class: "vue-ui-user-options-button",
|
|
1577
1577
|
onClick: t[1] ||= (e) => zn(I.value.userOptions.callbacks.csv),
|
|
1578
1578
|
style: v({ cursor: L.value ? "pointer" : "default" })
|
|
1579
|
-
}, [Be(w(
|
|
1579
|
+
}, [Be(w(yt), {
|
|
1580
1580
|
name: "fileCsv",
|
|
1581
1581
|
stroke: Un.value.props.color
|
|
1582
1582
|
}, null, 8, ["stroke"])], 4)]),
|
|
1583
1583
|
key: "1"
|
|
1584
1584
|
} : void 0]), 1040)) : f("", !0),
|
|
1585
|
-
I.value.style.chart.dialog.show ? (y(), d(w(
|
|
1585
|
+
I.value.style.chart.dialog.show ? (y(), d(w(Tt), {
|
|
1586
1586
|
key: 8,
|
|
1587
1587
|
ref_key: "dialog",
|
|
1588
|
-
ref:
|
|
1589
|
-
onClose: t[2] ||= (e) =>
|
|
1588
|
+
ref: Vt,
|
|
1589
|
+
onClose: t[2] ||= (e) => N.value = null,
|
|
1590
1590
|
backgroundColor: I.value.style.chart.dialog.backgroundColor,
|
|
1591
1591
|
color: I.value.style.chart.dialog.color,
|
|
1592
1592
|
headerBg: I.value.style.chart.dialog.header.backgroundColor,
|
|
1593
1593
|
headerColor: I.value.style.chart.dialog.header.color,
|
|
1594
1594
|
isFullscreen: Q.value,
|
|
1595
|
-
fullscreenParent:
|
|
1595
|
+
fullscreenParent: O.value,
|
|
1596
1596
|
isCursorPointer: L.value,
|
|
1597
1597
|
withPadding: ""
|
|
1598
1598
|
}, {
|
|
1599
|
-
title:
|
|
1600
|
-
content:
|
|
1599
|
+
title: E(() => [ze(C(N.value.name), 1)]),
|
|
1600
|
+
content: E(() => [N.value ? (y(), d(w(vt), {
|
|
1601
1601
|
key: 0,
|
|
1602
1602
|
config: kn.value,
|
|
1603
1603
|
dataset: An.value,
|
|
@@ -1614,8 +1614,8 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1614
1614
|
"isCursorPointer"
|
|
1615
1615
|
])) : f("", !0),
|
|
1616
1616
|
S(e.$slots, "skeleton", {}, () => [w(Jt) ? (y(), d(be, { key: 0 })) : f("", !0)], !0)
|
|
1617
|
-
], 46,
|
|
1617
|
+
], 46, Xe));
|
|
1618
1618
|
}
|
|
1619
1619
|
}, [["__scopeId", "data-v-2e8bcf0d"]]);
|
|
1620
1620
|
//#endregion
|
|
1621
|
-
export {
|
|
1621
|
+
export { Ye as n, vt as t };
|