vue-data-ui 3.0.0-next.6 → 3.0.0-next.60
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-Ul64M9UV.js → Arrow-Dt0ZxTK2.js} +1 -1
- package/dist/{BaseDraggableDialog-Q2ajCztp.js → BaseDraggableDialog-Bl-2tw3H.js} +2 -2
- package/dist/{BaseIcon-BKR7AGeP.js → BaseIcon-C3ljqn8J.js} +1 -1
- package/dist/{ColorPicker-BagIs8-K.js → ColorPicker-0d0whOB3.js} +2 -2
- package/dist/{DataTable-CDwApkI_.js → DataTable-C_tJHvMd.js} +2 -2
- package/dist/{Legend-BSLj7tYc.js → Legend-VD0VB7l7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DjJe5fXu.js → NonSvgPenAndPaper-DQsHc_AG.js} +3 -3
- package/dist/{PackageVersion-BsKpz6KS.js → PackageVersion-5S8ajCUS.js} +1 -1
- package/dist/{PenAndPaper-BYRk8xrS.js → PenAndPaper-D6wazxlT.js} +3 -3
- package/dist/{Shape-DK7zYTKa.js → Shape-DDSX29LV.js} +43 -37
- package/dist/Slicer-D3SbIarX.js +602 -0
- package/dist/{SparkTooltip-Dy2sVTb_.js → SparkTooltip-BCdP3VDl.js} +1 -1
- package/dist/{Title-Cednydse.js → Title-DEKAfzRX.js} +1 -1
- package/dist/{Tooltip-DJlwW-XP.js → Tooltip-DJlC-n25.js} +23 -19
- package/dist/{UserOptions-DxIzWere.js → UserOptions-D2G7II3G.js} +2 -2
- package/dist/{dom-to-png-lZcM-YfK.js → dom-to-png-Y0tASTWQ.js} +1 -1
- package/dist/{img-DqlIAUF6.js → img-ChLGv8nO.js} +1 -1
- package/dist/{index-BQcLOx39.js → index-BLtc1AIS.js} +1707 -1131
- package/dist/{pdf-CjIXhsyg.js → pdf-DNiq-xsc.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +481 -21
- package/dist/types/vue-data-ui.d.ts +481 -21
- package/dist/useAutoSizeLabelsInsideViewbox-BJDcwsoB.js +41 -0
- package/dist/useNestedProp-DExlTpuj.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-BRY5saEA.js → usePrinter-fqbzwh0l.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-CWRlSsiN.js → vue-data-ui-B8bRwUEL.js} +105 -100
- package/dist/vue-data-ui.js +23 -22
- package/dist/vue-ui-3d-bar-Dddx5kJW.js +1323 -0
- package/dist/{vue-ui-accordion-Df-5BRRg.js → vue-ui-accordion-EMAj3Ykx.js} +3 -3
- package/dist/vue-ui-age-pyramid-CMzKOGfv.js +834 -0
- package/dist/{vue-ui-annotator-BxC5dcIv.js → vue-ui-annotator-BQxXVdZW.js} +2 -2
- package/dist/vue-ui-bullet-DIie_6-T.js +571 -0
- package/dist/vue-ui-candlestick-DU796IGE.js +999 -0
- package/dist/{vue-ui-carousel-table-NTDzafWQ.js → vue-ui-carousel-table-xDItqzuw.js} +29 -29
- package/dist/{vue-ui-chestnut-k21Qqjjq.js → vue-ui-chestnut-DnQ494SU.js} +5 -5
- package/dist/{vue-ui-chord-BVoA6nfI.js → vue-ui-chord-DTs9gQ-R.js} +8 -8
- package/dist/{vue-ui-circle-pack-CEBgImRX.js → vue-ui-circle-pack-D73gxFJW.js} +24 -24
- package/dist/{vue-ui-cursor-BQcz8xw2.js → vue-ui-cursor-CNXTFeSs.js} +2 -2
- package/dist/{vue-ui-dashboard-CyzEpJoI.js → vue-ui-dashboard-Duph5Yta.js} +62 -62
- package/dist/{vue-ui-digits-Dafw1UsT.js → vue-ui-digits-D7qOSGZ-.js} +2 -2
- package/dist/{vue-ui-donut-DKfux8XT.js → vue-ui-donut-EfxITdHJ.js} +320 -308
- package/dist/vue-ui-donut-evolution-H6nfW_kx.js +1075 -0
- package/dist/vue-ui-dumbbell-DCUR8kl_.js +1119 -0
- package/dist/vue-ui-flow-DUENWmgc.js +841 -0
- package/dist/{vue-ui-funnel-CuN8HWwP.js → vue-ui-funnel-BSGUxWhW.js} +16 -16
- package/dist/{vue-ui-galaxy-BHCLFlmy.js → vue-ui-galaxy-D8PBQfbb.js} +60 -58
- package/dist/vue-ui-gauge-C8v8wKJO.js +791 -0
- package/dist/{vue-ui-gizmo-DHEEfdp9.js → vue-ui-gizmo-DmguslRh.js} +3 -3
- package/dist/vue-ui-heatmap-BM5Gfdzz.js +1078 -0
- package/dist/vue-ui-history-plot-CF6SlpwK.js +1073 -0
- package/dist/{vue-ui-kpi-C4i2w_Yd.js → vue-ui-kpi-BCyX-Zu-.js} +7 -7
- package/dist/{vue-ui-mini-loader-BeetGv_m.js → vue-ui-mini-loader-ByMff4PK.js} +2 -2
- package/dist/{vue-ui-molecule-F_gDXjJr.js → vue-ui-molecule-Cxnf2xDy.js} +53 -51
- package/dist/{vue-ui-mood-radar-BJMOEqlu.js → vue-ui-mood-radar-DEfJWXE7.js} +15 -15
- package/dist/vue-ui-nested-donuts-Bt7Pw9l0.js +1286 -0
- package/dist/vue-ui-onion-Bk3KL1Nk.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-BpKRlOYy.js +915 -0
- package/dist/{vue-ui-quadrant-DTyRC1_v.js → vue-ui-quadrant-D1dgOAp2.js} +59 -57
- package/dist/vue-ui-quick-chart-_I6OrH-J.js +1761 -0
- package/dist/{vue-ui-radar-De2iznwo.js → vue-ui-radar-BWnhxayf.js} +30 -28
- package/dist/{vue-ui-rating-CarXXyD-.js → vue-ui-rating-I08lL1Nb.js} +2 -2
- package/dist/{vue-ui-relation-circle-CKkK9D4E.js → vue-ui-relation-circle-CMF5FSha.js} +6 -6
- package/dist/vue-ui-ridgeline-prYrXNYF.js +1153 -0
- package/dist/vue-ui-rings-DmbUIw9S.js +728 -0
- package/dist/vue-ui-scatter-srTVLcUK.js +1178 -0
- package/dist/{vue-ui-skeleton-C7maR60-.js → vue-ui-skeleton-FanSnKr8.js} +3 -3
- package/dist/{vue-ui-smiley-DzCCn5Oc.js → vue-ui-smiley-CWA0Y6wM.js} +26 -26
- package/dist/{vue-ui-spark-trend-Db-Fnp8C.js → vue-ui-spark-trend-EiEzMoPj.js} +3 -3
- package/dist/vue-ui-sparkbar-CCe0U_o0.js +351 -0
- package/dist/{vue-ui-sparkgauge-DAQ4zozy.js → vue-ui-sparkgauge-Cdcirik_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CMEaO0CW.js → vue-ui-sparkhistogram-CEj9qz9m.js} +4 -4
- package/dist/vue-ui-sparkline-B2-YztKx.js +489 -0
- package/dist/vue-ui-sparkstackbar-BGMtc_HC.js +421 -0
- package/dist/vue-ui-stackbar-DrKaioRS.js +1370 -0
- package/dist/vue-ui-strip-plot-C4qWoDEh.js +915 -0
- package/dist/{vue-ui-table-Dck8Pyg9.js → vue-ui-table-CXqyTj_Z.js} +11 -11
- package/dist/{vue-ui-table-heatmap-DknIGf9_.js → vue-ui-table-heatmap-BZTn3qnM.js} +5 -5
- package/dist/{vue-ui-table-sparkline-G4HAzUt6.js → vue-ui-table-sparkline-CIBdN_KF.js} +14 -14
- package/dist/vue-ui-thermometer-DPIpWKUI.js +541 -0
- package/dist/{vue-ui-timer-Dmr-HCSc.js → vue-ui-timer-Cha-Gb1x.js} +5 -5
- package/dist/vue-ui-tiremarks-B4SjQyS7.js +406 -0
- package/dist/vue-ui-treemap-1twI_ag-.js +1035 -0
- package/dist/{vue-ui-vertical-bar--QFtoFje.js → vue-ui-vertical-bar-C31Jqkbw.js} +318 -302
- package/dist/vue-ui-waffle-DkZykFPK.js +910 -0
- package/dist/vue-ui-wheel-CYOrBHBD.js +379 -0
- package/dist/vue-ui-word-cloud-Clyg0CRZ.js +765 -0
- package/dist/{vue-ui-world-BcK_brDq.js → vue-ui-world-BYgMbS-e.js} +11 -9
- package/dist/vue-ui-xy-BMszd4wZ.js +3760 -0
- package/dist/{vue-ui-xy-canvas--88oKdGN.js → vue-ui-xy-canvas-DwXvZ311.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-B_Hb6qSk.js +0 -577
- package/dist/useNestedProp-DefBVltl.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-CJMZqDo1.js +0 -1227
- package/dist/vue-ui-age-pyramid-B6WAMtPk.js +0 -746
- package/dist/vue-ui-bullet-NmtltFbU.js +0 -513
- package/dist/vue-ui-candlestick-BzqQtynP.js +0 -873
- package/dist/vue-ui-donut-evolution-D7cNk_6l.js +0 -903
- package/dist/vue-ui-dumbbell--H80zebk.js +0 -753
- package/dist/vue-ui-flow-lk_HU5NB.js +0 -765
- package/dist/vue-ui-gauge-DWlCh2_B.js +0 -738
- package/dist/vue-ui-heatmap-BK6BNOY_.js +0 -877
- package/dist/vue-ui-history-plot-CGF6lE-7.js +0 -924
- package/dist/vue-ui-nested-donuts-BX0Z0rb1.js +0 -1177
- package/dist/vue-ui-onion-BhjUET_W.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-n7QPVLrW.js +0 -807
- package/dist/vue-ui-quick-chart-5xX-yBIY.js +0 -1612
- package/dist/vue-ui-ridgeline-DQ8RQf3E.js +0 -969
- package/dist/vue-ui-rings-Cze6OsmO.js +0 -685
- package/dist/vue-ui-scatter-CwI3_Dn7.js +0 -1045
- package/dist/vue-ui-sparkbar-C6wsNMMO.js +0 -301
- package/dist/vue-ui-sparkline-R7pfxRWN.js +0 -459
- package/dist/vue-ui-sparkstackbar-DV_XqJQ2.js +0 -381
- package/dist/vue-ui-stackbar-gReSujA_.js +0 -1207
- package/dist/vue-ui-strip-plot-8fsm3nn2.js +0 -761
- package/dist/vue-ui-thermometer-BIkXa4hY.js +0 -495
- package/dist/vue-ui-tiremarks-YWbRk0dm.js +0 -358
- package/dist/vue-ui-treemap-D2OnG3Fh.js +0 -965
- package/dist/vue-ui-waffle-BdaCXuWc.js +0 -863
- package/dist/vue-ui-wheel-Bw3XSa8N.js +0 -352
- package/dist/vue-ui-word-cloud-BH8UZH_J.js +0 -659
- package/dist/vue-ui-xy-Be--zwe9.js +0 -2980
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { u as xt, c as De,
|
|
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, a as $t, p as he, b as kt, o as Lt, f as G, d as wt, e as qt, Y as _t, k as F, i as V, X as St, s as oe, x as Ct, Z as zt, I as Tt, F as Xt, v as Wt, w as Yt, y as At, z as Mt } from "./index-BLtc1AIS.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-DExlTpuj.js";
|
|
5
|
+
import { u as Rt } from "./usePrinter-fqbzwh0l.js";
|
|
6
|
+
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Bt from "./Title-DEKAfzRX.js";
|
|
9
|
+
import Pt from "./Legend-VD0VB7l7.js";
|
|
10
|
+
import { _ as Qe } from "./Shape-DDSX29LV.js";
|
|
11
|
+
import Ht from "./img-ChLGv8nO.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-C_tJHvMd.js")), et = P(() => import("./PenAndPaper-D6wazxlT.js")), tt = P(() => import("./vue-ui-accordion-EMAj3Ykx.js")), lt = P(() => import("./vue-ui-skeleton-FanSnKr8.js")), at = P(() => import("./Tooltip-DJlC-n25.js")), ut = P(() => import("./UserOptions-D2G7II3G.js")), ot = P(() => import("./PackageVersion-5S8ajCUS.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
|
};
|