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,20 +1,20 @@
|
|
|
1
1
|
import { defineAsyncComponent as O, computed as d, ref as i, shallowRef as nt, toRefs as Zt, onBeforeUnmount as rt, watch as Q, nextTick as $e, watchEffect as ea, createElementBlock as r, openBlock as n, unref as u, normalizeStyle as w, normalizeClass as ae, createBlock as T, createCommentVNode as v, renderSlot as p, createElementVNode as y, createSlots as _e, withCtx as f, normalizeProps as le, guardReactiveProps as oe, createVNode as Te, Fragment as m, renderList as k, mergeProps as Pe, toDisplayString as R, resolveDynamicComponent as ta, createTextVNode as Se } from "vue";
|
|
2
|
-
import { c as Me, t as aa, e as la, h as oa, p as se,
|
|
2
|
+
import { c as Me, t as aa, e as la, h as oa, p as se, aa as ut, ab as sa, T as it, U as na, V as ra, X as ua, E as ia, L as ca, a as ne, d as re, b as va, f as Oe, g as ct, o as ha, x as da, y as ya, N as fa } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as vt, u as ga } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ma, a as ht } from "./useNestedProp-
|
|
4
|
+
import { u as ma, a as ht } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as pa, B as ba } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as xa } from "./usePrinter-
|
|
6
|
+
import { u as xa } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as ka } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
8
|
import { u as Aa } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as Ca } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as wa } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import { t as $a } from "./themes-D3cUNuKw.js";
|
|
12
|
-
import _a from "./Legend-
|
|
13
|
-
import Ta from "./Title-
|
|
14
|
-
import { _ as Pa } from "./Shape-
|
|
15
|
-
import Sa from "./img-
|
|
12
|
+
import _a from "./Legend-BpoFJ8fc.js";
|
|
13
|
+
import Ta from "./Title-C__lOIPC.js";
|
|
14
|
+
import { _ as Pa } from "./Shape-C_C_OmqR.js";
|
|
15
|
+
import Sa from "./img-DjWwQXVS.js";
|
|
16
16
|
import { _ as Ma } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"], Ia = ["stop-color"], Na = ["stop-color"], Fa = ["stop-color"], Ra = ["id"], Ea = ["stop-color"], Ha = ["stop-color"], Xa = ["stop-color"], Ba = ["stop-color"],
|
|
17
|
+
const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"], Ia = ["stop-color"], Na = ["stop-color"], Fa = ["stop-color"], Ra = ["id"], Ea = ["stop-color"], Ha = ["stop-color"], Xa = ["stop-color"], Ba = ["stop-color"], Ua = { key: 0 }, Va = ["fill", "d"], Wa = ["stroke", "stroke-width", "d"], Ga = ["fill", "d"], Ya = ["stroke", "stroke-dasharray", "stroke-width", "d"], ja = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], qa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ja = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ka = { key: 0 }, Qa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Za = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], el = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ll = ["x", "y", "text-anchor", "font-size", "fill"], ol = {
|
|
18
18
|
key: 4,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, sl = ["onClick"], nl = ["innerHTML"], rl = {
|
|
@@ -35,14 +35,14 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
37
37
|
setup(dt, { expose: yt, emit: ft }) {
|
|
38
|
-
const gt = O(() => import("./vue-ui-xy-
|
|
38
|
+
const gt = O(() => import("./vue-ui-xy-DGln2YgO.js")), mt = O(() => import("./BaseIcon-Bz-1GQhu.js")), pt = O(() => import("./vue-ui-accordion-Cv7OaVUI.js")), bt = O(() => import("./DataTable-BvjacRbw.js")), xt = O(() => import("./PenAndPaper-CR8q353D.js")), kt = O(() => import("./UserOptions-DsTgvAok.js")), At = O(() => import("./PackageVersion-oBQ8brnx.js")), Le = O(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_ridgeline: Ct } = ma(), E = dt, U = d({
|
|
39
39
|
get() {
|
|
40
40
|
return Array.isArray(z.value) && z.value.length > 0;
|
|
41
41
|
},
|
|
42
42
|
set(t) {
|
|
43
43
|
return t;
|
|
44
44
|
}
|
|
45
|
-
}), ue = ft, $ = i(null), ze = i(null), De = i(null), P = nt(null), L = nt(null), Ie = i(null), Ne = i(null), ie = i(0), wt = i(0), ce = i(0), A = i(Me()), Fe = i(0), $t = i(0), Re = i(512), h = i(null), H = i(null), ve = i(null), Ee = i(0), he = i(null),
|
|
45
|
+
}), ue = ft, $ = i(null), ze = i(null), De = i(null), P = nt(null), L = nt(null), Ie = i(null), Ne = i(null), ie = i(0), wt = i(0), ce = i(0), A = i(Me()), Fe = i(0), $t = i(0), Re = i(512), h = i(null), H = i(null), ve = i(null), Ee = i(0), he = i(null), V = i(null), de = i(null);
|
|
46
46
|
function ye() {
|
|
47
47
|
const t = ht({
|
|
48
48
|
userConfig: E.config,
|
|
@@ -210,7 +210,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
210
210
|
datasetObject: o,
|
|
211
211
|
requiredAttributes: ["name", "datapoints"]
|
|
212
212
|
}).forEach((s) => {
|
|
213
|
-
|
|
213
|
+
U.value = !1, Oe({
|
|
214
214
|
componentName: "VueUiRidgeline",
|
|
215
215
|
type: "datasetSerieAttribute",
|
|
216
216
|
property: s,
|
|
@@ -222,7 +222,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
222
222
|
datasetObject: s,
|
|
223
223
|
requiredAttributes: ["name", "values"]
|
|
224
224
|
}).forEach((c) => {
|
|
225
|
-
|
|
225
|
+
U.value = !1, Oe({
|
|
226
226
|
componentName: "VueUiRidgeline",
|
|
227
227
|
type: "datasetSerieAttribute",
|
|
228
228
|
property: `datapoint.${c}`,
|
|
@@ -254,7 +254,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
254
254
|
rt(() => {
|
|
255
255
|
P.value && (L.value && P.value.unobserve(L.value), P.value.disconnect());
|
|
256
256
|
});
|
|
257
|
-
const { isPrinting:
|
|
257
|
+
const { isPrinting: Ue, isImaging: Ve, generatePdf: We, generateImage: Ge } = xa({
|
|
258
258
|
elementId: `vue-ui-ridgeline_${A.value}`,
|
|
259
259
|
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
260
260
|
options: e.value.userOptions.print
|
|
@@ -286,7 +286,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
286
286
|
function Ye(t) {
|
|
287
287
|
M.value.includes(t) ? M.value = M.value.filter((o) => o !== t) : M.value.push(t), ue("selectLegend", B.value);
|
|
288
288
|
}
|
|
289
|
-
const S = d(() =>
|
|
289
|
+
const S = d(() => U.value ? (z.value || []).map((t) => ({
|
|
290
290
|
...t,
|
|
291
291
|
labelLen: It(t.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
292
292
|
uid: Me(),
|
|
@@ -396,14 +396,14 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
396
396
|
isMaxPoint: Qt,
|
|
397
397
|
zero: N
|
|
398
398
|
};
|
|
399
|
-
}),
|
|
399
|
+
}), Vt = `${sa(F, N, !1, !1)}`, Wt = `M ${s},${N} ${it(F)} ${F.at(-1).x},${N}`, Gt = `M ${s},${N} ${F.at(-1).x},${N}`, ot = `M ${na(F)}`, st = `M ${it(F)}`, Yt = ra(
|
|
400
400
|
e.value.style.chart.areas.smooth ? ot : st
|
|
401
401
|
);
|
|
402
402
|
return {
|
|
403
403
|
...J,
|
|
404
404
|
uid: Me(),
|
|
405
405
|
plots: F,
|
|
406
|
-
smoothPath:
|
|
406
|
+
smoothPath: Vt,
|
|
407
407
|
straightPath: Wt,
|
|
408
408
|
zeroPath: Gt,
|
|
409
409
|
pathLength: Yt,
|
|
@@ -563,11 +563,11 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
563
563
|
aspectRatio: s
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
|
-
const
|
|
566
|
+
const Ut = d(() => ({ min: 0, max: G.value }));
|
|
567
567
|
wa({
|
|
568
568
|
timeLabelsEls: he,
|
|
569
569
|
timeLabels: Y,
|
|
570
|
-
slicer:
|
|
570
|
+
slicer: Ut,
|
|
571
571
|
configRef: e,
|
|
572
572
|
rotationPath: ["style", "chart", "xAxis", "labels", "rotation"],
|
|
573
573
|
autoRotatePath: ["style", "chart", "xAxis", "labels", "autoRotate", "enable"],
|
|
@@ -608,7 +608,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
608
608
|
};
|
|
609
609
|
});
|
|
610
610
|
Q(() => D.value.showTable, (t) => {
|
|
611
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
611
|
+
e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
|
|
612
612
|
});
|
|
613
613
|
function tt() {
|
|
614
614
|
D.value.showTable = !1, de.value && de.value.setTableIconState(!1);
|
|
@@ -673,14 +673,14 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
673
673
|
}
|
|
674
674
|
}, null, 8, ["config"]))
|
|
675
675
|
], 512)) : v("", !0),
|
|
676
|
-
e.value.userOptions.show &&
|
|
676
|
+
e.value.userOptions.show && U.value && (u(Xe) || u(Z)) ? (n(), T(u(kt), {
|
|
677
677
|
ref_key: "userOptionsRef",
|
|
678
678
|
ref: de,
|
|
679
679
|
key: `user_option_${Fe.value}`,
|
|
680
680
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
681
681
|
color: e.value.style.chart.color,
|
|
682
|
-
isPrinting: u(
|
|
683
|
-
isImaging: u(
|
|
682
|
+
isPrinting: u(Ue),
|
|
683
|
+
isImaging: u(Ve),
|
|
684
684
|
uid: A.value,
|
|
685
685
|
hasTooltip: !1,
|
|
686
686
|
callbacks: e.value.userOptions.callbacks,
|
|
@@ -840,7 +840,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
840
840
|
(n(!0), r(m, null, k(a.datapoints, (l, c) => (n(), r("g", {
|
|
841
841
|
key: l.id
|
|
842
842
|
}, [
|
|
843
|
-
t.$slots.pattern ? (n(), r("g",
|
|
843
|
+
t.$slots.pattern ? (n(), r("g", Ua, [
|
|
844
844
|
y("defs", null, [
|
|
845
845
|
p(t.$slots, "pattern", Pe({ ref_for: !0 }, { datapointIndex: s, seriesIndex: c, patternId: `pattern_${A.value}_${l.uid}` }), void 0, !0)
|
|
846
846
|
])
|
|
@@ -853,7 +853,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
853
853
|
style: w({
|
|
854
854
|
opacity: e.value.style.chart.areas.opacity
|
|
855
855
|
})
|
|
856
|
-
}, null, 12,
|
|
856
|
+
}, null, 12, Va),
|
|
857
857
|
y("path", {
|
|
858
858
|
fill: "none",
|
|
859
859
|
stroke: e.value.style.chart.areas.stroke.useSerieColor ? l.color : e.value.style.chart.areas.stroke.color,
|
|
@@ -1070,7 +1070,7 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
1070
1070
|
p(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
1071
1071
|
], 14, La)),
|
|
1072
1072
|
t.$slots.watermark ? (n(), r("div", ol, [
|
|
1073
|
-
p(t.$slots, "watermark", le(oe({ isPrinting: u(
|
|
1073
|
+
p(t.$slots, "watermark", le(oe({ isPrinting: u(Ue) || u(Ve) })), void 0, !0)
|
|
1074
1074
|
])) : v("", !0),
|
|
1075
1075
|
y("div", {
|
|
1076
1076
|
ref_key: "chartLegend",
|
|
@@ -1115,9 +1115,9 @@ const Oa = ["id"], La = ["xmlns", "viewBox"], za = ["id"], Da = ["stop-color"],
|
|
|
1115
1115
|
}, [
|
|
1116
1116
|
p(t.$slots, "source", {}, void 0, !0)
|
|
1117
1117
|
], 512)) : v("", !0),
|
|
1118
|
-
|
|
1118
|
+
U.value && e.value.userOptions.buttons.table ? (n(), T(ta(j.value.component), Pe({ key: 6 }, j.value.props, {
|
|
1119
1119
|
ref_key: "tableUnit",
|
|
1120
|
-
ref:
|
|
1120
|
+
ref: V,
|
|
1121
1121
|
onClose: tt
|
|
1122
1122
|
}), _e({
|
|
1123
1123
|
content: f(() => [
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as F, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as Y, shallowRef as Be, onMounted as mt, onBeforeUnmount as bt, createElementBlock as h, openBlock as i, unref as s, normalizeStyle as
|
|
2
|
-
import { c as Ee, t as $t, b as Tt, p as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as Vt, a as He } from "./useNestedProp-
|
|
5
|
-
import { u as Bt } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as F, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as Y, shallowRef as Be, onMounted as mt, onBeforeUnmount as bt, createElementBlock as h, openBlock as i, unref as s, normalizeStyle as N, normalizeClass as W, createBlock as O, createCommentVNode as b, createElementVNode as C, createVNode as J, createSlots as re, withCtx as c, renderSlot as p, normalizeProps as V, guardReactiveProps as B, Fragment as ie, renderList as ve, mergeProps as Me, Teleport as kt, toDisplayString as M, resolveDynamicComponent as wt, createTextVNode as ze, nextTick as Ct } from "vue";
|
|
2
|
+
import { c as Ee, t as $t, b as Tt, p as D, o as Ue, f as ce, g as _t, e as xt, J as At, h as We, d as L, X as Ft, s as Ot, i as It, q as K, a as Ge, x as St, y as Pt, z as Nt, A as Dt } from "./lib-BEpWEyMm.js";
|
|
3
|
+
import { t as Lt, u as Rt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Vt, a as He } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
|
+
import { u as Bt } from "./usePrinter-w23K-ezx.js";
|
|
6
6
|
import { u as Mt, B as zt } from "./BaseScanner-BgWxam9d.js";
|
|
7
7
|
import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Wt from "./img-
|
|
10
|
-
import { _ as Gt } from "./Shape-
|
|
11
|
-
import Ht from "./Title-
|
|
9
|
+
import Wt from "./img-DjWwQXVS.js";
|
|
10
|
+
import { _ as Gt } from "./Shape-C_C_OmqR.js";
|
|
11
|
+
import Ht from "./Title-C__lOIPC.js";
|
|
12
12
|
import { t as jt } from "./themes-D3cUNuKw.js";
|
|
13
|
-
import Xt from "./Legend-
|
|
13
|
+
import Xt from "./Legend-BpoFJ8fc.js";
|
|
14
14
|
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = { key: 1 }, ol = ["stroke", "cx", "cy", "r", "fill"], al = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], sl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ul = {
|
|
16
16
|
key: 4,
|
|
@@ -33,7 +33,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectLegend"],
|
|
35
35
|
setup(je, { expose: Xe, emit: qe }) {
|
|
36
|
-
const Ye = F(() => import("./Tooltip-
|
|
36
|
+
const Ye = F(() => import("./Tooltip-BOXz8skU.js")), Je = F(() => import("./BaseIcon-Bz-1GQhu.js")), Ke = F(() => import("./vue-ui-accordion-Cv7OaVUI.js")), Qe = F(() => import("./DataTable-BvjacRbw.js")), Ze = F(() => import("./PenAndPaper-CR8q353D.js")), et = F(() => import("./UserOptions-DsTgvAok.js")), tt = F(() => import("./PackageVersion-oBQ8brnx.js")), lt = F(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_rings: ot } = Vt(), at = ft(), k = je, I = u(!1), de = f(() => !!k.dataset && k.dataset.length), y = u(Ee()), G = u(!1), Q = u(""), T = u(null), he = u(0), _ = u(null), pe = u(null), ge = u(null), fe = u(null), ye = u(null), me = u(0), be = u(0), ke = u(0), Z = u(!1), we = u(!1), z = u(null), ee = u(null), e = u(le()), { loading: S, FINAL_DATASET: Ce, manualLoading: H } = Mt({
|
|
37
37
|
...yt(k),
|
|
38
38
|
FINAL_CONFIG: e,
|
|
39
39
|
prepareConfig: le,
|
|
@@ -78,7 +78,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
78
78
|
userConfig: jt.vue_ui_rings[t.theme] || k.config,
|
|
79
79
|
defaultConfig: t
|
|
80
80
|
}),
|
|
81
|
-
customPalette: Tt[t.theme] ||
|
|
81
|
+
customPalette: Tt[t.theme] || D
|
|
82
82
|
} : t;
|
|
83
83
|
}
|
|
84
84
|
Y(() => k.config, (t) => {
|
|
@@ -114,7 +114,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
116
|
}), Ue(k.dataset) || (H.value = e.value.loading), e.value.responsive) {
|
|
117
|
-
const t =
|
|
117
|
+
const t = Lt(() => {
|
|
118
118
|
Z.value = !0;
|
|
119
119
|
const { width: o, height: l } = Rt({
|
|
120
120
|
chart: _.value,
|
|
@@ -171,13 +171,13 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
171
171
|
const r = At(t).reduce((v, U) => v + U, 0);
|
|
172
172
|
return {
|
|
173
173
|
name: o,
|
|
174
|
-
color: l || We(l) || Se.value[a] ||
|
|
174
|
+
color: l || We(l) || Se.value[a] || D[a] || D[a % D.length],
|
|
175
175
|
value: r,
|
|
176
176
|
proportion: r / Ce.value.map((v) => (v.values || []).reduce((U, gt) => U + gt, 0)).reduce((v, U) => v + U, 0),
|
|
177
177
|
uid: Ee(),
|
|
178
178
|
absoluteIndex: a
|
|
179
179
|
};
|
|
180
|
-
})),
|
|
180
|
+
})), Ne = f(() => j.value.map((t) => ({
|
|
181
181
|
...t,
|
|
182
182
|
shape: "circle",
|
|
183
183
|
opacity: m.value.includes(t.uid) ? 0.5 : 1,
|
|
@@ -194,7 +194,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
194
194
|
absoluteIndex: r,
|
|
195
195
|
uid: a,
|
|
196
196
|
name: t,
|
|
197
|
-
color: l || We(l) || Se.value[v] ||
|
|
197
|
+
color: l || We(l) || Se.value[v] || D[v] || D[v % D.length],
|
|
198
198
|
value: o,
|
|
199
199
|
proportion: Pe(o),
|
|
200
200
|
percentage: o / $.value * 100,
|
|
@@ -228,7 +228,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
228
228
|
config: e.value
|
|
229
229
|
}, T.value = o;
|
|
230
230
|
const l = g.value[o], a = e.value.style.chart.tooltip.customFormat;
|
|
231
|
-
if (
|
|
231
|
+
if (Nt(a) && Dt(() => a({
|
|
232
232
|
seriesIndex: o,
|
|
233
233
|
datapoint: t,
|
|
234
234
|
series: g.value,
|
|
@@ -245,7 +245,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
245
245
|
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${at.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Ge(
|
|
246
246
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
247
247
|
l.value,
|
|
248
|
-
|
|
248
|
+
L({
|
|
249
249
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
250
250
|
v: l.value,
|
|
251
251
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -253,11 +253,11 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
253
253
|
}),
|
|
254
254
|
{ datapoint: t, seriesIndex: o }
|
|
255
255
|
)}
|
|
256
|
-
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${
|
|
256
|
+
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${L({
|
|
257
257
|
v: l.value / $.value * 100,
|
|
258
258
|
s: "%",
|
|
259
259
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
260
|
-
})})</span></div>` : r += `<b>${
|
|
260
|
+
})})</span></div>` : r += `<b>${L({
|
|
261
261
|
v: l.value / $.value * 100,
|
|
262
262
|
s: "%",
|
|
263
263
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -274,14 +274,14 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
274
274
|
}), X = f(() => {
|
|
275
275
|
const t = [
|
|
276
276
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
277
|
-
|
|
277
|
+
L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
278
278
|
"100%"
|
|
279
279
|
], o = A.value.head.map((r, v) => [
|
|
280
280
|
{
|
|
281
281
|
color: r.color,
|
|
282
282
|
name: r.name
|
|
283
283
|
},
|
|
284
|
-
|
|
284
|
+
L({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
285
285
|
isNaN(A.value.body[v] / $.value) ? "-" : (A.value.body[v] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
286
286
|
]), l = {
|
|
287
287
|
th: {
|
|
@@ -316,10 +316,10 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
const P = u(!1);
|
|
319
|
-
function
|
|
319
|
+
function De(t) {
|
|
320
320
|
P.value = t, he.value += 1;
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function Le() {
|
|
323
323
|
w.value.showTable = !w.value.showTable;
|
|
324
324
|
}
|
|
325
325
|
function Re() {
|
|
@@ -383,15 +383,15 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
383
383
|
generatePdf: Oe,
|
|
384
384
|
generateCsv: ne,
|
|
385
385
|
generateImage: Ie,
|
|
386
|
-
toggleTable:
|
|
386
|
+
toggleTable: Le,
|
|
387
387
|
toggleTooltip: Re,
|
|
388
388
|
toggleAnnotator: ue,
|
|
389
|
-
toggleFullscreen:
|
|
389
|
+
toggleFullscreen: De
|
|
390
390
|
}), (t, o) => (i(), h("div", {
|
|
391
391
|
ref_key: "ringsChart",
|
|
392
392
|
ref: _,
|
|
393
393
|
class: W(`vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
394
|
-
style:
|
|
394
|
+
style: N(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
395
395
|
id: `rings_${y.value}`,
|
|
396
396
|
onMouseleave: o[2] || (o[2] = (l) => {
|
|
397
397
|
T.value = null, G.value = !1, s($e)(!1);
|
|
@@ -461,14 +461,14 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
461
461
|
callbacks: e.value.userOptions.callbacks,
|
|
462
462
|
printScale: e.value.userOptions.print.scale,
|
|
463
463
|
tableDialog: e.value.table.useDialog,
|
|
464
|
-
onToggleFullscreen:
|
|
464
|
+
onToggleFullscreen: De,
|
|
465
465
|
onGeneratePdf: s(Oe),
|
|
466
466
|
onGenerateCsv: ne,
|
|
467
467
|
onGenerateImage: s(Ie),
|
|
468
|
-
onToggleTable:
|
|
468
|
+
onToggleTable: Le,
|
|
469
469
|
onToggleTooltip: Re,
|
|
470
470
|
onToggleAnnotator: ue,
|
|
471
|
-
style:
|
|
471
|
+
style: N({
|
|
472
472
|
visibility: s(Te) ? s(te) ? "visible" : "hidden" : "visible"
|
|
473
473
|
})
|
|
474
474
|
}, re({ _: 2 }, [
|
|
@@ -535,7 +535,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
535
535
|
xmlns: s(Ft),
|
|
536
536
|
class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value, resizing: Z.value || s(S) }),
|
|
537
537
|
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
538
|
-
style:
|
|
538
|
+
style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
539
539
|
}, [
|
|
540
540
|
J(s(tt)),
|
|
541
541
|
t.$slots["chart-background"] ? (i(), h("foreignObject", {
|
|
@@ -581,7 +581,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
581
581
|
"vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(S),
|
|
582
582
|
"vue-ui-rings-opacity": T.value !== null && T.value !== a
|
|
583
583
|
}),
|
|
584
|
-
style:
|
|
584
|
+
style: N(`animation-delay:${a * 100}ms`),
|
|
585
585
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
586
586
|
cx: n.value.width / 2,
|
|
587
587
|
cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
|
|
@@ -595,7 +595,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
595
595
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
596
596
|
"vue-ui-rings-blur": T.value !== null && T.value !== a
|
|
597
597
|
}),
|
|
598
|
-
style:
|
|
598
|
+
style: N(`animation-delay:${a * 100}ms`),
|
|
599
599
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
600
600
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
601
601
|
cx: n.value.width / 2,
|
|
@@ -611,7 +611,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
611
611
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
612
612
|
"vue-ui-rings-blur": T.value !== null && T.value !== a
|
|
613
613
|
}),
|
|
614
|
-
style:
|
|
614
|
+
style: N(`animation-delay:${a * 100}ms`),
|
|
615
615
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
616
616
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
617
617
|
cx: n.value.width / 2,
|
|
@@ -648,7 +648,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
648
648
|
}, [
|
|
649
649
|
e.value.style.chart.legend.show ? (i(), O(Xt, {
|
|
650
650
|
key: `legend_${ke.value}`,
|
|
651
|
-
legendSet:
|
|
651
|
+
legendSet: Ne.value,
|
|
652
652
|
config: it.value,
|
|
653
653
|
onClickMarker: o[0] || (o[0] = ({ legend: l }) => ae(l.uid))
|
|
654
654
|
}, re({
|
|
@@ -656,18 +656,18 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
656
656
|
s(S) ? b("", !0) : (i(), h("div", {
|
|
657
657
|
key: 0,
|
|
658
658
|
onClick: (r) => ae(l.uid),
|
|
659
|
-
style:
|
|
659
|
+
style: N(`opacity:${m.value.includes(l.uid) ? 0.5 : 1}`)
|
|
660
660
|
}, M(l.name) + M(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + M(e.value.style.chart.legend.showValue ? s(Ge)(
|
|
661
661
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
662
662
|
l.value,
|
|
663
|
-
s(
|
|
663
|
+
s(L)({
|
|
664
664
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
665
665
|
v: l.value,
|
|
666
666
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
667
667
|
r: e.value.style.chart.legend.roundingValue
|
|
668
668
|
}),
|
|
669
669
|
{ datapoint: l, seriesIndex: a }
|
|
670
|
-
) : "") + " " + M(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / $.value) ? "-" : s(
|
|
670
|
+
) : "") + " " + M(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / $.value) ? "-" : s(L)({
|
|
671
671
|
v: l.value / $.value * 100,
|
|
672
672
|
s: "%",
|
|
673
673
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -690,7 +690,7 @@ const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
690
690
|
} : void 0
|
|
691
691
|
]), 1032, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
692
692
|
key: 1,
|
|
693
|
-
legend:
|
|
693
|
+
legend: Ne.value
|
|
694
694
|
}, void 0, !0)
|
|
695
695
|
], 512)
|
|
696
696
|
], 8, ["to"])) : b("", !0),
|