vue-data-ui 3.2.7 → 3.3.0
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-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
- package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
- package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
- package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
- package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
- package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
- package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
- package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
- package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
- package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
- package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
- package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
- package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
- package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
- package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
- package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
- package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
- package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +8 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
- package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
- package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
- package/dist/useSvgExport-B7-Vrjtu.js +732 -0
- package/dist/vue-data-ui-DLU1snC3.js +326 -0
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
- package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
- package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
- package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
- package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
- package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
- package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
- package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
- package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
- package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
- package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
- package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
- package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
- package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
- package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
- package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
- package/dist/vue-ui-flow--kiGWaq4.js +931 -0
- package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
- package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
- package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
- package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
- package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
- package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
- package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
- package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
- package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
- package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
- package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
- package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
- package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
- package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
- package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
- package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
- package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
- package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
- package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
- package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
- package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
- package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
- package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
- package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
- package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
- package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
- package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
- package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
- package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
- package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
- package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
- package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
- package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
- package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
- package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
- package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
- package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
- package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
- package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
- package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
- package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
- package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-data-ui-DH8opsJv.js +0 -325
- package/dist/vue-ui-flow-B72CBzC3.js +0 -909
- package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
- package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { defineAsyncComponent as F, computed as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { defineAsyncComponent as F, computed as f, ref as y, toRefs as Xt, watch as xe, shallowRef as lt, onMounted as Yt, onBeforeUnmount as Mt, createElementBlock as n, openBlock as s, unref as i, normalizeStyle as C, normalizeClass as z, createBlock as X, createCommentVNode as h, createElementVNode as d, createVNode as se, createSlots as at, withCtx as m, renderSlot as $, normalizeProps as U, guardReactiveProps as G, Fragment as q, renderList as Y, toDisplayString as k, Teleport as Ot, resolveDynamicComponent as Nt, mergeProps as Bt, createTextVNode as ot, nextTick as ut } from "vue";
|
|
2
|
+
import { c as st, t as Ft, b as Rt, p as $e, o as Pt, f as Q, e as Vt, h as Dt, W as Ht, a as R, d as P, X as It, s as re, i as Et, Y as Ut, L as Gt, E as Qt, x as Jt, y as jt, z as Zt, A as Kt } from "./lib-GIYcnm0E.js";
|
|
3
|
+
import { t as el, u as tl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ll, a as rt } from "./useNestedProp-mxyyqd0B.js";
|
|
5
|
+
import { u as al } from "./usePrinter-DYRFiw7X.js";
|
|
6
|
+
import { u as ol } from "./useSvgExport-B7-Vrjtu.js";
|
|
7
|
+
import { u as ul } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import rl from "./img-6wPuVVtk.js";
|
|
10
|
+
import nl from "./Title-D17CJXko.js";
|
|
11
|
+
import { _ as nt } from "./Shape-DJG2zW7b.js";
|
|
12
|
+
import { t as il } from "./themes-Dw-dDudK.js";
|
|
13
|
+
import vl from "./Legend-DsogCeTb.js";
|
|
14
|
+
import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
|
|
15
|
+
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const yl = ["id"], bl = ["id"], fl = ["xmlns", "viewBox", "id"], pl = ["x", "y", "width", "height"], gl = ["id"], ml = ["stop-color"], xl = ["stop-color"], $l = { key: 1 }, kl = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], Ll = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], wl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], _l = { key: 2 }, Cl = ["points", "fill"], Sl = ["points", "fill"], ql = ["points", "fill"], Tl = ["points", "fill"], zl = { key: 3 }, Al = ["y", "fill", "font-size"], Wl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Yl = ["y", "fill", "font-size"], Ml = { key: 4 }, Ol = ["x", "y", "font-size", "fill"], Nl = ["x", "y", "font-size", "fill"], Bl = ["x", "y", "font-size", "fill"], Fl = ["id", "font-size", "transform", "fill"], Rl = ["id", "font-size", "transform", "fill"], Pl = ["id", "font-size", "transform", "fill"], Vl = { key: 5 }, Dl = ["fill", "points"], Hl = ["x", "y", "width", "height"], Il = ["x", "y", "width", "height"], El = ["x", "y", "width", "height"], Ul = ["x", "y", "width", "height"], Gl = {
|
|
16
17
|
key: 0,
|
|
17
18
|
style: { "pointer-events": "none" }
|
|
18
|
-
},
|
|
19
|
+
}, Ql = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill", "innerHTML"], jl = { key: 0 }, Zl = ["x", "y", "onMouseover", "onMouseleave", "onClick"], Kl = {
|
|
19
20
|
key: 8,
|
|
20
21
|
class: "vue-ui-dna"
|
|
21
|
-
},
|
|
22
|
+
}, ea = ["points", "fill"], ta = ["points", "fill"], la = ["points", "fill"], aa = ["points", "fill"], oa = { key: 9 }, ua = ["x", "y", "font-size", "fill", "font-weight"], sa = { key: 10 }, ra = ["x", "y", "fill"], na = ["x", "y", "fill"], ia = ["x", "y", "fill"], va = ["x", "y", "fill"], ca = ["stroke", "d"], da = ["stroke", "d"], ha = {
|
|
22
23
|
key: 4,
|
|
23
24
|
class: "vue-data-ui-watermark"
|
|
24
|
-
},
|
|
25
|
+
}, ya = ["id"], ba = ["onClick"], fa = {
|
|
25
26
|
key: 0,
|
|
26
27
|
height: "14",
|
|
27
28
|
width: "14",
|
|
28
29
|
viewBox: "0 0 20 20"
|
|
29
|
-
},
|
|
30
|
+
}, pa = ["innerHTML"], ga = {
|
|
30
31
|
__name: "vue-ui-quadrant",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -43,14 +44,14 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
46
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
46
|
-
setup(
|
|
47
|
-
const
|
|
48
|
-
...
|
|
47
|
+
setup(it, { expose: vt, emit: ct }) {
|
|
48
|
+
const dt = F(() => import("./Tooltip-CtVdvbZi.js")), ht = F(() => import("./BaseIcon-CtqN7W_g.js")), yt = F(() => import("./vue-ui-accordion-Dch9YrCi.js")), bt = F(() => import("./DataTable-BeI6gYJX.js")), ft = F(() => import("./PenAndPaper-BxbYiPy4.js")), pt = F(() => import("./UserOptions-B3vCIe-u.js")), gt = F(() => import("./PackageVersion-C9oklnuy.js")), mt = F(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_quadrant: xt } = ll(), M = it, ke = f(() => !!M.dataset && M.dataset.length), w = y(st()), ne = ct, ie = y(!1), ve = y(""), Le = y(0), g = y(!1), A = y(null), we = y(null), _e = y(null), Ce = y(null), Se = y(null), qe = y(0), Te = y(0), ze = y(0), Ae = y(!1), J = y(null), ce = y(null), e = y(ye()), { loading: We, FINAL_DATASET: Xe } = cl({
|
|
49
|
+
...Xt(M),
|
|
49
50
|
FINAL_CONFIG: e,
|
|
50
|
-
prepareConfig:
|
|
51
|
+
prepareConfig: ye,
|
|
51
52
|
callback: () => {
|
|
52
53
|
Promise.resolve().then(async () => {
|
|
53
|
-
await
|
|
54
|
+
await ut(), x.value.showTable = e.value.table.show;
|
|
54
55
|
});
|
|
55
56
|
},
|
|
56
57
|
skeletonDataset: [
|
|
@@ -75,7 +76,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
75
76
|
]
|
|
76
77
|
}
|
|
77
78
|
],
|
|
78
|
-
skeletonConfig:
|
|
79
|
+
skeletonConfig: Ft({
|
|
79
80
|
defaultConfig: e.value,
|
|
80
81
|
userConfig: {
|
|
81
82
|
userOptions: { show: !1 },
|
|
@@ -113,26 +114,26 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
})
|
|
116
|
-
}), { userOptionsVisible: de, setUserOptionsVisibility:
|
|
117
|
-
function
|
|
118
|
-
const l =
|
|
117
|
+
}), { userOptionsVisible: de, setUserOptionsVisibility: Ye, keepUserOptionState: Me } = ul({ config: e.value }), { svgRef: he } = sl({ config: e.value.style.chart.title });
|
|
118
|
+
function ye() {
|
|
119
|
+
const l = rt({
|
|
119
120
|
userConfig: M.config,
|
|
120
|
-
defaultConfig:
|
|
121
|
+
defaultConfig: xt
|
|
121
122
|
});
|
|
122
123
|
return l.theme ? {
|
|
123
|
-
...
|
|
124
|
-
userConfig:
|
|
124
|
+
...rt({
|
|
125
|
+
userConfig: il.vue_ui_quadrant[l.theme] || M.config,
|
|
125
126
|
defaultConfig: l
|
|
126
127
|
}),
|
|
127
|
-
customPalette:
|
|
128
|
+
customPalette: Rt[l.theme] || $e
|
|
128
129
|
} : l;
|
|
129
130
|
}
|
|
130
|
-
|
|
131
|
-
e.value =
|
|
131
|
+
xe(() => M.config, (l) => {
|
|
132
|
+
e.value = ye(), de.value = !e.value.userOptions.showOnChartHover, Oe(), qe.value += 1, Te.value += 1, ze.value += 1, x.value.plotLabels.show = e.value.style.chart.layout.labels.plotLabels.show, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
132
133
|
}, { deep: !0 });
|
|
133
|
-
const O =
|
|
134
|
-
function
|
|
135
|
-
if (
|
|
134
|
+
const O = lt(null), H = lt(null), I = f(() => e.value.debug);
|
|
135
|
+
function Oe() {
|
|
136
|
+
if (Pt(M.dataset) ? Q({
|
|
136
137
|
componentName: "VueUiQuadrant",
|
|
137
138
|
type: "dataset",
|
|
138
139
|
debug: I.value
|
|
@@ -160,13 +161,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
160
161
|
});
|
|
161
162
|
});
|
|
162
163
|
}), e.value.responsive) {
|
|
163
|
-
const l =
|
|
164
|
-
const { width: o, height: a } =
|
|
164
|
+
const l = el(() => {
|
|
165
|
+
const { width: o, height: a } = tl({
|
|
165
166
|
chart: A.value,
|
|
166
|
-
title: e.value.style.chart.title.text ?
|
|
167
|
-
legend: e.value.style.chart.legend.show ?
|
|
168
|
-
source:
|
|
169
|
-
noTitle:
|
|
167
|
+
title: e.value.style.chart.title.text ? we.value : null,
|
|
168
|
+
legend: e.value.style.chart.legend.show ? _e.value : null,
|
|
169
|
+
source: Ce.value,
|
|
170
|
+
noTitle: Se.value
|
|
170
171
|
});
|
|
171
172
|
L.value = 48, requestAnimationFrame(() => {
|
|
172
173
|
t.value.height = a, t.value.usableHeight = a - L.value * 2, t.value.width = o, t.value.usableWidth = o - L.value * 2, t.value.top = L.value, t.value.left = L.value, t.value.right = o - L.value, t.value.bottom = a - L.value, t.value.centerX = o / 2, t.value.centerY = a - a / 2, t.value.padding = L.value;
|
|
@@ -175,16 +176,16 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
175
176
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect()), O.value = new ResizeObserver(l), H.value = A.value.parentNode, O.value.observe(H.value);
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}),
|
|
179
|
+
Yt(() => {
|
|
180
|
+
Ae.value = !0, Oe();
|
|
181
|
+
}), Mt(() => {
|
|
181
182
|
O.value && (H.value && O.value.unobserve(H.value), O.value.disconnect());
|
|
182
183
|
});
|
|
183
|
-
const { isPrinting:
|
|
184
|
+
const { isPrinting: Ne, isImaging: Be, generatePdf: Fe, generateImage: Re } = al({
|
|
184
185
|
elementId: `vue-ui-quadrant_${w.value}`,
|
|
185
186
|
fileName: e.value.style.chart.title.text || "vue-ui-quadrant",
|
|
186
187
|
options: e.value.userOptions.print
|
|
187
|
-
}),
|
|
188
|
+
}), $t = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Pe = f(() => Vt(e.value.customPalette)), x = y({
|
|
188
189
|
plotLabels: {
|
|
189
190
|
show: e.value.style.chart.layout.labels.plotLabels.show
|
|
190
191
|
},
|
|
@@ -207,14 +208,14 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
207
208
|
startX: 0,
|
|
208
209
|
startY: 0
|
|
209
210
|
});
|
|
210
|
-
|
|
211
|
+
xe(() => t.value, (l) => {
|
|
211
212
|
l && (v.value = {
|
|
212
213
|
...JSON.parse(JSON.stringify(t.value)),
|
|
213
214
|
startX: 0,
|
|
214
215
|
startY: 0
|
|
215
216
|
});
|
|
216
217
|
}, { deep: !0 });
|
|
217
|
-
const c = y(null), V =
|
|
218
|
+
const c = y(null), V = f(() => {
|
|
218
219
|
switch (c.value) {
|
|
219
220
|
case "TL":
|
|
220
221
|
return {
|
|
@@ -255,7 +256,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
255
256
|
default:
|
|
256
257
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
257
258
|
}
|
|
258
|
-
}),
|
|
259
|
+
}), kt = y(null), ee = y(!1);
|
|
259
260
|
function j({ targetX: l, targetY: o, targetW: a, targetH: u, side: r }) {
|
|
260
261
|
c.value && Z(r);
|
|
261
262
|
const b = {
|
|
@@ -263,22 +264,22 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
263
264
|
y: o - v.value.startY,
|
|
264
265
|
w: a - v.value.width,
|
|
265
266
|
h: u - v.value.height
|
|
266
|
-
},
|
|
267
|
+
}, p = e.value.zoomAnimationFrames;
|
|
267
268
|
let W = 0;
|
|
268
|
-
function
|
|
269
|
-
ee.value = !0, v.value.startX += b.x /
|
|
269
|
+
function tt() {
|
|
270
|
+
ee.value = !0, v.value.startX += b.x / p, v.value.startY += b.y / p, v.value.width += b.w / p, v.value.height += b.h / p, W += 1, W < p ? kt.value = requestAnimationFrame(tt) : ee.value = !1;
|
|
270
271
|
}
|
|
271
|
-
|
|
272
|
+
tt();
|
|
272
273
|
}
|
|
273
274
|
function N(l) {
|
|
274
275
|
if (!ee.value)
|
|
275
|
-
if (
|
|
276
|
+
if (g.value && c.value === l)
|
|
276
277
|
j({
|
|
277
278
|
targetX: 0,
|
|
278
279
|
targetY: 0,
|
|
279
280
|
targetW: t.value.width,
|
|
280
281
|
targetH: t.value.height
|
|
281
|
-
}), c.value = null,
|
|
282
|
+
}), c.value = null, g.value = !1;
|
|
282
283
|
else {
|
|
283
284
|
switch (c.value = l, l) {
|
|
284
285
|
case "TL":
|
|
@@ -321,10 +322,10 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
321
322
|
v.value.startX = 0, v.value.startY = 0, v.value.width = t.value.width, v.value.height = t.value.height;
|
|
322
323
|
break;
|
|
323
324
|
}
|
|
324
|
-
|
|
325
|
+
g.value = !0;
|
|
325
326
|
}
|
|
326
327
|
}
|
|
327
|
-
const
|
|
328
|
+
const Lt = f(() => {
|
|
328
329
|
const l = e.value.style.chart.layout.grid.graduations.steps, o = t.value.usableWidth / (l * 2), a = t.value.top, u = [];
|
|
329
330
|
for (let r = 0; r < l; r += 1)
|
|
330
331
|
u.push({
|
|
@@ -335,7 +336,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
335
336
|
opacity: Math.round((r + 1) / l * 20)
|
|
336
337
|
});
|
|
337
338
|
return u;
|
|
338
|
-
}),
|
|
339
|
+
}), S = f(() => {
|
|
339
340
|
let l = e.value.style.chart.layout.grid.xAxis.max, o = e.value.style.chart.layout.grid.xAxis.min, a = e.value.style.chart.layout.grid.yAxis.max, u = e.value.style.chart.layout.grid.yAxis.min;
|
|
340
341
|
return e.value.style.chart.layout.grid.xAxis.auto && (l = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.x))), o = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.x)))), e.value.style.chart.layout.grid.yAxis.auto && (a = Math.max(...E.value.flatMap((r) => r.series.map((b) => b.y))), u = Math.min(...E.value.flatMap((r) => r.series.map((b) => b.y)))), {
|
|
341
342
|
x: {
|
|
@@ -347,21 +348,21 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
347
348
|
min: u
|
|
348
349
|
}
|
|
349
350
|
};
|
|
350
|
-
}), B = y([]), E =
|
|
351
|
+
}), B = y([]), E = f(() => Xe.value.map((l, o) => ({
|
|
351
352
|
...l,
|
|
352
|
-
series:
|
|
353
|
+
series: Ht({
|
|
353
354
|
data: l.series,
|
|
354
355
|
threshold: e.value.downsample.threshold
|
|
355
356
|
}),
|
|
356
357
|
id: `cat_${o}_${w.value}`,
|
|
357
|
-
color:
|
|
358
|
-
}))),
|
|
358
|
+
color: Dt(l.color) || Pe.value[o] || $e[o]
|
|
359
|
+
}))), wt = f(() => E.value.filter((l) => !B.value.includes(l.id))), _t = f(() => E.value.map((l, o) => ({
|
|
359
360
|
...l,
|
|
360
361
|
shape: l.shape || "circle",
|
|
361
362
|
series: l.series.map((a) => ({
|
|
362
363
|
...a,
|
|
363
|
-
x:
|
|
364
|
-
y:
|
|
364
|
+
x: Ve(a.x),
|
|
365
|
+
y: De(a.y),
|
|
365
366
|
xValue: a.x,
|
|
366
367
|
yValue: a.y,
|
|
367
368
|
quadrantSide: He({ x: a.x, y: a.y }),
|
|
@@ -369,7 +370,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
369
370
|
shape: l.shape,
|
|
370
371
|
color: l.color
|
|
371
372
|
}))
|
|
372
|
-
}))), T =
|
|
373
|
+
}))), T = f(() => (Xe.value.forEach((l, o) => {
|
|
373
374
|
l.series.forEach((a, u) => {
|
|
374
375
|
[null, void 0].includes(a.x) && Q({
|
|
375
376
|
componentName: "VueUiQuadrant",
|
|
@@ -387,57 +388,57 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
387
388
|
debug: I.value
|
|
388
389
|
});
|
|
389
390
|
});
|
|
390
|
-
}),
|
|
391
|
+
}), wt.value.map((l, o) => ({
|
|
391
392
|
...l,
|
|
392
393
|
shape: l.shape || "circle",
|
|
393
|
-
color: l.color ||
|
|
394
|
+
color: l.color || Pe.value[o] || $e[o],
|
|
394
395
|
series: l.series.map((a) => ({
|
|
395
396
|
...a,
|
|
396
|
-
x:
|
|
397
|
-
y:
|
|
397
|
+
x: Ve(a.x),
|
|
398
|
+
y: De(a.y),
|
|
398
399
|
xValue: a.x,
|
|
399
400
|
yValue: a.y,
|
|
400
401
|
quadrantSide: He({ x: a.x, y: a.y }),
|
|
401
402
|
categoryName: l.name,
|
|
402
403
|
shape: l.shape,
|
|
403
404
|
color: l.color,
|
|
404
|
-
uid:
|
|
405
|
+
uid: st()
|
|
405
406
|
}))
|
|
406
407
|
}))));
|
|
407
|
-
function
|
|
408
|
+
function Ve(l) {
|
|
408
409
|
if (l >= 0) {
|
|
409
|
-
const o = l /
|
|
410
|
+
const o = l / S.value.x.max;
|
|
410
411
|
return t.value.centerX + t.value.usableWidth / 2 * o;
|
|
411
412
|
} else {
|
|
412
|
-
const o = Math.abs(l) / Math.abs(
|
|
413
|
+
const o = Math.abs(l) / Math.abs(S.value.x.min);
|
|
413
414
|
return t.value.centerX - t.value.usableWidth / 2 * o;
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
|
-
function
|
|
417
|
+
function De(l) {
|
|
417
418
|
if (l >= 0) {
|
|
418
|
-
const o = l /
|
|
419
|
+
const o = l / S.value.y.max;
|
|
419
420
|
return t.value.centerY + (1 - t.value.usableHeight / 2 * o);
|
|
420
421
|
} else {
|
|
421
|
-
const o = Math.abs(l) / Math.abs(
|
|
422
|
+
const o = Math.abs(l) / Math.abs(S.value.y.min);
|
|
422
423
|
return t.value.centerY - (1 - t.value.usableHeight / 2 * o);
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
|
-
const te =
|
|
426
|
-
const l = T.value.flatMap((
|
|
426
|
+
const te = f(() => {
|
|
427
|
+
const l = T.value.flatMap((p) => p.series.map((W) => ({
|
|
427
428
|
x: W.xValue,
|
|
428
429
|
y: W.yValue,
|
|
429
430
|
name: W.name,
|
|
430
431
|
category: W.categoryName,
|
|
431
432
|
quadrantSide: W.quadrantSide,
|
|
432
433
|
sideName: e.value.style.chart.layout.labels.quadrantLabels[W.quadrantSide].text,
|
|
433
|
-
color:
|
|
434
|
-
shape:
|
|
435
|
-
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side], r = l.map((
|
|
436
|
-
shape:
|
|
437
|
-
color:
|
|
434
|
+
color: p.color,
|
|
435
|
+
shape: p.shape
|
|
436
|
+
}))), o = e.value.style.chart.layout.grid.xAxis.name || "x", a = e.value.style.chart.layout.grid.yAxis.name || "y", u = [e.value.translations.category, e.value.translations.item, o, a, e.value.translations.side], r = l.map((p) => [p.category, p.name, p.x, p.y, p.sideName || p.quadrantSide]), b = l.map((p) => ({
|
|
437
|
+
shape: p.shape,
|
|
438
|
+
color: p.color
|
|
438
439
|
}));
|
|
439
440
|
return { head: u, body: r, itsShapes: b, tableData: l };
|
|
440
|
-
}), le =
|
|
441
|
+
}), le = f(() => {
|
|
441
442
|
const l = te.value.head, o = te.value.tableData.map((u) => [
|
|
442
443
|
{
|
|
443
444
|
shape: u.shape,
|
|
@@ -477,20 +478,20 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
477
478
|
};
|
|
478
479
|
return { head: l, body: o, config: a, colNames: l };
|
|
479
480
|
});
|
|
480
|
-
function
|
|
481
|
+
function be(l) {
|
|
481
482
|
B.value.includes(l) ? B.value = B.value.filter((a) => a !== l) : B.value.push(l);
|
|
482
483
|
const o = Ge();
|
|
483
484
|
ne("selectLegend", o);
|
|
484
485
|
}
|
|
485
|
-
const
|
|
486
|
+
const fe = f(() => _t.value.map((l) => ({
|
|
486
487
|
name: l.name,
|
|
487
488
|
shape: l.shape,
|
|
488
489
|
color: l.color,
|
|
489
490
|
id: l.id,
|
|
490
491
|
opacity: B.value.includes(l.id) ? 0.5 : 1,
|
|
491
|
-
segregate: () =>
|
|
492
|
+
segregate: () => be(l.id),
|
|
492
493
|
isSegregated: B.value.includes(l.id)
|
|
493
|
-
}))),
|
|
494
|
+
}))), Ct = f(() => ({
|
|
494
495
|
cy: "quadrant-div-legend",
|
|
495
496
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
496
497
|
color: e.value.style.chart.legend.color,
|
|
@@ -512,19 +513,19 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
512
513
|
return "";
|
|
513
514
|
}
|
|
514
515
|
}
|
|
515
|
-
const ae = y(null), oe = y(null),
|
|
516
|
+
const ae = y(null), oe = y(null), pe = y(null);
|
|
516
517
|
function Ie(l, o, a) {
|
|
517
518
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: o, seriesIndex: a }), ae.value = o.uid, oe.value = {
|
|
518
519
|
color: l.color,
|
|
519
520
|
shape: l.shape
|
|
520
|
-
},
|
|
521
|
+
}, pe.value = {
|
|
521
522
|
datapoint: o,
|
|
522
523
|
seriesIndex: a,
|
|
523
524
|
series: T.value,
|
|
524
525
|
config: e.value
|
|
525
526
|
}, ie.value = !0;
|
|
526
527
|
const u = e.value.style.chart.tooltip.customFormat;
|
|
527
|
-
if (
|
|
528
|
+
if (Zt(u) && Kt(() => u({
|
|
528
529
|
seriesIndex: a,
|
|
529
530
|
datapoint: o,
|
|
530
531
|
series: T.value,
|
|
@@ -587,7 +588,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
587
588
|
};
|
|
588
589
|
ne("selectSide", a);
|
|
589
590
|
}
|
|
590
|
-
const _ =
|
|
591
|
+
const _ = f(() => ({
|
|
591
592
|
TL: {
|
|
592
593
|
tl: {
|
|
593
594
|
x: t.value.left + t.value.usableWidth / 4 - 20,
|
|
@@ -707,32 +708,32 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
707
708
|
}))
|
|
708
709
|
}));
|
|
709
710
|
}
|
|
710
|
-
function
|
|
711
|
-
|
|
712
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b =
|
|
713
|
-
l ? l(b) :
|
|
711
|
+
function ge(l = null) {
|
|
712
|
+
ut(() => {
|
|
713
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = te.value.head, u = te.value.body, r = o.concat([a]).concat(u), b = Jt(r);
|
|
714
|
+
l ? l(b) : jt({ csvContent: b, title: e.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
714
715
|
});
|
|
715
716
|
}
|
|
716
717
|
const D = y(!1);
|
|
717
718
|
function Qe(l) {
|
|
718
|
-
D.value = l,
|
|
719
|
+
D.value = l, Le.value += 1;
|
|
719
720
|
}
|
|
720
721
|
function Je() {
|
|
721
|
-
|
|
722
|
+
x.value.showTable = !x.value.showTable;
|
|
722
723
|
}
|
|
723
724
|
function je() {
|
|
724
|
-
|
|
725
|
+
x.value.plotLabels.show = !x.value.plotLabels.show;
|
|
725
726
|
}
|
|
726
727
|
function Ze() {
|
|
727
|
-
|
|
728
|
+
x.value.showTooltip = !x.value.showTooltip;
|
|
728
729
|
}
|
|
729
730
|
const ue = y(!1);
|
|
730
|
-
function
|
|
731
|
+
function me() {
|
|
731
732
|
ue.value = !ue.value;
|
|
732
733
|
}
|
|
733
|
-
async function
|
|
734
|
+
async function St({ scale: l = 2 } = {}) {
|
|
734
735
|
if (!A.value) return;
|
|
735
|
-
const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await
|
|
736
|
+
const { width: o, height: a } = A.value.getBoundingClientRect(), u = o / a, { imageUri: r, base64: b } = await rl({ domElement: A.value, base64: !0, img: !0, scale: l });
|
|
736
737
|
return {
|
|
737
738
|
imageUri: r,
|
|
738
739
|
base64: b,
|
|
@@ -742,10 +743,10 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
742
743
|
aspectRatio: u
|
|
743
744
|
};
|
|
744
745
|
}
|
|
745
|
-
const K =
|
|
746
|
-
const l = e.value.table.useDialog && !e.value.table.show, o =
|
|
746
|
+
const K = f(() => {
|
|
747
|
+
const l = e.value.table.useDialog && !e.value.table.show, o = x.value.showTable;
|
|
747
748
|
return {
|
|
748
|
-
component: l ?
|
|
749
|
+
component: l ? mt : yt,
|
|
749
750
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
750
751
|
props: l ? {
|
|
751
752
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -772,55 +773,70 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
772
773
|
}
|
|
773
774
|
};
|
|
774
775
|
});
|
|
775
|
-
|
|
776
|
+
xe(() => x.value.showTable, (l) => {
|
|
776
777
|
e.value.table.show || (l && e.value.table.useDialog && J.value ? J.value.open() : "close" in J.value && J.value.close());
|
|
777
778
|
});
|
|
778
779
|
function Ke() {
|
|
779
|
-
|
|
780
|
+
x.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
|
|
781
|
+
}
|
|
782
|
+
const qt = f(() => e.value.style.chart.backgroundColor), Tt = f(() => e.value.style.chart.legend), zt = f(() => e.value.style.chart.title), { exportSvg: At, getSvg: Wt } = ol({
|
|
783
|
+
svg: he,
|
|
784
|
+
title: zt,
|
|
785
|
+
legend: Tt,
|
|
786
|
+
legendItems: fe,
|
|
787
|
+
backgroundColor: qt
|
|
788
|
+
});
|
|
789
|
+
async function et({ isCb: l }) {
|
|
790
|
+
if (l) {
|
|
791
|
+
const { blob: o, url: a, text: u, dataUrl: r } = await Wt();
|
|
792
|
+
e.value.userOptions.callbacks.svg({ blob: o, url: a, text: u, dataUrl: r });
|
|
793
|
+
} else
|
|
794
|
+
At();
|
|
780
795
|
}
|
|
781
|
-
return
|
|
796
|
+
return vt({
|
|
782
797
|
getData: Ge,
|
|
783
|
-
getImage:
|
|
784
|
-
generatePdf:
|
|
785
|
-
generateCsv:
|
|
786
|
-
generateImage:
|
|
798
|
+
getImage: St,
|
|
799
|
+
generatePdf: Fe,
|
|
800
|
+
generateCsv: ge,
|
|
801
|
+
generateImage: Re,
|
|
802
|
+
generateSvg: et,
|
|
787
803
|
toggleTable: Je,
|
|
788
804
|
toggleLabels: je,
|
|
789
805
|
toggleTooltip: Ze,
|
|
790
|
-
toggleAnnotator:
|
|
806
|
+
toggleAnnotator: me,
|
|
791
807
|
toggleFullscreen: Qe
|
|
792
808
|
}), (l, o) => (s(), n("div", {
|
|
793
|
-
class: z(`vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
809
|
+
class: z(`vue-data-ui-component vue-ui-quadrant ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
794
810
|
ref_key: "quadrantChart",
|
|
795
811
|
ref: A,
|
|
796
812
|
id: `vue-ui-quadrant_${w.value}`,
|
|
797
813
|
style: C(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
798
|
-
onMouseenter: o[14] || (o[14] = () => i(
|
|
799
|
-
onMouseleave: o[15] || (o[15] = () => i(
|
|
814
|
+
onMouseenter: o[14] || (o[14] = () => i(Ye)(!0)),
|
|
815
|
+
onMouseleave: o[15] || (o[15] = () => i(Ye)(!1))
|
|
800
816
|
}, [
|
|
801
|
-
e.value.userOptions.buttons.annotator ? (s(), X(i(
|
|
817
|
+
e.value.userOptions.buttons.annotator ? (s(), X(i(ft), {
|
|
802
818
|
key: 0,
|
|
803
|
-
svgRef: i(
|
|
819
|
+
svgRef: i(he),
|
|
804
820
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
805
821
|
color: e.value.style.chart.color,
|
|
806
822
|
active: ue.value,
|
|
807
|
-
onClose:
|
|
823
|
+
onClose: me
|
|
808
824
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
809
|
-
|
|
825
|
+
$t.value ? (s(), n("div", {
|
|
810
826
|
key: 1,
|
|
811
827
|
ref_key: "noTitle",
|
|
812
|
-
ref:
|
|
828
|
+
ref: Se,
|
|
813
829
|
class: "vue-data-ui-no-title-space",
|
|
814
830
|
style: "height:36px; width: 100%;background:transparent"
|
|
815
831
|
}, null, 512)) : h("", !0),
|
|
816
832
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
817
833
|
key: 2,
|
|
818
834
|
ref_key: "chartTitle",
|
|
819
|
-
ref:
|
|
835
|
+
ref: we,
|
|
820
836
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
821
837
|
}, [
|
|
822
|
-
(s(), X(
|
|
823
|
-
key: `table_${
|
|
838
|
+
(s(), X(nl, {
|
|
839
|
+
key: `table_${qe.value}`,
|
|
824
840
|
config: {
|
|
825
841
|
title: {
|
|
826
842
|
cy: "quadrant-title",
|
|
@@ -835,25 +851,26 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
835
851
|
], 512)) : h("", !0),
|
|
836
852
|
d("div", {
|
|
837
853
|
id: `legend-top-${w.value}`
|
|
838
|
-
}, null, 8,
|
|
839
|
-
e.value.userOptions.show &&
|
|
854
|
+
}, null, 8, bl),
|
|
855
|
+
e.value.userOptions.show && ke.value && (i(Me) || i(de)) ? (s(), X(i(pt), {
|
|
840
856
|
ref_key: "userOptionsRef",
|
|
841
857
|
ref: ce,
|
|
842
|
-
key: `user_options_${
|
|
858
|
+
key: `user_options_${Le.value}`,
|
|
843
859
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
844
860
|
color: e.value.style.chart.color,
|
|
845
|
-
isImaging: i(
|
|
846
|
-
isPrinting: i(
|
|
861
|
+
isImaging: i(Be),
|
|
862
|
+
isPrinting: i(Ne),
|
|
847
863
|
uid: w.value,
|
|
848
864
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
849
865
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
850
866
|
hasImg: e.value.userOptions.buttons.img,
|
|
867
|
+
hasSvg: e.value.userOptions.buttons.svg,
|
|
851
868
|
hasXls: e.value.userOptions.buttons.csv,
|
|
852
869
|
hasTable: e.value.userOptions.buttons.table,
|
|
853
870
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
854
871
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
855
872
|
isFullscreen: D.value,
|
|
856
|
-
isTooltip:
|
|
873
|
+
isTooltip: x.value.showTooltip,
|
|
857
874
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
858
875
|
chartElement: A.value,
|
|
859
876
|
position: e.value.userOptions.position,
|
|
@@ -863,91 +880,92 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
863
880
|
printScale: e.value.userOptions.print.scale,
|
|
864
881
|
tableDialog: e.value.table.useDialog,
|
|
865
882
|
onToggleFullscreen: Qe,
|
|
866
|
-
onGeneratePdf: i(
|
|
867
|
-
onGenerateCsv:
|
|
868
|
-
onGenerateImage: i(
|
|
883
|
+
onGeneratePdf: i(Fe),
|
|
884
|
+
onGenerateCsv: ge,
|
|
885
|
+
onGenerateImage: i(Re),
|
|
886
|
+
onGenerateSvg: et,
|
|
869
887
|
onToggleTable: Je,
|
|
870
888
|
onToggleLabels: je,
|
|
871
889
|
onToggleTooltip: Ze,
|
|
872
|
-
onToggleAnnotator:
|
|
890
|
+
onToggleAnnotator: me,
|
|
873
891
|
style: C({
|
|
874
|
-
visibility: i(
|
|
892
|
+
visibility: i(Me) ? i(de) ? "visible" : "hidden" : "visible"
|
|
875
893
|
})
|
|
876
|
-
},
|
|
894
|
+
}, at({ _: 2 }, [
|
|
877
895
|
l.$slots.menuIcon ? {
|
|
878
896
|
name: "menuIcon",
|
|
879
|
-
fn:
|
|
897
|
+
fn: m(({ isOpen: a, color: u }) => [
|
|
880
898
|
$(l.$slots, "menuIcon", U(G({ isOpen: a, color: u })), void 0, !0)
|
|
881
899
|
]),
|
|
882
900
|
key: "0"
|
|
883
901
|
} : void 0,
|
|
884
902
|
l.$slots.optionTooltip ? {
|
|
885
903
|
name: "optionTooltip",
|
|
886
|
-
fn:
|
|
904
|
+
fn: m(() => [
|
|
887
905
|
$(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
888
906
|
]),
|
|
889
907
|
key: "1"
|
|
890
908
|
} : void 0,
|
|
891
909
|
l.$slots.optionPdf ? {
|
|
892
910
|
name: "optionPdf",
|
|
893
|
-
fn:
|
|
911
|
+
fn: m(() => [
|
|
894
912
|
$(l.$slots, "optionPdf", {}, void 0, !0)
|
|
895
913
|
]),
|
|
896
914
|
key: "2"
|
|
897
915
|
} : void 0,
|
|
898
916
|
l.$slots.optionCsv ? {
|
|
899
917
|
name: "optionCsv",
|
|
900
|
-
fn:
|
|
918
|
+
fn: m(() => [
|
|
901
919
|
$(l.$slots, "optionCsv", {}, void 0, !0)
|
|
902
920
|
]),
|
|
903
921
|
key: "3"
|
|
904
922
|
} : void 0,
|
|
905
923
|
l.$slots.optionImg ? {
|
|
906
924
|
name: "optionImg",
|
|
907
|
-
fn:
|
|
925
|
+
fn: m(() => [
|
|
908
926
|
$(l.$slots, "optionImg", {}, void 0, !0)
|
|
909
927
|
]),
|
|
910
928
|
key: "4"
|
|
911
929
|
} : void 0,
|
|
912
930
|
l.$slots.optionTable ? {
|
|
913
931
|
name: "optionTable",
|
|
914
|
-
fn:
|
|
932
|
+
fn: m(() => [
|
|
915
933
|
$(l.$slots, "optionTable", {}, void 0, !0)
|
|
916
934
|
]),
|
|
917
935
|
key: "5"
|
|
918
936
|
} : void 0,
|
|
919
937
|
l.$slots.optionLabels ? {
|
|
920
938
|
name: "optionLabels",
|
|
921
|
-
fn:
|
|
939
|
+
fn: m(() => [
|
|
922
940
|
$(l.$slots, "optionLabels", {}, void 0, !0)
|
|
923
941
|
]),
|
|
924
942
|
key: "6"
|
|
925
943
|
} : void 0,
|
|
926
944
|
l.$slots.optionFullscreen ? {
|
|
927
945
|
name: "optionFullscreen",
|
|
928
|
-
fn:
|
|
946
|
+
fn: m(({ toggleFullscreen: a, isFullscreen: u }) => [
|
|
929
947
|
$(l.$slots, "optionFullscreen", U(G({ toggleFullscreen: a, isFullscreen: u })), void 0, !0)
|
|
930
948
|
]),
|
|
931
949
|
key: "7"
|
|
932
950
|
} : void 0,
|
|
933
951
|
l.$slots.optionAnnotator ? {
|
|
934
952
|
name: "optionAnnotator",
|
|
935
|
-
fn:
|
|
953
|
+
fn: m(({ toggleAnnotator: a, isAnnotator: u }) => [
|
|
936
954
|
$(l.$slots, "optionAnnotator", U(G({ toggleAnnotator: a, isAnnotator: u })), void 0, !0)
|
|
937
955
|
]),
|
|
938
956
|
key: "8"
|
|
939
957
|
} : void 0
|
|
940
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
958
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
941
959
|
(s(), n("svg", {
|
|
942
960
|
ref_key: "svgRef",
|
|
943
|
-
ref:
|
|
944
|
-
xmlns: i(
|
|
961
|
+
ref: he,
|
|
962
|
+
xmlns: i(It),
|
|
945
963
|
class: z({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
946
964
|
viewBox: `${v.value.startX} ${v.value.startY} ${v.value.width} ${v.value.height}`,
|
|
947
965
|
style: C(`max-width:100%;overflow:hidden;background:transparent;color:${e.value.style.chart.color}`),
|
|
948
966
|
id: `svg_${w.value}`
|
|
949
967
|
}, [
|
|
950
|
-
se(i(
|
|
968
|
+
se(i(gt)),
|
|
951
969
|
l.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
952
970
|
key: 0,
|
|
953
971
|
x: v.value.startX,
|
|
@@ -959,9 +977,9 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
959
977
|
}
|
|
960
978
|
}, [
|
|
961
979
|
$(l.$slots, "chart-background", {}, void 0, !0)
|
|
962
|
-
], 8,
|
|
980
|
+
], 8, pl)) : h("", !0),
|
|
963
981
|
d("defs", null, [
|
|
964
|
-
(s(!0), n(
|
|
982
|
+
(s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("radialGradient", {
|
|
965
983
|
cx: "50%",
|
|
966
984
|
cy: "50%",
|
|
967
985
|
r: "50%",
|
|
@@ -971,16 +989,16 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
971
989
|
}, [
|
|
972
990
|
d("stop", {
|
|
973
991
|
offset: "0%",
|
|
974
|
-
"stop-color": i(re)(i(
|
|
975
|
-
}, null, 8,
|
|
992
|
+
"stop-color": i(re)(i(Et)(a.color, 0.05), e.value.style.chart.layout.areas.opacity)
|
|
993
|
+
}, null, 8, ml),
|
|
976
994
|
d("stop", {
|
|
977
995
|
offset: "100%",
|
|
978
996
|
"stop-color": i(re)(a.color, e.value.style.chart.layout.areas.opacity)
|
|
979
|
-
}, null, 8,
|
|
980
|
-
], 8,
|
|
997
|
+
}, null, 8, xl)
|
|
998
|
+
], 8, gl))), 256))
|
|
981
999
|
]),
|
|
982
|
-
e.value.style.chart.layout.grid.graduations.show ? (s(), n("g",
|
|
983
|
-
(s(!0), n(
|
|
1000
|
+
e.value.style.chart.layout.grid.graduations.show ? (s(), n("g", $l, [
|
|
1001
|
+
(s(!0), n(q, null, Y(Lt.value, (a) => (s(), n("rect", {
|
|
984
1002
|
fill: e.value.style.chart.layout.grid.graduations.fill ? i(re)(e.value.style.chart.layout.grid.graduations.color, a.opacity) : "none",
|
|
985
1003
|
x: a.x,
|
|
986
1004
|
y: a.y,
|
|
@@ -989,7 +1007,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
989
1007
|
"stroke-width": e.value.style.chart.layout.grid.graduations.strokeWidth,
|
|
990
1008
|
stroke: e.value.style.chart.layout.grid.graduations.stroke,
|
|
991
1009
|
rx: e.value.style.chart.layout.grid.graduations.roundingForce
|
|
992
|
-
}, null, 8,
|
|
1010
|
+
}, null, 8, kl))), 256))
|
|
993
1011
|
])) : h("", !0),
|
|
994
1012
|
d("line", {
|
|
995
1013
|
x1: t.value.left,
|
|
@@ -998,7 +1016,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
998
1016
|
y2: t.value.centerY,
|
|
999
1017
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1000
1018
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1001
|
-
}, null, 8,
|
|
1019
|
+
}, null, 8, Ll),
|
|
1002
1020
|
d("line", {
|
|
1003
1021
|
x1: t.value.centerX,
|
|
1004
1022
|
y1: t.value.top,
|
|
@@ -1006,30 +1024,30 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1006
1024
|
y2: t.value.bottom,
|
|
1007
1025
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
1008
1026
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
1009
|
-
}, null, 8,
|
|
1010
|
-
e.value.style.chart.layout.grid.showArrows ? (s(), n("g",
|
|
1027
|
+
}, null, 8, wl),
|
|
1028
|
+
e.value.style.chart.layout.grid.showArrows ? (s(), n("g", _l, [
|
|
1011
1029
|
d("polygon", {
|
|
1012
1030
|
points: `${t.value.right - 8},${t.value.centerY - 6} ${t.value.right},${t.value.centerY} ${t.value.right - 8},${t.value.centerY + 6}`,
|
|
1013
1031
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1014
1032
|
stroke: "none"
|
|
1015
|
-
}, null, 8,
|
|
1033
|
+
}, null, 8, Cl),
|
|
1016
1034
|
d("polygon", {
|
|
1017
1035
|
points: `${t.value.left + 8},${t.value.centerY - 6} ${t.value.left},${t.value.centerY} ${t.value.left + 8},${t.value.centerY + 6}`,
|
|
1018
1036
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1019
1037
|
stroke: "none"
|
|
1020
|
-
}, null, 8,
|
|
1038
|
+
}, null, 8, Sl),
|
|
1021
1039
|
d("polygon", {
|
|
1022
1040
|
points: `${t.value.centerX - 6},${t.value.top + 8} ${t.value.centerX},${t.value.top} ${t.value.centerX + 6},${t.value.top + 8}`,
|
|
1023
1041
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1024
1042
|
stroke: "none"
|
|
1025
|
-
}, null, 8,
|
|
1043
|
+
}, null, 8, ql),
|
|
1026
1044
|
d("polygon", {
|
|
1027
1045
|
points: `${t.value.centerX - 6},${t.value.bottom - 8} ${t.value.centerX},${t.value.bottom} ${t.value.centerX + 6},${t.value.bottom - 8}`,
|
|
1028
1046
|
fill: e.value.style.chart.layout.grid.stroke,
|
|
1029
1047
|
stroke: "none"
|
|
1030
|
-
}, null, 8,
|
|
1048
|
+
}, null, 8, Tl)
|
|
1031
1049
|
])) : h("", !0),
|
|
1032
|
-
e.value.style.chart.layout.labels.quadrantLabels.show && !
|
|
1050
|
+
e.value.style.chart.layout.labels.quadrantLabels.show && !g.value ? (s(), n("g", zl, [
|
|
1033
1051
|
e.value.style.chart.layout.labels.quadrantLabels.tl.text ? (s(), n("text", {
|
|
1034
1052
|
key: 0,
|
|
1035
1053
|
x: 0,
|
|
@@ -1039,7 +1057,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1039
1057
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
|
|
1040
1058
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
|
|
1041
1059
|
onClick: o[0] || (o[0] = (a) => Z("tl"))
|
|
1042
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13,
|
|
1060
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, Al)) : h("", !0),
|
|
1043
1061
|
e.value.style.chart.layout.labels.quadrantLabels.tr.text ? (s(), n("text", {
|
|
1044
1062
|
key: 1,
|
|
1045
1063
|
x: t.value.width,
|
|
@@ -1049,7 +1067,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1049
1067
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
|
|
1050
1068
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
|
|
1051
1069
|
onClick: o[1] || (o[1] = (a) => Z("tr"))
|
|
1052
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13,
|
|
1070
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, Wl)) : h("", !0),
|
|
1053
1071
|
e.value.style.chart.layout.labels.quadrantLabels.br.text ? (s(), n("text", {
|
|
1054
1072
|
key: 2,
|
|
1055
1073
|
x: t.value.width,
|
|
@@ -1059,7 +1077,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1059
1077
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
|
|
1060
1078
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
|
|
1061
1079
|
onClick: o[2] || (o[2] = (a) => Z("br"))
|
|
1062
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13,
|
|
1080
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.br.text), 13, Xl)) : h("", !0),
|
|
1063
1081
|
e.value.style.chart.layout.labels.quadrantLabels.bl.text ? (s(), n("text", {
|
|
1064
1082
|
key: 3,
|
|
1065
1083
|
x: 0,
|
|
@@ -1069,9 +1087,9 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1069
1087
|
"font-size": e.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
|
|
1070
1088
|
style: C(`font-weight:${e.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
|
|
1071
1089
|
onClick: o[3] || (o[3] = (a) => Z("bl"))
|
|
1072
|
-
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13,
|
|
1090
|
+
}, k(e.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, Yl)) : h("", !0)
|
|
1073
1091
|
])) : h("", !0),
|
|
1074
|
-
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g",
|
|
1092
|
+
e.value.style.chart.layout.labels.axisLabels.show ? (s(), n("g", Ml, [
|
|
1075
1093
|
d("text", {
|
|
1076
1094
|
x: t.value.centerX,
|
|
1077
1095
|
y: t.value.top - t.value.padding / 6,
|
|
@@ -1080,19 +1098,19 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1080
1098
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1081
1099
|
}, k(i(R)(
|
|
1082
1100
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1083
|
-
|
|
1101
|
+
S.value.y.max,
|
|
1084
1102
|
i(P)({
|
|
1085
|
-
v:
|
|
1103
|
+
v: S.value.y.max,
|
|
1086
1104
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1087
1105
|
})
|
|
1088
|
-
)), 9,
|
|
1106
|
+
)), 9, Ol),
|
|
1089
1107
|
d("text", {
|
|
1090
1108
|
x: t.value.centerX,
|
|
1091
1109
|
y: t.value.top - t.value.padding / 2,
|
|
1092
1110
|
"text-anchor": "middle",
|
|
1093
1111
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1094
1112
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1095
|
-
}, k(e.value.style.chart.layout.grid.yAxis.name), 9,
|
|
1113
|
+
}, k(e.value.style.chart.layout.grid.yAxis.name), 9, Nl),
|
|
1096
1114
|
d("text", {
|
|
1097
1115
|
x: t.value.centerX,
|
|
1098
1116
|
y: t.value.bottom + t.value.padding * 0.35,
|
|
@@ -1101,12 +1119,12 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1101
1119
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1102
1120
|
}, k(i(R)(
|
|
1103
1121
|
e.value.style.chart.layout.labels.plotLabels.y.formatter,
|
|
1104
|
-
|
|
1122
|
+
S.value.y.min,
|
|
1105
1123
|
i(P)({
|
|
1106
|
-
v:
|
|
1124
|
+
v: S.value.y.min,
|
|
1107
1125
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1108
1126
|
})
|
|
1109
|
-
)), 9,
|
|
1127
|
+
)), 9, Bl),
|
|
1110
1128
|
d("text", {
|
|
1111
1129
|
id: `xLabelMin_${w.value}`,
|
|
1112
1130
|
"text-anchor": "middle",
|
|
@@ -1115,12 +1133,12 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1115
1133
|
fill: e.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1116
1134
|
}, k(i(R)(
|
|
1117
1135
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1118
|
-
|
|
1136
|
+
S.value.x.min,
|
|
1119
1137
|
i(P)({
|
|
1120
|
-
v:
|
|
1138
|
+
v: S.value.x.min,
|
|
1121
1139
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1122
1140
|
})
|
|
1123
|
-
)), 9,
|
|
1141
|
+
)), 9, Fl),
|
|
1124
1142
|
d("text", {
|
|
1125
1143
|
id: `xLabelMax_${w.value}`,
|
|
1126
1144
|
"text-anchor": "middle",
|
|
@@ -1129,28 +1147,28 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1129
1147
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1130
1148
|
}, k(i(R)(
|
|
1131
1149
|
e.value.style.chart.layout.labels.plotLabels.x.formatter,
|
|
1132
|
-
|
|
1150
|
+
S.value.x.max,
|
|
1133
1151
|
i(P)({
|
|
1134
|
-
v:
|
|
1152
|
+
v: S.value.x.max,
|
|
1135
1153
|
r: e.value.style.chart.layout.labels.plotLabels.rounding
|
|
1136
1154
|
})
|
|
1137
|
-
)), 9,
|
|
1155
|
+
)), 9, Rl),
|
|
1138
1156
|
d("text", {
|
|
1139
1157
|
id: `xLabelMaxName_${w.value}`,
|
|
1140
1158
|
"text-anchor": "middle",
|
|
1141
1159
|
"font-size": e.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1142
1160
|
transform: `translate(${t.value.width - e.value.style.chart.layout.labels.axisLabels.fontSize}, ${t.value.height / 2}), rotate(90)`,
|
|
1143
1161
|
fill: e.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1144
|
-
}, k(e.value.style.chart.layout.grid.xAxis.name), 9,
|
|
1162
|
+
}, k(e.value.style.chart.layout.grid.xAxis.name), 9, Pl)
|
|
1145
1163
|
])) : h("", !0),
|
|
1146
|
-
e.value.style.chart.layout.areas.show ? (s(), n("g",
|
|
1147
|
-
(s(!0), n(
|
|
1164
|
+
e.value.style.chart.layout.areas.show ? (s(), n("g", Vl, [
|
|
1165
|
+
(s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("g", null, [
|
|
1148
1166
|
a.series.length > 2 ? (s(), n("polygon", {
|
|
1149
1167
|
key: 0,
|
|
1150
1168
|
"data-cy-quadrant-area": "",
|
|
1151
1169
|
fill: e.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${w.value}_${u})` : i(re)(a.color, e.value.style.chart.layout.areas.opacity),
|
|
1152
|
-
points: i(
|
|
1153
|
-
}, null, 8,
|
|
1170
|
+
points: i(Ut)(a)
|
|
1171
|
+
}, null, 8, Dl)) : h("", !0)
|
|
1154
1172
|
]))), 256))
|
|
1155
1173
|
])) : h("", !0),
|
|
1156
1174
|
d("g", null, [
|
|
@@ -1161,8 +1179,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1161
1179
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1162
1180
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1163
1181
|
fill: "transparent",
|
|
1164
|
-
class: z({ "vue-data-ui-zoom-plus": !
|
|
1165
|
-
}, null, 10,
|
|
1182
|
+
class: z({ "vue-data-ui-zoom-plus": !g.value, "vue-data-ui-zoom-minus": g.value })
|
|
1183
|
+
}, null, 10, Hl),
|
|
1166
1184
|
d("rect", {
|
|
1167
1185
|
onClick: o[5] || (o[5] = (a) => N("TR")),
|
|
1168
1186
|
x: t.value.centerX,
|
|
@@ -1170,8 +1188,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1170
1188
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1171
1189
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1172
1190
|
fill: "transparent",
|
|
1173
|
-
class: z({ "vue-data-ui-zoom-plus": !
|
|
1174
|
-
}, null, 10,
|
|
1191
|
+
class: z({ "vue-data-ui-zoom-plus": !g.value, "vue-data-ui-zoom-minus": g.value })
|
|
1192
|
+
}, null, 10, Il),
|
|
1175
1193
|
d("rect", {
|
|
1176
1194
|
onClick: o[6] || (o[6] = (a) => N("BR")),
|
|
1177
1195
|
x: t.value.centerX,
|
|
@@ -1179,8 +1197,8 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1179
1197
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1180
1198
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1181
1199
|
fill: "transparent",
|
|
1182
|
-
class: z({ "vue-data-ui-zoom-plus": !
|
|
1183
|
-
}, null, 10,
|
|
1200
|
+
class: z({ "vue-data-ui-zoom-plus": !g.value, "vue-data-ui-zoom-minus": g.value })
|
|
1201
|
+
}, null, 10, El),
|
|
1184
1202
|
d("rect", {
|
|
1185
1203
|
onClick: o[7] || (o[7] = (a) => N("BL")),
|
|
1186
1204
|
x: t.value.left,
|
|
@@ -1188,13 +1206,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1188
1206
|
width: t.value.usableWidth / 2 <= 0 ? 1e-3 : t.value.usableWidth / 2,
|
|
1189
1207
|
height: t.value.usableHeight / 2 <= 0 ? 1e-3 : t.value.usableHeight / 2,
|
|
1190
1208
|
fill: "transparent",
|
|
1191
|
-
class: z({ "vue-data-ui-zoom-plus": !
|
|
1192
|
-
}, null, 10,
|
|
1209
|
+
class: z({ "vue-data-ui-zoom-plus": !g.value, "vue-data-ui-zoom-minus": g.value })
|
|
1210
|
+
}, null, 10, Ul)
|
|
1193
1211
|
]),
|
|
1194
|
-
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(
|
|
1195
|
-
|
|
1196
|
-
(s(!0), n(
|
|
1197
|
-
(s(!0), n(
|
|
1212
|
+
e.value.style.chart.layout.labels.plotLabels.showAsTag ? (s(), n(q, { key: 7 }, [
|
|
1213
|
+
x.value.plotLabels.show ? (s(), n("g", jl, [
|
|
1214
|
+
(s(!0), n(q, null, Y(T.value, (a, u) => (s(), n(q, null, [
|
|
1215
|
+
(s(!0), n(q, null, Y(a.series, (r) => (s(), n("foreignObject", {
|
|
1198
1216
|
style: { overflow: "visible" },
|
|
1199
1217
|
height: "10",
|
|
1200
1218
|
width: "100",
|
|
@@ -1205,18 +1223,18 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1205
1223
|
onClick: (b) => Ue(a, r, u)
|
|
1206
1224
|
}, [
|
|
1207
1225
|
d("div", {
|
|
1208
|
-
style: C(`color:${i(
|
|
1226
|
+
style: C(`color:${i(Qt)(a.color)};margin: 0 auto; font-size:${e.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${a.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`)
|
|
1209
1227
|
}, k(r.name), 5)
|
|
1210
|
-
], 40,
|
|
1228
|
+
], 40, Zl))), 256))
|
|
1211
1229
|
], 64))), 256))
|
|
1212
1230
|
])) : h("", !0)
|
|
1213
|
-
], 64)) : (s(), n(
|
|
1214
|
-
(s(!0), n(
|
|
1215
|
-
(s(!0), n(
|
|
1231
|
+
], 64)) : (s(), n(q, { key: 6 }, [
|
|
1232
|
+
(s(!0), n(q, null, Y(T.value, (a, u) => (s(), n("g", null, [
|
|
1233
|
+
(s(!0), n(q, null, Y(a.series, (r) => (s(), X(nt, {
|
|
1216
1234
|
color: a.color,
|
|
1217
1235
|
isSelected: ae.value && r.uid === ae.value,
|
|
1218
1236
|
plot: r,
|
|
1219
|
-
radius: e.value.style.chart.layout.plots.radius / (
|
|
1237
|
+
radius: e.value.style.chart.layout.plots.radius / (g.value ? 1.5 : 1),
|
|
1220
1238
|
shape: a.shape,
|
|
1221
1239
|
stroke: e.value.style.chart.layout.plots.outline ? e.value.style.chart.layout.plots.outlineColor : "none",
|
|
1222
1240
|
strokeWidth: e.value.style.chart.layout.plots.outlineWidth,
|
|
@@ -1225,63 +1243,63 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1225
1243
|
onClick: (b) => Ue(a, r, u)
|
|
1226
1244
|
}, null, 8, ["color", "isSelected", "plot", "radius", "shape", "stroke", "strokeWidth", "onMouseenter", "onMouseleave", "onClick"]))), 256))
|
|
1227
1245
|
]))), 256)),
|
|
1228
|
-
|
|
1229
|
-
(s(!0), n(
|
|
1230
|
-
(s(!0), n(
|
|
1246
|
+
x.value.plotLabels.show ? (s(), n("g", Gl, [
|
|
1247
|
+
(s(!0), n(q, null, Y(T.value, (a) => (s(), n("g", null, [
|
|
1248
|
+
(s(!0), n(q, null, Y(a.series, (u) => (s(), n("g", null, [
|
|
1231
1249
|
String(u.name).includes(`
|
|
1232
1250
|
`) ? (s(), n("text", {
|
|
1233
1251
|
key: 1,
|
|
1234
1252
|
x: u.x,
|
|
1235
1253
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1236
1254
|
"text-anchor": "middle",
|
|
1237
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1255
|
+
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (g.value ? 1.5 : 1),
|
|
1238
1256
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1239
|
-
innerHTML: i(
|
|
1257
|
+
innerHTML: i(Gt)({
|
|
1240
1258
|
content: String(u.name),
|
|
1241
|
-
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1259
|
+
fontSize: e.value.style.chart.layout.labels.plotLabels.fontSize / (g.value ? 1.5 : 1),
|
|
1242
1260
|
fill: e.value.style.chart.layout.labels.plotLabels.color,
|
|
1243
1261
|
x: u.x,
|
|
1244
1262
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius
|
|
1245
1263
|
})
|
|
1246
|
-
}, null, 8,
|
|
1264
|
+
}, null, 8, Jl)) : (s(), n("text", {
|
|
1247
1265
|
key: 0,
|
|
1248
1266
|
x: u.x,
|
|
1249
1267
|
y: u.y + e.value.style.chart.layout.labels.plotLabels.offsetY + e.value.style.chart.layout.plots.radius,
|
|
1250
1268
|
"text-anchor": "middle",
|
|
1251
|
-
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (
|
|
1269
|
+
"font-size": e.value.style.chart.layout.labels.plotLabels.fontSize / (g.value ? 1.5 : 1),
|
|
1252
1270
|
fill: e.value.style.chart.layout.labels.plotLabels.color
|
|
1253
|
-
}, k(u.name), 9,
|
|
1271
|
+
}, k(u.name), 9, Ql))
|
|
1254
1272
|
]))), 256))
|
|
1255
1273
|
]))), 256))
|
|
1256
1274
|
])) : h("", !0)
|
|
1257
1275
|
], 64)),
|
|
1258
|
-
|
|
1276
|
+
g.value ? (s(), n("g", Kl, [
|
|
1259
1277
|
c.value === "TL" ? (s(), n("polygon", {
|
|
1260
1278
|
key: 0,
|
|
1261
1279
|
points: `${t.value.left - 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.top - 1} ${t.value.right},${t.value.top - 1} ${t.value.right},${t.value.bottom} ${t.value.left - 1},${t.value.bottom} ${t.value.left - 1},${t.value.centerY}`,
|
|
1262
1280
|
fill: e.value.style.chart.backgroundColor,
|
|
1263
1281
|
style: { opacity: "1" }
|
|
1264
|
-
}, null, 8,
|
|
1282
|
+
}, null, 8, ea)) : h("", !0),
|
|
1265
1283
|
c.value === "TR" ? (s(), n("polygon", {
|
|
1266
1284
|
key: 1,
|
|
1267
1285
|
points: `${t.value.left},${t.value.top - 1} ${t.value.centerX},${t.value.top - 1} ${t.value.centerX},${t.value.centerY} ${t.value.right + 1},${t.value.centerY} ${t.value.right + 1},${t.value.bottom} ${t.value.left},${t.value.bottom} ${t.value.left},${t.value.top - 1}`,
|
|
1268
1286
|
fill: e.value.style.chart.backgroundColor,
|
|
1269
1287
|
style: { opacity: "1" }
|
|
1270
|
-
}, null, 8,
|
|
1288
|
+
}, null, 8, ta)) : h("", !0),
|
|
1271
1289
|
c.value === "BR" ? (s(), n("polygon", {
|
|
1272
1290
|
key: 2,
|
|
1273
1291
|
points: `${t.value.left},${t.value.top} ${t.value.right + 1},${t.value.top} ${t.value.right + 1},${t.value.centerY} ${t.value.centerX},${t.value.centerY} ${t.value.centerX},${t.value.bottom + 1} ${t.value.left},${t.value.bottom + 1} ${t.value.left},${t.value.top}`,
|
|
1274
1292
|
fill: e.value.style.chart.backgroundColor,
|
|
1275
1293
|
style: { opacity: "1" }
|
|
1276
|
-
}, null, 8,
|
|
1294
|
+
}, null, 8, la)) : h("", !0),
|
|
1277
1295
|
c.value === "BL" ? (s(), n("polygon", {
|
|
1278
1296
|
key: 3,
|
|
1279
1297
|
points: `${t.value.left - 1},${t.value.top} ${t.value.right},${t.value.top} ${t.value.right},${t.value.bottom + 1} ${t.value.centerX},${t.value.bottom + 1} ${t.value.centerX},${t.value.centerY} ${t.value.left - 1},${t.value.centerY} ${t.value.left - 1},${t.value.top}`,
|
|
1280
1298
|
fill: e.value.style.chart.backgroundColor,
|
|
1281
1299
|
style: { opacity: "1" }
|
|
1282
|
-
}, null, 8,
|
|
1300
|
+
}, null, 8, aa)) : h("", !0)
|
|
1283
1301
|
])) : h("", !0),
|
|
1284
|
-
c.value && !ee.value ? (s(), n("g",
|
|
1302
|
+
c.value && !ee.value ? (s(), n("g", oa, [
|
|
1285
1303
|
d("text", {
|
|
1286
1304
|
x: V.value.x,
|
|
1287
1305
|
y: V.value.y - V.value.fontSize / 1.5,
|
|
@@ -1289,9 +1307,9 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1289
1307
|
fill: V.value.fill,
|
|
1290
1308
|
"text-anchor": "middle",
|
|
1291
1309
|
"font-weight": V.value.bold ? "bold" : "normal"
|
|
1292
|
-
}, k(V.value.text), 9,
|
|
1310
|
+
}, k(V.value.text), 9, ua)
|
|
1293
1311
|
])) : h("", !0),
|
|
1294
|
-
|
|
1312
|
+
g.value && c.value ? (s(), n("g", sa, [
|
|
1295
1313
|
d("rect", {
|
|
1296
1314
|
x: _.value[c.value].tl.x,
|
|
1297
1315
|
y: _.value[c.value].tl.y,
|
|
@@ -1301,7 +1319,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1301
1319
|
style: C(`cursor: pointer; opacity: ${c.value === "TL" ? 1 : 0.2}`),
|
|
1302
1320
|
onClick: o[8] || (o[8] = (a) => N("TL")),
|
|
1303
1321
|
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TL" })
|
|
1304
|
-
}, null, 14,
|
|
1322
|
+
}, null, 14, ra),
|
|
1305
1323
|
d("rect", {
|
|
1306
1324
|
x: _.value[c.value].tr.x,
|
|
1307
1325
|
y: _.value[c.value].tr.y,
|
|
@@ -1311,7 +1329,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1311
1329
|
style: C(`cursor: pointer; opacity: ${c.value === "TR" ? 1 : 0.2}`),
|
|
1312
1330
|
onClick: o[9] || (o[9] = (a) => N("TR")),
|
|
1313
1331
|
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "TR" })
|
|
1314
|
-
}, null, 14,
|
|
1332
|
+
}, null, 14, na),
|
|
1315
1333
|
d("rect", {
|
|
1316
1334
|
x: _.value[c.value].br.x,
|
|
1317
1335
|
y: _.value[c.value].br.y,
|
|
@@ -1321,7 +1339,7 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1321
1339
|
style: C(`cursor: pointer; opacity: ${c.value === "BR" ? 1 : 0.2}`),
|
|
1322
1340
|
onClick: o[10] || (o[10] = (a) => N("BR")),
|
|
1323
1341
|
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BR" })
|
|
1324
|
-
}, null, 14,
|
|
1342
|
+
}, null, 14, ia),
|
|
1325
1343
|
d("rect", {
|
|
1326
1344
|
x: _.value[c.value].bl.x,
|
|
1327
1345
|
y: _.value[c.value].bl.y,
|
|
@@ -1331,66 +1349,66 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1331
1349
|
style: C(`cursor: pointer; opacity: ${c.value === "BL" ? 1 : 0.2}`),
|
|
1332
1350
|
onClick: o[11] || (o[11] = (a) => N("BL")),
|
|
1333
1351
|
class: z({ "vue-ui-quadrant-mini-map-cell": !0, "vue-ui-quadrant-mini-map-cell-selectable": c.value !== "BL" })
|
|
1334
|
-
}, null, 14,
|
|
1352
|
+
}, null, 14, va),
|
|
1335
1353
|
d("path", {
|
|
1336
1354
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1337
1355
|
stroke: e.value.style.chart.backgroundColor,
|
|
1338
1356
|
"stroke-width": 1,
|
|
1339
1357
|
d: _.value[c.value].crosshairs.horizontal
|
|
1340
|
-
}, null, 8,
|
|
1358
|
+
}, null, 8, ca),
|
|
1341
1359
|
d("path", {
|
|
1342
1360
|
class: "vue-ui-quadrant-minimap-crosshairs",
|
|
1343
1361
|
stroke: e.value.style.chart.backgroundColor,
|
|
1344
1362
|
"stroke-width": 1,
|
|
1345
1363
|
d: _.value[c.value].crosshairs.vertical
|
|
1346
|
-
}, null, 8,
|
|
1364
|
+
}, null, 8, da)
|
|
1347
1365
|
])) : h("", !0),
|
|
1348
1366
|
$(l.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
1349
|
-
], 14,
|
|
1350
|
-
l.$slots.watermark ? (s(), n("div",
|
|
1351
|
-
$(l.$slots, "watermark", U(G({ isPrinting: i(
|
|
1367
|
+
], 14, fl)),
|
|
1368
|
+
l.$slots.watermark ? (s(), n("div", ha, [
|
|
1369
|
+
$(l.$slots, "watermark", U(G({ isPrinting: i(Ne) || i(Be) })), void 0, !0)
|
|
1352
1370
|
])) : h("", !0),
|
|
1353
1371
|
d("div", {
|
|
1354
1372
|
id: `legend-bottom-${w.value}`
|
|
1355
|
-
}, null, 8,
|
|
1356
|
-
|
|
1373
|
+
}, null, 8, ya),
|
|
1374
|
+
Ae.value ? (s(), X(Ot, {
|
|
1357
1375
|
key: 5,
|
|
1358
1376
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${w.value}` : `#legend-bottom-${w.value}`
|
|
1359
1377
|
}, [
|
|
1360
1378
|
d("div", {
|
|
1361
1379
|
ref_key: "chartLegend",
|
|
1362
|
-
ref:
|
|
1380
|
+
ref: _e
|
|
1363
1381
|
}, [
|
|
1364
|
-
e.value.style.chart.legend.show ? (s(), X(
|
|
1365
|
-
key: `legend_${
|
|
1366
|
-
legendSet:
|
|
1367
|
-
config:
|
|
1368
|
-
onClickMarker: o[12] || (o[12] = ({ legend: a }) =>
|
|
1382
|
+
e.value.style.chart.legend.show ? (s(), X(vl, {
|
|
1383
|
+
key: `legend_${ze.value}`,
|
|
1384
|
+
legendSet: fe.value,
|
|
1385
|
+
config: Ct.value,
|
|
1386
|
+
onClickMarker: o[12] || (o[12] = ({ legend: a }) => be(a.id))
|
|
1369
1387
|
}, {
|
|
1370
|
-
item:
|
|
1371
|
-
i(
|
|
1388
|
+
item: m(({ legend: a }) => [
|
|
1389
|
+
i(We) ? h("", !0) : (s(), n("div", {
|
|
1372
1390
|
key: 0,
|
|
1373
|
-
onClick: (u) =>
|
|
1391
|
+
onClick: (u) => be(a.id),
|
|
1374
1392
|
style: C(`opacity:${B.value.includes(a.id) ? 0.5 : 1}`)
|
|
1375
|
-
}, k(a.name), 13,
|
|
1393
|
+
}, k(a.name), 13, ba))
|
|
1376
1394
|
]),
|
|
1377
1395
|
_: 1
|
|
1378
1396
|
}, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
|
|
1379
1397
|
key: 1,
|
|
1380
|
-
legend:
|
|
1398
|
+
legend: fe.value
|
|
1381
1399
|
}, void 0, !0)
|
|
1382
1400
|
], 512)
|
|
1383
1401
|
], 8, ["to"])) : h("", !0),
|
|
1384
1402
|
l.$slots.source ? (s(), n("div", {
|
|
1385
1403
|
key: 6,
|
|
1386
1404
|
ref_key: "source",
|
|
1387
|
-
ref:
|
|
1405
|
+
ref: Ce,
|
|
1388
1406
|
dir: "auto"
|
|
1389
1407
|
}, [
|
|
1390
1408
|
$(l.$slots, "source", {}, void 0, !0)
|
|
1391
1409
|
], 512)) : h("", !0),
|
|
1392
|
-
se(i(
|
|
1393
|
-
show:
|
|
1410
|
+
se(i(dt), {
|
|
1411
|
+
show: x.value.showTooltip && ie.value,
|
|
1394
1412
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1395
1413
|
color: e.value.style.chart.tooltip.color,
|
|
1396
1414
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1409,15 +1427,15 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1409
1427
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1410
1428
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1411
1429
|
}, {
|
|
1412
|
-
"tooltip-before":
|
|
1413
|
-
$(l.$slots, "tooltip-before", U(G({ ...
|
|
1430
|
+
"tooltip-before": m(() => [
|
|
1431
|
+
$(l.$slots, "tooltip-before", U(G({ ...pe.value })), void 0, !0)
|
|
1414
1432
|
]),
|
|
1415
|
-
"tooltip-after":
|
|
1416
|
-
$(l.$slots, "tooltip-after", U(G({ ...
|
|
1433
|
+
"tooltip-after": m(() => [
|
|
1434
|
+
$(l.$slots, "tooltip-after", U(G({ ...pe.value })), void 0, !0)
|
|
1417
1435
|
]),
|
|
1418
|
-
default:
|
|
1419
|
-
e.value.style.chart.tooltip.showShape ? (s(), n("svg",
|
|
1420
|
-
se(
|
|
1436
|
+
default: m(() => [
|
|
1437
|
+
e.value.style.chart.tooltip.showShape ? (s(), n("svg", fa, [
|
|
1438
|
+
se(nt, {
|
|
1421
1439
|
plot: { x: 10, y: 10 },
|
|
1422
1440
|
shape: oe.value.shape,
|
|
1423
1441
|
color: oe.value.color,
|
|
@@ -1429,14 +1447,14 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1429
1447
|
]),
|
|
1430
1448
|
_: 3
|
|
1431
1449
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1432
|
-
|
|
1450
|
+
ke.value && e.value.userOptions.buttons.table ? (s(), X(Nt(K.value.component), Bt({ key: 7 }, K.value.props, {
|
|
1433
1451
|
ref_key: "tableUnit",
|
|
1434
1452
|
ref: J,
|
|
1435
1453
|
onClose: Ke
|
|
1436
|
-
}),
|
|
1437
|
-
content:
|
|
1438
|
-
(s(), X(i(
|
|
1439
|
-
key: `table_${
|
|
1454
|
+
}), at({
|
|
1455
|
+
content: m(() => [
|
|
1456
|
+
(s(), X(i(bt), {
|
|
1457
|
+
key: `table_${Te.value}`,
|
|
1440
1458
|
colNames: le.value.colNames,
|
|
1441
1459
|
head: le.value.head,
|
|
1442
1460
|
body: le.value.body,
|
|
@@ -1445,13 +1463,13 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1445
1463
|
withCloseButton: !e.value.table.useDialog,
|
|
1446
1464
|
onClose: Ke
|
|
1447
1465
|
}, {
|
|
1448
|
-
th:
|
|
1449
|
-
|
|
1466
|
+
th: m(({ th: a }) => [
|
|
1467
|
+
ot(k(a), 1)
|
|
1450
1468
|
]),
|
|
1451
|
-
td:
|
|
1469
|
+
td: m(({ td: a }) => [
|
|
1452
1470
|
d("div", {
|
|
1453
1471
|
innerHTML: a.name || a
|
|
1454
|
-
}, null, 8,
|
|
1472
|
+
}, null, 8, pa)
|
|
1455
1473
|
]),
|
|
1456
1474
|
_: 1
|
|
1457
1475
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1460,20 +1478,20 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1460
1478
|
}, [
|
|
1461
1479
|
e.value.table.useDialog ? {
|
|
1462
1480
|
name: "title",
|
|
1463
|
-
fn:
|
|
1464
|
-
|
|
1481
|
+
fn: m(() => [
|
|
1482
|
+
ot(k(K.value.title), 1)
|
|
1465
1483
|
]),
|
|
1466
1484
|
key: "0"
|
|
1467
1485
|
} : void 0,
|
|
1468
1486
|
e.value.table.useDialog ? {
|
|
1469
1487
|
name: "actions",
|
|
1470
|
-
fn:
|
|
1488
|
+
fn: m(() => [
|
|
1471
1489
|
d("button", {
|
|
1472
1490
|
tabindex: "0",
|
|
1473
1491
|
class: "vue-ui-user-options-button",
|
|
1474
|
-
onClick: o[13] || (o[13] = (a) =>
|
|
1492
|
+
onClick: o[13] || (o[13] = (a) => ge(e.value.userOptions.callbacks.csv))
|
|
1475
1493
|
}, [
|
|
1476
|
-
se(i(
|
|
1494
|
+
se(i(ht), {
|
|
1477
1495
|
name: "excel",
|
|
1478
1496
|
stroke: K.value.props.color
|
|
1479
1497
|
}, null, 8, ["stroke"])
|
|
@@ -1482,10 +1500,10 @@ const rl = ["id"], nl = ["id"], il = ["xmlns", "viewBox", "id"], vl = ["x", "y",
|
|
|
1482
1500
|
key: "1"
|
|
1483
1501
|
} : void 0
|
|
1484
1502
|
]), 1040)) : h("", !0),
|
|
1485
|
-
i(
|
|
1486
|
-
], 46,
|
|
1503
|
+
i(We) ? (s(), X(dl, { key: 8 })) : h("", !0)
|
|
1504
|
+
], 46, yl));
|
|
1487
1505
|
}
|
|
1488
|
-
},
|
|
1506
|
+
}, Ya = /* @__PURE__ */ hl(ga, [["__scopeId", "data-v-06421241"]]);
|
|
1489
1507
|
export {
|
|
1490
|
-
|
|
1508
|
+
Ya as default
|
|
1491
1509
|
};
|