vue-data-ui 2.15.3 → 2.15.5
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-CzzsKX8z.js → Arrow-CI_Chty0.js} +1 -1
- package/dist/{BaseDraggableDialog-DCJi-1yP.js → BaseDraggableDialog-UeaNekHG.js} +2 -2
- package/dist/{BaseIcon-DhFdv5GX.js → BaseIcon-DTTmgKBX.js} +1 -1
- package/dist/{ColorPicker-DVErVt1a.js → ColorPicker-BySm_2Gi.js} +6 -6
- package/dist/{DataTable-C1m1pLCZ.js → DataTable-CLeYfh93.js} +2 -2
- package/dist/{Legend-Bv4X-1rt.js → Legend-B949nNP9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSnwu1Ay.js → NonSvgPenAndPaper-zuNWbm52.js} +3 -3
- package/dist/{PackageVersion-Bto74qGz.js → PackageVersion-Djh3oJFs.js} +1 -1
- package/dist/{PenAndPaper-Ch0HBNVZ.js → PenAndPaper-BlF1d4XE.js} +3 -3
- package/dist/{Shape-G58fHOyr.js → Shape-DmDw1mpi.js} +1 -1
- package/dist/{Slicer-B31lD5Se.js → Slicer-mINKiN6T.js} +13 -13
- package/dist/{SparkTooltip-CT5F0yPg.js → SparkTooltip-B888Ijov.js} +1 -1
- package/dist/{Title-HKMJNA2t.js → Title-CPvPrwF4.js} +1 -1
- package/dist/{Tooltip-C3Dnr3zM.js → Tooltip-BiWfcBQk.js} +1 -1
- package/dist/{UserOptions-BnD3w_M-.js → UserOptions-CFllUVQ4.js} +2 -2
- package/dist/{dom-to-png-DvtSOm-q.js → dom-to-png-DeajhH5Z.js} +1 -1
- package/dist/{img-PRKpmCrJ.js → img-4TaH43jS.js} +1 -1
- package/dist/{index-pz3uy0bj.js → index-CBhz79Be.js} +12 -6
- package/dist/{pdf-NCZXhCbT.js → pdf-BlK5aBh-.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +8 -0
- package/dist/types/vue-data-ui.d.ts +8 -0
- package/dist/{useNestedProp-BTwRpxJ6.js → useNestedProp-Cg9K3ISG.js} +1 -1
- package/dist/{usePrinter-CpYwk8Nl.js → usePrinter-DNC_9y1d.js} +2 -2
- package/dist/{vue-data-ui-edDJqWqp.js → vue-data-ui-DcP8arpr.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Cj4MAAl3.js → vue-ui-3d-bar-k4SNfbLV.js} +5 -5
- package/dist/{vue-ui-accordion-DVMQOCog.js → vue-ui-accordion-BWiiOpGO.js} +3 -3
- package/dist/{vue-ui-age-pyramid-B9-mIJoM.js → vue-ui-age-pyramid-ruNP1NJy.js} +5 -5
- package/dist/{vue-ui-annotator-BelwH44r.js → vue-ui-annotator-_31h_MMe.js} +2 -2
- package/dist/{vue-ui-bullet-7voYFUyR.js → vue-ui-bullet-BWmLA5Tg.js} +6 -6
- package/dist/vue-ui-candlestick-C8f9jUPZ.js +856 -0
- package/dist/{vue-ui-carousel-table-CCu7pOvx.js → vue-ui-carousel-table-DY90M9EE.js} +4 -4
- package/dist/{vue-ui-chestnut-DaIhjU0E.js → vue-ui-chestnut-DyxtZhwH.js} +28 -28
- package/dist/{vue-ui-chord-ol8it32M.js → vue-ui-chord-C8hE1GXD.js} +47 -47
- package/dist/{vue-ui-circle-pack-4dYH7oFz.js → vue-ui-circle-pack-Dy8buEl5.js} +24 -24
- package/dist/{vue-ui-cursor-BWo0SND4.js → vue-ui-cursor-Bb8yPXC9.js} +2 -2
- package/dist/{vue-ui-dashboard-DLP5BjC2.js → vue-ui-dashboard-SSYhdz1j.js} +62 -62
- package/dist/{vue-ui-digits-vLYOgwYN.js → vue-ui-digits-D4Du84P3.js} +2 -2
- package/dist/{vue-ui-donut-DA1mt39C.js → vue-ui-donut-C0dqyYUE.js} +7 -7
- package/dist/{vue-ui-donut-evolution-Y5NvWAOf.js → vue-ui-donut-evolution-BOrRbvDz.js} +7 -7
- package/dist/{vue-ui-dumbbell-DHGaUXgf.js → vue-ui-dumbbell-DKmEVC-5.js} +6 -6
- package/dist/{vue-ui-flow-CPRwtkW7.js → vue-ui-flow-DalrAEmv.js} +24 -24
- package/dist/{vue-ui-funnel-Cdaj7JLP.js → vue-ui-funnel-B-k_4VgX.js} +5 -5
- package/dist/{vue-ui-galaxy-Bml38eED.js → vue-ui-galaxy-BWaie_o-.js} +35 -35
- package/dist/{vue-ui-gauge-DIKUWHow.js → vue-ui-gauge-D71TDx5z.js} +17 -17
- package/dist/{vue-ui-gizmo-CDGfldQ2.js → vue-ui-gizmo-CJChusop.js} +3 -3
- package/dist/{vue-ui-heatmap-Cvz3HWSo.js → vue-ui-heatmap-DLwLB3pv.js} +31 -31
- package/dist/{vue-ui-history-plot-CEw6Ijds.js → vue-ui-history-plot-D7wNqDSc.js} +34 -34
- package/dist/{vue-ui-kpi-BOU7jfII.js → vue-ui-kpi-CJut0fnk.js} +3 -3
- package/dist/{vue-ui-mini-loader-B0QHAAN0.js → vue-ui-mini-loader-DP2pINNZ.js} +2 -2
- package/dist/{vue-ui-molecule-DpZAl654.js → vue-ui-molecule-D8b1J-IM.js} +4 -4
- package/dist/{vue-ui-mood-radar-DVTDXHkP.js → vue-ui-mood-radar-Br6izAkp.js} +6 -6
- package/dist/{vue-ui-nested-donuts-Cs_jOkZf.js → vue-ui-nested-donuts-DTYcStbt.js} +25 -25
- package/dist/{vue-ui-onion-BNm4LDqz.js → vue-ui-onion-DVtreg0e.js} +6 -6
- package/dist/{vue-ui-parallel-coordinate-plot-DF8yQwqD.js → vue-ui-parallel-coordinate-plot-COHHYnBG.js} +35 -35
- package/dist/{vue-ui-quadrant-CsT_YtVJ.js → vue-ui-quadrant-ClO3Aae-.js} +7 -7
- package/dist/{vue-ui-quick-chart-BQ8LWKNh.js → vue-ui-quick-chart-DXRWvUUA.js} +5 -5
- package/dist/{vue-ui-radar-BTXb1OpM.js → vue-ui-radar-Cs54EIJ2.js} +6 -6
- package/dist/{vue-ui-rating-10ZP5oGv.js → vue-ui-rating-Drx2P4xK.js} +2 -2
- package/dist/{vue-ui-relation-circle-BDY_mStf.js → vue-ui-relation-circle-B75Rh82J.js} +30 -30
- package/dist/{vue-ui-ridgeline-DiUQ9G50.js → vue-ui-ridgeline-DuZjVwmL.js} +7 -7
- package/dist/{vue-ui-rings-uOzklelU.js → vue-ui-rings-DWMToWPQ.js} +21 -21
- package/dist/{vue-ui-scatter-o8fU3CPQ.js → vue-ui-scatter-CAh7kj6p.js} +7 -7
- package/dist/{vue-ui-skeleton-DtyqxWGZ.js → vue-ui-skeleton-Dnw_Mcqb.js} +3 -3
- package/dist/{vue-ui-smiley-bleVUcTp.js → vue-ui-smiley-CkbdMJqH.js} +2 -2
- package/dist/{vue-ui-spark-trend-BSxc2AeN.js → vue-ui-spark-trend-DYVXugEw.js} +3 -3
- package/dist/{vue-ui-sparkbar-BpGhOBfa.js → vue-ui-sparkbar-Bv1RBHgo.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BGm17y7o.js → vue-ui-sparkgauge-Ls2_d0PB.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C8_9lU73.js → vue-ui-sparkhistogram-CimMCtyI.js} +4 -4
- package/dist/{vue-ui-sparkline-BEC-1ljx.js → vue-ui-sparkline-ex9TddKP.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BcDRG3Q4.js → vue-ui-sparkstackbar-DUy1WJg0.js} +3 -3
- package/dist/{vue-ui-stackbar-B9rcNFMU.js → vue-ui-stackbar-DaaB_FjD.js} +220 -210
- package/dist/{vue-ui-strip-plot-DiU5qgNv.js → vue-ui-strip-plot-HVQoc18O.js} +32 -32
- package/dist/{vue-ui-table-CVciwbm2.js → vue-ui-table-Oa_A-Vxo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Do0wz-jb.js → vue-ui-table-heatmap-DWdkbupf.js} +18 -18
- package/dist/{vue-ui-table-sparkline-Manlzy4B.js → vue-ui-table-sparkline-Cxj3ZoBu.js} +4 -4
- package/dist/{vue-ui-thermometer-CAZrRTaM.js → vue-ui-thermometer-D-_Dqdcv.js} +5 -5
- package/dist/{vue-ui-timer-DuOTyXM6.js → vue-ui-timer-C01Ipde6.js} +30 -30
- package/dist/{vue-ui-tiremarks-BCETzTS2.js → vue-ui-tiremarks-BTBo3bor.js} +5 -5
- package/dist/{vue-ui-treemap-DjINZD63.js → vue-ui-treemap-DJEl32W1.js} +75 -75
- package/dist/{vue-ui-vertical-bar-D9dKYc0V.js → vue-ui-vertical-bar-CnCpCi4v.js} +8 -8
- package/dist/{vue-ui-waffle-BMUnrWw9.js → vue-ui-waffle-rFSfHosn.js} +30 -30
- package/dist/{vue-ui-wheel-DEpzAPrw.js → vue-ui-wheel-B6md6ra7.js} +5 -5
- package/dist/{vue-ui-word-cloud-BBpm9VoF.js → vue-ui-word-cloud-Co6iFx9I.js} +5 -5
- package/dist/{vue-ui-world-D4G5xytB.js → vue-ui-world-d09xOrf0.js} +5 -5
- package/dist/{vue-ui-xy-BXY4ixtF.js → vue-ui-xy-CuzhWfRK.js} +20 -20
- package/dist/{vue-ui-xy-canvas-BLOjFl9f.js → vue-ui-xy-canvas-D2dyilFo.js} +45 -45
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-BiAWi-oW.js +0 -768
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineAsyncComponent as _, computed as x, ref as h, watch as lt, shallowRef as Ie, onMounted as ot, onBeforeUnmount as st, createElementBlock as u, openBlock as i, unref as d, normalizeStyle as z, normalizeClass as U, createBlock as I, createCommentVNode as m, createElementVNode as R, createVNode as Se, createSlots as nt, withCtx as w, renderSlot as g, normalizeProps as
|
|
2
|
-
import { u as ut, c as ae, t as rt, p as G, a as ct, o as vt, e as _e, g as dt, b as ht, d as pt, D as yt, U as mt, V as ft, W as gt, X as bt, I as xt, x as Ne,
|
|
1
|
+
import { defineAsyncComponent as _, computed as x, ref as h, watch as lt, shallowRef as Ie, onMounted as ot, onBeforeUnmount as st, createElementBlock as u, openBlock as i, unref as d, normalizeStyle as z, normalizeClass as U, createBlock as I, createCommentVNode as m, createElementVNode as R, createVNode as Se, createSlots as nt, withCtx as w, renderSlot as g, normalizeProps as E, guardReactiveProps as V, Fragment as C, renderList as S, toDisplayString as W, createTextVNode as it } from "vue";
|
|
2
|
+
import { u as ut, c as ae, t as rt, p as G, a as ct, o as vt, e as _e, g as dt, b as ht, d as pt, D as yt, U as mt, V as ft, W as gt, X as bt, I as xt, x as Ne, E as Y, q as kt, r as wt, i as Pe, f as Oe, y as Ct } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as $t, u as At } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Le } from "./useNestedProp-
|
|
5
|
-
import { u as zt } from "./usePrinter-
|
|
4
|
+
import { u as Le } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as zt } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ft from "./Title-
|
|
9
|
-
import It from "./Legend-
|
|
10
|
-
import { _ as St } from "./Shape-
|
|
8
|
+
import Ft from "./Title-CPvPrwF4.js";
|
|
9
|
+
import It from "./Legend-B949nNP9.js";
|
|
10
|
+
import { _ as St } from "./Shape-DmDw1mpi.js";
|
|
11
11
|
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Lt = { style: { "pointer-events": "none" } }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x", "y", "fill", "font-size", "font-weight"],
|
|
12
|
+
const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Lt = { style: { "pointer-events": "none" } }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["x", "y", "fill", "font-size", "font-weight"], Et = ["x", "y", "fill", "font-size", "font-weight", "innerHTML"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x", "y", "fill", "font-size", "font-weight"], Bt = { key: 0 }, Ut = ["x", "y", "font-size", "fill"], Ht = ["width", "x", "y"], jt = { style: { width: "100%" } }, Xt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Gt = ["d", "stroke", "stroke-width", "onMouseenter"], Yt = ["d", "onMouseenter"], qt = {
|
|
13
13
|
key: 5,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
15
|
}, Jt = ["onClick"], Kt = ["innerHTML"], Qt = {
|
|
@@ -29,15 +29,15 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
32
|
-
setup(De, { expose: Re, emit:
|
|
33
|
-
const
|
|
32
|
+
setup(De, { expose: Re, emit: Ee }) {
|
|
33
|
+
const Ve = _(() => import("./vue-ui-accordion-BWiiOpGO.js")), We = _(() => import("./DataTable-CLeYfh93.js")), Be = _(() => import("./PackageVersion-Djh3oJFs.js")), Ue = _(() => import("./PenAndPaper-BlF1d4XE.js")), He = _(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), je = _(() => import("./Tooltip-BiWfcBQk.js")), Xe = _(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_parallel_coordinate_plot: Ge } = ut(), T = De, N = x({
|
|
34
34
|
get() {
|
|
35
35
|
return !!T.dataset && T.dataset.length;
|
|
36
36
|
},
|
|
37
37
|
set(t) {
|
|
38
38
|
return t;
|
|
39
39
|
}
|
|
40
|
-
}), le = h(0),
|
|
40
|
+
}), le = h(0), B = h(null), oe = h(null), se = h(null), ne = h(null), ie = h(null), ue = h(0), re = h(0), ce = h(0), q = h(ae()), P = h(!1);
|
|
41
41
|
function Ye(t) {
|
|
42
42
|
P.value = t, le.value += 1;
|
|
43
43
|
}
|
|
@@ -84,7 +84,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
84
84
|
}), e.value.responsive) {
|
|
85
85
|
const t = $t(() => {
|
|
86
86
|
const { width: l, height: a } = At({
|
|
87
|
-
chart:
|
|
87
|
+
chart: B.value,
|
|
88
88
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
89
89
|
legend: e.value.style.chart.legend.show ? se.value : null,
|
|
90
90
|
source: ne.value,
|
|
@@ -118,7 +118,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
118
118
|
})) : (c.value.plotSize = e.value.style.chart.plots.radius, c.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, c.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, c.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
|
-
M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect()), M.value = new ResizeObserver(t), O.value =
|
|
121
|
+
M.value && (O.value && M.value.unobserve(O.value), M.value.disconnect()), M.value = new ResizeObserver(t), O.value = B.value.parentNode, M.value.observe(O.value);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
st(() => {
|
|
@@ -318,7 +318,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
318
318
|
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ce.value.head, o = Ce.value.body, n = l.concat([a]).concat(o), s = kt(n);
|
|
319
319
|
t ? t(s) : wt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
320
320
|
}
|
|
321
|
-
const Ae =
|
|
321
|
+
const Ae = Ee;
|
|
322
322
|
function et(t) {
|
|
323
323
|
Ae("selectDatapoint", t);
|
|
324
324
|
}
|
|
@@ -353,7 +353,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
353
353
|
toggleAnnotator: te
|
|
354
354
|
}), (t, l) => (i(), u("div", {
|
|
355
355
|
ref_key: "pcpChart",
|
|
356
|
-
ref:
|
|
356
|
+
ref: B,
|
|
357
357
|
class: U(`vue-ui-pcp ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
358
358
|
style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
359
359
|
id: `pcp_${q.value}`,
|
|
@@ -413,7 +413,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
413
413
|
isFullscreen: P.value,
|
|
414
414
|
isTooltip: p.value.showTooltip,
|
|
415
415
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
416
|
-
chartElement:
|
|
416
|
+
chartElement: B.value,
|
|
417
417
|
position: e.value.userOptions.position,
|
|
418
418
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
419
419
|
isAnnotation: j.value,
|
|
@@ -433,7 +433,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
433
433
|
t.$slots.menuIcon ? {
|
|
434
434
|
name: "menuIcon",
|
|
435
435
|
fn: w(({ isOpen: a, color: o }) => [
|
|
436
|
-
g(t.$slots, "menuIcon", V(
|
|
436
|
+
g(t.$slots, "menuIcon", E(V({ isOpen: a, color: o })), void 0, !0)
|
|
437
437
|
]),
|
|
438
438
|
key: "0"
|
|
439
439
|
} : void 0,
|
|
@@ -475,14 +475,14 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
475
475
|
t.$slots.optionFullscreen ? {
|
|
476
476
|
name: "optionFullscreen",
|
|
477
477
|
fn: w(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
478
|
-
g(t.$slots, "optionFullscreen", V(
|
|
478
|
+
g(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
479
479
|
]),
|
|
480
480
|
key: "6"
|
|
481
481
|
} : void 0,
|
|
482
482
|
t.$slots.optionAnnotator ? {
|
|
483
483
|
name: "optionAnnotator",
|
|
484
484
|
fn: w(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
485
|
-
g(t.$slots, "optionAnnotator", V(
|
|
485
|
+
g(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
486
486
|
]),
|
|
487
487
|
key: "7"
|
|
488
488
|
} : void 0
|
|
@@ -496,7 +496,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
496
496
|
viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
|
|
497
497
|
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
498
498
|
}, [
|
|
499
|
-
Se(d(
|
|
499
|
+
Se(d(Be)),
|
|
500
500
|
t.$slots["chart-background"] ? (i(), u("foreignObject", {
|
|
501
501
|
key: 0,
|
|
502
502
|
x: r.value.left,
|
|
@@ -534,7 +534,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
534
534
|
x: r.value.left + k.value * o + k.value / 2,
|
|
535
535
|
y: r.value.top - 24
|
|
536
536
|
})
|
|
537
|
-
}, null, 8,
|
|
537
|
+
}, null, 8, Et)) : (i(), u("text", {
|
|
538
538
|
key: 0,
|
|
539
539
|
x: r.value.left + k.value * o + k.value / 2,
|
|
540
540
|
y: r.value.top - 24,
|
|
@@ -542,7 +542,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
542
542
|
"font-size": c.value.axisNameFontSize,
|
|
543
543
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
544
544
|
"text-anchor": "middle"
|
|
545
|
-
},
|
|
545
|
+
}, W(a.name), 9, Rt)),
|
|
546
546
|
e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 2 }, [
|
|
547
547
|
(i(!0), u(C, null, S(a.ticks, (n) => (i(), u("line", {
|
|
548
548
|
x1: n.x,
|
|
@@ -552,7 +552,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
552
552
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
553
553
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
554
554
|
style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
555
|
-
}, null, 12,
|
|
555
|
+
}, null, 12, Vt))), 256)),
|
|
556
556
|
(i(!0), u(C, null, S(a.ticks, (n) => (i(), u("text", {
|
|
557
557
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
558
558
|
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
|
|
@@ -561,12 +561,12 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
561
561
|
"font-size": c.value.ticksFontSize,
|
|
562
562
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
563
563
|
style: z(`opacity:${f.value && !p.value.showTooltip ? 0.2 : 1}`)
|
|
564
|
-
},
|
|
564
|
+
}, W(we({ value: n.value, index: o, datapoint: n })), 13, Wt))), 256))
|
|
565
565
|
], 64)) : m("", !0)
|
|
566
566
|
]))), 256)),
|
|
567
567
|
(i(!0), u(C, null, S(Q.value, (a) => (i(), u("g", null, [
|
|
568
568
|
(i(!0), u(C, null, S(a.series, (o, n) => (i(), u("g", null, [
|
|
569
|
-
e.value.style.chart.plots.show ? (i(), u("g",
|
|
569
|
+
e.value.style.chart.plots.show ? (i(), u("g", Bt, [
|
|
570
570
|
(i(!0), u(C, null, S(o.datapoints, (s) => (i(), I(St, {
|
|
571
571
|
plot: { x: s.x, y: s.y },
|
|
572
572
|
color: a.color,
|
|
@@ -596,7 +596,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
596
596
|
"font-size": c.value.ticksFontSize,
|
|
597
597
|
fill: a.color,
|
|
598
598
|
"font-weight": "bold"
|
|
599
|
-
},
|
|
599
|
+
}, W(o.name), 9, Ut)) : m("", !0)
|
|
600
600
|
], 64)),
|
|
601
601
|
e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, S(o.datapoints, (s) => (i(), u("g", null, [
|
|
602
602
|
s.comment ? (i(), u("foreignObject", {
|
|
@@ -634,7 +634,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
634
634
|
f.value = null, L.value = !1;
|
|
635
635
|
}),
|
|
636
636
|
style: z(`opacity:${f.value ? f.value === o.id ? 1 : 0.2 : 1}`)
|
|
637
|
-
},
|
|
637
|
+
}, W(we({ value: s.value, index: v, datapoint: s })), 45, Xt))), 256)) : m("", !0),
|
|
638
638
|
R("path", {
|
|
639
639
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
640
640
|
stroke: a.color,
|
|
@@ -677,7 +677,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
677
677
|
g(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
678
678
|
], 14, Pt)) : m("", !0),
|
|
679
679
|
t.$slots.watermark ? (i(), u("div", qt, [
|
|
680
|
-
g(t.$slots, "watermark", V(
|
|
680
|
+
g(t.$slots, "watermark", E(V({ isPrinting: d(me) || d(fe) })), void 0, !0)
|
|
681
681
|
])) : m("", !0),
|
|
682
682
|
N.value ? m("", !0) : (i(), I(d(He), {
|
|
683
683
|
key: 6,
|
|
@@ -706,7 +706,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
706
706
|
a.segregate(), ze(a);
|
|
707
707
|
},
|
|
708
708
|
style: z(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
709
|
-
},
|
|
709
|
+
}, W(a.name), 13, Jt)
|
|
710
710
|
]),
|
|
711
711
|
_: 1
|
|
712
712
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -733,20 +733,20 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
733
733
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
734
734
|
position: e.value.style.chart.tooltip.position,
|
|
735
735
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
736
|
-
parent:
|
|
736
|
+
parent: B.value,
|
|
737
737
|
content: ee.value,
|
|
738
738
|
isFullscreen: P.value,
|
|
739
739
|
isCustom: d(Ne)(e.value.style.chart.tooltip.customFormat)
|
|
740
740
|
}, {
|
|
741
741
|
"tooltip-before": w(() => [
|
|
742
|
-
g(t.$slots, "tooltip-before", V(
|
|
742
|
+
g(t.$slots, "tooltip-before", E(V({ ...Z.value })), void 0, !0)
|
|
743
743
|
]),
|
|
744
744
|
"tooltip-after": w(() => [
|
|
745
|
-
g(t.$slots, "tooltip-after", V(
|
|
745
|
+
g(t.$slots, "tooltip-after", E(V({ ...Z.value })), void 0, !0)
|
|
746
746
|
]),
|
|
747
747
|
_: 3
|
|
748
748
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
749
|
-
N.value ? (i(), I(d(
|
|
749
|
+
N.value ? (i(), I(d(Ve), {
|
|
750
750
|
key: 8,
|
|
751
751
|
hideDetails: "",
|
|
752
752
|
config: {
|
|
@@ -763,7 +763,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
763
763
|
}
|
|
764
764
|
}, {
|
|
765
765
|
content: w(() => [
|
|
766
|
-
(i(), I(d(
|
|
766
|
+
(i(), I(d(We), {
|
|
767
767
|
key: `table_${ce.value}`,
|
|
768
768
|
colNames: D.value.colNames,
|
|
769
769
|
head: D.value.head,
|
|
@@ -776,7 +776,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
776
776
|
R("div", { innerHTML: a }, null, 8, Kt)
|
|
777
777
|
]),
|
|
778
778
|
td: w(({ td: a }) => [
|
|
779
|
-
it(
|
|
779
|
+
it(W(a), 1)
|
|
780
780
|
]),
|
|
781
781
|
_: 1
|
|
782
782
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as B, computed as g, ref as y, watch as Ie, shallowRef as Ee, onMounted as yt, onBeforeUnmount as bt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as O, createCommentVNode as h, createElementVNode as c, createVNode as ce, createSlots as ft, withCtx as m, renderSlot as x, normalizeProps as E, guardReactiveProps as U, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as pt, nextTick as gt } from "vue";
|
|
2
|
-
import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, Y as qt, i as R, f as V, X as _t, s as oe, w as St, Z as Ct, I as zt,
|
|
2
|
+
import { u as mt, c as Ue, t as xt, p as he, a as $t, o as kt, e as D, b as Lt, d as wt, Y as qt, i as R, f as V, X as _t, s as oe, w as St, Z as Ct, I as zt, F as Tt, q as Xt, r as Wt, x as Yt, y as At } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as Mt, u as Nt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as De } from "./useNestedProp-
|
|
5
|
-
import { u as Ot } from "./usePrinter-
|
|
4
|
+
import { u as De } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as Ot } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Pt from "./Title-
|
|
9
|
-
import Bt from "./Legend-
|
|
10
|
-
import { _ as Ge } from "./Shape-
|
|
8
|
+
import Pt from "./Title-CPvPrwF4.js";
|
|
9
|
+
import Bt from "./Legend-B949nNP9.js";
|
|
10
|
+
import { _ as Ge } from "./Shape-DmDw1mpi.js";
|
|
11
11
|
import { _ as Ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "height"], Ut = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Qt = { key: 1 }, Jt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Kt = { key: 2 }, el = ["points", "fill"], tl = ["points", "fill"], ll = ["points", "fill"], al = ["points", "fill"], ul = { key: 3 }, ol = ["y", "fill", "font-size"], sl = ["x", "y", "fill", "font-size"], rl = ["x", "y", "fill", "font-size"], nl = ["y", "fill", "font-size"], il = { key: 4 }, vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], cl = ["x", "y", "font-size", "fill"], hl = ["id", "font-size", "transform", "fill"], yl = ["id", "font-size", "transform", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = { key: 5 }, pl = ["fill", "points"], gl = ["x", "y", "width", "height"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = {
|
|
13
13
|
key: 0,
|
|
@@ -41,7 +41,7 @@ const Ht = ["id"], It = ["xmlns", "viewBox", "id"], Et = ["x", "y", "width", "he
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
43
43
|
setup(Qe, { expose: Je, emit: je }) {
|
|
44
|
-
const Ze = B(() => import("./DataTable-
|
|
44
|
+
const Ze = B(() => import("./DataTable-CLeYfh93.js")), Ke = B(() => import("./PenAndPaper-BlF1d4XE.js")), et = B(() => import("./vue-ui-accordion-BWiiOpGO.js")), tt = B(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), lt = B(() => import("./Tooltip-BiWfcBQk.js")), at = B(() => import("./UserOptions-CFllUVQ4.js")), ut = B(() => import("./PackageVersion-Djh3oJFs.js")), { vue_ui_quadrant: ot } = mt(), X = Qe, K = g(() => !!X.dataset && X.dataset.length), z = y(Ue()), se = je, st = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), G = y(null), be = y(null), fe = y(null), pe = y(null), ge = y(null), me = y(0), xe = y(0), $e = y(0), t = g({
|
|
45
45
|
get: () => qe(),
|
|
46
46
|
set: (l) => l
|
|
47
47
|
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Rt({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as ce, ref as z, computed as U, watch as Ve, shallowRef as ht, onMounted as Tt, onBeforeUnmount as Ot, nextTick as Me, createElementBlock as l, openBlock as a, normalizeStyle as R, normalizeClass as he, createBlock as Fe, createCommentVNode as g, createVNode as fe, unref as f, createSlots as Pt, withCtx as G, renderSlot as M, normalizeProps as ne, guardReactiveProps as ie, toDisplayString as T, createElementVNode as _, Fragment as m, renderList as $, mergeProps as qe } from "vue";
|
|
2
|
-
import { u as Rt, c as Mt, t as Ft, p as q, a as Nt, C as ft, b as Ut,
|
|
2
|
+
import { u as Rt, c as Mt, t as Ft, p as q, a as Nt, C as ft, b as Ut, G as Bt, e as Dt, d as He, m as Vt, D as gt, X as qt, j as Ht, k as We, n as Le, i as X, f as D, I as Wt, V as mt, v as Z, x as Ne, y as je } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as jt, u as Gt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as pt } from "./useNestedProp-
|
|
5
|
-
import { u as Xt } from "./usePrinter-
|
|
4
|
+
import { u as pt } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as Xt } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as Zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import { S as Yt } from "./Slicer-
|
|
7
|
+
import { S as Yt } from "./Slicer-mINKiN6T.js";
|
|
8
8
|
import { u as Jt } from "./useTimeLabels-Mrr0jrpL.js";
|
|
9
9
|
import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const A = {
|
|
@@ -152,7 +152,7 @@ const na = ["id"], ia = ["xmlns", "viewBox"], ua = ["x", "y", "width", "height"]
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["selectDatapoint", "selectLegend"],
|
|
154
154
|
setup(c, { expose: C, emit: x }) {
|
|
155
|
-
const O = ce(() => import("./BaseIcon-
|
|
155
|
+
const O = ce(() => import("./BaseIcon-DTTmgKBX.js")), H = ce(() => import("./PackageVersion-Djh3oJFs.js")), ge = ce(() => import("./PenAndPaper-BlF1d4XE.js")), me = ce(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), pe = ce(() => import("./Tooltip-BiWfcBQk.js")), $e = ce(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_quick_chart: F } = Rt(), B = c, xe = z(null), Ge = z(null), Xe = z(null), Ze = z(null), J = z(Mt()), ee = z(!1), ye = z(null), te = z(""), W = z(null), Ye = z(null), Je = z(null), w = z([]), Qe = z(0), Ce = z(0), e = U({
|
|
156
156
|
get: () => at(),
|
|
157
157
|
set: (o) => o
|
|
158
158
|
}), { svgRef: Ke } = Zt({ config: { text: e.value.title } }), St = U(() => e.value.showUserOptionsOnChartHover), et = U(() => e.value.keepUserOptionsStateOnChartLeave), Ie = z(!e.value.showUserOptionsOnChartHover);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineAsyncComponent as $, computed as p, ref as c, watch as st, shallowRef as Fe, onMounted as nt, onBeforeUnmount as ut, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as q, normalizeClass as B, createBlock as P, createCommentVNode as d, createElementVNode as x, createVNode as oe, createSlots as it, withCtx as f, renderSlot as g, normalizeProps as L, guardReactiveProps as z, Fragment as A, renderList as O, toDisplayString as D, createTextVNode as Se, nextTick as ct } from "vue";
|
|
2
|
-
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-
|
|
2
|
+
import { u as dt, c as vt, t as pt, p as F, a as ht, o as gt, e as M, b as ft, g as Ne, d as Ie, R as Re, v as yt, i as Le, f as G, X as mt, s as le, w as bt, S as ze, q as kt, r as Ct, x as wt, y as $t } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as _t, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Me } from "./useNestedProp-
|
|
5
|
-
import { u as Pt } from "./usePrinter-
|
|
4
|
+
import { u as Me } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as Pt } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as At } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import Ot from "./Legend-
|
|
9
|
-
import Ft from "./Title-
|
|
8
|
+
import Ot from "./Legend-B949nNP9.js";
|
|
9
|
+
import Ft from "./Title-CPvPrwF4.js";
|
|
10
10
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["id"], zt = ["stop-color"], Mt = ["stop-color"], Vt = { key: 1 }, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Bt = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Gt = { key: 2 }, Wt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Xt = ["points", "stroke", "stroke-width"], jt = ["points", "stroke", "stroke-width", "fill"], qt = { key: 3 }, Ht = ["cx", "cy", "fill", "r", "stroke"], Yt = {
|
|
12
12
|
key: 5,
|
|
@@ -32,7 +32,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Rt = ["width", "height"], Lt = ["i
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectLegend"],
|
|
34
34
|
setup(Ve, { expose: Ue, emit: Ee }) {
|
|
35
|
-
const Be = $(() => import("./DataTable-
|
|
35
|
+
const Be = $(() => import("./DataTable-CLeYfh93.js")), De = $(() => import("./PenAndPaper-BlF1d4XE.js")), Ge = $(() => import("./vue-ui-accordion-BWiiOpGO.js")), We = $(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), Xe = $(() => import("./Tooltip-BiWfcBQk.js")), je = $(() => import("./UserOptions-CFllUVQ4.js")), qe = $(() => import("./PackageVersion-Djh3oJFs.js")), He = $(() => import("./vue-ui-sparkbar-Bv1RBHgo.js")), { vue_ui_radar: Ye } = dt(), h = Ve, V = p(() => !!h.dataset && Object.keys(h.dataset).length), _ = c(vt()), Je = c(null), H = c(!1), Y = c(""), re = c(0), U = c(null), se = c(null), ne = c(null), ue = c(null), ie = c(null), ce = c(0), de = c(0), ve = c(0), e = p({
|
|
36
36
|
get: () => fe(),
|
|
37
37
|
set: (t) => t
|
|
38
38
|
}), { userOptionsVisible: J, setUserOptionsVisibility: pe, keepUserOptionState: he } = xt({ config: e.value }), { svgRef: ge } = At({ config: e.value.style.chart.title });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as $, useSlots as J, onMounted as R, computed as x, watch as Q, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Z, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
|
|
2
|
-
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, _ as I } from "./index-
|
|
3
|
-
import { u as ie } from "./useNestedProp-
|
|
2
|
+
import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, _ as I } from "./index-CBhz79Be.js";
|
|
3
|
+
import { u as ie } from "./useNestedProp-Cg9K3ISG.js";
|
|
4
4
|
import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ne = {
|
|
6
6
|
key: 0,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useCssVars as Je, computed as y, defineAsyncComponent as
|
|
2
|
-
import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct,
|
|
1
|
+
import { useCssVars as Je, computed as y, defineAsyncComponent as E, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as R, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as B, guardReactiveProps as T, normalizeClass as H, createVNode as tt, createElementVNode as lt, Fragment as O, renderList as z, mergeProps as be, toDisplayString as N } from "vue";
|
|
2
|
+
import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, F as $e, i as J, f as K, E as Q } from "./index-CBhz79Be.js";
|
|
3
3
|
import { t as dt, u as vt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as _e } from "./useNestedProp-
|
|
5
|
-
import { u as ft } from "./usePrinter-
|
|
4
|
+
import { u as _e } from "./useNestedProp-Cg9K3ISG.js";
|
|
5
|
+
import { u as ft } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import gt from "./Title-
|
|
8
|
+
import gt from "./Title-CPvPrwF4.js";
|
|
9
9
|
import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"], St = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], Mt = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
|
|
11
11
|
key: 5,
|
|
12
12
|
class: "vue-data-ui-watermark"
|
|
13
|
-
},
|
|
13
|
+
}, Et = {
|
|
14
14
|
__name: "vue-ui-relation-circle",
|
|
15
15
|
props: {
|
|
16
16
|
dataset: {
|
|
@@ -28,11 +28,11 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
28
28
|
},
|
|
29
29
|
setup(Ce, { expose: Pe }) {
|
|
30
30
|
Je((e) => ({
|
|
31
|
-
"2316f3bd":
|
|
32
|
-
"06f35f1c":
|
|
33
|
-
"67a1ec04":
|
|
31
|
+
"2316f3bd": Re.value,
|
|
32
|
+
"06f35f1c": Ee.value,
|
|
33
|
+
"67a1ec04": Be.value
|
|
34
34
|
}));
|
|
35
|
-
const Le =
|
|
35
|
+
const Le = E(() => import("./PackageVersion-Djh3oJFs.js")), Oe = E(() => import("./PenAndPaper-BlF1d4XE.js")), ze = E(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), Ae = E(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), Z = o(0), S = o(null), ee = o(null), te = o(null), le = o(null), se = o(0), l = y({
|
|
36
36
|
get: () => re(),
|
|
37
37
|
set: (e) => e
|
|
38
38
|
}), { userOptionsVisible: U, setUserOptionsVisibility: ie, keepUserOptionState: ae } = yt({ config: l.value }), { svgRef: ne } = ht({ config: l.value.style.title });
|
|
@@ -56,7 +56,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
56
56
|
elementId: `relation_circle_${A.value}`,
|
|
57
57
|
fileName: l.value.style.title.text || "vue-ui-relation-circle",
|
|
58
58
|
options: l.value.userOptions.print
|
|
59
|
-
}), Se = y(() => l.value.userOptions.show && !l.value.style.title.text), ve = y(() => rt(l.value.customPalette)), x = o([]), m = o([]), c = o({}), p = o([]), Me = o(0),
|
|
59
|
+
}), Se = y(() => l.value.userOptions.show && !l.value.style.title.text), ve = y(() => rt(l.value.customPalette)), x = o([]), m = o([]), c = o({}), p = o([]), Me = o(0), V = y(() => k.dataset.slice(0, l.value.style.limit)), _ = o(l.value.style.size), g = o(l.value.style.weightLabels.size), G = o(l.value.style.plot.radius), W = o(l.value.style.labels.fontSize), u = o({
|
|
60
60
|
height: l.value.style.size,
|
|
61
61
|
width: l.value.style.size
|
|
62
62
|
}), $ = y({
|
|
@@ -66,7 +66,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
66
66
|
set(e) {
|
|
67
67
|
return e;
|
|
68
68
|
}
|
|
69
|
-
}), Fe = y(() => l.value.style.links.curved),
|
|
69
|
+
}), Fe = y(() => l.value.style.links.curved), Ee = y(() => `${l.value.style.animation.speedMs}ms`), Re = y(() => $.value * 2), Be = y(() => $.value * 4), b = ke(null), C = ke(null);
|
|
70
70
|
Qe(() => {
|
|
71
71
|
fe(), document.getElementById(`relation_circle_${A.value}`).addEventListener("click", ye);
|
|
72
72
|
});
|
|
@@ -101,7 +101,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
101
101
|
source: l.value.style.weightLabels.size,
|
|
102
102
|
threshold: 6,
|
|
103
103
|
fallback: 6
|
|
104
|
-
}),
|
|
104
|
+
}), G.value = Q({
|
|
105
105
|
relator: _.value,
|
|
106
106
|
adjuster: l.value.style.size,
|
|
107
107
|
source: l.value.style.plot.radius,
|
|
@@ -113,7 +113,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
113
113
|
source: l.value.style.labels.fontSize,
|
|
114
114
|
threshold: 6,
|
|
115
115
|
fallback: 6
|
|
116
|
-
})) : (g.value = l.value.style.weightLabels.size,
|
|
116
|
+
})) : (g.value = l.value.style.weightLabels.size, G.value = l.value.style.plot.radius, W.value = l.value.style.labels.fontSize);
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
119
|
b.value && (C.value && b.value.unobserve(C.value), b.value.disconnect()), b.value = new ResizeObserver(e), C.value = S.value.parentNode, b.value.observe(C.value);
|
|
@@ -128,9 +128,9 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
128
128
|
s && Array.from(s.classList).includes("vue-ui-user-options") || s && Array.from(s.classList).includes("vue-ui-user-options-summary") || s && Array.from(s.classList).includes("vue-data-ui-button") || s && Array.from(s.classList).includes("vue-ui-relation-circle-legend") || (c.value = {}, p.value = []);
|
|
129
129
|
}
|
|
130
130
|
function he() {
|
|
131
|
-
const e = 6.28319 /
|
|
131
|
+
const e = 6.28319 / V.value.length, s = 360 / V.value.length;
|
|
132
132
|
let t = 0, r = 0;
|
|
133
|
-
|
|
133
|
+
V.value.forEach((f, d) => {
|
|
134
134
|
const Y = f.weights.reduce((qe, He) => qe + He, 0), q = $.value * Math.cos(t) + u.value.width / 2, Ye = $.value * Math.sin(t) + u.value.height / 2 + l.value.style.circle.offsetY;
|
|
135
135
|
x.value.push({ x: q, y: Ye, ...f, color: f.color ? f.color : ve.value[d] ? ve.value[d] : we[d], regAngle: r, totalWeight: Y }), t += e, r += s;
|
|
136
136
|
});
|
|
@@ -184,10 +184,10 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
184
184
|
function P(e) {
|
|
185
185
|
return Object.hasOwn(c.value, "x") ? !!(p.value.includes(e.id) && e.relationId === `${e.id}_${c.value.id}` || e.relationId === `${c.value.id}_${e.id}`) : !1;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Ve(e) {
|
|
188
188
|
return e.regAngle > 90 && e.regAngle < 270 ? "end" : "start";
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ge(e) {
|
|
191
191
|
return e.regAngle > 90 && e.regAngle < 270 ? e.x - 5 : e.x + 5;
|
|
192
192
|
}
|
|
193
193
|
function We(e) {
|
|
@@ -224,7 +224,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
224
224
|
onMouseenter: s[0] || (s[0] = () => a(ie)(!0)),
|
|
225
225
|
onMouseleave: s[1] || (s[1] = () => a(ie)(!1))
|
|
226
226
|
}, [
|
|
227
|
-
l.value.userOptions.buttons.annotator ? (i(),
|
|
227
|
+
l.value.userOptions.buttons.annotator ? (i(), R(a(Oe), {
|
|
228
228
|
key: 0,
|
|
229
229
|
svgRef: a(ne),
|
|
230
230
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -245,7 +245,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
245
245
|
ref: ee,
|
|
246
246
|
style: "width:100%;background:transparent"
|
|
247
247
|
}, [
|
|
248
|
-
(i(),
|
|
248
|
+
(i(), R(gt, {
|
|
249
249
|
key: `title_${se.value}`,
|
|
250
250
|
config: {
|
|
251
251
|
title: {
|
|
@@ -259,7 +259,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
259
259
|
}
|
|
260
260
|
}, null, 8, ["config"]))
|
|
261
261
|
], 512)) : v("", !0),
|
|
262
|
-
l.value.userOptions.show && j.value && (a(ae) || a(U)) ? (i(),
|
|
262
|
+
l.value.userOptions.show && j.value && (a(ae) || a(U)) ? (i(), R(a(Ae), {
|
|
263
263
|
ref: "details",
|
|
264
264
|
key: `user_options_${Z.value}`,
|
|
265
265
|
backgroundColor: l.value.style.backgroundColor,
|
|
@@ -289,7 +289,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
289
289
|
e.$slots.menuIcon ? {
|
|
290
290
|
name: "menuIcon",
|
|
291
291
|
fn: I(({ isOpen: t, color: r }) => [
|
|
292
|
-
h(e.$slots, "menuIcon",
|
|
292
|
+
h(e.$slots, "menuIcon", B(T({ isOpen: t, color: r })), void 0, !0)
|
|
293
293
|
]),
|
|
294
294
|
key: "0"
|
|
295
295
|
} : void 0,
|
|
@@ -310,14 +310,14 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
310
310
|
e.$slots.optionFullscreen ? {
|
|
311
311
|
name: "optionFullscreen",
|
|
312
312
|
fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
313
|
-
h(e.$slots, "optionFullscreen",
|
|
313
|
+
h(e.$slots, "optionFullscreen", B(T({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
314
314
|
]),
|
|
315
315
|
key: "3"
|
|
316
316
|
} : void 0,
|
|
317
317
|
e.$slots.optionAnnotator ? {
|
|
318
318
|
name: "optionAnnotator",
|
|
319
319
|
fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
320
|
-
h(e.$slots, "optionAnnotator",
|
|
320
|
+
h(e.$slots, "optionAnnotator", B(T({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
321
321
|
]),
|
|
322
322
|
key: "4"
|
|
323
323
|
} : void 0
|
|
@@ -459,9 +459,9 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
459
459
|
])),
|
|
460
460
|
(i(!0), n(O, null, z(x.value, (t, r) => (i(), n("text", {
|
|
461
461
|
key: `plot_text_${r}`,
|
|
462
|
-
"text-anchor":
|
|
462
|
+
"text-anchor": Ve(t),
|
|
463
463
|
transform: De(t),
|
|
464
|
-
x:
|
|
464
|
+
x: Ge(t),
|
|
465
465
|
y: t.y + 5,
|
|
466
466
|
onClick: (f) => pe(t),
|
|
467
467
|
class: "vue-ui-relation-circle-legend",
|
|
@@ -491,12 +491,12 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
491
491
|
stroke: l.value.style.backgroundColor,
|
|
492
492
|
"stroke-width": "1",
|
|
493
493
|
onClick: (f) => pe(t),
|
|
494
|
-
r:
|
|
494
|
+
r: G.value
|
|
495
495
|
}, null, 12, Mt))), 128)),
|
|
496
496
|
h(e.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
497
497
|
], 10, kt)) : v("", !0),
|
|
498
498
|
e.$slots.watermark ? (i(), n("div", Ft, [
|
|
499
|
-
h(e.$slots, "watermark",
|
|
499
|
+
h(e.$slots, "watermark", B(T({ isPrinting: a(ue) || a(oe) })), void 0, !0)
|
|
500
500
|
])) : v("", !0),
|
|
501
501
|
e.$slots.source ? (i(), n("div", {
|
|
502
502
|
key: 6,
|
|
@@ -506,7 +506,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
506
506
|
}, [
|
|
507
507
|
h(e.$slots, "source", {}, void 0, !0)
|
|
508
508
|
], 512)) : v("", !0),
|
|
509
|
-
j.value ? v("", !0) : (i(),
|
|
509
|
+
j.value ? v("", !0) : (i(), R(a(ze), {
|
|
510
510
|
key: 7,
|
|
511
511
|
config: {
|
|
512
512
|
type: "relationCircle",
|
|
@@ -520,7 +520,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
|
|
|
520
520
|
}, null, 8, ["config"]))
|
|
521
521
|
], 44, pt));
|
|
522
522
|
}
|
|
523
|
-
}, Dt = /* @__PURE__ */ mt(
|
|
523
|
+
}, Dt = /* @__PURE__ */ mt(Et, [["__scopeId", "data-v-ffc439e1"]]);
|
|
524
524
|
export {
|
|
525
525
|
Dt as default
|
|
526
526
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineAsyncComponent as z, computed as f, ref as i, shallowRef as Ve, onMounted as Lt, onBeforeUnmount as Nt, watch as Be, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as _, normalizeClass as q, createBlock as P, createCommentVNode as c, renderSlot as p, createElementVNode as d, createSlots as Ue, withCtx as m, normalizeProps as K, guardReactiveProps as J, createVNode as Ge, Fragment as g, renderList as A, mergeProps as We, toDisplayString as H, createTextVNode as je, nextTick as Ft } from "vue";
|
|
2
|
-
import { u as Dt, c as ve, o as It, e as he, g as Ye, b as Xt, d as Rt, p as Q, an as qe, a9 as Et, U as Ke, V as Ht, W as Vt, X as Bt,
|
|
2
|
+
import { u as Dt, c as ve, o as It, e as he, g as Ye, b as Xt, d as Rt, p as Q, an as qe, a9 as Et, U as Ke, V as Ht, W as Vt, X as Bt, F as Ut, I as Gt, i as Z, f as ee, t as Wt, a as jt, q as Yt, r as qt, K as Kt } from "./index-CBhz79Be.js";
|
|
3
3
|
import { u as Jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
4
|
import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
5
|
-
import { u as Zt } from "./usePrinter-
|
|
5
|
+
import { u as Zt } from "./usePrinter-DNC_9y1d.js";
|
|
6
6
|
import { t as el, u as tl } from "./useResponsive-DfdjqQps.js";
|
|
7
|
-
import { u as Je } from "./useNestedProp-
|
|
8
|
-
import ll from "./Legend-
|
|
9
|
-
import al from "./Title-
|
|
10
|
-
import { _ as sl } from "./Shape-
|
|
7
|
+
import { u as Je } from "./useNestedProp-Cg9K3ISG.js";
|
|
8
|
+
import ll from "./Legend-B949nNP9.js";
|
|
9
|
+
import al from "./Title-CPvPrwF4.js";
|
|
10
|
+
import { _ as sl } from "./Shape-DmDw1mpi.js";
|
|
11
11
|
import { u as ol } from "./useTimeLabels-Mrr0jrpL.js";
|
|
12
12
|
import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const nl = ["id"], ul = ["xmlns", "viewBox"], il = ["id"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["id"], fl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = { key: 0 }, xl = ["fill", "d"], kl = ["stroke", "stroke-width", "d"], Al = ["fill", "d"], $l = ["stroke", "stroke-dasharray", "stroke-width", "d"], wl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Cl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], _l = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ml = { key: 0 }, Pl = { key: 0 }, Tl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Sl = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], zl = ["x", "y", "width", "height", "onMouseenter", "onClick"], Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ll = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Nl = ["x", "y", "text-anchor", "font-size", "fill"], Fl = {
|
|
@@ -31,7 +31,7 @@ const nl = ["id"], ul = ["xmlns", "viewBox"], il = ["id"], cl = ["stop-color"],
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
33
33
|
setup(Qe, { expose: Ze, emit: et }) {
|
|
34
|
-
const tt = z(() => import("./vue-ui-accordion-
|
|
34
|
+
const tt = z(() => import("./vue-ui-accordion-BWiiOpGO.js")), lt = z(() => import("./BaseDraggableDialog-UeaNekHG.js")), at = z(() => import("./DataTable-CLeYfh93.js")), st = z(() => import("./PackageVersion-Djh3oJFs.js")), ot = z(() => import("./PenAndPaper-BlF1d4XE.js")), rt = z(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), nt = z(() => import("./UserOptions-CFllUVQ4.js")), ut = z(() => import("./vue-ui-xy-CuzhWfRK.js")), { vue_ui_ridgeline: it } = Dt(), k = Qe, O = f({
|
|
35
35
|
get() {
|
|
36
36
|
return !!k.dataset && k.dataset.length;
|
|
37
37
|
},
|