vue-data-ui 3.3.3 → 3.4.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-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-DyDViSOy.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-D7Tgakts.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-H_4pqH3h.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-BGzYbrts.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-Cf4Uzhez.js} +7 -7
- package/dist/vue-ui-candlestick-DfbP87Cr.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-0z6eLg_I.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-BcQFRaXx.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-YYE07iRP.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-BRSqhjxm.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-BpeLteeH.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-Yw81BFf2.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-k3xCwZYv.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-DMPndU1O.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-D-W3VQTv.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-q-b-LqXG.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-4pueJOcI.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-APtv_CvA.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-BH0MvhIV.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-BBdrkhmg.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DL5ioFH4.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-DnjRfc4-.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-9aAC_ake.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-BnVXn9Qa.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-DbanwrFr.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-CtlpCJ97.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BVffm_0o.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-C4Uc3DRH.js} +86 -86
- package/dist/{vue-ui-radar-Csznqw19.js → vue-ui-radar-C-MSV1ZJ.js} +69 -69
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-4MPxPkAi.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-B1T10gWF.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-G0bYxlue.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-DqZwonPL.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-C-IKc-3B.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-8vV7SyrA.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-BsWBXGuQ.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9-iRqNC.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-CV4PH2vQ.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-DScNHLXj.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-CXPJToNY.js} +17 -17
- package/dist/vue-ui-stackbar-94piqh7z.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-CA4GL9dj.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BAbQsJGk.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-1KrHuOle.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-DrCAdNyW.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-Cj677c6_.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-O5LGA_1a.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-BVe_Fft6.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-D8oCUku1.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-C39XL2GH.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-BEpyCUNj.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-Dlp9LghX.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-BS8BCZJ3.js} +6 -6
- package/dist/vue-ui-xy-D3LqMzve.js +3375 -0
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/package.json +1 -1
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineAsyncComponent as E, ref as i, shallowRef as xt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, watchEffect as vl, onBeforeUnmount as dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as
|
|
2
|
-
import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce,
|
|
1
|
+
import { defineAsyncComponent as E, ref as i, shallowRef as xt, computed as y, onMounted as il, toRefs as cl, nextTick as Ie, watch as re, watchEffect as vl, onBeforeUnmount as dl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as K, normalizeClass as N, createBlock as T, createCommentVNode as v, createElementVNode as b, createSlots as pt, withCtx as p, renderSlot as S, normalizeProps as Z, guardReactiveProps as ee, createVNode as kt, Fragment as $, renderList as z, toDisplayString as k, Teleport as hl, resolveDynamicComponent as yl, mergeProps as gl, createTextVNode as Oe } from "vue";
|
|
2
|
+
import { c as wt, o as Ct, f as ie, g as fl, t as bl, b as ml, p as ce, O as _t, e as xl, h as Te, a1 as pl, m as Lt, T as De, a as Ne, d as ve, X as kl, s as te, a2 as wl, M as Cl, V as _l, W as Ll, Y as At, P as Al, Q as Sl, a3 as St, a4 as $l } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as $t, u as zl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Il, a as zt } from "./useNestedProp-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
4
|
+
import { u as Il, a as zt } from "./useNestedProp-B7CiTRDS.js";
|
|
5
|
+
import { u as Ol } from "./usePrinter-C1GiglOH.js";
|
|
6
|
+
import { u as Tl, B as Dl } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as Nl } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as Pl } from "./useTimeLabels-BGFjWgrv.js";
|
|
9
9
|
import { u as Rl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as Fl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { u as El } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
-
import Vl from "./img-
|
|
13
|
-
import Bl from "./Title-
|
|
12
|
+
import Vl from "./img-CFY3JivG.js";
|
|
13
|
+
import Bl from "./Title-CFmv95In.js";
|
|
14
14
|
import { t as Ml } from "./themes-Dw-dDudK.js";
|
|
15
|
-
import Hl from "./Legend-
|
|
16
|
-
import { S as Ul } from "./Slicer-
|
|
15
|
+
import Hl from "./Legend-C8u37J42.js";
|
|
16
|
+
import { S as Ul } from "./Slicer-BHgEsIBU.js";
|
|
17
17
|
import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"],
|
|
18
|
+
const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Ql = ["stop-color"], Jl = ["stop-color"], Kl = ["id"], Zl = ["stop-color"], ea = ["stop-color"], ta = ["stop-color"], la = { key: 1 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = { key: 0 }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["font-size", "fill", "transform"], ra = ["x", "y", "font-size", "fill"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill", "font-weight"], va = { key: 0 }, da = ["text-anchor", "font-size", "fill", "transform"], ha = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], ya = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ga = { key: 1 }, fa = ["cx", "cy", "r", "fill"], ba = { key: 0 }, ma = { key: 0 }, xa = ["d", "stroke"], pa = ["text-anchor", "x", "y", "fill"], ka = ["cx", "cy", "r", "fill"], wa = { key: 0 }, Ca = ["cx", "cy", "fill"], _a = { key: 1 }, La = ["d", "fill", "stroke"], Aa = { key: 2 }, Sa = ["d", "fill", "stroke"], $a = ["x", "y", "font-size", "fill"], za = ["x", "y", "width", "height", "fill"], Ia = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Oa = {
|
|
19
19
|
key: 4,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
21
|
+
}, Ta = ["id"], Da = ["onClick"], Na = { key: 0 }, Pa = { key: 1 }, Ra = {
|
|
22
22
|
__name: "vue-ui-donut-evolution",
|
|
23
23
|
props: {
|
|
24
24
|
config: {
|
|
@@ -35,13 +35,13 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
|
-
setup(It, { expose:
|
|
39
|
-
const
|
|
38
|
+
setup(It, { expose: Ot, emit: Tt }) {
|
|
39
|
+
const Dt = E(() => import("./vue-ui-accordion-BKkTS12x.js")), Nt = E(() => import("./BaseIcon-B5KaGWWC.js")), Pt = E(() => import("./DataTable-DOx3zgih.js")), Rt = E(() => import("./PackageVersion-DyDViSOy.js")), Ft = E(() => import("./PenAndPaper-Dj2diYr0.js")), Et = E(() => import("./UserOptions-C0YT60JN.js")), Vt = E(() => import("./vue-ui-donut-Yw81BFf2.js")), Pe = E(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_donut_evolution: Bt } = Il(), m = It, D = i(wt()), C = i([]), f = i(null), le = i(null), de = i(!1), V = i(null), P = i(null), Mt = i(null), Re = i(0), Fe = i(0), Ee = i(0), Ve = i(0), Be = i(0), he = i(null), ae = i(null), ye = i(null), ge = i(null), Me = i(!1), Y = i(null), fe = i(null), He = i(null), Ue = i(null), Xe = i(null), We = i(null), Ge = i(null), be = i(!1), j = xt(null), oe = xt(null), Ye = i(null), je = Tt, qe = y(() => !!m.dataset && m.dataset.length);
|
|
40
40
|
il(() => {
|
|
41
|
-
Me.value = !0,
|
|
41
|
+
Me.value = !0, Qe();
|
|
42
42
|
});
|
|
43
43
|
const ue = y(() => !!e.value.debug);
|
|
44
|
-
function
|
|
44
|
+
function Qe() {
|
|
45
45
|
if (Ct(m.dataset) ? (ie({
|
|
46
46
|
componentName: "VueUiDonutEvolution",
|
|
47
47
|
type: "dataset",
|
|
@@ -68,7 +68,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
68
68
|
chart: P.value,
|
|
69
69
|
title: e.value.style.chart.title.text ? He.value : null,
|
|
70
70
|
legend: e.value.style.chart.legend.show ? Ue.value : null,
|
|
71
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
71
|
+
slicer: e.value.style.chart.zoom.show && Ke.value > 1 ? Ge.value : null,
|
|
72
72
|
source: Xe.value
|
|
73
73
|
});
|
|
74
74
|
requestAnimationFrame(() => {
|
|
@@ -80,7 +80,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
80
80
|
j.value && (oe.value && j.value.unobserve(oe.value), j.value.disconnect()), j.value = new ResizeObserver(t), oe.value = P.value.parentNode, j.value.observe(oe.value);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
const e = i(we()), { loading:
|
|
83
|
+
const e = i(we()), { loading: Je, FINAL_DATASET: me, manualLoading: se } = Tl({
|
|
84
84
|
...cl(m),
|
|
85
85
|
FINAL_CONFIG: e,
|
|
86
86
|
prepareConfig: we,
|
|
@@ -151,9 +151,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
151
151
|
}), U = i({
|
|
152
152
|
width: e.value.style.chart.layout.width,
|
|
153
153
|
height: e.value.style.chart.layout.height
|
|
154
|
-
}),
|
|
154
|
+
}), Ke = y(() => Math.max(...me.value.map((t) => t.values.length))), h = i({
|
|
155
155
|
start: 0,
|
|
156
|
-
end:
|
|
156
|
+
end: Ke.value
|
|
157
157
|
});
|
|
158
158
|
function Ze() {
|
|
159
159
|
xe();
|
|
@@ -186,12 +186,12 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
186
186
|
} : a = t, m.config && _t(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && _t(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
|
|
187
187
|
}
|
|
188
188
|
re(() => m.config, (t) => {
|
|
189
|
-
|
|
189
|
+
Je.value || (e.value = we()), pe.value = !e.value.userOptions.showOnChartHover, Qe(), Ee.value += 1, Ve.value += 1, Be.value += 1, B.value.showTable = e.value.table.show;
|
|
190
190
|
}, { deep: !0 }), re(() => m.dataset, (t) => {
|
|
191
191
|
Array.isArray(t) && t.length > 0 && (se.value = !1), Ze();
|
|
192
192
|
}, { deep: !0 });
|
|
193
|
-
const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } =
|
|
194
|
-
elementId:
|
|
193
|
+
const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Ol({
|
|
194
|
+
elementId: D.value,
|
|
195
195
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
196
196
|
options: e.value.userOptions.print
|
|
197
197
|
}), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => xl(e.value.customPalette)), B = i({
|
|
@@ -266,7 +266,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
266
266
|
}), me.value.map((t, a) => ({
|
|
267
267
|
...t,
|
|
268
268
|
values: pl(t.values),
|
|
269
|
-
color:
|
|
269
|
+
color: Te(t.color) || Xt.value[a] || ce[a] || ce[a % ce.length],
|
|
270
270
|
length: (t.values || []).length,
|
|
271
271
|
uid: wt()
|
|
272
272
|
})))), q = y(() => R.value.filter((t) => !C.value.includes(t.uid)).map((t) => ({
|
|
@@ -281,7 +281,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
281
281
|
})), w = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
|
|
282
282
|
const t = [];
|
|
283
283
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
284
|
-
const g = q.value.map((
|
|
284
|
+
const g = q.value.map((O) => O.values[o] ?? null), d = g.filter((O) => [void 0, null].includes(O)).length === g.length, x = g.reduce((O, A) => O + A, 0), G = g.map((O) => O / x), F = r.value.left + w.value * o + w.value / 2;
|
|
285
285
|
t.push({
|
|
286
286
|
index: o,
|
|
287
287
|
percentages: G,
|
|
@@ -292,28 +292,28 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
292
292
|
}
|
|
293
293
|
const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
|
|
294
294
|
return t.map((o, g) => {
|
|
295
|
-
const d = Math.min(r.value.width / 24, w.value / 2 * 0.7), x = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : x, F = t.length > 4 ? d * 2 : d * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : d * 2,
|
|
295
|
+
const d = Math.min(r.value.width / 24, w.value / 2 * 0.7), x = d > r.value.width / 16 ? r.value.width / 16 : d, G = f.value === o.index ? r.value.width / 16 : x, F = t.length > 4 ? d * 2 : d * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : d * 2, O = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
296
296
|
return {
|
|
297
297
|
...o,
|
|
298
|
-
y:
|
|
298
|
+
y: O,
|
|
299
299
|
radius: x,
|
|
300
300
|
activeRadius: G,
|
|
301
301
|
hoverRadius: F,
|
|
302
|
-
donut:
|
|
302
|
+
donut: De({
|
|
303
303
|
series: q.value.map((A, mt) => ({
|
|
304
304
|
color: A.color,
|
|
305
305
|
name: A.name,
|
|
306
306
|
value: A.values[g] ?? 0
|
|
307
307
|
}))
|
|
308
|
-
}, o.x,
|
|
309
|
-
donutHover:
|
|
308
|
+
}, o.x, O, x, x, 1.99999, 2, 1, 360, 105.25, x / 2),
|
|
309
|
+
donutHover: De({
|
|
310
310
|
series: q.value.map((A, mt) => ({
|
|
311
311
|
color: A.color,
|
|
312
312
|
name: A.name,
|
|
313
313
|
value: A.values[g] ?? 0
|
|
314
314
|
}))
|
|
315
|
-
}, o.x,
|
|
316
|
-
donutFocus:
|
|
315
|
+
}, o.x, O, F, F, 1.99999, 2, 1, 360, 105.25, F / 2),
|
|
316
|
+
donutFocus: De({
|
|
317
317
|
series: q.value.map((A, mt) => ({
|
|
318
318
|
color: A.color,
|
|
319
319
|
name: A.name,
|
|
@@ -356,12 +356,12 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
356
356
|
function rt(t) {
|
|
357
357
|
f.value = null, le.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function Qt(t) {
|
|
360
360
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), f.value = t.index, le.value = t;
|
|
361
361
|
}
|
|
362
|
-
const
|
|
362
|
+
const Q = i(null);
|
|
363
363
|
function it(t, a) {
|
|
364
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, f.value = null, de.value = !0, V.value = t, Zt(t), [null, void 0].includes(a) || (
|
|
364
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, f.value = null, de.value = !0, V.value = t, Zt(t), [null, void 0].includes(a) || (Q.value = a));
|
|
365
365
|
}
|
|
366
366
|
const Le = y(() => R.value.map((t, a) => ({
|
|
367
367
|
name: t.name,
|
|
@@ -389,7 +389,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
389
389
|
s: "%",
|
|
390
390
|
r: e.value.style.chart.legend.roundingPercentage
|
|
391
391
|
})}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
392
|
-
}))), ct = y(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)),
|
|
392
|
+
}))), ct = y(() => L.value.map((t) => t.subtotal).reduce((t, a) => t + a, 0)), Jt = y(() => ({
|
|
393
393
|
cy: "donut-div-legend",
|
|
394
394
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
395
395
|
color: e.value.style.chart.legend.color,
|
|
@@ -404,7 +404,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
404
404
|
if (C.value.length === R.value.length - 1) return;
|
|
405
405
|
C.value.push(t), je("selectLegend", R.value.find((a) => a.uid === t));
|
|
406
406
|
}
|
|
407
|
-
V.value && it(L.value.find((a, l) => l ===
|
|
407
|
+
V.value && it(L.value.find((a, l) => l === Q.value));
|
|
408
408
|
}
|
|
409
409
|
const W = y(() => {
|
|
410
410
|
const t = [""].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => ({
|
|
@@ -436,7 +436,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
436
436
|
].concat(R.value.filter((o) => !C.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
|
|
437
437
|
return { head: t, body: a, config: l, colNames: s };
|
|
438
438
|
});
|
|
439
|
-
function
|
|
439
|
+
function Kt() {
|
|
440
440
|
return R.value;
|
|
441
441
|
}
|
|
442
442
|
function Se(t = null) {
|
|
@@ -496,10 +496,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
496
496
|
height: ll,
|
|
497
497
|
rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
|
|
498
498
|
});
|
|
499
|
-
const
|
|
499
|
+
const J = y(() => {
|
|
500
500
|
const t = e.value.table.useDialog && !e.value.table.show, a = B.value.showTable;
|
|
501
501
|
return {
|
|
502
|
-
component: t ? Pe :
|
|
502
|
+
component: t ? Pe : Dt,
|
|
503
503
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
504
504
|
props: t ? {
|
|
505
505
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -549,8 +549,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
549
549
|
} else
|
|
550
550
|
nl();
|
|
551
551
|
}
|
|
552
|
-
return
|
|
553
|
-
getData:
|
|
552
|
+
return Ot({
|
|
553
|
+
getData: Kt,
|
|
554
554
|
getImage: el,
|
|
555
555
|
generatePdf: ot,
|
|
556
556
|
generateCsv: Se,
|
|
@@ -563,12 +563,12 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
563
563
|
ref_key: "donutEvolutionChart",
|
|
564
564
|
ref: P,
|
|
565
565
|
class: N(`vue-data-ui-component vue-ui-donut-evolution ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
566
|
-
style:
|
|
567
|
-
id:
|
|
566
|
+
style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
567
|
+
id: D.value,
|
|
568
568
|
onMouseenter: a[5] || (a[5] = () => c(et)(!0)),
|
|
569
569
|
onMouseleave: a[6] || (a[6] = () => c(et)(!1))
|
|
570
570
|
}, [
|
|
571
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
571
|
+
e.value.userOptions.buttons.annotator ? (u(), T(c(Ft), {
|
|
572
572
|
key: 0,
|
|
573
573
|
svgRef: c(ke),
|
|
574
574
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -590,7 +590,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
590
590
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
591
591
|
onMouseleave: rt
|
|
592
592
|
}, [
|
|
593
|
-
(u(),
|
|
593
|
+
(u(), T(Bl, {
|
|
594
594
|
key: `title_${Ee.value}`,
|
|
595
595
|
config: {
|
|
596
596
|
title: {
|
|
@@ -605,9 +605,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
605
605
|
}, null, 8, ["config"]))
|
|
606
606
|
], 544)) : v("", !0),
|
|
607
607
|
b("div", {
|
|
608
|
-
id: `legend-top-${
|
|
608
|
+
id: `legend-top-${D.value}`
|
|
609
609
|
}, null, 8, Gl),
|
|
610
|
-
e.value.userOptions.show && qe.value && (c(tt) || c(pe)) ? (u(),
|
|
610
|
+
e.value.userOptions.show && qe.value && (c(tt) || c(pe)) ? (u(), T(c(Et), {
|
|
611
611
|
ref_key: "userOptionsRef",
|
|
612
612
|
ref: fe,
|
|
613
613
|
key: `user_options_${Re.value}`,
|
|
@@ -615,7 +615,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
615
615
|
color: e.value.style.chart.color,
|
|
616
616
|
isPrinting: c(lt),
|
|
617
617
|
isImaging: c(at),
|
|
618
|
-
uid:
|
|
618
|
+
uid: D.value,
|
|
619
619
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
620
620
|
hasImg: e.value.userOptions.buttons.img,
|
|
621
621
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
@@ -638,7 +638,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
638
638
|
onGenerateSvg: bt,
|
|
639
639
|
onToggleTable: dt,
|
|
640
640
|
onToggleAnnotator: $e,
|
|
641
|
-
style:
|
|
641
|
+
style: K({
|
|
642
642
|
visibility: c(tt) ? c(pe) ? "visible" : "hidden" : "visible"
|
|
643
643
|
})
|
|
644
644
|
}, pt({ _: 2 }, [
|
|
@@ -698,7 +698,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
698
698
|
xmlns: c(kl),
|
|
699
699
|
class: N({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
700
700
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
701
|
-
style:
|
|
701
|
+
style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
702
702
|
}, [
|
|
703
703
|
kt(c(Rt)),
|
|
704
704
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
@@ -715,7 +715,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
715
715
|
], 8, jl)) : v("", !0),
|
|
716
716
|
b("defs", null, [
|
|
717
717
|
b("linearGradient", {
|
|
718
|
-
id: `hover_${
|
|
718
|
+
id: `hover_${D.value}`,
|
|
719
719
|
x1: "0%",
|
|
720
720
|
y1: "0%",
|
|
721
721
|
x2: "0%",
|
|
@@ -724,18 +724,18 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
724
724
|
b("stop", {
|
|
725
725
|
offset: "0%",
|
|
726
726
|
"stop-color": c(te)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
727
|
-
}, null, 8,
|
|
727
|
+
}, null, 8, Ql),
|
|
728
728
|
b("stop", {
|
|
729
729
|
offset: "100%",
|
|
730
730
|
"stop-color": c(te)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
731
|
-
}, null, 8,
|
|
731
|
+
}, null, 8, Jl)
|
|
732
732
|
], 8, ql),
|
|
733
733
|
b("radialGradient", {
|
|
734
|
-
id: `focus_${
|
|
734
|
+
id: `focus_${D.value}`
|
|
735
735
|
}, [
|
|
736
736
|
b("stop", {
|
|
737
737
|
offset: "0%",
|
|
738
|
-
"stop-color": c(te)(c(
|
|
738
|
+
"stop-color": c(te)(c(Te)(e.value.style.chart.backgroundColor), 0)
|
|
739
739
|
}, null, 8, Zl),
|
|
740
740
|
b("stop", {
|
|
741
741
|
offset: "77%",
|
|
@@ -743,9 +743,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
743
743
|
}, null, 8, ea),
|
|
744
744
|
b("stop", {
|
|
745
745
|
offset: "100%",
|
|
746
|
-
"stop-color": c(te)(c(
|
|
746
|
+
"stop-color": c(te)(c(Te)(e.value.style.chart.backgroundColor), 0)
|
|
747
747
|
}, null, 8, ta)
|
|
748
|
-
], 8,
|
|
748
|
+
], 8, Kl)
|
|
749
749
|
]),
|
|
750
750
|
e.value.style.chart.layout.grid.show ? (u(), n("g", la, [
|
|
751
751
|
b("line", {
|
|
@@ -978,8 +978,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
978
978
|
y: r.value.top,
|
|
979
979
|
width: w.value,
|
|
980
980
|
height: r.value.height,
|
|
981
|
-
fill: [f.value,
|
|
982
|
-
class: N({ "donut-hover": l.subtotal && [f.value,
|
|
981
|
+
fill: [f.value, Q.value].includes(l.index) ? `url(#hover_${D.value})` : "transparent",
|
|
982
|
+
class: N({ "donut-hover": l.subtotal && [f.value, Q.value].includes(l.index) }),
|
|
983
983
|
style: {
|
|
984
984
|
pointerEvents: "none"
|
|
985
985
|
}
|
|
@@ -991,23 +991,23 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
991
991
|
width: w.value,
|
|
992
992
|
height: r.value.height,
|
|
993
993
|
fill: "transparent",
|
|
994
|
-
onMouseenter: (o) =>
|
|
994
|
+
onMouseenter: (o) => Qt(l),
|
|
995
995
|
onMouseleave: (o) => rt(l),
|
|
996
996
|
onClick: (o) => it(l, s),
|
|
997
997
|
class: N({ "donut-hover": f.value === l.index && l.subtotal })
|
|
998
998
|
}, null, 42, Ia))), 256)),
|
|
999
999
|
S(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1000
1000
|
], 14, Yl)),
|
|
1001
|
-
t.$slots.watermark ? (u(), n("div",
|
|
1001
|
+
t.$slots.watermark ? (u(), n("div", Oa, [
|
|
1002
1002
|
S(t.$slots, "watermark", Z(ee({ isPrinting: c(lt) || c(at) })), void 0, !0)
|
|
1003
1003
|
])) : v("", !0),
|
|
1004
1004
|
b("div", {
|
|
1005
1005
|
ref_key: "chartSlicer",
|
|
1006
1006
|
ref: Ge,
|
|
1007
|
-
style:
|
|
1007
|
+
style: K(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
1008
1008
|
"data-dom-to-png-ignore": ""
|
|
1009
1009
|
}, [
|
|
1010
|
-
I.value > 1 && e.value.style.chart.zoom.show ? (u(),
|
|
1010
|
+
I.value > 1 && e.value.style.chart.zoom.show ? (u(), T(Ul, {
|
|
1011
1011
|
ref_key: "slicerComponent",
|
|
1012
1012
|
ref: We,
|
|
1013
1013
|
key: `slicer_${Fe.value}`,
|
|
@@ -1043,27 +1043,27 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1043
1043
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : v("", !0)
|
|
1044
1044
|
], 4),
|
|
1045
1045
|
b("div", {
|
|
1046
|
-
id: `legend-bottom-${
|
|
1047
|
-
}, null, 8,
|
|
1048
|
-
Me.value ? (u(),
|
|
1046
|
+
id: `legend-bottom-${D.value}`
|
|
1047
|
+
}, null, 8, Ta),
|
|
1048
|
+
Me.value ? (u(), T(hl, {
|
|
1049
1049
|
key: 5,
|
|
1050
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1050
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1051
1051
|
}, [
|
|
1052
1052
|
b("div", {
|
|
1053
1053
|
ref_key: "chartLegend",
|
|
1054
1054
|
ref: Ue
|
|
1055
1055
|
}, [
|
|
1056
|
-
e.value.style.chart.legend.show ? (u(),
|
|
1056
|
+
e.value.style.chart.legend.show ? (u(), T(Hl, {
|
|
1057
1057
|
key: `legend_${Be.value}`,
|
|
1058
1058
|
legendSet: Le.value,
|
|
1059
|
-
config:
|
|
1059
|
+
config: Jt.value,
|
|
1060
1060
|
onClickMarker: a[2] || (a[2] = ({ legend: l }) => Ae(l.uid))
|
|
1061
1061
|
}, {
|
|
1062
1062
|
item: p(({ legend: l, index: s }) => [
|
|
1063
1063
|
b("div", {
|
|
1064
1064
|
onClick: (o) => Ae(l.uid),
|
|
1065
|
-
style:
|
|
1066
|
-
}, k(l.display), 13,
|
|
1065
|
+
style: K(`opacity:${C.value.includes(l.uid) ? 0.5 : 1}`)
|
|
1066
|
+
}, k(l.display), 13, Da)
|
|
1067
1067
|
]),
|
|
1068
1068
|
_: 1
|
|
1069
1069
|
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
@@ -1078,24 +1078,24 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1078
1078
|
}, [
|
|
1079
1079
|
S(t.$slots, "source", {}, void 0, !0)
|
|
1080
1080
|
], 512)) : v("", !0),
|
|
1081
|
-
qe.value && e.value.userOptions.buttons.table ? (u(),
|
|
1081
|
+
qe.value && e.value.userOptions.buttons.table ? (u(), T(yl(J.value.component), gl({ key: 7 }, J.value.props, {
|
|
1082
1082
|
ref_key: "tableUnit",
|
|
1083
1083
|
ref: Y,
|
|
1084
1084
|
onClose: ft
|
|
1085
1085
|
}), pt({
|
|
1086
1086
|
content: p(() => [
|
|
1087
|
-
(u(),
|
|
1087
|
+
(u(), T(c(Pt), {
|
|
1088
1088
|
key: `table_${Ve.value}`,
|
|
1089
1089
|
colNames: W.value.colNames,
|
|
1090
1090
|
head: W.value.head,
|
|
1091
1091
|
body: W.value.body,
|
|
1092
1092
|
config: W.value.config,
|
|
1093
|
-
title: e.value.table.useDialog ? "" :
|
|
1093
|
+
title: e.value.table.useDialog ? "" : J.value.title,
|
|
1094
1094
|
withCloseButton: !e.value.table.useDialog,
|
|
1095
1095
|
onClose: ft
|
|
1096
1096
|
}, {
|
|
1097
1097
|
th: p(({ th: l }) => [
|
|
1098
|
-
|
|
1098
|
+
Oe(k(l.name ?? l), 1)
|
|
1099
1099
|
]),
|
|
1100
1100
|
td: p(({ td: l }) => [
|
|
1101
1101
|
l.value === null ? (u(), n("span", Na, "-")) : (u(), n("b", Pa, k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + k(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
@@ -1109,7 +1109,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1109
1109
|
e.value.table.useDialog ? {
|
|
1110
1110
|
name: "title",
|
|
1111
1111
|
fn: p(() => [
|
|
1112
|
-
|
|
1112
|
+
Oe(k(J.value.title), 1)
|
|
1113
1113
|
]),
|
|
1114
1114
|
key: "0"
|
|
1115
1115
|
} : void 0,
|
|
@@ -1123,19 +1123,19 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1123
1123
|
}, [
|
|
1124
1124
|
kt(c(Nt), {
|
|
1125
1125
|
name: "excel",
|
|
1126
|
-
stroke:
|
|
1126
|
+
stroke: J.value.props.color
|
|
1127
1127
|
}, null, 8, ["stroke"])
|
|
1128
1128
|
])
|
|
1129
1129
|
]),
|
|
1130
1130
|
key: "1"
|
|
1131
1131
|
} : void 0
|
|
1132
1132
|
]), 1040)) : v("", !0),
|
|
1133
|
-
e.value.style.chart.dialog.show ? (u(),
|
|
1133
|
+
e.value.style.chart.dialog.show ? (u(), T(c(Pe), {
|
|
1134
1134
|
key: 8,
|
|
1135
1135
|
ref_key: "dialog",
|
|
1136
1136
|
ref: ze,
|
|
1137
1137
|
onClose: a[4] || (a[4] = (l) => {
|
|
1138
|
-
V.value = null, de.value = !1, le.value = null, f.value = null,
|
|
1138
|
+
V.value = null, de.value = !1, le.value = null, f.value = null, Q.value = null;
|
|
1139
1139
|
}),
|
|
1140
1140
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1141
1141
|
color: e.value.style.chart.dialog.color,
|
|
@@ -1145,10 +1145,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1145
1145
|
fullscreenParent: P.value
|
|
1146
1146
|
}, {
|
|
1147
1147
|
title: p(() => [
|
|
1148
|
-
|
|
1148
|
+
Oe(k(_.value[Number(V.value.index)] ? _.value[Number(V.value.index)].text : ""), 1)
|
|
1149
1149
|
]),
|
|
1150
1150
|
content: p(() => [
|
|
1151
|
-
V.value ? (u(),
|
|
1151
|
+
V.value ? (u(), T(c(Vt), {
|
|
1152
1152
|
key: 0,
|
|
1153
1153
|
config: gt.value,
|
|
1154
1154
|
dataset: yt.value
|
|
@@ -1156,7 +1156,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1156
1156
|
]),
|
|
1157
1157
|
_: 1
|
|
1158
1158
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
|
|
1159
|
-
c(
|
|
1159
|
+
c(Je) ? (u(), T(Dl, { key: 9 })) : v("", !0)
|
|
1160
1160
|
], 46, Wl));
|
|
1161
1161
|
}
|
|
1162
1162
|
}, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-ccc6a583"]]);
|