vue-data-ui 3.3.0 → 3.3.2
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-CKLBHe3L.js → Arrow-DLi6NnGD.js} +1 -1
- package/dist/{BaseDraggableDialog-q3pgSDTz.js → BaseDraggableDialog-CVGErydD.js} +2 -2
- package/dist/{BaseIcon-CtqN7W_g.js → BaseIcon-eZbszQrv.js} +1 -1
- package/dist/{ColorPicker-Cr6rUDTP.js → ColorPicker-BoPM4Ejg.js} +2 -2
- package/dist/{DataTable-BeI6gYJX.js → DataTable-yAMEyP6y.js} +2 -2
- package/dist/{Legend-DsogCeTb.js → Legend-By4rru90.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BDK_ucTG.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
- package/dist/{PackageVersion-C9oklnuy.js → PackageVersion-r-Q1R3nV.js} +1 -1
- package/dist/{PenAndPaper-BxbYiPy4.js → PenAndPaper-Bo-lMUik.js} +3 -3
- package/dist/{Shape-DJG2zW7b.js → Shape-BceHSLHf.js} +1 -1
- package/dist/{Slicer-D6T4aUhr.js → Slicer-Znzt0gSE.js} +2 -2
- package/dist/{SparkTooltip-Cp0G9giW.js → SparkTooltip--YwqrrgZ.js} +1 -1
- package/dist/{Title-D17CJXko.js → Title-Camz1Lce.js} +1 -1
- package/dist/{Tooltip-CtVdvbZi.js → Tooltip-VOcQEHa4.js} +1 -1
- package/dist/{UserOptions-B3vCIe-u.js → UserOptions-CSja1SGU.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-BiyqJA3t.js → dom-to-png-DxyZSvDx.js} +1 -1
- package/dist/{img-6wPuVVtk.js → img-J2dLIr8Y.js} +1 -1
- package/dist/{lib-GIYcnm0E.js → lib-CEjkWSLj.js} +376 -374
- package/dist/{pdf-DjbHsnrb.js → pdf-anN8VbM7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-Csv3pVmh.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
- package/dist/{useNestedProp-mxyyqd0B.js → useNestedProp-Ce3PwN8T.js} +1 -1
- package/dist/{usePrinter-DYRFiw7X.js → usePrinter-DJ1iH-F_.js} +2 -2
- package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
- package/dist/useSvgExport-DrjCWun4.js +750 -0
- package/dist/{vue-data-ui-DLU1snC3.js → vue-data-ui-BFdGl7rL.js} +64 -64
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-D6xoBrN6.js → vue-ui-3d-bar-kzlIaqHU.js} +7 -7
- package/dist/{vue-ui-accordion-Dch9YrCi.js → vue-ui-accordion-VTP418mC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D74mAaLA.js → vue-ui-age-pyramid-YFzQ15k1.js} +28 -35
- package/dist/{vue-ui-annotator-DwRwhrgB.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
- package/dist/{vue-ui-bullet-D2qVUqWs.js → vue-ui-bullet-DdjpiM-T.js} +8 -8
- package/dist/{vue-ui-candlestick-C81k1_f9.js → vue-ui-candlestick-x9U5Ni0N.js} +31 -38
- package/dist/{vue-ui-carousel-table-DBIhnEj-.js → vue-ui-carousel-table-CRI_iPLn.js} +4 -4
- package/dist/{vue-ui-chestnut-CSM-_IWw.js → vue-ui-chestnut-YrEA5Gq3.js} +6 -6
- package/dist/{vue-ui-chord-BFW9nnNh.js → vue-ui-chord-D_2DdvpZ.js} +9 -9
- package/dist/{vue-ui-circle-pack-D6mTG5i0.js → vue-ui-circle-pack-xm9-OOAR.js} +7 -7
- package/dist/{vue-ui-cursor-BJmTAMpP.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
- package/dist/{vue-ui-dashboard-BdFLsK4u.js → vue-ui-dashboard-29ZuFoLn.js} +67 -67
- package/dist/{vue-ui-digits-DXum1rs6.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
- package/dist/{vue-ui-donut-CqefukGp.js → vue-ui-donut-BQptfVfE.js} +9 -9
- package/dist/{vue-ui-donut-evolution-DFIbK50s.js → vue-ui-donut-evolution-fiqngEFW.js} +76 -83
- package/dist/{vue-ui-dumbbell-DIo2ecGY.js → vue-ui-dumbbell-Cw45EBO0.js} +31 -38
- package/dist/{vue-ui-flow--kiGWaq4.js → vue-ui-flow-DPu9BjPy.js} +8 -8
- package/dist/{vue-ui-funnel-B8UHwj15.js → vue-ui-funnel-CtlDuNjO.js} +7 -7
- package/dist/{vue-ui-galaxy-eQZh_y3l.js → vue-ui-galaxy-BiVjoNHW.js} +8 -8
- package/dist/{vue-ui-gauge-DJ-E6L2T.js → vue-ui-gauge-CoM6Q3Nb.js} +8 -8
- package/dist/{vue-ui-gizmo-DFxlqPz7.js → vue-ui-gizmo-DXG8dS5u.js} +3 -3
- package/dist/{vue-ui-heatmap-CcAe5dDN.js → vue-ui-heatmap-D6n8AnCc.js} +194 -215
- package/dist/{vue-ui-history-plot-CgKvd7Jx.js → vue-ui-history-plot-C8WMHda_.js} +38 -45
- package/dist/{vue-ui-kpi-Ct2iyD49.js → vue-ui-kpi-Dphnwumo.js} +3 -3
- package/dist/{vue-ui-mini-loader-ByjcvXBB.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
- package/dist/{vue-ui-molecule-CGDBEAkX.js → vue-ui-molecule-DC4_vXt_.js} +6 -6
- package/dist/{vue-ui-mood-radar-D9GuK4cI.js → vue-ui-mood-radar-BgT5wMS0.js} +8 -8
- package/dist/{vue-ui-nested-donuts-CGKgOTX2.js → vue-ui-nested-donuts-D2gSqe1f.js} +8 -8
- package/dist/{vue-ui-onion-C5tE1Woz.js → vue-ui-onion-CEbv2ii4.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-CVhD6IoH.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +38 -45
- package/dist/{vue-ui-quadrant-BGDCaOXv.js → vue-ui-quadrant-PpymeiXe.js} +9 -9
- package/dist/{vue-ui-quick-chart-CjXSB-2S.js → vue-ui-quick-chart-k6mjTD56.js} +207 -214
- package/dist/{vue-ui-radar-rhxkROX7.js → vue-ui-radar-C5NvYMnv.js} +9 -9
- package/dist/{vue-ui-rating-Bo9gSy-z.js → vue-ui-rating-eKlTJch9.js} +2 -2
- package/dist/{vue-ui-relation-circle-Qo8FKbL2.js → vue-ui-relation-circle-Df33aaUT.js} +8 -8
- package/dist/{vue-ui-ridgeline-ahOApbEC.js → vue-ui-ridgeline-BTw-37RS.js} +38 -45
- package/dist/{vue-ui-rings-DFAVaEBs.js → vue-ui-rings-C_s9xOtZ.js} +9 -9
- package/dist/{vue-ui-scatter-zjlWyvVd.js → vue-ui-scatter-Jd8bQ0S5.js} +9 -9
- package/dist/{vue-ui-skeleton-CKfOnyd_.js → vue-ui-skeleton-Ce7H57o7.js} +3 -3
- package/dist/{vue-ui-smiley-CY7UiJ9C.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DwNYP97M.js → vue-ui-spark-trend-DQy4iSO7.js} +3 -3
- package/dist/{vue-ui-sparkbar-BkdcYrmg.js → vue-ui-sparkbar-CUFTHql0.js} +3 -3
- package/dist/{vue-ui-sparkgauge-C6Kq_OGV.js → vue-ui-sparkgauge-CcykuBps.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CjB33yXB.js → vue-ui-sparkhistogram-CyGvYpYn.js} +4 -4
- package/dist/{vue-ui-sparkline-DcH4yIEd.js → vue-ui-sparkline-CLWJM6hA.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-MKr2u_pO.js → vue-ui-sparkstackbar-Cln1pduE.js} +3 -3
- package/dist/{vue-ui-stackbar-DKV-exfd.js → vue-ui-stackbar-DIUil9DO.js} +31 -46
- package/dist/{vue-ui-strip-plot-ncTrDlNC.js → vue-ui-strip-plot-C4U0fT5D.js} +106 -113
- package/dist/{vue-ui-table-BdT3lGuv.js → vue-ui-table-DpdP3PDq.js} +5 -5
- package/dist/{vue-ui-table-heatmap-D929cWB0.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CkZ_ygR1.js → vue-ui-table-sparkline-Chf5YY4A.js} +4 -4
- package/dist/{vue-ui-thermometer-CjBLR6H9.js → vue-ui-thermometer-D6RmaNE6.js} +8 -8
- package/dist/{vue-ui-timer-Bs7eMmiC.js → vue-ui-timer-C5E1kJRt.js} +5 -5
- package/dist/{vue-ui-tiremarks-nGOZKRcz.js → vue-ui-tiremarks-D0erVBnj.js} +7 -7
- package/dist/{vue-ui-treemap-SQ2f5wbN.js → vue-ui-treemap-K8FYxuYz.js} +10 -10
- package/dist/{vue-ui-vertical-bar-Hh9gAN5j.js → vue-ui-vertical-bar-BA3OY8Sh.js} +10 -10
- package/dist/{vue-ui-waffle-C7moVBln.js → vue-ui-waffle-CgLgPuro.js} +9 -9
- package/dist/{vue-ui-wheel-KrGLMCqW.js → vue-ui-wheel-C_cOUhCs.js} +7 -7
- package/dist/{vue-ui-word-cloud-BQSu6kiR.js → vue-ui-word-cloud-uvHNOIpN.js} +7 -7
- package/dist/{vue-ui-world-DdoMFJcV.js → vue-ui-world-DmeNMwpX.js} +7 -7
- package/dist/{vue-ui-xy-canvas-oUXISeU8.js → vue-ui-xy-canvas-BQKR36bd.js} +10 -10
- package/dist/{vue-ui-xy-B2fjTYMJ.js → vue-ui-xy-tWE4H5ij.js} +278 -285
- package/package.json +1 -1
- package/dist/useSvgExport-B7-Vrjtu.js +0 -732
- package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
|
@@ -1,21 +1,21 @@
|
|
|
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,
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as $t, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as El } from "./
|
|
12
|
-
import Vl from "./img-
|
|
13
|
-
import Bl from "./Title-
|
|
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, onBeforeUnmount as vl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as Q, normalizeClass as N, createBlock as O, 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 dl, resolveDynamicComponent as hl, mergeProps as yl, createTextVNode as De } from "vue";
|
|
2
|
+
import { c as Ct, o as wt, f as ie, g as gl, t as fl, b as bl, p as ce, B as _t, e as ml, h as Oe, J as xl, C as Lt, n as Te, a as Ne, d as ve, X as pl, s as te, K as kl, L as Cl, u as wl, v as _l, w as At, x as Ll, y as Al, M as St, N as Sl } from "./lib-CEjkWSLj.js";
|
|
3
|
+
import { t as $t, u as $l } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as zl, a as zt } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as Il } from "./usePrinter-DJ1iH-F_.js";
|
|
6
|
+
import { u as Dl, B as Ol } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as Tl } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as Nl } from "./useTimeLabels-BGFjWgrv.js";
|
|
9
|
+
import { u as Pl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Rl } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as Fl, a as El } from "./useResizeObserverEffect-DfnWps4W.js";
|
|
12
|
+
import Vl from "./img-J2dLIr8Y.js";
|
|
13
|
+
import Bl from "./Title-Camz1Lce.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-By4rru90.js";
|
|
16
|
+
import { S as Ul } from "./Slicer-Znzt0gSE.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"], Jl = ["stop-color"], Kl = ["stop-color"], Ql = ["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"],
|
|
18
|
+
const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "width", "height"], ql = ["id"], Jl = ["stop-color"], Kl = ["stop-color"], Ql = ["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"], Ca = { key: 0 }, wa = ["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"], Da = {
|
|
19
19
|
key: 4,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Oa = ["id"], Ta = ["onClick"], Na = { key: 0 }, Pa = { key: 1 }, Ra = {
|
|
@@ -36,18 +36,18 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
38
|
setup(It, { expose: Dt, emit: Ot }) {
|
|
39
|
-
const Tt = E(() => import("./vue-ui-accordion-
|
|
39
|
+
const Tt = E(() => import("./vue-ui-accordion-VTP418mC.js")), Nt = E(() => import("./BaseIcon-eZbszQrv.js")), Pt = E(() => import("./DataTable-yAMEyP6y.js")), Rt = E(() => import("./PackageVersion-r-Q1R3nV.js")), Ft = E(() => import("./PenAndPaper-Bo-lMUik.js")), Et = E(() => import("./UserOptions-CSja1SGU.js")), Vt = E(() => import("./vue-ui-donut-BQptfVfE.js")), Pe = E(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_donut_evolution: Bt } = zl(), m = It, T = i(Ct()), w = 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 = Ot, qe = y(() => !!m.dataset && m.dataset.length);
|
|
40
40
|
il(() => {
|
|
41
41
|
Me.value = !0, Je();
|
|
42
42
|
});
|
|
43
43
|
const ue = y(() => !!e.value.debug);
|
|
44
44
|
function Je() {
|
|
45
|
-
if (
|
|
45
|
+
if (wt(m.dataset) ? (ie({
|
|
46
46
|
componentName: "VueUiDonutEvolution",
|
|
47
47
|
type: "dataset",
|
|
48
48
|
debug: ue.value
|
|
49
49
|
}), se.value = !0) : m.dataset.length && m.dataset.forEach((t, a) => {
|
|
50
|
-
|
|
50
|
+
gl({
|
|
51
51
|
datasetObject: t,
|
|
52
52
|
requiredAttributes: ["name", "values"]
|
|
53
53
|
}).forEach((l) => {
|
|
@@ -59,12 +59,12 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
59
59
|
debug: ue.value
|
|
60
60
|
}), se.value = !0;
|
|
61
61
|
});
|
|
62
|
-
}),
|
|
62
|
+
}), wt(m.dataset) || (se.value = e.value.loading), setTimeout(() => {
|
|
63
63
|
be.value = !0;
|
|
64
64
|
}, 10), xe(), e.value.responsive) {
|
|
65
65
|
const t = $t(() => {
|
|
66
66
|
be.value = !1;
|
|
67
|
-
const { width: a, height: l } =
|
|
67
|
+
const { width: a, height: l } = $l({
|
|
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,
|
|
@@ -80,10 +80,10 @@ 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(
|
|
83
|
+
const e = i(Ce()), { loading: Ke, FINAL_DATASET: me, manualLoading: se } = Dl({
|
|
84
84
|
...cl(m),
|
|
85
85
|
FINAL_CONFIG: e,
|
|
86
|
-
prepareConfig:
|
|
86
|
+
prepareConfig: Ce,
|
|
87
87
|
callback: () => {
|
|
88
88
|
Promise.resolve().then(async () => {
|
|
89
89
|
await xe();
|
|
@@ -106,7 +106,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
106
106
|
color: "#CACACA"
|
|
107
107
|
}
|
|
108
108
|
],
|
|
109
|
-
skeletonConfig:
|
|
109
|
+
skeletonConfig: fl({
|
|
110
110
|
defaultConfig: e.value,
|
|
111
111
|
userConfig: {
|
|
112
112
|
useCssAnimation: !1,
|
|
@@ -170,8 +170,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
170
170
|
const a = I.value;
|
|
171
171
|
return t > a ? a : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
|
|
172
172
|
}
|
|
173
|
-
const { userOptionsVisible: pe, setUserOptionsVisibility: et, keepUserOptionState: tt } =
|
|
174
|
-
function
|
|
173
|
+
const { userOptionsVisible: pe, setUserOptionsVisibility: et, keepUserOptionState: tt } = Pl({ config: e.value }), { svgRef: ke } = Rl({ config: e.value.style.chart.title });
|
|
174
|
+
function Ce() {
|
|
175
175
|
const t = zt({
|
|
176
176
|
userConfig: m.config,
|
|
177
177
|
defaultConfig: Bt
|
|
@@ -182,19 +182,19 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
182
182
|
userConfig: Ml.vue_ui_donut_evolution[t.theme] || m.config,
|
|
183
183
|
defaultConfig: t
|
|
184
184
|
}),
|
|
185
|
-
customPalette:
|
|
185
|
+
customPalette: bl[t.theme] || ce
|
|
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
|
-
Ke.value || (e.value =
|
|
189
|
+
Ke.value || (e.value = Ce()), pe.value = !e.value.userOptions.showOnChartHover, Je(), 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 } =
|
|
193
|
+
const { isPrinting: lt, isImaging: at, generatePdf: ot, generateImage: ut } = Il({
|
|
194
194
|
elementId: T.value,
|
|
195
195
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
196
196
|
options: e.value.userOptions.print
|
|
197
|
-
}), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() =>
|
|
197
|
+
}), Ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Xt = y(() => ml(e.value.customPalette)), B = i({
|
|
198
198
|
showTable: e.value.table.show
|
|
199
199
|
});
|
|
200
200
|
re(e, () => {
|
|
@@ -217,24 +217,17 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
217
217
|
const a = ge.value ? ge.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
|
|
218
218
|
return t + a + 5;
|
|
219
219
|
}
|
|
220
|
-
const
|
|
221
|
-
|
|
220
|
+
const we = i(0), Gt = $t((t) => {
|
|
221
|
+
we.value = t;
|
|
222
222
|
}, 100);
|
|
223
|
-
vl((
|
|
224
|
-
|
|
225
|
-
if (!a) return;
|
|
226
|
-
const l = new ResizeObserver((s) => {
|
|
227
|
-
Gt(s[0].contentRect.height);
|
|
228
|
-
});
|
|
229
|
-
l.observe(a), t(() => l.disconnect());
|
|
230
|
-
}), dl(() => {
|
|
231
|
-
Ce.value = 0;
|
|
223
|
+
Fl({ elementRef: ae, callback: Gt, attr: "height" }), vl(() => {
|
|
224
|
+
we.value = 0;
|
|
232
225
|
});
|
|
233
226
|
const st = y(() => {
|
|
234
227
|
let t = 0;
|
|
235
228
|
ye.value && (t = ye.value.getBBox().height);
|
|
236
229
|
let a = 0;
|
|
237
|
-
return ae.value && (a =
|
|
230
|
+
return ae.value && (a = we.value), t + a + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
238
231
|
}), r = y(() => {
|
|
239
232
|
const t = Wt(), a = e.value.style.chart.layout.dataLabels.fontSize * 3, l = U.value.width, s = U.value.height, o = M.value.left + t, g = l - M.value.right, d = l - o - M.value.right, x = s - M.value.top - M.value.bottom - a - st.value, G = M.value.top + a, F = s - M.value.bottom - st.value;
|
|
240
233
|
return {
|
|
@@ -265,23 +258,23 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
265
258
|
});
|
|
266
259
|
}), me.value.map((t, a) => ({
|
|
267
260
|
...t,
|
|
268
|
-
values:
|
|
261
|
+
values: xl(t.values),
|
|
269
262
|
color: Oe(t.color) || Xt.value[a] || ce[a] || ce[a % ce.length],
|
|
270
263
|
length: (t.values || []).length,
|
|
271
|
-
uid:
|
|
272
|
-
})))), q = y(() => R.value.filter((t) => !
|
|
264
|
+
uid: Ct()
|
|
265
|
+
})))), q = y(() => R.value.filter((t) => !w.value.includes(t.uid)).map((t) => ({
|
|
273
266
|
...t,
|
|
274
267
|
values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
|
|
275
|
-
}))), I = y(() => Math.max(...q.value.map((t) => t.length))), _ = y(() =>
|
|
268
|
+
}))), I = y(() => Math.max(...q.value.map((t) => t.length))), _ = y(() => Nl({
|
|
276
269
|
values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
277
270
|
maxDatapoints: I.value,
|
|
278
271
|
formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
279
272
|
start: h.value.start,
|
|
280
273
|
end: h.value.end
|
|
281
|
-
})),
|
|
274
|
+
})), C = y(() => r.value.width / (h.value.end - h.value.start)), L = y(() => {
|
|
282
275
|
const t = [];
|
|
283
276
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
284
|
-
const g = q.value.map((D) => D.values[o] ?? null), d = g.filter((D) => [void 0, null].includes(D)).length === g.length, x = g.reduce((D, A) => D + A, 0), G = g.map((D) => D / x), F = r.value.left +
|
|
277
|
+
const g = q.value.map((D) => D.values[o] ?? null), d = g.filter((D) => [void 0, null].includes(D)).length === g.length, x = g.reduce((D, A) => D + A, 0), G = g.map((D) => D / x), F = r.value.left + C.value * o + C.value / 2;
|
|
285
278
|
t.push({
|
|
286
279
|
index: o,
|
|
287
280
|
percentages: G,
|
|
@@ -292,7 +285,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
292
285
|
}
|
|
293
286
|
const a = 0, l = Math.max(...t.map((o) => o.subtotal)), s = t.length === 1 ? l * 2 : l;
|
|
294
287
|
return t.map((o, g) => {
|
|
295
|
-
const d = Math.min(r.value.width / 24,
|
|
288
|
+
const d = Math.min(r.value.width / 24, C.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 > C.value / 2 * 0.7 ? C.value / 2 * 0.7 : d * 2, D = r.value.bottom - r.value.height * o.subtotal / Lt(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
296
289
|
return {
|
|
297
290
|
...o,
|
|
298
291
|
y: D,
|
|
@@ -371,9 +364,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
371
364
|
color: t.color
|
|
372
365
|
})).sort((t, a) => a.value - t.value).map((t, a) => ({
|
|
373
366
|
...t,
|
|
374
|
-
opacity:
|
|
367
|
+
opacity: w.value.includes(t.uid) ? 0.5 : 1,
|
|
375
368
|
segregate: () => Ae(t.uid),
|
|
376
|
-
isSegregated:
|
|
369
|
+
isSegregated: w.value.includes(t.uid),
|
|
377
370
|
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Ne(
|
|
378
371
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
379
372
|
t.value,
|
|
@@ -384,7 +377,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
384
377
|
r: e.value.style.chart.legend.roundingValue
|
|
385
378
|
}),
|
|
386
379
|
{ datapoint: t, seriesIndex: a }
|
|
387
|
-
) : ""}${e.value.style.chart.legend.showPercentage ?
|
|
380
|
+
) : ""}${e.value.style.chart.legend.showPercentage ? w.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / ct.value) ? "-" : ve({
|
|
388
381
|
v: t.value / ct.value * 100,
|
|
389
382
|
s: "%",
|
|
390
383
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -398,23 +391,23 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
398
391
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
399
392
|
}));
|
|
400
393
|
function Ae(t) {
|
|
401
|
-
if (
|
|
402
|
-
|
|
394
|
+
if (w.value.includes(t))
|
|
395
|
+
w.value = w.value.filter((a) => a !== t), je("selectLegend", null);
|
|
403
396
|
else {
|
|
404
|
-
if (
|
|
405
|
-
|
|
397
|
+
if (w.value.length === R.value.length - 1) return;
|
|
398
|
+
w.value.push(t), je("selectLegend", R.value.find((a) => a.uid === t));
|
|
406
399
|
}
|
|
407
400
|
V.value && it(L.value.find((a, l) => l === J.value));
|
|
408
401
|
}
|
|
409
402
|
const W = y(() => {
|
|
410
|
-
const t = [""].concat(R.value.filter((o) => !
|
|
403
|
+
const t = [""].concat(R.value.filter((o) => !w.value.includes(o.uid)).map((o) => ({
|
|
411
404
|
name: o.name,
|
|
412
405
|
color: o.color
|
|
413
406
|
}))).concat(["Σ"]);
|
|
414
407
|
let a = [];
|
|
415
408
|
for (let o = 0; o < I.value; o += 1) {
|
|
416
|
-
const g = R.value.filter((d) => !
|
|
417
|
-
a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !
|
|
409
|
+
const g = R.value.filter((d) => !w.value.includes(d.uid)).map((d) => d.values[o] ?? 0).reduce((d, x) => d + x, 0);
|
|
410
|
+
a.push([_.value[o] ? _.value[o].text : "-"].concat(R.value.filter((d) => !w.value.includes(d.uid)).map((d) => ({
|
|
418
411
|
value: d.values[o] ?? 0,
|
|
419
412
|
percentage: d.values[o] ? d.values[o] / g * 100 : 0
|
|
420
413
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -433,7 +426,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
433
426
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
434
427
|
}, s = [
|
|
435
428
|
e.value.table.columnNames.period
|
|
436
|
-
].concat(R.value.filter((o) => !
|
|
429
|
+
].concat(R.value.filter((o) => !w.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
|
|
437
430
|
return { head: t, body: a, config: l, colNames: s };
|
|
438
431
|
});
|
|
439
432
|
function Qt() {
|
|
@@ -441,8 +434,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
441
434
|
}
|
|
442
435
|
function Se(t = null) {
|
|
443
436
|
Ie(() => {
|
|
444
|
-
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), g =
|
|
445
|
-
t ? t(g) :
|
|
437
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((d) => d.name ?? d)], s = [...W.value.body.map((d) => d.map((x) => x.value ?? x))], o = a.concat([l]).concat(s), g = Ll(o);
|
|
438
|
+
t ? t(g) : Al({ csvContent: g, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
446
439
|
});
|
|
447
440
|
}
|
|
448
441
|
const H = i(!1);
|
|
@@ -465,7 +458,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
465
458
|
name: a.name,
|
|
466
459
|
values: [a.value],
|
|
467
460
|
color: a.color
|
|
468
|
-
})), gt.value =
|
|
461
|
+
})), gt.value = Sl({
|
|
469
462
|
...e.value.style.chart.dialog.donutChart,
|
|
470
463
|
responsive: !0,
|
|
471
464
|
theme: e.value.theme
|
|
@@ -535,7 +528,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
535
528
|
const al = y(() => Le.value.map((t) => ({
|
|
536
529
|
...t,
|
|
537
530
|
name: t.display
|
|
538
|
-
}))), ol = y(() => e.value.style.chart.backgroundColor), ul = y(() => e.value.style.chart.legend), sl = y(() => e.value.style.chart.title), { exportSvg: nl, getSvg: rl } =
|
|
531
|
+
}))), ol = y(() => e.value.style.chart.backgroundColor), ul = y(() => e.value.style.chart.legend), sl = y(() => e.value.style.chart.title), { exportSvg: nl, getSvg: rl } = Tl({
|
|
539
532
|
svg: ke,
|
|
540
533
|
title: sl,
|
|
541
534
|
legend: ul,
|
|
@@ -695,7 +688,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
695
688
|
(u(), n("svg", {
|
|
696
689
|
ref_key: "svgRef",
|
|
697
690
|
ref: ke,
|
|
698
|
-
xmlns: c(
|
|
691
|
+
xmlns: c(pl),
|
|
699
692
|
class: N({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
700
693
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
701
694
|
style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
@@ -768,8 +761,8 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
768
761
|
}, null, 8, oa),
|
|
769
762
|
e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", ua, [
|
|
770
763
|
(u(!0), n($, null, z(h.value.end - h.value.start, (l, s) => (u(), n("line", {
|
|
771
|
-
x1: r.value.left + (s + 1) *
|
|
772
|
-
x2: r.value.left + (s + 1) *
|
|
764
|
+
x1: r.value.left + (s + 1) * C.value,
|
|
765
|
+
x2: r.value.left + (s + 1) * C.value,
|
|
773
766
|
y1: r.value.top,
|
|
774
767
|
y2: r.value.bottom,
|
|
775
768
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
@@ -824,7 +817,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
824
817
|
"text-anchor": "end",
|
|
825
818
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
826
819
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
827
|
-
}, k(c(
|
|
820
|
+
}, k(c(kl)(l.value) ? c(Ne)(
|
|
828
821
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
829
822
|
l.value,
|
|
830
823
|
c(ve)({
|
|
@@ -852,7 +845,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
852
845
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
853
846
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
854
847
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
855
|
-
transform: `translate(${r.value.left +
|
|
848
|
+
transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
856
849
|
innerHTML: c(Cl)({
|
|
857
850
|
content: String(_.value[s].text),
|
|
858
851
|
fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
@@ -866,7 +859,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
866
859
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
867
860
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
868
861
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
869
|
-
transform: `translate(${r.value.left +
|
|
862
|
+
transform: `translate(${r.value.left + C.value * s + C.value / 2}, ${r.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
870
863
|
}, k(_.value[s].text || ""), 9, da))
|
|
871
864
|
])) : v("", !0)
|
|
872
865
|
]))), 256))
|
|
@@ -902,7 +895,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
902
895
|
(u(!0), n($, null, z(l.donutHover, (o) => (u(), n("g", null, [
|
|
903
896
|
ht(o) ? (u(), n("path", {
|
|
904
897
|
key: 0,
|
|
905
|
-
d: c(
|
|
898
|
+
d: c(wl)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
|
|
906
899
|
stroke: o.color,
|
|
907
900
|
"stroke-width": "1",
|
|
908
901
|
"stroke-linecap": "round",
|
|
@@ -916,7 +909,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
916
909
|
"data-cy-hover-label": "",
|
|
917
910
|
"text-anchor": c(At)(o, !0, 0).anchor,
|
|
918
911
|
x: c(At)(o, !0, 9).x,
|
|
919
|
-
y: c(
|
|
912
|
+
y: c(_l)(o, 14, 10),
|
|
920
913
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
921
914
|
"font-size": 8,
|
|
922
915
|
"font-weight": "bold"
|
|
@@ -936,14 +929,14 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
936
929
|
(u(!0), n($, null, z(L.value, (l, s) => (u(), n("g", {
|
|
937
930
|
class: N({ "donut-opacity": !0, "donut-behind": s !== f.value && f.value !== null })
|
|
938
931
|
}, [
|
|
939
|
-
l.subtotal !== null ? (u(), n("g",
|
|
932
|
+
l.subtotal !== null ? (u(), n("g", Ca, [
|
|
940
933
|
l.subtotal === 0 ? (u(), n("circle", {
|
|
941
934
|
key: 0,
|
|
942
935
|
cx: l.x,
|
|
943
936
|
cy: l.y,
|
|
944
937
|
r: 3,
|
|
945
938
|
fill: e.value.style.chart.color
|
|
946
|
-
}, null, 8,
|
|
939
|
+
}, null, 8, wa)) : f.value !== null && f.value === s ? (u(), n("g", _a, [
|
|
947
940
|
(u(!0), n($, null, z(l.donutHover, (o, g) => (u(), n("path", {
|
|
948
941
|
d: o.arcSlice,
|
|
949
942
|
fill: `${o.color}`,
|
|
@@ -974,9 +967,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
974
967
|
}, k(nt(l.subtotal, l, s)), 9, $a)) : v("", !0)
|
|
975
968
|
], 2))), 256)),
|
|
976
969
|
(u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
|
|
977
|
-
x: r.value.left + s *
|
|
970
|
+
x: r.value.left + s * C.value,
|
|
978
971
|
y: r.value.top,
|
|
979
|
-
width:
|
|
972
|
+
width: C.value,
|
|
980
973
|
height: r.value.height,
|
|
981
974
|
fill: [f.value, J.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
|
|
982
975
|
class: N({ "donut-hover": l.subtotal && [f.value, J.value].includes(l.index) }),
|
|
@@ -986,9 +979,9 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
986
979
|
}, null, 10, za))), 256)),
|
|
987
980
|
(u(!0), n($, null, z(L.value, (l, s) => (u(), n("rect", {
|
|
988
981
|
"data-cy-trap": "",
|
|
989
|
-
x: r.value.left + s *
|
|
982
|
+
x: r.value.left + s * C.value,
|
|
990
983
|
y: r.value.top,
|
|
991
|
-
width:
|
|
984
|
+
width: C.value,
|
|
992
985
|
height: r.value.height,
|
|
993
986
|
fill: "transparent",
|
|
994
987
|
onMouseenter: (o) => Jt(l),
|
|
@@ -1045,7 +1038,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1045
1038
|
b("div", {
|
|
1046
1039
|
id: `legend-bottom-${T.value}`
|
|
1047
1040
|
}, null, 8, Oa),
|
|
1048
|
-
Me.value ? (u(), O(
|
|
1041
|
+
Me.value ? (u(), O(dl, {
|
|
1049
1042
|
key: 5,
|
|
1050
1043
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${T.value}` : `#legend-bottom-${T.value}`
|
|
1051
1044
|
}, [
|
|
@@ -1062,7 +1055,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1062
1055
|
item: p(({ legend: l, index: s }) => [
|
|
1063
1056
|
b("div", {
|
|
1064
1057
|
onClick: (o) => Ae(l.uid),
|
|
1065
|
-
style: Q(`opacity:${
|
|
1058
|
+
style: Q(`opacity:${w.value.includes(l.uid) ? 0.5 : 1}`)
|
|
1066
1059
|
}, k(l.display), 13, Ta)
|
|
1067
1060
|
]),
|
|
1068
1061
|
_: 1
|
|
@@ -1078,7 +1071,7 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1078
1071
|
}, [
|
|
1079
1072
|
S(t.$slots, "source", {}, void 0, !0)
|
|
1080
1073
|
], 512)) : v("", !0),
|
|
1081
|
-
qe.value && e.value.userOptions.buttons.table ? (u(), O(
|
|
1074
|
+
qe.value && e.value.userOptions.buttons.table ? (u(), O(hl(K.value.component), yl({ key: 7 }, K.value.props, {
|
|
1082
1075
|
ref_key: "tableUnit",
|
|
1083
1076
|
ref: Y,
|
|
1084
1077
|
onClose: ft
|
|
@@ -1156,10 +1149,10 @@ const Wl = ["id"], Gl = ["id"], Yl = ["xmlns", "viewBox"], jl = ["x", "y", "widt
|
|
|
1156
1149
|
]),
|
|
1157
1150
|
_: 1
|
|
1158
1151
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0),
|
|
1159
|
-
c(Ke) ? (u(), O(
|
|
1152
|
+
c(Ke) ? (u(), O(Ol, { key: 9 })) : v("", !0)
|
|
1160
1153
|
], 46, Wl));
|
|
1161
1154
|
}
|
|
1162
|
-
}, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-
|
|
1155
|
+
}, eo = /* @__PURE__ */ Xl(Ra, [["__scopeId", "data-v-91d66917"]]);
|
|
1163
1156
|
export {
|
|
1164
1157
|
eo as default
|
|
1165
1158
|
};
|