vue-data-ui 3.0.0-next.5 → 3.0.0-next.50
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-6c56sGJ3.js → Arrow-Z9jhaVP0.js} +1 -1
- package/dist/{BaseDraggableDialog-y-BEzdTM.js → BaseDraggableDialog-CXFM6lrb.js} +2 -2
- package/dist/{BaseIcon-C-MP5EHV.js → BaseIcon-D3lVmh4q.js} +1 -1
- package/dist/{useLoading-Bt5Doa8m.js → BaseScanner-DIK2NTdp.js} +11 -11
- package/dist/{ColorPicker-P7R8vBej.js → ColorPicker-CZydWpxG.js} +2 -2
- package/dist/{DataTable-DD2pZIgh.js → DataTable-DBPMgoC3.js} +2 -2
- package/dist/{Legend-DZZeyx5j.js → Legend-Dj4hW4ih.js} +2 -2
- package/dist/{NonSvgPenAndPaper-uETwt6yC.js → NonSvgPenAndPaper-JPMlKVW3.js} +3 -3
- package/dist/{PackageVersion-D3jqYZS6.js → PackageVersion-_JpUHIQF.js} +1 -1
- package/dist/{PenAndPaper-Dy9zUXnw.js → PenAndPaper-CiXy6ifX.js} +3 -3
- package/dist/{Shape-CFp_TwS5.js → Shape-BLUp5WPA.js} +43 -37
- package/dist/Slicer-QbudvRet.js +602 -0
- package/dist/{SparkTooltip-BMV9aNLi.js → SparkTooltip-Nh3_vlzT.js} +7 -7
- package/dist/{Title-zqtIOYc5.js → Title-CxOYqn0J.js} +1 -1
- package/dist/{Tooltip-Bo30Qf34.js → Tooltip-CzRs24i2.js} +23 -19
- package/dist/{UserOptions-Cgrlu96K.js → UserOptions-RZkXTOCa.js} +2 -2
- package/dist/{dom-to-png-SVXVB8J4.js → dom-to-png-CV2fR0EQ.js} +1 -1
- package/dist/{img-DJTFe-dE.js → img-B7ogJ4e0.js} +1 -1
- package/dist/{index-DFSXaw69.js → index-CJ_8wwwn.js} +1594 -1216
- package/dist/{pdf-D-ie2h2J.js → pdf-set5F9CM.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +324 -14
- package/dist/types/vue-data-ui.d.ts +324 -14
- package/dist/useAutoSizeLabelsInsideViewbox-CyuM0n69.js +41 -0
- package/dist/{useNestedProp-CV3NndHa.js → useNestedProp-Co3NIfJz.js} +1 -1
- package/dist/{usePrinter-DXG9SdJr.js → usePrinter-Djgu-cC0.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-DhThPvS0.js → vue-data-ui-HYXpyDKV.js} +64 -64
- package/dist/vue-data-ui.js +30 -29
- package/dist/{vue-ui-3d-bar-C1M9fXQl.js → vue-ui-3d-bar-CT_YtMoO.js} +6 -6
- package/dist/{vue-ui-accordion-B-PjY4U8.js → vue-ui-accordion-3yBUN0ar.js} +3 -3
- package/dist/vue-ui-age-pyramid-FUsbvtyA.js +834 -0
- package/dist/{vue-ui-annotator-DauoYrzs.js → vue-ui-annotator-C4Z-9ldl.js} +2 -2
- package/dist/vue-ui-bullet-B1ALDthr.js +571 -0
- package/dist/vue-ui-candlestick-BuD3f7_o.js +999 -0
- package/dist/{vue-ui-carousel-table-B7i9TvuL.js → vue-ui-carousel-table-Dm_FdAF0.js} +4 -4
- package/dist/{vue-ui-chestnut-D9HL_oAu.js → vue-ui-chestnut-WTwQvrY9.js} +5 -5
- package/dist/{vue-ui-chord-BaEQ4_bQ.js → vue-ui-chord-CPVmSnYG.js} +8 -8
- package/dist/{vue-ui-circle-pack-DumySU9s.js → vue-ui-circle-pack-Bc8bJtl0.js} +26 -26
- package/dist/{vue-ui-cursor-D-88A6ue.js → vue-ui-cursor-DfZVsgB6.js} +2 -2
- package/dist/{vue-ui-dashboard-Br7MlswR.js → vue-ui-dashboard-BP5AhItc.js} +62 -62
- package/dist/{vue-ui-digits-BMb2ZxN9.js → vue-ui-digits-FvXrM2xK.js} +2 -2
- package/dist/{vue-ui-donut-NZIGKCYr.js → vue-ui-donut-3JmvHI0A.js} +401 -375
- package/dist/vue-ui-donut-evolution-DiBD970y.js +1075 -0
- package/dist/{vue-ui-dumbbell-B7jEqxUu.js → vue-ui-dumbbell-BiD393o3.js} +7 -7
- package/dist/vue-ui-flow-DbdQR23z.js +841 -0
- package/dist/{vue-ui-funnel-BRfQjCk6.js → vue-ui-funnel-DByaDRM7.js} +6 -6
- package/dist/{vue-ui-galaxy-u0oNgjDP.js → vue-ui-galaxy-C4Al6xQj.js} +60 -58
- package/dist/vue-ui-gauge-DjUtEfNU.js +791 -0
- package/dist/{vue-ui-gizmo-6QSDxdTp.js → vue-ui-gizmo-CzrxRz6L.js} +3 -3
- package/dist/vue-ui-heatmap-HVYUxTOT.js +1078 -0
- package/dist/vue-ui-history-plot-DXSpSL4A.js +1073 -0
- package/dist/{vue-ui-kpi-DwOX2xG0.js → vue-ui-kpi-DU8bOzeM.js} +3 -3
- package/dist/{vue-ui-mini-loader-CrAhBt4w.js → vue-ui-mini-loader-E4KhKAQz.js} +2 -2
- package/dist/{vue-ui-molecule-DVPFCYdv.js → vue-ui-molecule-DrFrNbBj.js} +46 -44
- package/dist/{vue-ui-mood-radar-BPCedEDi.js → vue-ui-mood-radar-Cf_2QCYC.js} +7 -7
- package/dist/vue-ui-nested-donuts-BnA1KtIt.js +1286 -0
- package/dist/vue-ui-onion-B84CPvyH.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-D4Ct2cvP.js +915 -0
- package/dist/{vue-ui-quadrant-CRR0XJzp.js → vue-ui-quadrant-8ksd3FSu.js} +59 -57
- package/dist/vue-ui-quick-chart-BY8Kd1LO.js +1761 -0
- package/dist/{vue-ui-radar-Fxk4Nq3_.js → vue-ui-radar-BUQaHh0L.js} +12 -10
- package/dist/{vue-ui-rating-EwwvsCi3.js → vue-ui-rating-Cn1_Hn2b.js} +2 -2
- package/dist/{vue-ui-relation-circle-DB7plTEJ.js → vue-ui-relation-circle-DPKDfjYx.js} +6 -6
- package/dist/vue-ui-ridgeline-zvRHpo_N.js +1153 -0
- package/dist/vue-ui-rings-Tw1dHWHH.js +728 -0
- package/dist/vue-ui-scatter-8LZZMVhD.js +1178 -0
- package/dist/{vue-ui-skeleton-1OErZL6t.js → vue-ui-skeleton-DVxUvega.js} +3 -3
- package/dist/{vue-ui-smiley-C_8dvJDX.js → vue-ui-smiley-DJTTUjT_.js} +2 -2
- package/dist/{vue-ui-spark-trend-Ds3apeYN.js → vue-ui-spark-trend-Dsku4oGR.js} +6 -6
- package/dist/{vue-ui-sparkbar-NpyQVY-J.js → vue-ui-sparkbar-Br_fLEOr.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BYHhBxke.js → vue-ui-sparkgauge-DSBJsCu3.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-DFbQ-g2X.js → vue-ui-sparkhistogram-BX6SXzWN.js} +4 -4
- package/dist/vue-ui-sparkline-DgVH0bCY.js +489 -0
- package/dist/{vue-ui-sparkstackbar-BxMFKBBt.js → vue-ui-sparkstackbar-D-KbMYmo.js} +55 -53
- package/dist/vue-ui-stackbar-DWOm3J6d.js +1370 -0
- package/dist/{vue-ui-strip-plot-Crml8nCi.js → vue-ui-strip-plot-Bi4PWqJG.js} +30 -28
- package/dist/{vue-ui-table-C3lxyo1m.js → vue-ui-table-Ac5mvoTX.js} +11 -11
- package/dist/{vue-ui-table-heatmap-DYgu1wOK.js → vue-ui-table-heatmap-DtN-NEea.js} +5 -5
- package/dist/{vue-ui-table-sparkline-B_eROo0E.js → vue-ui-table-sparkline-Dm9VtfGM.js} +4 -4
- package/dist/{vue-ui-thermometer-Dn8-68zJ.js → vue-ui-thermometer-CKzsQxea.js} +6 -6
- package/dist/{vue-ui-timer-CREgpYVZ.js → vue-ui-timer-CRuQHU_f.js} +5 -5
- package/dist/vue-ui-tiremarks-0mS5yMkd.js +406 -0
- package/dist/vue-ui-treemap-BkU919fN.js +1035 -0
- package/dist/{vue-ui-vertical-bar-BYtbI3Eq.js → vue-ui-vertical-bar-ByPC7JmK.js} +322 -306
- package/dist/vue-ui-waffle-GWXnMKeQ.js +910 -0
- package/dist/{vue-ui-wheel-CUgfhL9p.js → vue-ui-wheel-PP-IY2XR.js} +6 -6
- package/dist/{vue-ui-word-cloud-DBJueUIP.js → vue-ui-word-cloud-Cc5c_8Z1.js} +12 -10
- package/dist/{vue-ui-world-DR6IEkat.js → vue-ui-world-B1zbPwk3.js} +11 -9
- package/dist/vue-ui-xy-D7Sx_bPF.js +3760 -0
- package/dist/{vue-ui-xy-canvas-C2k2SOVa.js → vue-ui-xy-canvas-sA_OEIMw.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-Bba4UfIm.js +0 -577
- package/dist/vue-ui-age-pyramid-Bt0KEjza.js +0 -746
- package/dist/vue-ui-bullet-CWxvbrat.js +0 -513
- package/dist/vue-ui-candlestick-BmYaA6wk.js +0 -873
- package/dist/vue-ui-donut-evolution-D38U9QxB.js +0 -903
- package/dist/vue-ui-flow-k4KjXCTn.js +0 -765
- package/dist/vue-ui-gauge-DUpSrOgm.js +0 -738
- package/dist/vue-ui-heatmap-CqqXcJ8F.js +0 -877
- package/dist/vue-ui-history-plot-BiC39PhQ.js +0 -924
- package/dist/vue-ui-nested-donuts-C2kl6581.js +0 -1177
- package/dist/vue-ui-onion-Dk3OUNGJ.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-B-r0h3BM.js +0 -807
- package/dist/vue-ui-quick-chart-CS-Uk49C.js +0 -1612
- package/dist/vue-ui-ridgeline-D55xotqc.js +0 -969
- package/dist/vue-ui-rings-D6gr6DBO.js +0 -685
- package/dist/vue-ui-scatter-hFI2YfFt.js +0 -1045
- package/dist/vue-ui-sparkline-CiVlvGOI.js +0 -459
- package/dist/vue-ui-stackbar-DHsxlaNI.js +0 -1207
- package/dist/vue-ui-tiremarks-DrFKdGSj.js +0 -358
- package/dist/vue-ui-treemap-C1m-cAh0.js +0 -965
- package/dist/vue-ui-waffle-Cr0JqMuU.js +0 -863
- package/dist/vue-ui-xy-BCFKGTws.js +0 -2980
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as xt, c as De, t as $t, p as he, a as kt, o as Lt, e as G, b as wt, d as qt,
|
|
1
|
+
import { defineAsyncComponent as P, computed as g, ref as y, watch as Ee, shallowRef as Ue, onMounted as bt, onBeforeUnmount as ft, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as q, normalizeClass as T, createBlock as R, createCommentVNode as h, createElementVNode as d, createVNode as de, createSlots as pt, withCtx as m, renderSlot as x, normalizeProps as U, guardReactiveProps as D, Fragment as S, renderList as Y, toDisplayString as L, createTextVNode as gt, nextTick as mt } from "vue";
|
|
2
|
+
import { u as xt, c as De, t as $t, p as he, a as kt, o as Lt, e as G, b as wt, d as qt, Z as _t, i as F, f as V, X as St, s as oe, x as Ct, _ as zt, I as Tt, F as Xt, q as Wt, r as Yt, y as At, z as Mt } from "./index-CJ_8wwwn.js";
|
|
3
3
|
import { t as Nt, u as Ot } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ge } from "./useNestedProp-
|
|
5
|
-
import { u as Rt } from "./usePrinter-
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as Qe } from "./Shape-
|
|
11
|
-
import Ht from "./img-
|
|
4
|
+
import { u as Ge } from "./useNestedProp-Co3NIfJz.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-Djgu-cC0.js";
|
|
6
|
+
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Bt from "./Title-CxOYqn0J.js";
|
|
9
|
+
import Pt from "./Legend-Dj4hW4ih.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-BLUp5WPA.js";
|
|
11
|
+
import Ht from "./img-B7ogJ4e0.js";
|
|
12
12
|
import { _ as It } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "height"], Gt = ["id"], Qt = ["stop-color"], Jt = ["stop-color"], jt = { key: 1 }, Zt = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Kt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], el = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], tl = { key: 2 }, ll = ["points", "fill"], al = ["points", "fill"], ul = ["points", "fill"], ol = ["points", "fill"], sl = { key: 3 }, rl = ["y", "fill", "font-size"], nl = ["x", "y", "fill", "font-size"], il = ["x", "y", "fill", "font-size"], vl = ["y", "fill", "font-size"], cl = { key: 4 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], bl = ["id", "font-size", "transform", "fill"], fl = ["id", "font-size", "transform", "fill"], pl = ["id", "font-size", "transform", "fill"], gl = { key: 5 }, ml = ["fill", "points"], xl = ["x", "y", "width", "height"], $l = ["x", "y", "width", "height"], kl = ["x", "y", "width", "height"], Ll = ["x", "y", "width", "height"], wl = {
|
|
14
14
|
key: 0,
|
|
@@ -16,7 +16,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
16
16
|
}, ql = ["x", "y", "font-size", "fill"], _l = ["x", "y", "font-size", "fill", "innerHTML"], Sl = { key: 0 }, Cl = ["x", "y", "onMouseover", "onClick"], zl = {
|
|
17
17
|
key: 8,
|
|
18
18
|
class: "vue-ui-dna"
|
|
19
|
-
}, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"],
|
|
19
|
+
}, Tl = ["points", "fill"], Xl = ["points", "fill"], Wl = ["points", "fill"], Yl = ["points", "fill"], Al = { key: 9 }, Ml = ["x", "y", "font-size", "fill", "font-weight"], Nl = { key: 10 }, Ol = ["x", "y", "fill"], Rl = ["x", "y", "fill"], Fl = ["x", "y", "fill"], Vl = ["x", "y", "fill"], Bl = ["stroke", "d"], Pl = ["stroke", "d"], Hl = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "vue-data-ui-watermark"
|
|
22
22
|
}, Il = ["onClick"], El = {
|
|
@@ -42,10 +42,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
44
44
|
setup(Je, { expose: je, emit: Ze }) {
|
|
45
|
-
const Ke =
|
|
45
|
+
const Ke = P(() => import("./DataTable-DBPMgoC3.js")), et = P(() => import("./PenAndPaper-CiXy6ifX.js")), tt = P(() => import("./vue-ui-accordion-3yBUN0ar.js")), lt = P(() => import("./vue-ui-skeleton-DVxUvega.js")), at = P(() => import("./Tooltip-CzRs24i2.js")), ut = P(() => import("./UserOptions-RZkXTOCa.js")), ot = P(() => import("./PackageVersion-_JpUHIQF.js")), { vue_ui_quadrant: st } = xt(), X = Je, K = g(() => !!X.dataset && X.dataset.length), z = y(De()), se = Ze, rt = y(null), ee = y(!1), re = y(""), ye = y(0), f = y(!1), A = 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({
|
|
46
46
|
get: () => qe(),
|
|
47
47
|
set: (l) => l
|
|
48
|
-
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } =
|
|
48
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ke, keepUserOptionState: Le } = Ft({ config: t.value }), { svgRef: we } = Vt({ config: t.value.style.chart.title });
|
|
49
49
|
function qe() {
|
|
50
50
|
const l = Ge({
|
|
51
51
|
userConfig: X.config,
|
|
@@ -142,7 +142,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
142
142
|
startY: 0
|
|
143
143
|
});
|
|
144
144
|
}, { deep: !0 });
|
|
145
|
-
const c = y(null),
|
|
145
|
+
const c = y(null), B = g(() => {
|
|
146
146
|
switch (c.value) {
|
|
147
147
|
case "TL":
|
|
148
148
|
return {
|
|
@@ -371,18 +371,18 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
371
371
|
name: o.category
|
|
372
372
|
},
|
|
373
373
|
o.name,
|
|
374
|
-
|
|
374
|
+
F(
|
|
375
375
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
376
376
|
o.x,
|
|
377
|
-
|
|
377
|
+
V({
|
|
378
378
|
v: o.x,
|
|
379
379
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
380
380
|
})
|
|
381
381
|
),
|
|
382
|
-
|
|
382
|
+
F(
|
|
383
383
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
384
384
|
o.y,
|
|
385
|
-
|
|
385
|
+
V({
|
|
386
386
|
v: o.y,
|
|
387
387
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
388
388
|
})
|
|
@@ -464,18 +464,18 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
464
464
|
});
|
|
465
465
|
else {
|
|
466
466
|
let r = "";
|
|
467
|
-
u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
467
|
+
u.quadrantSide && (r += `<div style="color:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].color};font-weight:${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].bold ? "bold" : "400"}">${t.value.style.chart.layout.labels.quadrantLabels[u.quadrantSide].text}</div>`), r += `<div>${l.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};margin-bottom:3px">${u.name}</div>`, r += `<div>${t.value.style.chart.layout.grid.xAxis.name ? t.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${F(
|
|
468
468
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
469
469
|
u.xValue,
|
|
470
|
-
|
|
470
|
+
V({
|
|
471
471
|
v: u.xValue,
|
|
472
472
|
r: t.value.style.chart.tooltip.roundingValue
|
|
473
473
|
}),
|
|
474
474
|
{ datapoint: u, category: l, categoryIndex: a }
|
|
475
|
-
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
475
|
+
)}</b></div>`, r += `<div>${t.value.style.chart.layout.grid.yAxis.name ? t.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${F(
|
|
476
476
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
477
477
|
u.yValue,
|
|
478
|
-
|
|
478
|
+
V({
|
|
479
479
|
v: u.yValue,
|
|
480
480
|
r: t.value.style.chart.tooltip.roundingValue
|
|
481
481
|
}),
|
|
@@ -629,20 +629,20 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
629
629
|
}))
|
|
630
630
|
}));
|
|
631
631
|
}
|
|
632
|
-
function
|
|
632
|
+
function Fe(l = null) {
|
|
633
633
|
mt(() => {
|
|
634
634
|
const u = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = le.value.head, o = le.value.body, r = u.concat([a]).concat(o), b = Wt(r);
|
|
635
635
|
l ? l(b) : Yt({ csvContent: b, title: t.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
638
|
const E = y(!1);
|
|
639
|
-
function
|
|
639
|
+
function Ve(l) {
|
|
640
640
|
E.value = l, ye.value += 1;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Be() {
|
|
643
643
|
$.value.showTable = !$.value.showTable;
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Pe() {
|
|
646
646
|
$.value.plotLabels.show = !$.value.plotLabels.show;
|
|
647
647
|
}
|
|
648
648
|
function He() {
|
|
@@ -668,13 +668,13 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
668
668
|
getData: Re,
|
|
669
669
|
getImage: yt,
|
|
670
670
|
generatePdf: ze,
|
|
671
|
-
generateCsv:
|
|
671
|
+
generateCsv: Fe,
|
|
672
672
|
generateImage: Te,
|
|
673
|
-
toggleTable:
|
|
674
|
-
toggleLabels:
|
|
673
|
+
toggleTable: Be,
|
|
674
|
+
toggleLabels: Pe,
|
|
675
675
|
toggleTooltip: He,
|
|
676
676
|
toggleAnnotator: ce,
|
|
677
|
-
toggleFullscreen:
|
|
677
|
+
toggleFullscreen: Ve
|
|
678
678
|
}), (l, u) => (s(), n("div", {
|
|
679
679
|
class: T(`vue-ui-quadrant ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
680
680
|
ref_key: "quadrantChart",
|
|
@@ -705,7 +705,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
705
705
|
ref: be,
|
|
706
706
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
707
707
|
}, [
|
|
708
|
-
(s(), R(
|
|
708
|
+
(s(), R(Bt, {
|
|
709
709
|
key: `table_${me.value}`,
|
|
710
710
|
config: {
|
|
711
711
|
title: {
|
|
@@ -744,12 +744,12 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
744
744
|
isAnnotation: ue.value,
|
|
745
745
|
callbacks: t.value.userOptions.callbacks,
|
|
746
746
|
printScale: t.value.userOptions.print.scale,
|
|
747
|
-
onToggleFullscreen:
|
|
747
|
+
onToggleFullscreen: Ve,
|
|
748
748
|
onGeneratePdf: i(ze),
|
|
749
|
-
onGenerateCsv:
|
|
749
|
+
onGenerateCsv: Fe,
|
|
750
750
|
onGenerateImage: i(Te),
|
|
751
|
-
onToggleTable:
|
|
752
|
-
onToggleLabels:
|
|
751
|
+
onToggleTable: Be,
|
|
752
|
+
onToggleLabels: Pe,
|
|
753
753
|
onToggleTooltip: He,
|
|
754
754
|
onToggleAnnotator: ce,
|
|
755
755
|
style: q({
|
|
@@ -961,10 +961,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
961
961
|
"text-anchor": "middle",
|
|
962
962
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
963
963
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
964
|
-
}, L(i(
|
|
964
|
+
}, L(i(F)(
|
|
965
965
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
966
966
|
_.value.y.max,
|
|
967
|
-
i(
|
|
967
|
+
i(V)({
|
|
968
968
|
v: _.value.y.max,
|
|
969
969
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
970
970
|
})
|
|
@@ -982,10 +982,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
982
982
|
"text-anchor": "middle",
|
|
983
983
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
984
984
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
985
|
-
}, L(i(
|
|
985
|
+
}, L(i(F)(
|
|
986
986
|
t.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
987
987
|
_.value.y.min,
|
|
988
|
-
i(
|
|
988
|
+
i(V)({
|
|
989
989
|
v: _.value.y.min,
|
|
990
990
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
991
991
|
})
|
|
@@ -996,10 +996,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
996
996
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
997
997
|
transform: `translate(${e.value.padding - t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(-90)`,
|
|
998
998
|
fill: t.value.style.chart.layout.labels.axisLabels.color.negative
|
|
999
|
-
}, L(i(
|
|
999
|
+
}, L(i(F)(
|
|
1000
1000
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1001
1001
|
_.value.x.min,
|
|
1002
|
-
i(
|
|
1002
|
+
i(V)({
|
|
1003
1003
|
v: _.value.x.min,
|
|
1004
1004
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1005
1005
|
})
|
|
@@ -1010,10 +1010,10 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1010
1010
|
"font-size": t.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1011
1011
|
transform: `translate(${e.value.width - e.value.padding + t.value.style.chart.layout.labels.axisLabels.fontSize}, ${e.value.height / 2}), rotate(90)`,
|
|
1012
1012
|
fill: t.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1013
|
-
}, L(i(
|
|
1013
|
+
}, L(i(F)(
|
|
1014
1014
|
t.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1015
1015
|
_.value.x.max,
|
|
1016
|
-
i(
|
|
1016
|
+
i(V)({
|
|
1017
1017
|
v: _.value.x.max,
|
|
1018
1018
|
r: t.value.style.chart.layout.labels.plotLabels.rounding
|
|
1019
1019
|
})
|
|
@@ -1170,13 +1170,13 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1170
1170
|
])) : h("", !0),
|
|
1171
1171
|
c.value && !te.value ? (s(), n("g", Al, [
|
|
1172
1172
|
d("text", {
|
|
1173
|
-
x:
|
|
1174
|
-
y:
|
|
1175
|
-
"font-size":
|
|
1176
|
-
fill:
|
|
1173
|
+
x: B.value.x,
|
|
1174
|
+
y: B.value.y - B.value.fontSize / 1.5,
|
|
1175
|
+
"font-size": B.value.fontSize / 1.5,
|
|
1176
|
+
fill: B.value.fill,
|
|
1177
1177
|
"text-anchor": "middle",
|
|
1178
|
-
"font-weight":
|
|
1179
|
-
}, L(
|
|
1178
|
+
"font-weight": B.value.bold ? "bold" : "normal"
|
|
1179
|
+
}, L(B.value.text), 9, Ml)
|
|
1180
1180
|
])) : h("", !0),
|
|
1181
1181
|
f.value && c.value ? (s(), n("g", Nl, [
|
|
1182
1182
|
d("rect", {
|
|
@@ -1208,7 +1208,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1208
1208
|
style: q(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1209
1209
|
onClick: u[12] || (u[12] = (a) => N("BR")),
|
|
1210
1210
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1211
|
-
}, null, 14,
|
|
1211
|
+
}, null, 14, Fl),
|
|
1212
1212
|
d("rect", {
|
|
1213
1213
|
x: w.value[c.value].bl.x,
|
|
1214
1214
|
y: w.value[c.value].bl.y,
|
|
@@ -1218,19 +1218,19 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1218
1218
|
style: q(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1219
1219
|
onClick: u[13] || (u[13] = (a) => N("BL")),
|
|
1220
1220
|
class: T({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1221
|
-
}, null, 14,
|
|
1221
|
+
}, null, 14, Vl),
|
|
1222
1222
|
d("path", {
|
|
1223
1223
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1224
1224
|
stroke: t.value.style.chart.backgroundColor,
|
|
1225
1225
|
"stroke-width": 1,
|
|
1226
1226
|
d: w.value[c.value].crosshairs.horizontal
|
|
1227
|
-
}, null, 8,
|
|
1227
|
+
}, null, 8, Bl),
|
|
1228
1228
|
d("path", {
|
|
1229
1229
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1230
1230
|
stroke: t.value.style.chart.backgroundColor,
|
|
1231
1231
|
"stroke-width": 1,
|
|
1232
1232
|
d: w.value[c.value].crosshairs.vertical
|
|
1233
|
-
}, null, 8,
|
|
1233
|
+
}, null, 8, Pl)
|
|
1234
1234
|
])) : h("", !0),
|
|
1235
1235
|
x(l.$slots, "svg", { svg: e.value }, void 0, !0)
|
|
1236
1236
|
], 14, Ut)) : h("", !0),
|
|
@@ -1259,7 +1259,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1259
1259
|
ref_key: "chartLegend",
|
|
1260
1260
|
ref: fe
|
|
1261
1261
|
}, [
|
|
1262
|
-
t.value.style.chart.legend.show ? (s(), R(
|
|
1262
|
+
t.value.style.chart.legend.show ? (s(), R(Pt, {
|
|
1263
1263
|
key: `legend_${$e.value}`,
|
|
1264
1264
|
legendSet: Ae.value,
|
|
1265
1265
|
config: ht.value,
|
|
@@ -1299,7 +1299,9 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1299
1299
|
parent: A.value,
|
|
1300
1300
|
content: re.value,
|
|
1301
1301
|
isFullscreen: E.value,
|
|
1302
|
-
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
1302
|
+
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function",
|
|
1303
|
+
smooth: t.value.style.chart.tooltip.smooth,
|
|
1304
|
+
backdropFilter: t.value.style.chart.tooltip.backdropFilter
|
|
1303
1305
|
}, {
|
|
1304
1306
|
"tooltip-before": m(() => [
|
|
1305
1307
|
x(l.$slots, "tooltip-before", U(D({ ...ve.value })), void 0, !0)
|
|
@@ -1320,7 +1322,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1320
1322
|
])) : h("", !0)
|
|
1321
1323
|
]),
|
|
1322
1324
|
_: 3
|
|
1323
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
1325
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
|
|
1324
1326
|
K.value ? (s(), R(i(tt), {
|
|
1325
1327
|
key: 8,
|
|
1326
1328
|
hideDetails: "",
|
|
@@ -1362,7 +1364,7 @@ const Et = ["id"], Ut = ["xmlns", "viewBox", "id"], Dt = ["x", "y", "width", "he
|
|
|
1362
1364
|
}, 8, ["config"])) : h("", !0)
|
|
1363
1365
|
], 46, Et));
|
|
1364
1366
|
}
|
|
1365
|
-
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-
|
|
1367
|
+
}, sa = /* @__PURE__ */ It(Dl, [["__scopeId", "data-v-929dd56e"]]);
|
|
1366
1368
|
export {
|
|
1367
1369
|
sa as default
|
|
1368
1370
|
};
|