vue-data-ui 3.2.1 → 3.2.3
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-cyyFTTnm.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-xISHA7Pu.js → DataTable-BvjacRbw.js} +10 -10
- package/dist/{Legend-_Rv594VS.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-oBQ8brnx.js} +1 -1
- package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-BDy56-wS.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-qM5l8BsU.js → Slicer-BA2GhOmY.js} +68 -68
- package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-BIaVNiUQ.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-DsTgvAok.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 +5 -0
- 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-CSg_eTqL.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-CH7J0fYg.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-p5pfHmOX.js → lib-BEpWEyMm.js} +351 -368
- package/dist/{pdf-Wd2BQz4D.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +24 -3
- package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-CLD3Gk9S.js} +24 -7
- package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-hSWsJzdK.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-B45AYk-O.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-CJ66TbYc.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-D_V1l1Jt.js} +15 -15
- package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-DrkWrGT2.js} +33 -33
- package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-0zk2YkV7.js} +4 -4
- package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-CAGkS9Lt.js} +33 -33
- package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-CHAaUGaZ.js} +54 -54
- package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-CBySiQot.js} +31 -31
- package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-BAOd1hi1.js} +69 -69
- package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-BgYaWImK.js} +8 -8
- package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-UWyvIsbE.js} +55 -55
- package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-B5IHRXdS.js} +7 -7
- package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DB4sLZG4.js} +63 -63
- package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-COZLSfZ8.js} +37 -37
- package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-S8pIdU78.js} +46 -46
- package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-BVaE3IZt.js} +59 -59
- package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-BmJ01zdG.js} +3 -3
- package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-DiAryN8L.js} +8 -8
- package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-eeYk4C28.js} +44 -44
- package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-CKMzFSG5.js} +5 -5
- package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-daI3rmbc.js} +6 -6
- package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-CawOBU0s.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-Ci7qxsh6.js} +70 -70
- package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-CUkVuewC.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-D7UkjkUV.js} +35 -35
- package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-B9VZz5d6.js} +8 -8
- package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-BQgH4Aap.js} +55 -55
- package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-DvZ8XcZC.js} +54 -54
- package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-Bal5QL_Z.js} +28 -28
- package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-DbRZFJcN.js} +27 -27
- package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-BJ_Dmy5i.js} +38 -38
- package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-bljL9Bav.js} +50 -50
- package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-DZPi12tE.js} +3 -3
- package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-CqMF642_.js} +22 -22
- package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-BcyaivMe.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BkIUpzkZ.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-DnPdJk3e.js} +4 -4
- package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-F7h636hU.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-B-Du5D3w.js} +3 -3
- package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-BNOfLkY2.js} +38 -38
- package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-DNPM01M_.js} +7 -7
- package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-__ABUm9x.js} +196 -156
- package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-D-iueyM0.js} +14 -14
- package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-B5QdvlV7.js} +5 -5
- package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-DID_4Y6w.js} +10 -10
- package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-CjJmpXoF.js} +27 -27
- package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-wDKOTVny.js} +6 -6
- package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-DFo4w0cb.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-BEdckhBh.js} +31 -31
- package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-D5i1Q6tF.js} +75 -75
- package/dist/vue-ui-wheel-DJlN8joO.js +620 -0
- package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-B7Y2UrwO.js} +29 -29
- package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-DzF8YW_Q.js} +6 -6
- package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-DGln2YgO.js} +900 -822
- package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-DF2Ts-g3.js} +10 -10
- package/package.json +3 -3
- package/dist/ColorPicker-gaAecgEC.js +0 -135
- package/dist/vue-ui-accordion-BSrtaPYx.js +0 -76
- package/dist/vue-ui-annotator-DGVlVhhy.js +0 -2182
- package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as
|
|
2
|
-
import { c as nl, t as rl, b as il, p as ze,
|
|
1
|
+
import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as J, Fragment as A, renderList as T, toDisplayString as F, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
|
|
2
|
+
import { c as nl, t as rl, b as il, p as ze, B as Me, o as dl, f as K, e as vl, J as E, h as cl, n as Be, d as S, X as hl, s as fl, O as Lt, v as Ee, w as Q, a as le, z as _t, x as pl, y as yl, A as bl, I as xt, q as Re } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as gl, u as ml } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wl, a as At } from "./useNestedProp-
|
|
4
|
+
import { u as wl, a as At } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as kl, B as $l } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Cl } from "./usePrinter-
|
|
6
|
+
import { u as Cl } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as _l } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import xl from "./img-
|
|
10
|
-
import Al from "./Title-
|
|
9
|
+
import xl from "./img-DjWwQXVS.js";
|
|
10
|
+
import Al from "./Title-C__lOIPC.js";
|
|
11
11
|
import { t as Tl } from "./themes-D3cUNuKw.js";
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"],
|
|
12
|
+
import Ol from "./Legend-BpoFJ8fc.js";
|
|
13
|
+
import { _ as Fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Jl = ["href"], Kl = ["x", "y", "font-size", "font-weight", "fill"], Ql = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
|
|
15
15
|
key: 4,
|
|
16
16
|
class: "vue-data-ui-watermark"
|
|
17
17
|
}, oa = ["id"], sa = {
|
|
@@ -34,19 +34,19 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend", "selectDatapoint"],
|
|
37
|
-
setup(Tt, { expose:
|
|
38
|
-
const St = z(() => import("./Tooltip-
|
|
37
|
+
setup(Tt, { expose: Ot, emit: Ft }) {
|
|
38
|
+
const St = z(() => import("./Tooltip-BOXz8skU.js")), Nt = z(() => import("./BaseIcon-Bz-1GQhu.js")), It = z(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Dt = z(() => import("./DataTable-BvjacRbw.js")), Pt = z(() => import("./UserOptions-DsTgvAok.js")), Vt = z(() => import("./PenAndPaper-CR8q353D.js")), zt = z(() => import("./PackageVersion-oBQ8brnx.js")), Mt = z(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_nested_donuts: Bt } = wl(), g = Tt, ce = _({
|
|
39
39
|
get() {
|
|
40
40
|
return !!g.dataset && g.dataset.length;
|
|
41
41
|
},
|
|
42
42
|
set(l) {
|
|
43
43
|
return l;
|
|
44
44
|
}
|
|
45
|
-
}), f = c(nl()), he = c(!1), fe = c(""), pe = c(null), Ue = c(0), I = c(null), Ge = c(null), ye = c(null), Ye = c(null), We = c(null), Xe = c(0), qe = c(0), He = c(0), R = c(!0), U = c([]), Z = c([]),
|
|
46
|
-
function
|
|
45
|
+
}), f = c(nl()), he = c(!1), fe = c(""), pe = c(null), Ue = c(0), I = c(null), Ge = c(null), ye = c(null), Ye = c(null), We = c(null), Xe = c(0), qe = c(0), He = c(0), R = c(!0), U = c([]), Z = c([]), Je = c(!1), j = c(null), be = c(null), G = c(!1);
|
|
46
|
+
function Ke(l) {
|
|
47
47
|
G.value = l, Ue.value += 1;
|
|
48
48
|
}
|
|
49
|
-
const e = c(ke()),
|
|
49
|
+
const e = c(ke()), Qe = {
|
|
50
50
|
name: "",
|
|
51
51
|
series: [
|
|
52
52
|
{
|
|
@@ -74,7 +74,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
74
74
|
await tt();
|
|
75
75
|
});
|
|
76
76
|
},
|
|
77
|
-
skeletonDataset: [
|
|
77
|
+
skeletonDataset: [Qe, Qe],
|
|
78
78
|
skeletonConfig: rl({
|
|
79
79
|
defaultConfig: e.value,
|
|
80
80
|
userConfig: {
|
|
@@ -144,15 +144,15 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
144
144
|
setTimeout(() => {
|
|
145
145
|
const w = performance.now();
|
|
146
146
|
function d(b) {
|
|
147
|
-
const
|
|
148
|
-
U.value[y] =
|
|
147
|
+
const O = Math.min((b - w) / s, 1), Oe = xt(O), Fe = v * Oe;
|
|
148
|
+
U.value[y] = Fe, U.value = [...U.value];
|
|
149
149
|
const ie = [];
|
|
150
150
|
let Se = 0;
|
|
151
151
|
g.dataset.forEach((de, Ne) => {
|
|
152
|
-
const
|
|
152
|
+
const Qt = Re(de.series.reduce(
|
|
153
153
|
(De, Pe) => De + Re(E(Pe.values).reduce((jt, el) => jt + el, 0)),
|
|
154
154
|
0
|
|
155
|
-
)), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie =
|
|
155
|
+
)), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Qt - Zt;
|
|
156
156
|
Ie > Number.MIN_VALUE && ie.push({
|
|
157
157
|
name: "__ghost__",
|
|
158
158
|
arcOf: de.name,
|
|
@@ -166,7 +166,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
166
166
|
absoluteValues: [],
|
|
167
167
|
ghost: !0
|
|
168
168
|
}), Se += de.series.length;
|
|
169
|
-
}), Z.value = ie,
|
|
169
|
+
}), Z.value = ie, O < 1 ? requestAnimationFrame(d) : (n += 1, n === t && o());
|
|
170
170
|
}
|
|
171
171
|
requestAnimationFrame(d);
|
|
172
172
|
}, y * a);
|
|
@@ -207,11 +207,11 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
207
207
|
R.value = !1;
|
|
208
208
|
}
|
|
209
209
|
ll(async () => {
|
|
210
|
-
|
|
210
|
+
Je.value = !0, lt(), await tt();
|
|
211
211
|
});
|
|
212
212
|
const P = gt(null), W = gt(null), X = _(() => !!e.value.debug);
|
|
213
213
|
function lt() {
|
|
214
|
-
if (dl(g.dataset) ? (
|
|
214
|
+
if (dl(g.dataset) ? (K({
|
|
215
215
|
componentName: "VueUiNestedDonuts",
|
|
216
216
|
type: "dataset",
|
|
217
217
|
debug: X.value
|
|
@@ -258,7 +258,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
258
258
|
const h = c({
|
|
259
259
|
width: e.value.style.chart.width,
|
|
260
260
|
height: e.value.style.chart.height
|
|
261
|
-
}), nt =
|
|
261
|
+
}), nt = Ft;
|
|
262
262
|
function Gt({ datapoint: l, index: s, seriesIndex: a }) {
|
|
263
263
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: a }), nt("selectDatapoint", { datapoint: l, index: s });
|
|
264
264
|
}
|
|
@@ -272,39 +272,39 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
272
272
|
}) {
|
|
273
273
|
const v = performance.now();
|
|
274
274
|
function y(w) {
|
|
275
|
-
const d = Math.min((w - v) / a, 1), b = n(d),
|
|
276
|
-
o(
|
|
275
|
+
const d = Math.min((w - v) / a, 1), b = n(d), O = l + (s - l) * b;
|
|
276
|
+
o(O, d), d < 1 ? requestAnimationFrame(y) : (o(s, 1), t && t());
|
|
277
277
|
}
|
|
278
278
|
requestAnimationFrame(y);
|
|
279
279
|
}
|
|
280
280
|
const L = c([]), N = _(() => {
|
|
281
281
|
ge.value, Y.value.forEach((s, a) => {
|
|
282
|
-
[null, void 0].includes(s.name) &&
|
|
282
|
+
[null, void 0].includes(s.name) && K({
|
|
283
283
|
componentName: "VueUiNestedDonuts",
|
|
284
284
|
type: "datasetSerieAttribute",
|
|
285
285
|
property: "name",
|
|
286
286
|
index: a,
|
|
287
287
|
debug: X.value
|
|
288
|
-
}), [null, void 0].includes(s.series) ?
|
|
288
|
+
}), [null, void 0].includes(s.series) ? K({
|
|
289
289
|
componentName: "VueUiNestedDonuts",
|
|
290
290
|
type: "datasetSerieAttribute",
|
|
291
291
|
property: "series",
|
|
292
292
|
index: a,
|
|
293
293
|
debug: X.value
|
|
294
|
-
}) : s.series.length === 0 ?
|
|
294
|
+
}) : s.series.length === 0 ? K({
|
|
295
295
|
componentName: "VueUiNestedDonuts",
|
|
296
296
|
type: "datasetAttributeEmpty",
|
|
297
297
|
property: `series at index ${a}`,
|
|
298
298
|
debug: X.value
|
|
299
299
|
}) : s.series.forEach((o, t) => {
|
|
300
|
-
[null, void 0].includes(o.name) &&
|
|
300
|
+
[null, void 0].includes(o.name) && K({
|
|
301
301
|
componentName: "VueUiNestedDonuts",
|
|
302
302
|
type: "datasetSerieAttribute",
|
|
303
303
|
property: "name",
|
|
304
304
|
index: t,
|
|
305
305
|
key: "serie",
|
|
306
306
|
debug: X.value
|
|
307
|
-
}), [null, void 0].includes(o.values) &&
|
|
307
|
+
}), [null, void 0].includes(o.values) && K({
|
|
308
308
|
componentName: "VueUiNestedDonuts",
|
|
309
309
|
type: "datasetSerieAttribute",
|
|
310
310
|
property: "values",
|
|
@@ -364,9 +364,9 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
364
364
|
function $e(l) {
|
|
365
365
|
nt("selectLegend", l);
|
|
366
366
|
const s = g.dataset.flatMap(
|
|
367
|
-
(d, b) => d.series.map((
|
|
368
|
-
value: E(
|
|
369
|
-
id: `${f.value}_${b}_${
|
|
367
|
+
(d, b) => d.series.map((O, Oe) => ({
|
|
368
|
+
value: E(O.values).reduce((Fe, ie) => Fe + ie, 0),
|
|
369
|
+
id: `${f.value}_${b}_${Oe}`,
|
|
370
370
|
arcOfId: `${f.value}_${b}`
|
|
371
371
|
}))
|
|
372
372
|
).find((d) => d.id === l.id);
|
|
@@ -389,7 +389,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
389
389
|
onUpdate: (d) => {
|
|
390
390
|
m.value = m.value.map((b) => ({
|
|
391
391
|
...b,
|
|
392
|
-
series: b.series.map((
|
|
392
|
+
series: b.series.map((O) => O.id === l.id ? { ...O, value: d } : O)
|
|
393
393
|
}));
|
|
394
394
|
}
|
|
395
395
|
}) : m.value = m.value.map((d) => ({
|
|
@@ -402,7 +402,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
402
402
|
onUpdate: (d) => {
|
|
403
403
|
m.value = m.value.map((b) => ({
|
|
404
404
|
...b,
|
|
405
|
-
series: b.series.map((
|
|
405
|
+
series: b.series.map((O) => O.id === l.id ? { ...O, value: d } : O)
|
|
406
406
|
}));
|
|
407
407
|
},
|
|
408
408
|
onDone: () => {
|
|
@@ -700,7 +700,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
700
700
|
function Ae() {
|
|
701
701
|
re.value = !re.value;
|
|
702
702
|
}
|
|
703
|
-
async function
|
|
703
|
+
async function Jt({ scale: l = 2 } = {}) {
|
|
704
704
|
if (!I.value) return;
|
|
705
705
|
const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: n } = await xl({ domElement: I.value, base64: !0, img: !0, scale: l });
|
|
706
706
|
return {
|
|
@@ -713,7 +713,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
713
713
|
};
|
|
714
714
|
}
|
|
715
715
|
const Te = c(null);
|
|
716
|
-
function
|
|
716
|
+
function Kt() {
|
|
717
717
|
if (!Te.value) return;
|
|
718
718
|
const { x: l, y: s, width: a, height: o } = Te.value.getBBox();
|
|
719
719
|
ae.value && ae.value.setAttribute("viewBox", `${l} ${s} ${a + Math.min(0, l)} ${o + Math.min(0, s)}`);
|
|
@@ -754,10 +754,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
754
754
|
function bt() {
|
|
755
755
|
$.value.showTable = !1, be.value && be.value.setTableIconState(!1);
|
|
756
756
|
}
|
|
757
|
-
return
|
|
758
|
-
autoSize:
|
|
757
|
+
return Ot({
|
|
758
|
+
autoSize: Kt,
|
|
759
759
|
getData: Ht,
|
|
760
|
-
getImage:
|
|
760
|
+
getImage: Jt,
|
|
761
761
|
generatePdf: st,
|
|
762
762
|
generateCsv: xe,
|
|
763
763
|
generateImage: ut,
|
|
@@ -765,7 +765,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
765
765
|
toggleLabels: pt,
|
|
766
766
|
toggleTooltip: yt,
|
|
767
767
|
toggleAnnotator: Ae,
|
|
768
|
-
toggleFullscreen:
|
|
768
|
+
toggleFullscreen: Ke
|
|
769
769
|
}), (l, s) => (u(), r("div", {
|
|
770
770
|
ref_key: "nestedDonutsChart",
|
|
771
771
|
ref: I,
|
|
@@ -838,7 +838,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
838
838
|
callbacks: e.value.userOptions.callbacks,
|
|
839
839
|
printScale: e.value.userOptions.print.scale,
|
|
840
840
|
tableDialog: e.value.table.useDialog,
|
|
841
|
-
onToggleFullscreen:
|
|
841
|
+
onToggleFullscreen: Ke,
|
|
842
842
|
onGeneratePdf: i(st),
|
|
843
843
|
onGenerateCsv: xe,
|
|
844
844
|
onGenerateImage: i(ut),
|
|
@@ -853,7 +853,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
853
853
|
l.$slots.menuIcon ? {
|
|
854
854
|
name: "menuIcon",
|
|
855
855
|
fn: C(({ isOpen: a, color: o }) => [
|
|
856
|
-
x(l.$slots, "menuIcon", H(
|
|
856
|
+
x(l.$slots, "menuIcon", H(J({ isOpen: a, color: o })), void 0, !0)
|
|
857
857
|
]),
|
|
858
858
|
key: "0"
|
|
859
859
|
} : void 0,
|
|
@@ -902,14 +902,14 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
902
902
|
l.$slots.optionFullscreen ? {
|
|
903
903
|
name: "optionFullscreen",
|
|
904
904
|
fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
905
|
-
x(l.$slots, "optionFullscreen", H(
|
|
905
|
+
x(l.$slots, "optionFullscreen", H(J({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
906
906
|
]),
|
|
907
907
|
key: "7"
|
|
908
908
|
} : void 0,
|
|
909
909
|
l.$slots.optionAnnotator ? {
|
|
910
910
|
name: "optionAnnotator",
|
|
911
911
|
fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
912
|
-
x(l.$slots, "optionAnnotator", H(
|
|
912
|
+
x(l.$slots, "optionAnnotator", H(J({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
913
913
|
]),
|
|
914
914
|
key: "8"
|
|
915
915
|
} : void 0
|
|
@@ -1057,10 +1057,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1057
1057
|
"text-anchor": "middle",
|
|
1058
1058
|
method: "align",
|
|
1059
1059
|
spacing: "auto"
|
|
1060
|
-
},
|
|
1060
|
+
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
|
|
1061
1061
|
source: a.name,
|
|
1062
1062
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1063
|
-
}) : a.name), 9,
|
|
1063
|
+
}) : a.name), 9, Jl)
|
|
1064
1064
|
], 10, Hl)) : k("", !0)
|
|
1065
1065
|
]))), 256))
|
|
1066
1066
|
]))), 256)) : (u(!0), r(A, { key: 1 }, T(q.value, (a, o) => (u(), r("g", null, [
|
|
@@ -1074,14 +1074,14 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1074
1074
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1075
1075
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
1076
1076
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
1077
|
-
},
|
|
1077
|
+
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
|
|
1078
1078
|
source: a.name,
|
|
1079
1079
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1080
|
-
}) : a.name), 11,
|
|
1080
|
+
}) : a.name), 11, Kl)) : k("", !0)
|
|
1081
1081
|
]))), 256))
|
|
1082
1082
|
]))), 256))
|
|
1083
1083
|
])) : k("", !0),
|
|
1084
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g",
|
|
1084
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", Ql, [
|
|
1085
1085
|
(u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
|
|
1086
1086
|
(u(!0), r(A, null, T(a.donut.filter((t) => !t.ghost), (t, n) => (u(), r("g", {
|
|
1087
1087
|
filter: ht(t, n)
|
|
@@ -1089,8 +1089,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1089
1089
|
wt(p("text", {
|
|
1090
1090
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1091
1091
|
opacity: Le(t) ? 1 : 0,
|
|
1092
|
-
"text-anchor": i(
|
|
1093
|
-
x: i(
|
|
1092
|
+
"text-anchor": i(Q)(t, !0).anchor,
|
|
1093
|
+
x: i(Q)(
|
|
1094
1094
|
t,
|
|
1095
1095
|
!1,
|
|
1096
1096
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1103,7 +1103,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1103
1103
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
1104
1104
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1105
1105
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
1106
|
-
},
|
|
1106
|
+
}, F(i(S)({
|
|
1107
1107
|
v: t.proportion * 100,
|
|
1108
1108
|
s: "%",
|
|
1109
1109
|
r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
|
|
@@ -1116,8 +1116,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1116
1116
|
wt(p("text", {
|
|
1117
1117
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1118
1118
|
opacity: Le(t) ? 1 : 0,
|
|
1119
|
-
"text-anchor": i(
|
|
1120
|
-
x: i(
|
|
1119
|
+
"text-anchor": i(Q)(t, !0).anchor,
|
|
1120
|
+
x: i(Q)(
|
|
1121
1121
|
t,
|
|
1122
1122
|
!1,
|
|
1123
1123
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1130,7 +1130,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1130
1130
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
1131
1131
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1132
1132
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
1133
|
-
}, " (" +
|
|
1133
|
+
}, " (" + F(i(le)(
|
|
1134
1134
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
1135
1135
|
t.value,
|
|
1136
1136
|
i(S)({
|
|
@@ -1149,8 +1149,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1149
1149
|
Le(t) && $.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
|
|
1150
1150
|
key: 0,
|
|
1151
1151
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1152
|
-
"text-anchor": i(
|
|
1153
|
-
x: i(
|
|
1152
|
+
"text-anchor": i(Q)(t, !0).anchor,
|
|
1153
|
+
x: i(Q)(
|
|
1154
1154
|
t,
|
|
1155
1155
|
!1,
|
|
1156
1156
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1163,7 +1163,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1163
1163
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
1164
1164
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1165
1165
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
1166
|
-
},
|
|
1166
|
+
}, F(i(le)(
|
|
1167
1167
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
1168
1168
|
t.value,
|
|
1169
1169
|
i(S)({
|
|
@@ -1195,7 +1195,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1195
1195
|
], 512)
|
|
1196
1196
|
], 14, Il)),
|
|
1197
1197
|
l.$slots.watermark ? (u(), r("div", aa, [
|
|
1198
|
-
x(l.$slots, "watermark", H(
|
|
1198
|
+
x(l.$slots, "watermark", H(J({ isPrinting: i(at) || i(ot) })), void 0, !0)
|
|
1199
1199
|
])) : k("", !0),
|
|
1200
1200
|
Ve(i(St), {
|
|
1201
1201
|
show: $.value.showTooltip && he.value,
|
|
@@ -1218,17 +1218,17 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1218
1218
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1219
1219
|
}, {
|
|
1220
1220
|
"tooltip-before": C(() => [
|
|
1221
|
-
x(l.$slots, "tooltip-before", H(
|
|
1221
|
+
x(l.$slots, "tooltip-before", H(J({ ...Ce.value })), void 0, !0)
|
|
1222
1222
|
]),
|
|
1223
1223
|
"tooltip-after": C(() => [
|
|
1224
|
-
x(l.$slots, "tooltip-after", H(
|
|
1224
|
+
x(l.$slots, "tooltip-after", H(J({ ...Ce.value })), void 0, !0)
|
|
1225
1225
|
]),
|
|
1226
1226
|
_: 3
|
|
1227
1227
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1228
1228
|
p("div", {
|
|
1229
1229
|
id: `legend-bottom-${f.value}`
|
|
1230
1230
|
}, null, 8, oa),
|
|
1231
|
-
|
|
1231
|
+
Je.value ? (u(), B(ol, {
|
|
1232
1232
|
key: 5,
|
|
1233
1233
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1234
1234
|
}, [
|
|
@@ -1238,20 +1238,20 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1238
1238
|
ref: ye,
|
|
1239
1239
|
class: M({ "vue-ui-nested-donuts-legend": _e.value.length > 1 })
|
|
1240
1240
|
}, [
|
|
1241
|
-
(u(!0), r(A, null, T(_e.value, (a, o) => (u(), B(
|
|
1241
|
+
(u(!0), r(A, null, T(_e.value, (a, o) => (u(), B(Ol, {
|
|
1242
1242
|
key: `legend_${o}_${He.value}`,
|
|
1243
1243
|
legendSet: a,
|
|
1244
1244
|
config: qt.value,
|
|
1245
1245
|
onClickMarker: s[0] || (s[0] = ({ legend: t }) => $e(t))
|
|
1246
1246
|
}, {
|
|
1247
1247
|
legendTitle: C(({ titleSet: t }) => [
|
|
1248
|
-
t[0] && t[0].arcOf ? (u(), r("div", sa,
|
|
1248
|
+
t[0] && t[0].arcOf ? (u(), r("div", sa, F(t[0].arcOf), 1)) : k("", !0)
|
|
1249
1249
|
]),
|
|
1250
1250
|
item: C(({ legend: t, index: n }) => [
|
|
1251
1251
|
p("div", {
|
|
1252
1252
|
onClick: (v) => $e(t),
|
|
1253
1253
|
style: ve(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
|
|
1254
|
-
},
|
|
1254
|
+
}, F(t.name) + F(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + F(e.value.style.chart.legend.showValue ? i(le)(
|
|
1255
1255
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
1256
1256
|
t.value,
|
|
1257
1257
|
i(S)({
|
|
@@ -1261,7 +1261,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1261
1261
|
r: e.value.style.chart.legend.roundingValue
|
|
1262
1262
|
}),
|
|
1263
1263
|
{ datapoint: t, seriesIndex: n }
|
|
1264
|
-
) : "") + " " +
|
|
1264
|
+
) : "") + " " + F(e.value.style.chart.legend.showPercentage ? L.value.includes(t.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(t.value / t.total) ? "-" : i(S)({
|
|
1265
1265
|
v: t.value / t.total * 100,
|
|
1266
1266
|
s: "%",
|
|
1267
1267
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -1309,7 +1309,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1309
1309
|
}, null, 8, na)
|
|
1310
1310
|
]),
|
|
1311
1311
|
td: C(({ td: a }) => [
|
|
1312
|
-
$t(
|
|
1312
|
+
$t(F(a.name || a), 1)
|
|
1313
1313
|
]),
|
|
1314
1314
|
_: 1
|
|
1315
1315
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1319,7 +1319,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1319
1319
|
e.value.table.useDialog ? {
|
|
1320
1320
|
name: "title",
|
|
1321
1321
|
fn: C(() => [
|
|
1322
|
-
$t(
|
|
1322
|
+
$t(F(ee.value.title), 1)
|
|
1323
1323
|
]),
|
|
1324
1324
|
key: "0"
|
|
1325
1325
|
} : void 0,
|
|
@@ -1343,7 +1343,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1343
1343
|
i(ge) ? (u(), B($l, { key: 9 })) : k("", !0)
|
|
1344
1344
|
], 46, Sl));
|
|
1345
1345
|
}
|
|
1346
|
-
}, $a = /* @__PURE__ */
|
|
1346
|
+
}, $a = /* @__PURE__ */ Fl(ra, [["__scopeId", "data-v-07f0a210"]]);
|
|
1347
1347
|
export {
|
|
1348
1348
|
$a as default
|
|
1349
1349
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as v, ref as r, toRefs as yt, watch as U, shallowRef as Be, onMounted as bt, onBeforeUnmount as kt, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as W, createBlock as S, createCommentVNode as g, createElementVNode as I, createVNode as re, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as z, guardReactiveProps as N, Fragment as Y, renderList as E, toDisplayString as M, Teleport as wt, resolveDynamicComponent as Ct, mergeProps as $t, createTextVNode as Ve, nextTick as Ue } from "vue";
|
|
2
|
-
import { c as xt, t as Tt, b as Ot, p as Ye, e as _t, o as Ee, f as ie, h as At, X as St, d as X, a as ce, z as Xe, x as It, y as Pt, A as Ft } from "./lib-
|
|
2
|
+
import { c as xt, t as Tt, b as Ot, p as Ye, e as _t, o as Ee, f as ie, h as At, X as St, d as X, a as ce, z as Xe, x as It, y as Pt, A as Ft } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as Dt, u as Mt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Rt, a as Ge } from "./useNestedProp-
|
|
4
|
+
import { u as Rt, a as Ge } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as zt, B as Nt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Bt } from "./usePrinter-
|
|
6
|
+
import { u as Bt } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-
|
|
10
|
-
import Yt from "./img-
|
|
11
|
-
import Et from "./Title-
|
|
12
|
-
import Xt from "./Legend-
|
|
9
|
+
import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-BVJkib7z.js";
|
|
10
|
+
import Yt from "./img-DjWwQXVS.js";
|
|
11
|
+
import Et from "./Title-C__lOIPC.js";
|
|
12
|
+
import Xt from "./Legend-BpoFJ8fc.js";
|
|
13
13
|
import { t as Gt } from "./themes-D3cUNuKw.js";
|
|
14
14
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "height"], Kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Qt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Zt = ["id"], ea = ["stdDeviation"], ta = ["filter"], aa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], la = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], oa = { key: 2 }, na = ["onMouseenter", "onMouseleave", "onClick"], sa = ["x", "y", "font-size", "fill", "font-weight"], ua = {
|
|
@@ -33,7 +33,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend"],
|
|
35
35
|
setup(He, { expose: We, emit: je }) {
|
|
36
|
-
const qe = A(() => import("./Tooltip-
|
|
36
|
+
const qe = A(() => import("./Tooltip-BOXz8skU.js")), Je = A(() => import("./BaseIcon-Bz-1GQhu.js")), Ke = A(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Qe = A(() => import("./DataTable-BvjacRbw.js")), Ze = A(() => import("./UserOptions-DsTgvAok.js")), et = A(() => import("./PenAndPaper-CR8q353D.js")), tt = A(() => import("./PackageVersion-oBQ8brnx.js")), at = A(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_onion: lt } = Rt(), C = He, ve = v(() => !!C.dataset && C.dataset.length), y = r(xt()), ot = r(null), de = r(0), j = r(!1), q = r(""), b = r([]), $ = r(null), he = r(null), pe = r(null), fe = r(null), ge = r(null), me = r(0), ye = r(0), be = r(0), x = r(!1), ke = r(!1), B = r(null), e = r(Z()), { loading: k, FINAL_DATASET: we, manualLoading: J } = zt({
|
|
37
37
|
...yt(C),
|
|
38
38
|
FINAL_CONFIG: e,
|
|
39
39
|
prepareConfig: Z,
|