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,18 +1,18 @@
|
|
|
1
1
|
import { defineAsyncComponent as M, ref as u, computed as d, toRefs as st, onMounted as nt, watch as Ce, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as E, normalizeClass as we, createBlock as k, createCommentVNode as c, createElementVNode as s, createVNode as j, createSlots as xe, withCtx as v, renderSlot as g, normalizeProps as z, guardReactiveProps as G, Fragment as $e, renderList as _e, toDisplayString as R, Teleport as rt, resolveDynamicComponent as ut, mergeProps as it, createTextVNode as Ae, nextTick as Te } from "vue";
|
|
2
|
-
import { c as dt, t as ct, o as vt, f as Me, k as yt, a as Pe, d as H, X as ht, s as x, i as gt,
|
|
2
|
+
import { c as dt, t as ct, o as vt, f as Me, k as yt, a as Pe, d as H, X as ht, s as x, i as gt, a8 as ft, P as pt, Q as mt } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as kt, u as bt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Ct, a as Oe } from "./useNestedProp-
|
|
4
|
+
import { u as Ct, a as Oe } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as wt, B as xt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as $t } from "./usePrinter-
|
|
6
|
+
import { u as $t } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as _t } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Tt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import Mt from "./img-
|
|
11
|
-
import Pt from "./Title-
|
|
10
|
+
import Mt from "./img-CFY3JivG.js";
|
|
11
|
+
import Pt from "./Title-CFmv95In.js";
|
|
12
12
|
import { t as Ot } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import Nt from "./Legend-
|
|
13
|
+
import Nt from "./Legend-C8u37J42.js";
|
|
14
14
|
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["id"], Et = ["stop-color"], Rt = ["stop-color"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Wt = ["transform"], jt = ["stroke"], zt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["transform"], qt = ["stroke"],
|
|
15
|
+
const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "height"], Bt = ["id"], Et = ["stop-color"], Rt = ["stop-color"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Wt = ["transform"], jt = ["stroke"], zt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["transform"], qt = ["stroke"], Qt = ["fill"], Yt = ["transform"], Jt = ["stroke"], Zt = ["fill"], eo = ["transform"], to = ["stroke"], oo = ["fill"], lo = ["d", "stroke", "stroke-width", "fill"], ao = ["x1", "y1", "x2", "y2", "stroke"], so = ["cx", "cy", "fill", "stroke"], no = ["cx", "cy", "fill", "stroke"], ro = ["x", "y", "fill", "font-weight"], uo = ["x", "y", "fill"], io = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, co = ["id"], vo = ["onClick"], yo = ["innerHTML"], ho = {
|
|
@@ -32,10 +32,10 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(Ne, { expose: Le }) {
|
|
35
|
-
const P = M(() => import("./BaseIcon-
|
|
35
|
+
const P = M(() => import("./BaseIcon-B5KaGWWC.js")), Se = M(() => import("./vue-ui-accordion-BKkTS12x.js")), Ie = M(() => import("./DataTable-DOx3zgih.js")), De = M(() => import("./PenAndPaper-Dj2diYr0.js")), Fe = M(() => import("./UserOptions-C0YT60JN.js")), Be = M(() => import("./PackageVersion-DyDViSOy.js")), Ee = M(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_mood_radar: Re } = Ct(), $ = Ne, b = u(dt()), C = u(null), f = u(null), oe = u(null), Ve = u(0), Ue = u(0), le = u(0), ae = u(null), se = u(null), L = u(null), V = u(null), ne = u(null), re = u(!1), S = u(null), X = u(null), ue = d(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = wt({
|
|
36
36
|
...st($),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
|
-
prepareConfig:
|
|
38
|
+
prepareConfig: Y,
|
|
39
39
|
callback: () => {
|
|
40
40
|
Promise.resolve().then(async () => {
|
|
41
41
|
await Te(), A.value.showTable = e.value.table.show;
|
|
@@ -114,8 +114,8 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
114
114
|
L.value && (V.value && L.value.unobserve(V.value), L.value.disconnect()), L.value = new ResizeObserver(t), V.value = C.value.parentNode, L.value.observe(V.value);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
const { userOptionsVisible: q, setUserOptionsVisibility: de, keepUserOptionState: ce } = At({ config: e.value }), { svgRef:
|
|
118
|
-
function
|
|
117
|
+
const { userOptionsVisible: q, setUserOptionsVisibility: de, keepUserOptionState: ce } = At({ config: e.value }), { svgRef: Q } = Tt({ config: e.value.style.chart.title });
|
|
118
|
+
function Y() {
|
|
119
119
|
const t = Oe({
|
|
120
120
|
userConfig: $.config,
|
|
121
121
|
defaultConfig: Re
|
|
@@ -128,7 +128,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
128
128
|
} : t;
|
|
129
129
|
}
|
|
130
130
|
Ce(() => $.config, (t) => {
|
|
131
|
-
e.value =
|
|
131
|
+
e.value = Y(), q.value = !e.value.userOptions.showOnChartHover, ie(), Ve.value += 1, Ue.value += 1, le.value += 1, A.value.showTable = e.value.table.show;
|
|
132
132
|
}, { deep: !0 });
|
|
133
133
|
const { isPrinting: ve, isImaging: ye, generatePdf: he, generateImage: ge } = $t({
|
|
134
134
|
elementId: b.value,
|
|
@@ -155,7 +155,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
155
155
|
const l = ze[t], o = Ge.value[t] || l;
|
|
156
156
|
return `translate(${o.x - l.x}, ${o.y - l.y})`;
|
|
157
157
|
}
|
|
158
|
-
const
|
|
158
|
+
const J = d(() => yt({
|
|
159
159
|
plot: { x: n.value.width / 2, y: n.value.height / 2 },
|
|
160
160
|
radius: Math.min(n.value.height, n.value.width) * 0.35,
|
|
161
161
|
sides: 5,
|
|
@@ -200,7 +200,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
200
200
|
type: "datasetAttribute",
|
|
201
201
|
property: t
|
|
202
202
|
});
|
|
203
|
-
}),
|
|
203
|
+
}), J.value.coordinates.map((t, l) => {
|
|
204
204
|
const o = He({
|
|
205
205
|
centerX: n.value.width / 2,
|
|
206
206
|
centerY: n.value.height / 2,
|
|
@@ -291,7 +291,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
291
291
|
colNames: i
|
|
292
292
|
};
|
|
293
293
|
});
|
|
294
|
-
function
|
|
294
|
+
function Qe() {
|
|
295
295
|
return y.value;
|
|
296
296
|
}
|
|
297
297
|
function pe() {
|
|
@@ -305,7 +305,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
305
305
|
function te() {
|
|
306
306
|
W.value = !W.value;
|
|
307
307
|
}
|
|
308
|
-
async function
|
|
308
|
+
async function Ye({ scale: t = 2 } = {}) {
|
|
309
309
|
if (!C.value) return;
|
|
310
310
|
const { width: l, height: o } = C.value.getBoundingClientRect(), i = l / o, { imageUri: p, base64: m } = await Mt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
311
311
|
return {
|
|
@@ -353,15 +353,15 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
353
353
|
function ke() {
|
|
354
354
|
A.value.showTable = !1, X.value && X.value.setTableIconState(!1);
|
|
355
355
|
}
|
|
356
|
-
const
|
|
356
|
+
const Je = d(() => fe.value.map((t) => ({
|
|
357
357
|
...t,
|
|
358
358
|
name: t.display,
|
|
359
359
|
shape: "circle"
|
|
360
360
|
}))), Ze = d(() => e.value.style.chart.backgroundColor), et = d(() => e.value.style.chart.legend), tt = d(() => e.value.style.chart.title), { exportSvg: ot, getSvg: lt } = _t({
|
|
361
|
-
svg:
|
|
361
|
+
svg: Q,
|
|
362
362
|
title: tt,
|
|
363
363
|
legend: et,
|
|
364
|
-
legendItems:
|
|
364
|
+
legendItems: Je,
|
|
365
365
|
backgroundColor: Ze
|
|
366
366
|
});
|
|
367
367
|
async function be({ isCb: t }) {
|
|
@@ -372,8 +372,8 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
372
372
|
ot();
|
|
373
373
|
}
|
|
374
374
|
return Le({
|
|
375
|
-
getData:
|
|
376
|
-
getImage:
|
|
375
|
+
getData: Qe,
|
|
376
|
+
getImage: Ye,
|
|
377
377
|
generatePdf: he,
|
|
378
378
|
generateCsv: ee,
|
|
379
379
|
generateImage: ge,
|
|
@@ -392,7 +392,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
392
392
|
}, [
|
|
393
393
|
e.value.userOptions.buttons.annotator ? (r(), k(a(De), {
|
|
394
394
|
key: 0,
|
|
395
|
-
svgRef: a(
|
|
395
|
+
svgRef: a(Q),
|
|
396
396
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
397
397
|
color: e.value.style.chart.color,
|
|
398
398
|
active: W.value,
|
|
@@ -514,7 +514,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
514
514
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
515
515
|
(r(), h("svg", {
|
|
516
516
|
ref_key: "svgRef",
|
|
517
|
-
ref:
|
|
517
|
+
ref: Q,
|
|
518
518
|
xmlns: a(ht),
|
|
519
519
|
viewBox: `0 0 ${n.value.width} ${n.value.height}`,
|
|
520
520
|
class: we({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
@@ -552,7 +552,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
552
552
|
}, null, 8, Rt)
|
|
553
553
|
], 8, Bt)
|
|
554
554
|
]),
|
|
555
|
-
(r(!0), h($e, null, _e(
|
|
555
|
+
(r(!0), h($e, null, _e(J.value.coordinates, (o) => (r(), h("line", {
|
|
556
556
|
x1: n.value.width / 2,
|
|
557
557
|
y1: n.value.height / 2,
|
|
558
558
|
x2: o.x,
|
|
@@ -561,7 +561,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
561
561
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
562
562
|
}, null, 8, Vt))), 256)),
|
|
563
563
|
s("path", {
|
|
564
|
-
d:
|
|
564
|
+
d: J.value.path,
|
|
565
565
|
fill: "none",
|
|
566
566
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
567
567
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
@@ -629,7 +629,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
629
629
|
onMouseenter: l[6] || (l[6] = (o) => D("3")),
|
|
630
630
|
onMouseleave: l[7] || (l[7] = (o) => F("3")),
|
|
631
631
|
onClick: l[8] || (l[8] = (o) => O("3"))
|
|
632
|
-
}, null, 40,
|
|
632
|
+
}, null, 40, Qt)
|
|
633
633
|
], 8, Kt),
|
|
634
634
|
s("g", {
|
|
635
635
|
transform: I("2")
|
|
@@ -640,7 +640,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
640
640
|
"stroke-width": "1",
|
|
641
641
|
"stroke-linecap": "round",
|
|
642
642
|
d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
|
|
643
|
-
}, null, 8,
|
|
643
|
+
}, null, 8, Jt),
|
|
644
644
|
s("circle", {
|
|
645
645
|
class: "vue-ui-mood-radar-trap",
|
|
646
646
|
cx: "65",
|
|
@@ -651,7 +651,7 @@ const St = ["id"], It = ["id"], Dt = ["xmlns", "viewBox"], Ft = ["width", "heigh
|
|
|
651
651
|
onMouseleave: l[10] || (l[10] = (o) => F("2")),
|
|
652
652
|
onClick: l[11] || (l[11] = (o) => O("2"))
|
|
653
653
|
}, null, 40, Zt)
|
|
654
|
-
], 8,
|
|
654
|
+
], 8, Yt),
|
|
655
655
|
s("g", {
|
|
656
656
|
transform: I("1")
|
|
657
657
|
}, [
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as z, computed as b, ref as c, toRefs as rl, watch as le, onMounted as il, shallowRef as mt, onBeforeUnmount as dl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ce, normalizeClass as M, createBlock as B, createCommentVNode as $, createElementVNode as y, createVNode as Ve, createSlots as wt, withCtx as L, renderSlot as _, normalizeProps as
|
|
2
|
-
import { c as fl, t as pl, b as yl, p as ze,
|
|
1
|
+
import { defineAsyncComponent as z, computed as b, ref as c, toRefs as rl, watch as le, onMounted as il, shallowRef as mt, onBeforeUnmount as dl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ce, normalizeClass as M, createBlock as B, createCommentVNode as $, createElementVNode as y, createVNode as Ve, createSlots as wt, withCtx as L, renderSlot as _, normalizeProps as q, guardReactiveProps as Q, Fragment as A, renderList as T, toDisplayString as D, withDirectives as kt, vShow as $t, Teleport as vl, resolveDynamicComponent as cl, mergeProps as hl, createTextVNode as Ct, nextTick as Lt } from "vue";
|
|
2
|
+
import { c as fl, t as pl, b as yl, p as ze, O as Me, o as gl, f as J, e as bl, a1 as E, h as ml, T as Be, a as ae, d as O, X as wl, s as kl, I as xt, W as Ee, Y as K, G as _t, P as $l, Q as Cl, H as Ll, a0 as At, x as Re } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as xl, u as _l } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Al, a as Tt } from "./useNestedProp-
|
|
4
|
+
import { u as Al, a as Tt } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Tl, B as Sl } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Ol } from "./usePrinter-
|
|
6
|
+
import { u as Ol } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as Fl } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as Il } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Nl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import Dl from "./img-
|
|
11
|
-
import Pl from "./Title-
|
|
10
|
+
import Dl from "./img-CFY3JivG.js";
|
|
11
|
+
import Pl from "./Title-CFmv95In.js";
|
|
12
12
|
import { t as Vl } from "./themes-Dw-dDudK.js";
|
|
13
|
-
import zl from "./Legend-
|
|
13
|
+
import zl from "./Legend-C8u37J42.js";
|
|
14
14
|
import { _ as Ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "height"], Gl = ["id"], Yl = ["offset", "stop-color"], Wl = ["offset", "stop-opacity"], Xl = ["id"],
|
|
15
|
+
const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "height"], Gl = ["id"], Yl = ["offset", "stop-color"], Wl = ["offset", "stop-opacity"], Xl = ["id"], Hl = ["id"], ql = ["id"], Ql = ["flood-color"], Jl = ["id", "d"], Kl = ["d", "fill", "stroke", "stroke-width", "filter"], Zl = ["d", "fill", "stroke", "stroke-width"], jl = { key: 1 }, ea = ["d", "fill"], ta = { key: 2 }, la = ["font-size", "font-weight", "fill", "dy"], aa = ["href"], oa = ["x", "y", "font-size", "font-weight", "fill"], sa = { key: 3 }, ua = ["filter"], na = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ra = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ia = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], da = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], va = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, ca = ["id"], ha = {
|
|
@@ -36,18 +36,18 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend", "selectDatapoint"],
|
|
38
38
|
setup(St, { expose: Ot, emit: Ft }) {
|
|
39
|
-
const It = z(() => import("./Tooltip-
|
|
39
|
+
const It = z(() => import("./Tooltip-Cs4v8OnI.js")), Nt = z(() => import("./BaseIcon-B5KaGWWC.js")), Dt = z(() => import("./vue-ui-accordion-BKkTS12x.js")), Pt = z(() => import("./DataTable-DOx3zgih.js")), Vt = z(() => import("./UserOptions-C0YT60JN.js")), zt = z(() => import("./PenAndPaper-Dj2diYr0.js")), Mt = z(() => import("./PackageVersion-DyDViSOy.js")), Bt = z(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_nested_donuts: Et } = Al(), w = St, he = b({
|
|
40
40
|
get() {
|
|
41
41
|
return !!w.dataset && w.dataset.length;
|
|
42
42
|
},
|
|
43
43
|
set(t) {
|
|
44
44
|
return t;
|
|
45
45
|
}
|
|
46
|
-
}), p = c(fl()), fe = c(!1), pe = c(""), ye = c(null), Ue = c(0), I = c(null), Ge = c(null), ge = c(null), Ye = c(null), We = c(null), Xe = c(0),
|
|
47
|
-
function
|
|
46
|
+
}), p = c(fl()), fe = c(!1), pe = c(""), ye = c(null), Ue = c(0), I = c(null), Ge = c(null), ge = c(null), Ye = c(null), We = c(null), Xe = c(0), He = c(0), qe = c(0), R = c(!0), U = c([]), Z = c([]), Qe = c(!1), j = c(null), be = c(null), G = c(!1);
|
|
47
|
+
function Je(t) {
|
|
48
48
|
G.value = t, Ue.value += 1;
|
|
49
49
|
}
|
|
50
|
-
const e = c($e()),
|
|
50
|
+
const e = c($e()), Ke = {
|
|
51
51
|
name: "",
|
|
52
52
|
series: [
|
|
53
53
|
{
|
|
@@ -75,7 +75,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
75
75
|
await tt();
|
|
76
76
|
});
|
|
77
77
|
},
|
|
78
|
-
skeletonDataset: [
|
|
78
|
+
skeletonDataset: [Ke, Ke],
|
|
79
79
|
skeletonConfig: pl({
|
|
80
80
|
defaultConfig: e.value,
|
|
81
81
|
userConfig: {
|
|
@@ -122,7 +122,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
122
122
|
le(
|
|
123
123
|
() => w.config,
|
|
124
124
|
(t) => {
|
|
125
|
-
me.value || (e.value = $e()), ke.value = !e.value.userOptions.showOnChartHover, lt(), Xe.value += 1,
|
|
125
|
+
me.value || (e.value = $e()), ke.value = !e.value.userOptions.showOnChartHover, lt(), Xe.value += 1, He.value += 1, qe.value += 1, C.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
|
|
126
126
|
},
|
|
127
127
|
{ deep: !0 }
|
|
128
128
|
);
|
|
@@ -208,11 +208,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
208
208
|
R.value = !1;
|
|
209
209
|
}
|
|
210
210
|
il(async () => {
|
|
211
|
-
|
|
211
|
+
Qe.value = !0, lt(), await tt();
|
|
212
212
|
});
|
|
213
213
|
const P = mt(null), W = mt(null), X = b(() => !!e.value.debug);
|
|
214
214
|
function lt() {
|
|
215
|
-
if (gl(w.dataset) ? (
|
|
215
|
+
if (gl(w.dataset) ? (J({
|
|
216
216
|
componentName: "VueUiNestedDonuts",
|
|
217
217
|
type: "dataset",
|
|
218
218
|
debug: X.value
|
|
@@ -280,32 +280,32 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
280
280
|
}
|
|
281
281
|
const x = c([]), F = b(() => {
|
|
282
282
|
me.value, Y.value.forEach((s, a) => {
|
|
283
|
-
[null, void 0].includes(s.name) &&
|
|
283
|
+
[null, void 0].includes(s.name) && J({
|
|
284
284
|
componentName: "VueUiNestedDonuts",
|
|
285
285
|
type: "datasetSerieAttribute",
|
|
286
286
|
property: "name",
|
|
287
287
|
index: a,
|
|
288
288
|
debug: X.value
|
|
289
|
-
}), [null, void 0].includes(s.series) ?
|
|
289
|
+
}), [null, void 0].includes(s.series) ? J({
|
|
290
290
|
componentName: "VueUiNestedDonuts",
|
|
291
291
|
type: "datasetSerieAttribute",
|
|
292
292
|
property: "series",
|
|
293
293
|
index: a,
|
|
294
294
|
debug: X.value
|
|
295
|
-
}) : s.series.length === 0 ?
|
|
295
|
+
}) : s.series.length === 0 ? J({
|
|
296
296
|
componentName: "VueUiNestedDonuts",
|
|
297
297
|
type: "datasetAttributeEmpty",
|
|
298
298
|
property: `series at index ${a}`,
|
|
299
299
|
debug: X.value
|
|
300
300
|
}) : s.series.forEach((o, l) => {
|
|
301
|
-
[null, void 0].includes(o.name) &&
|
|
301
|
+
[null, void 0].includes(o.name) && J({
|
|
302
302
|
componentName: "VueUiNestedDonuts",
|
|
303
303
|
type: "datasetSerieAttribute",
|
|
304
304
|
property: "name",
|
|
305
305
|
index: l,
|
|
306
306
|
key: "serie",
|
|
307
307
|
debug: X.value
|
|
308
|
-
}), [null, void 0].includes(o.values) &&
|
|
308
|
+
}), [null, void 0].includes(o.values) && J({
|
|
309
309
|
componentName: "VueUiNestedDonuts",
|
|
310
310
|
type: "datasetSerieAttribute",
|
|
311
311
|
property: "values",
|
|
@@ -414,7 +414,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
414
414
|
series: d.series.map((g) => g.id === t.id ? { ...g, value: 0 } : g)
|
|
415
415
|
})), x.value.push(t.id)));
|
|
416
416
|
}
|
|
417
|
-
const oe = b(() => N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = b(() => k.value.map((t, s) => N.value - s * N.value / F.value.length)),
|
|
417
|
+
const oe = b(() => N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = b(() => k.value.map((t, s) => N.value - s * N.value / F.value.length)), H = b(() => k.value.map((t, s) => {
|
|
418
418
|
const a = Math.abs(t.series.map((m) => m.value).reduce((m, d) => m + d, 0)) > 0, o = N.value - s * N.value / k.value.length, l = R.value ? Z.value.find((m) => m.datasetIndex === s) : null, n = [...t.series, ...l ? [l] : []].map((m) => ({
|
|
419
419
|
...m,
|
|
420
420
|
value: m.value < 1e-11 ? Number.MIN_VALUE : m.value
|
|
@@ -477,7 +477,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
477
477
|
function Xt({ datapoint: t, seriesIndex: s }) {
|
|
478
478
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), fe.value = !1, ct.value = null, ye.value = null, se.value = null, ue.value = null;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function Ht({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
481
481
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ct.value = t.arcOfId, se.value = t.id, ue.value = a, ye.value = t.id, Le.value = {
|
|
482
482
|
datapoint: t,
|
|
483
483
|
seriesIndex: a,
|
|
@@ -619,7 +619,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
619
619
|
isSegregated: x.value.includes(l.id)
|
|
620
620
|
};
|
|
621
621
|
});
|
|
622
|
-
})),
|
|
622
|
+
})), qt = b(() => ({
|
|
623
623
|
cy: "nested-donuts-legend",
|
|
624
624
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
625
625
|
color: e.value.style.chart.legend.color,
|
|
@@ -701,7 +701,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
701
701
|
config: a
|
|
702
702
|
};
|
|
703
703
|
});
|
|
704
|
-
function
|
|
704
|
+
function Qt() {
|
|
705
705
|
return F.value;
|
|
706
706
|
}
|
|
707
707
|
function ft() {
|
|
@@ -717,7 +717,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
717
717
|
function Ae() {
|
|
718
718
|
ie.value = !ie.value;
|
|
719
719
|
}
|
|
720
|
-
async function
|
|
720
|
+
async function Jt({ scale: t = 2 } = {}) {
|
|
721
721
|
if (!I.value) return;
|
|
722
722
|
const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: l, base64: n } = await Dl({ domElement: I.value, base64: !0, img: !0, scale: t });
|
|
723
723
|
return {
|
|
@@ -730,7 +730,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
732
|
const Te = c(null);
|
|
733
|
-
function
|
|
733
|
+
function Kt() {
|
|
734
734
|
if (!Te.value) return;
|
|
735
735
|
const { x: t, y: s, width: a, height: o } = Te.value.getBBox();
|
|
736
736
|
ee.value && ee.value.setAttribute("viewBox", `${t} ${s} ${a + Math.min(0, t)} ${o + Math.min(0, s)}`);
|
|
@@ -789,9 +789,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
789
789
|
ll();
|
|
790
790
|
}
|
|
791
791
|
return Ot({
|
|
792
|
-
autoSize:
|
|
793
|
-
getData:
|
|
794
|
-
getImage:
|
|
792
|
+
autoSize: Kt,
|
|
793
|
+
getData: Qt,
|
|
794
|
+
getImage: Jt,
|
|
795
795
|
generatePdf: st,
|
|
796
796
|
generateCsv: _e,
|
|
797
797
|
generateImage: ut,
|
|
@@ -800,7 +800,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
800
800
|
toggleLabels: pt,
|
|
801
801
|
toggleTooltip: yt,
|
|
802
802
|
toggleAnnotator: Ae,
|
|
803
|
-
toggleFullscreen:
|
|
803
|
+
toggleFullscreen: Je
|
|
804
804
|
}), (t, s) => (u(), r("div", {
|
|
805
805
|
ref_key: "nestedDonutsChart",
|
|
806
806
|
ref: I,
|
|
@@ -874,7 +874,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
874
874
|
callbacks: e.value.userOptions.callbacks,
|
|
875
875
|
printScale: e.value.userOptions.print.scale,
|
|
876
876
|
tableDialog: e.value.table.useDialog,
|
|
877
|
-
onToggleFullscreen:
|
|
877
|
+
onToggleFullscreen: Je,
|
|
878
878
|
onGeneratePdf: i(st),
|
|
879
879
|
onGenerateCsv: _e,
|
|
880
880
|
onGenerateImage: i(ut),
|
|
@@ -890,7 +890,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
890
890
|
t.$slots.menuIcon ? {
|
|
891
891
|
name: "menuIcon",
|
|
892
892
|
fn: L(({ isOpen: a, color: o }) => [
|
|
893
|
-
_(t.$slots, "menuIcon",
|
|
893
|
+
_(t.$slots, "menuIcon", q(Q({ isOpen: a, color: o })), void 0, !0)
|
|
894
894
|
]),
|
|
895
895
|
key: "0"
|
|
896
896
|
} : void 0,
|
|
@@ -939,14 +939,14 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
939
939
|
t.$slots.optionFullscreen ? {
|
|
940
940
|
name: "optionFullscreen",
|
|
941
941
|
fn: L(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
942
|
-
_(t.$slots, "optionFullscreen",
|
|
942
|
+
_(t.$slots, "optionFullscreen", q(Q({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
943
943
|
]),
|
|
944
944
|
key: "7"
|
|
945
945
|
} : void 0,
|
|
946
946
|
t.$slots.optionAnnotator ? {
|
|
947
947
|
name: "optionAnnotator",
|
|
948
948
|
fn: L(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
949
|
-
_(t.$slots, "optionAnnotator",
|
|
949
|
+
_(t.$slots, "optionAnnotator", q(Q({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
950
950
|
]),
|
|
951
951
|
key: "8"
|
|
952
952
|
} : void 0
|
|
@@ -1019,7 +1019,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1019
1019
|
in: "SourceGraphic",
|
|
1020
1020
|
stdDeviation: 2,
|
|
1021
1021
|
id: `blur_std_${p.value}`
|
|
1022
|
-
}, null, 8,
|
|
1022
|
+
}, null, 8, Hl),
|
|
1023
1023
|
s[6] || (s[6] = y("feColorMatrix", {
|
|
1024
1024
|
type: "saturate",
|
|
1025
1025
|
values: "0"
|
|
@@ -1035,18 +1035,18 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1035
1035
|
stdDeviation: "10",
|
|
1036
1036
|
"flood-opacity": "0.5",
|
|
1037
1037
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
1038
|
-
}, null, 8,
|
|
1039
|
-
], 8,
|
|
1038
|
+
}, null, 8, Ql)
|
|
1039
|
+
], 8, ql)
|
|
1040
1040
|
]),
|
|
1041
1041
|
y("defs", null, [
|
|
1042
|
-
(u(!0), r(A, null, T(
|
|
1042
|
+
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("path", {
|
|
1043
1043
|
key: `path-full-${o}`,
|
|
1044
1044
|
id: `path-full-${o}-${p.value}`,
|
|
1045
1045
|
d: a.fullCirclePath,
|
|
1046
1046
|
fill: "none"
|
|
1047
|
-
}, null, 8,
|
|
1047
|
+
}, null, 8, Jl))), 128))
|
|
1048
1048
|
]),
|
|
1049
|
-
(u(!0), r(A, null, T(
|
|
1049
|
+
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1050
1050
|
a.hasData ? (u(!0), r(A, { key: 0 }, T(a.donut.filter((l) => !l.ghost), (l, n) => (u(), r("g", null, [
|
|
1051
1051
|
y("path", {
|
|
1052
1052
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1055,7 +1055,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1055
1055
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1056
1056
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1057
1057
|
filter: ht(l, n)
|
|
1058
|
-
}, null, 8,
|
|
1058
|
+
}, null, 8, Kl)
|
|
1059
1059
|
]))), 256)) : (u(!0), r(A, { key: 1 }, T(a.skeleton, (l, n) => (u(), r("g", null, [
|
|
1060
1060
|
y("path", {
|
|
1061
1061
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1077,7 +1077,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1077
1077
|
]))), 256))
|
|
1078
1078
|
])) : $("", !0),
|
|
1079
1079
|
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), r("g", ta, [
|
|
1080
|
-
e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (u(!0), r(A, { key: 0 }, T(
|
|
1080
|
+
e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (u(!0), r(A, { key: 0 }, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1081
1081
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
1082
1082
|
n === 0 && h.value.width && h.value.height ? (u(), r("text", {
|
|
1083
1083
|
key: 0,
|
|
@@ -1100,7 +1100,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1100
1100
|
}) : a.name), 9, aa)
|
|
1101
1101
|
], 10, la)) : $("", !0)
|
|
1102
1102
|
]))), 256))
|
|
1103
|
-
]))), 256)) : (u(!0), r(A, { key: 1 }, T(
|
|
1103
|
+
]))), 256)) : (u(!0), r(A, { key: 1 }, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1104
1104
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
1105
1105
|
n === 0 && h.value.width && h.value.height ? (u(), r("text", {
|
|
1106
1106
|
key: 0,
|
|
@@ -1119,15 +1119,15 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1119
1119
|
]))), 256))
|
|
1120
1120
|
])) : $("", !0),
|
|
1121
1121
|
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", sa, [
|
|
1122
|
-
(u(!0), r(A, null, T(
|
|
1122
|
+
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1123
1123
|
(u(!0), r(A, null, T(a.donut.filter((l) => !l.ghost), (l, n) => (u(), r("g", {
|
|
1124
1124
|
filter: ht(l, n)
|
|
1125
1125
|
}, [
|
|
1126
1126
|
kt(y("text", {
|
|
1127
1127
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1128
1128
|
opacity: xe(l) ? 1 : 0,
|
|
1129
|
-
"text-anchor": i(
|
|
1130
|
-
x: i(
|
|
1129
|
+
"text-anchor": i(K)(l, !0).anchor,
|
|
1130
|
+
x: i(K)(
|
|
1131
1131
|
l,
|
|
1132
1132
|
!1,
|
|
1133
1133
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1153,8 +1153,8 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1153
1153
|
kt(y("text", {
|
|
1154
1154
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1155
1155
|
opacity: xe(l) ? 1 : 0,
|
|
1156
|
-
"text-anchor": i(
|
|
1157
|
-
x: i(
|
|
1156
|
+
"text-anchor": i(K)(l, !0).anchor,
|
|
1157
|
+
x: i(K)(
|
|
1158
1158
|
l,
|
|
1159
1159
|
!1,
|
|
1160
1160
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1186,8 +1186,8 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1186
1186
|
xe(l) && C.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
|
|
1187
1187
|
key: 0,
|
|
1188
1188
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1189
|
-
"text-anchor": i(
|
|
1190
|
-
x: i(
|
|
1189
|
+
"text-anchor": i(K)(l, !0).anchor,
|
|
1190
|
+
x: i(K)(
|
|
1191
1191
|
l,
|
|
1192
1192
|
!1,
|
|
1193
1193
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1214,12 +1214,12 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1214
1214
|
], 8, ua))), 256))
|
|
1215
1215
|
]))), 256))
|
|
1216
1216
|
])) : $("", !0),
|
|
1217
|
-
(u(!0), r(A, null, T(
|
|
1217
|
+
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1218
1218
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
1219
1219
|
y("path", {
|
|
1220
1220
|
d: l.arcSlice,
|
|
1221
1221
|
fill: ye.value === l.id ? e.value.style.chart.layout.donut.selectedColor : "transparent",
|
|
1222
|
-
onMouseenter: (v) =>
|
|
1222
|
+
onMouseenter: (v) => Ht({
|
|
1223
1223
|
datapoint: l,
|
|
1224
1224
|
seriesIndex: l.seriesIndex
|
|
1225
1225
|
}),
|
|
@@ -1232,7 +1232,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1232
1232
|
], 512)
|
|
1233
1233
|
], 14, Rl)),
|
|
1234
1234
|
t.$slots.watermark ? (u(), r("div", va, [
|
|
1235
|
-
_(t.$slots, "watermark",
|
|
1235
|
+
_(t.$slots, "watermark", q(Q({ isPrinting: i(at) || i(ot) })), void 0, !0)
|
|
1236
1236
|
])) : $("", !0),
|
|
1237
1237
|
Ve(i(It), {
|
|
1238
1238
|
show: C.value.showTooltip && fe.value,
|
|
@@ -1255,17 +1255,17 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1255
1255
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1256
1256
|
}, {
|
|
1257
1257
|
"tooltip-before": L(() => [
|
|
1258
|
-
_(t.$slots, "tooltip-before",
|
|
1258
|
+
_(t.$slots, "tooltip-before", q(Q({ ...Le.value })), void 0, !0)
|
|
1259
1259
|
]),
|
|
1260
1260
|
"tooltip-after": L(() => [
|
|
1261
|
-
_(t.$slots, "tooltip-after",
|
|
1261
|
+
_(t.$slots, "tooltip-after", q(Q({ ...Le.value })), void 0, !0)
|
|
1262
1262
|
]),
|
|
1263
1263
|
_: 3
|
|
1264
1264
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1265
1265
|
y("div", {
|
|
1266
1266
|
id: `legend-bottom-${p.value}`
|
|
1267
1267
|
}, null, 8, ca),
|
|
1268
|
-
|
|
1268
|
+
Qe.value ? (u(), B(vl, {
|
|
1269
1269
|
key: 5,
|
|
1270
1270
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${p.value}` : `#legend-bottom-${p.value}`
|
|
1271
1271
|
}, [
|
|
@@ -1276,9 +1276,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1276
1276
|
class: M({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
|
|
1277
1277
|
}, [
|
|
1278
1278
|
(u(!0), r(A, null, T(ne.value, (a, o) => (u(), B(zl, {
|
|
1279
|
-
key: `legend_${o}_${
|
|
1279
|
+
key: `legend_${o}_${qe.value}`,
|
|
1280
1280
|
legendSet: a,
|
|
1281
|
-
config:
|
|
1281
|
+
config: qt.value,
|
|
1282
1282
|
onClickMarker: s[0] || (s[0] = ({ legend: l }) => Ce(l))
|
|
1283
1283
|
}, {
|
|
1284
1284
|
legendTitle: L(({ titleSet: l }) => [
|
|
@@ -1316,7 +1316,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1316
1316
|
}), wt({
|
|
1317
1317
|
content: L(() => [
|
|
1318
1318
|
(u(), B(i(Pt), {
|
|
1319
|
-
key: `table_${
|
|
1319
|
+
key: `table_${He.value}`,
|
|
1320
1320
|
colNames: re.value.colNames,
|
|
1321
1321
|
head: re.value.head,
|
|
1322
1322
|
body: re.value.body,
|