vue-data-ui 3.20.10 → 3.21.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-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-BbgWxFC4.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/SlicerPreview-CXLgqXX8.js +1676 -0
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.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-bump.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-dag.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-geo.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-stackline.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-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/style.css +1 -1
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-CBjd88aV.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-S-FGGlPW.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-BaaswVai.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack--4oUO8hO.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-C7zZVebz.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-DsCnV6f0.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-CmTnG8CS.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-BQ0e9Czq.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-jBINqYMb.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-B9DsneCv.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-SAZjgllD.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-B41ZRCPC.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-PL2TAIV_.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-NkJ_KGMs.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-B9KX1kKs.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-Bo4x1-vC.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-DE71e1H_.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-DQhSwNYF.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-X9anqRDz.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-aN0OHwgH.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-CpKMBoX9.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-BwD7IGYx.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-68X0PTKo.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-cDPIzhPb.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-BD0JzrcV.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-DLXJpfGh.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-5pFFPu5l.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge--CihPbUW.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-CjrIcako.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-Dlg1W_fF.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-DltfPoDm.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CEE-cw3d.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-C7AvFChf.js → vue-ui-table-R-aXpHvF.js} +86 -86
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-DgTHhaZI.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-Cg7jcmgc.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-U045embk.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-T55IpHYP.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BPQ-Ekq4.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-DNCJGwEA.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-5GuVbUOq.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-Cs-MBJJU.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-D3v5f6dU.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-Ww81eEZ6.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +6 -2
- package/dist/SlicerPreview-CpvCUAIM.js +0 -1669
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-DmMi_eVe.js +0 -1757
- package/dist/vue-ui-age-pyramid-CbJDodNj.js +0 -1238
- package/dist/vue-ui-bullet-rCmOch09.js +0 -710
- package/dist/vue-ui-carousel-table-DFUP6c1B.js +0 -455
- package/dist/vue-ui-chestnut-DKNsQA7h.js +0 -2010
- package/dist/vue-ui-chord-BMkz02R6.js +0 -1391
- package/dist/vue-ui-donut-BLlR2VgI.js +0 -2410
- package/dist/vue-ui-donut-evolution-kXDchwtH.js +0 -1510
- package/dist/vue-ui-dumbbell-BWuXbccQ.js +0 -1530
- package/dist/vue-ui-gauge-NSzY9L6X.js +0 -920
- package/dist/vue-ui-horizontal-bar-mmoqYnkA.js +0 -1681
- package/dist/vue-ui-molecule-QoXYCfyP.js +0 -925
- package/dist/vue-ui-radar-TfxsgQrA.js +0 -1229
- package/dist/vue-ui-relation-circle-CMqV9U6C.js +0 -924
- package/dist/vue-ui-scatter-8nirnHQi.js +0 -2413
- package/dist/vue-ui-sparkline-DPZm7RqN.js +0 -1507
- package/dist/vue-ui-stackline-6agFEYxZ.js +0 -2398
- package/dist/vue-ui-xy-C0kcCaFA.js +0 -4747
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { B as t, Bt as n, Ft as r, G as i, H as a, Ht as ee, J as te, Mt as ne, Ot as o, Pt as re, S as ie, Tt as ae, X as oe, ct as se, ht as ce, i as le, it as ue, t as de, v as fe, x as pe, y as me } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as he } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as ge } from "./usePrinter-6n2MzVyV.js";
|
|
5
5
|
import { n as _e, t as ve } from "./BaseScanner-Dr2a1Msy.js";
|
|
6
6
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as be } from "./useNestedProp-
|
|
7
|
+
import { t as be } from "./useNestedProp-DtcXIg7n.js";
|
|
8
8
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as Se } from "./img-
|
|
10
|
-
import { n as Ce } from "./Title-
|
|
11
|
-
import { t as we } from "./Shape-
|
|
9
|
+
import { t as Se } from "./img-C_RNNswI.js";
|
|
10
|
+
import { n as Ce } from "./Title-DH6G8_cZ.js";
|
|
11
|
+
import { t as we } from "./Shape-BxFtoF1z.js";
|
|
12
12
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Oe } from "./BaseLegendToggle-BNRi408o.js";
|
|
16
16
|
import { t as ke } from "./A11yDataTable-BCbtxMU6.js";
|
|
17
17
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Me } from "./labelUtils-
|
|
20
|
-
import { t as Ne } from "./Legend-
|
|
19
|
+
import { t as Me } from "./labelUtils-Bycs-017.js";
|
|
20
|
+
import { t as Ne } from "./Legend-BLhREbj7.js";
|
|
21
21
|
import { t as Pe } from "./vue_ui_rings-BVgD2aMn.js";
|
|
22
22
|
import { Fragment as Fe, Teleport as Ie, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as f, guardReactiveProps as p, mergeProps as Be, nextTick as Ve, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as He, onMounted as Ue, openBlock as _, ref as v, renderList as We, renderSlot as y, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as qe, toRefs as Je, unref as b, useSlots as Ye, watch as Xe, withCtx as x } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-rings.vue
|
|
@@ -107,10 +107,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["selectLegend", "copyAlt"],
|
|
109
109
|
setup(e, { expose: Te, emit: Ze }) {
|
|
110
|
-
let bt = f(() => import("./Tooltip-
|
|
110
|
+
let bt = f(() => import("./Tooltip-979Ytd8R.js")), xt = f(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), St = f(() => import("./vue-ui-accordion-DLnwuQda.js").then((e) => e.n)), Ct = f(() => import("./DataTable-DweDyHc1.js")), wt = f(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Tt = f(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), Et = f(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), Dt = f(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), { vue_ui_rings: Ot } = he(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ye(), S = e, C = v(!1), Mt = s(() => !!S.dataset && S.dataset.length), w = v(a()), T = v(!1), Nt = v(""), E = v(null), Pt = v(0), D = v(null), Ft = v(null), It = v(null), Lt = v(null), Rt = v(null), zt = v(0), Bt = v(0), Vt = v(0), Ht = v(!1), Ut = v(!1), O = v(null), Wt = v(null), Gt = v(!1), Kt = v(!1), k = v(null), qt = v({
|
|
111
111
|
x: 0,
|
|
112
112
|
y: 0
|
|
113
|
-
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() =>
|
|
113
|
+
}), A = v("pointer"), Jt = v(!1), j = v(tn()), M = s(() => j.value.userOptions.useCursorPointer), Yt = s(() => ee({
|
|
114
114
|
defaultConfig: {
|
|
115
115
|
userOptions: { show: !1 },
|
|
116
116
|
table: { show: !1 },
|
|
@@ -158,7 +158,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
158
158
|
color: "#DBDBDB"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
skeletonConfig:
|
|
161
|
+
skeletonConfig: ee({
|
|
162
162
|
defaultConfig: j.value,
|
|
163
163
|
userConfig: Yt.value
|
|
164
164
|
})
|
|
@@ -170,16 +170,16 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
170
170
|
}), t = e.theme;
|
|
171
171
|
if (!t) return e;
|
|
172
172
|
if (!kt.value(e)) return At(e), e;
|
|
173
|
-
let
|
|
173
|
+
let r = be({
|
|
174
174
|
userConfig: Pe[t] || S.config,
|
|
175
175
|
defaultConfig: e
|
|
176
176
|
});
|
|
177
177
|
return {
|
|
178
178
|
...be({
|
|
179
179
|
userConfig: S.config,
|
|
180
|
-
defaultConfig:
|
|
180
|
+
defaultConfig: r
|
|
181
181
|
}),
|
|
182
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
182
|
+
customPalette: e.customPalette.length ? e.customPalette : n[e.theme] || o
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
Xe(() => S.config, (e) => {
|
|
@@ -204,7 +204,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
204
204
|
});
|
|
205
205
|
let rn = s(() => !!j.value.debug);
|
|
206
206
|
function an() {
|
|
207
|
-
if (
|
|
207
|
+
if (ae(S.dataset) ? (oe({
|
|
208
208
|
componentName: "VueUiRings",
|
|
209
209
|
type: "dataset",
|
|
210
210
|
debug: rn.value
|
|
@@ -213,7 +213,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
213
213
|
componentName: "VueUiRings",
|
|
214
214
|
type: "dataset",
|
|
215
215
|
debug: rn.value
|
|
216
|
-
}), Zt.value = !0),
|
|
216
|
+
}), Zt.value = !0), se({
|
|
217
217
|
datasetObject: e,
|
|
218
218
|
requiredAttributes: ["name", "values"]
|
|
219
219
|
}).forEach((e) => {
|
|
@@ -225,7 +225,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
225
225
|
debug: rn.value
|
|
226
226
|
});
|
|
227
227
|
});
|
|
228
|
-
}),
|
|
228
|
+
}), ae(S.dataset) || (Zt.value = j.value.loading), j.value.responsive) {
|
|
229
229
|
let e = Ee(() => {
|
|
230
230
|
Ht.value = !0;
|
|
231
231
|
let { width: e, height: t } = De({
|
|
@@ -303,18 +303,18 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
303
303
|
function bn(e) {
|
|
304
304
|
return e / yn.value;
|
|
305
305
|
}
|
|
306
|
-
let H = s(() => Xt.value.map(({ values: e, name:
|
|
307
|
-
let
|
|
306
|
+
let H = s(() => Xt.value.map(({ values: e, name: t, color: n = null }, r) => {
|
|
307
|
+
let i = ne(e).reduce((e, t) => e + t, 0);
|
|
308
308
|
return {
|
|
309
|
-
name:
|
|
310
|
-
color:
|
|
311
|
-
value:
|
|
312
|
-
proportion:
|
|
313
|
-
uid:
|
|
314
|
-
absoluteIndex:
|
|
309
|
+
name: t,
|
|
310
|
+
color: n || me(n) || dn.value[r] || o[r] || o[r % o.length],
|
|
311
|
+
value: i,
|
|
312
|
+
proportion: i / Xt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
313
|
+
uid: a(),
|
|
314
|
+
absoluteIndex: r
|
|
315
315
|
};
|
|
316
316
|
})), U = s(() => H.value.map((e, t) => {
|
|
317
|
-
let n =
|
|
317
|
+
let n = le(j.value.style.chart.layout.labels.dataLabels.formatter, e.value, i({
|
|
318
318
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
319
319
|
v: e.value,
|
|
320
320
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -322,11 +322,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
322
322
|
}), {
|
|
323
323
|
datapoint: e,
|
|
324
324
|
index: t
|
|
325
|
-
}), r = isNaN(e.value / W.value) ? "-" :
|
|
325
|
+
}), r = isNaN(e.value / W.value) ? "-" : i({
|
|
326
326
|
v: e.value / W.value * 100,
|
|
327
327
|
s: "%",
|
|
328
328
|
r: j.value.style.chart.legend.roundingPercentage
|
|
329
|
-
}),
|
|
329
|
+
}), a = Tn({
|
|
330
330
|
showVal: j.value.style.chart.legend.showValue,
|
|
331
331
|
showPercentage: j.value.style.chart.legend.showPercentage,
|
|
332
332
|
val: n,
|
|
@@ -338,7 +338,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
338
338
|
opacity: B.value.includes(e.uid) ? .5 : 1,
|
|
339
339
|
segregate: () => V(e.uid),
|
|
340
340
|
isSegregated: B.value.includes(e.uid),
|
|
341
|
-
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${
|
|
341
|
+
display: `${e.name}${j.value.style.chart.legend.showPercentage || j.value.style.chart.legend.showValue ? ": " : ""}${a}`
|
|
342
342
|
};
|
|
343
343
|
}).toSorted((e, t) => t.value - e.value)), xn = s(() => ({
|
|
344
344
|
cy: "rings-div-legend",
|
|
@@ -347,11 +347,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
347
347
|
fontSize: j.value.style.chart.legend.fontSize,
|
|
348
348
|
paddingBottom: 12,
|
|
349
349
|
fontWeight: j.value.style.chart.legend.bold ? "bold" : ""
|
|
350
|
-
})), W = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), G = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i },
|
|
350
|
+
})), W = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), G = s(() => H.value.filter((e) => !B.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, a) => ({
|
|
351
351
|
absoluteIndex: i,
|
|
352
352
|
uid: r,
|
|
353
353
|
name: e,
|
|
354
|
-
color: n || me(n) || dn.value[
|
|
354
|
+
color: n || me(n) || dn.value[a] || o[a] || o[a % o.length],
|
|
355
355
|
value: t,
|
|
356
356
|
proportion: bn(t),
|
|
357
357
|
percentage: t / W.value * 100,
|
|
@@ -390,12 +390,12 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
392
|
function En(e) {
|
|
393
|
-
let t = j.value.style.chart.layout.labels.dataLabels, n =
|
|
393
|
+
let t = j.value.style.chart.layout.labels.dataLabels, n = le(t.formatter, e.value, i({
|
|
394
394
|
p: t.prefix,
|
|
395
395
|
v: e.value,
|
|
396
396
|
s: t.suffix,
|
|
397
397
|
r: t.roundingValue
|
|
398
|
-
})), r =
|
|
398
|
+
})), r = i({
|
|
399
399
|
v: e.percentage,
|
|
400
400
|
s: "%",
|
|
401
401
|
r: t.roundingPercentage
|
|
@@ -432,13 +432,13 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
432
432
|
series: G.value,
|
|
433
433
|
config: j.value
|
|
434
434
|
}, E.value = t, k.value = t, A.value = n;
|
|
435
|
-
let r = G.value[t],
|
|
436
|
-
if (
|
|
435
|
+
let r = G.value[t], a = j.value.style.chart.tooltip.customFormat;
|
|
436
|
+
if (ce(a) && ue(() => a({
|
|
437
437
|
seriesIndex: t,
|
|
438
438
|
datapoint: e,
|
|
439
439
|
series: G.value,
|
|
440
440
|
config: j.value
|
|
441
|
-
}))) Nt.value =
|
|
441
|
+
}))) Nt.value = a({
|
|
442
442
|
seriesIndex: t,
|
|
443
443
|
datapoint: e,
|
|
444
444
|
series: G.value,
|
|
@@ -449,7 +449,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
449
449
|
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${j.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<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="${r.color}" />${jt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Tn({
|
|
450
450
|
showVal: j.value.style.chart.tooltip.showValue,
|
|
451
451
|
showPercentage: j.value.style.chart.tooltip.showPercentage,
|
|
452
|
-
val: `<span>${
|
|
452
|
+
val: `<span>${le(j.value.style.chart.layout.labels.dataLabels.formatter, r.value, i({
|
|
453
453
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
454
454
|
v: r.value,
|
|
455
455
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -458,7 +458,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
458
458
|
datapoint: e,
|
|
459
459
|
seriesIndex: t
|
|
460
460
|
})}</span>`,
|
|
461
|
-
percentage:
|
|
461
|
+
percentage: i({
|
|
462
462
|
v: r.value / W.value * 100,
|
|
463
463
|
s: "%",
|
|
464
464
|
r: j.value.style.chart.tooltip.roundingPercentage
|
|
@@ -476,7 +476,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
476
476
|
})), Z = s(() => {
|
|
477
477
|
let e = [
|
|
478
478
|
" <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>",
|
|
479
|
-
|
|
479
|
+
i({
|
|
480
480
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
481
481
|
v: W.value,
|
|
482
482
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -488,7 +488,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
488
488
|
color: e.color,
|
|
489
489
|
name: e.name
|
|
490
490
|
},
|
|
491
|
-
|
|
491
|
+
i({
|
|
492
492
|
p: j.value.style.chart.layout.labels.dataLabels.prefix,
|
|
493
493
|
v: X.value.body[t],
|
|
494
494
|
s: j.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -526,7 +526,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
526
526
|
[e.name],
|
|
527
527
|
[X.value.body[t]],
|
|
528
528
|
[isNaN(X.value.body[t] / W.value) ? "-" : X.value.body[t] / W.value * 100]
|
|
529
|
-
]), n =
|
|
529
|
+
]), n = ie([
|
|
530
530
|
[j.value.style.chart.title.text],
|
|
531
531
|
[j.value.style.chart.title.subtitle.text],
|
|
532
532
|
[
|
|
@@ -685,8 +685,8 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
685
685
|
}
|
|
686
686
|
let a = k.value;
|
|
687
687
|
a === null || a < 0 || a >= G.value.length ? a = n ? 0 : G.value.length - 1 : n ? (a += 1, a >= G.value.length && (a = 0)) : t && (--a, a < 0 && (a = G.value.length - 1));
|
|
688
|
-
let
|
|
689
|
-
|
|
688
|
+
let ee = G.value[a];
|
|
689
|
+
ee && (Yn(a), On(ee, a, "keyboard"));
|
|
690
690
|
}
|
|
691
691
|
function Yn(e) {
|
|
692
692
|
if (!Number.isFinite(e) || !P.value) return;
|
|
@@ -717,16 +717,16 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
717
717
|
toggleFullscreen: An,
|
|
718
718
|
toggleLabels: Nn,
|
|
719
719
|
copyAlt: Gn
|
|
720
|
-
}), (e,
|
|
720
|
+
}), (e, n) => (_(), u("div", {
|
|
721
721
|
ref_key: "ringsChart",
|
|
722
722
|
ref: D,
|
|
723
723
|
class: m(`vue-data-ui-component vue-ui-rings ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
724
724
|
style: g(`font-family:${j.value.style.fontFamily};text-align:center;width:100%;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
725
725
|
id: `rings_${w.value}`,
|
|
726
|
-
onMouseleave:
|
|
726
|
+
onMouseleave: n[2] ||= (e) => {
|
|
727
727
|
E.value = null, T.value = !1, b($t)(!1);
|
|
728
728
|
},
|
|
729
|
-
onMouseenter:
|
|
729
|
+
onMouseenter: n[3] ||= () => b($t)(!0)
|
|
730
730
|
}, [
|
|
731
731
|
d("div", {
|
|
732
732
|
id: `chart-instructions-${w.value}`,
|
|
@@ -946,7 +946,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
946
946
|
id: `gradient_${w.value}_${t}`
|
|
947
947
|
}, [d("stop", {
|
|
948
948
|
offset: "0%",
|
|
949
|
-
"stop-color": b(
|
|
949
|
+
"stop-color": b(re)(b(r)(e.color, .05), 100 - j.value.style.chart.layout.rings.gradient.intensity)
|
|
950
950
|
}, null, 8, at), d("stop", {
|
|
951
951
|
offset: "100%",
|
|
952
952
|
"stop-color": e.color
|
|
@@ -955,7 +955,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
955
955
|
seriesIndex: t.absoluteIndex,
|
|
956
956
|
patternId: `pattern_${w.value}_${t.absoluteIndex}`
|
|
957
957
|
}), void 0, !0)]))), 256))])) : l("", !0),
|
|
958
|
-
(_(!0), u(Fe, null, We(G.value, (
|
|
958
|
+
(_(!0), u(Fe, null, We(G.value, (n, r) => (_(), u("g", null, [
|
|
959
959
|
d("circle", {
|
|
960
960
|
class: m({
|
|
961
961
|
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
@@ -965,8 +965,8 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
965
965
|
style: g(`animation-delay:${r * 100}ms`),
|
|
966
966
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
967
967
|
cx: F.value.x,
|
|
968
|
-
cy: J(
|
|
969
|
-
r: q(
|
|
968
|
+
cy: J(n, r),
|
|
969
|
+
r: q(n),
|
|
970
970
|
fill: j.value.style.chart.layout.rings.gradient.underlayerColor
|
|
971
971
|
}, null, 14, ct),
|
|
972
972
|
d("circle", {
|
|
@@ -978,11 +978,11 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
978
978
|
}),
|
|
979
979
|
style: g(`animation-delay:${r * 100}ms`),
|
|
980
980
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
981
|
-
"stroke-width":
|
|
981
|
+
"stroke-width": n.strokeWidth < .5 ? .5 : n.strokeWidth,
|
|
982
982
|
cx: F.value.x,
|
|
983
|
-
cy: J(
|
|
984
|
-
r: q(
|
|
985
|
-
fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${r})` :
|
|
983
|
+
cy: J(n, r),
|
|
984
|
+
r: q(n),
|
|
985
|
+
fill: j.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${r})` : n.color
|
|
986
986
|
}, null, 14, lt),
|
|
987
987
|
e.$slots.pattern ? (_(), u("circle", {
|
|
988
988
|
key: 0,
|
|
@@ -994,27 +994,27 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
994
994
|
}),
|
|
995
995
|
style: g(`animation-delay:${r * 100}ms`),
|
|
996
996
|
stroke: j.value.style.chart.layout.rings.stroke,
|
|
997
|
-
"stroke-width":
|
|
997
|
+
"stroke-width": n.strokeWidth < .5 ? .5 : n.strokeWidth,
|
|
998
998
|
cx: F.value.x,
|
|
999
|
-
cy: J(
|
|
1000
|
-
r: q(
|
|
1001
|
-
fill: `url(#pattern_${w.value}_${
|
|
999
|
+
cy: J(n, r),
|
|
1000
|
+
r: q(n),
|
|
1001
|
+
fill: `url(#pattern_${w.value}_${n.absoluteIndex})`
|
|
1002
1002
|
}, null, 14, ut)) : l("", !0),
|
|
1003
1003
|
d("circle", {
|
|
1004
1004
|
stroke: "none",
|
|
1005
1005
|
cx: F.value.x,
|
|
1006
|
-
cy: J(
|
|
1007
|
-
r: q(
|
|
1006
|
+
cy: J(n, r),
|
|
1007
|
+
r: q(n),
|
|
1008
1008
|
fill: "transparent",
|
|
1009
|
-
onMouseenter: (e) => On(
|
|
1010
|
-
onMouseleave: (e) => wn(
|
|
1011
|
-
onClick: (e) => Cn(
|
|
1009
|
+
onMouseenter: (e) => On(n, r, "pointer"),
|
|
1010
|
+
onMouseleave: (e) => wn(n, r),
|
|
1011
|
+
onClick: (e) => Cn(n, r)
|
|
1012
1012
|
}, null, 40, dt),
|
|
1013
1013
|
R.value.showLabels ? (_(), u(Fe, { key: 1 }, [
|
|
1014
1014
|
d("rect", {
|
|
1015
|
-
x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(
|
|
1016
|
-
y: Y(
|
|
1017
|
-
width: Math.abs(F.value.x - Y(
|
|
1015
|
+
x: j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? Y(n, r).x : F.value.x,
|
|
1016
|
+
y: Y(n, r).y - j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth / 2,
|
|
1017
|
+
width: Math.abs(F.value.x - Y(n, r).x),
|
|
1018
1018
|
height: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
1019
1019
|
fill: j.value.style.chart.layout.labels.dataLabels.markers.stroke,
|
|
1020
1020
|
rx: j.value.style.chart.layout.labels.dataLabels.markers.strokeWidth,
|
|
@@ -1026,10 +1026,10 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1026
1026
|
})
|
|
1027
1027
|
}, null, 10, ft),
|
|
1028
1028
|
d("circle", {
|
|
1029
|
-
cx: Y(
|
|
1030
|
-
cy: Y(
|
|
1029
|
+
cx: Y(n, r).x,
|
|
1030
|
+
cy: Y(n, r).y,
|
|
1031
1031
|
r: j.value.style.chart.layout.labels.dataLabels.markers.radius,
|
|
1032
|
-
fill:
|
|
1032
|
+
fill: n.color,
|
|
1033
1033
|
stroke: j.value.style.chart.backgroundColor,
|
|
1034
1034
|
class: m({
|
|
1035
1035
|
"vue-ui-rings-item": C.value && j.value.useCssAnimation,
|
|
@@ -1039,8 +1039,8 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1039
1039
|
})
|
|
1040
1040
|
}, null, 10, pt),
|
|
1041
1041
|
d("text", {
|
|
1042
|
-
x: Y(
|
|
1043
|
-
y: Y(
|
|
1042
|
+
x: Y(n, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX : j.value.style.chart.layout.labels.dataLabels.offsetX),
|
|
1043
|
+
y: Y(n, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1044
1044
|
"text-anchor": j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? "end" : "start",
|
|
1045
1045
|
"font-size": j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1046
1046
|
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
@@ -1051,15 +1051,15 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1051
1051
|
"vue-ui-rings-shadow": j.value.style.chart.layout.rings.useShadow,
|
|
1052
1052
|
"vue-ui-rings-blur": E.value !== null && E.value !== r
|
|
1053
1053
|
}),
|
|
1054
|
-
onMouseenter: (e) => On(
|
|
1055
|
-
onMouseleave: (e) => wn(
|
|
1056
|
-
onClick: (e) => Cn(
|
|
1057
|
-
innerHTML: b(
|
|
1058
|
-
content: En(
|
|
1054
|
+
onMouseenter: (e) => On(n, r, "pointer"),
|
|
1055
|
+
onMouseleave: (e) => wn(n, r),
|
|
1056
|
+
onClick: (e) => Cn(n, r),
|
|
1057
|
+
innerHTML: b(t)({
|
|
1058
|
+
content: En(n),
|
|
1059
1059
|
fontSize: j.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1060
1060
|
fill: j.value.style.chart.layout.labels.dataLabels.color,
|
|
1061
|
-
x: Y(
|
|
1062
|
-
y: Y(
|
|
1061
|
+
x: Y(n, r).x + (j.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -j.value.style.chart.layout.labels.dataLabels.offsetX - 6 - j.value.style.chart.layout.labels.dataLabels.markers.radius : j.value.style.chart.layout.labels.dataLabels.offsetX + 6 + j.value.style.chart.layout.labels.dataLabels.markers.radius),
|
|
1062
|
+
y: Y(n, r).y + j.value.style.chart.layout.labels.dataLabels.fontSize / 3,
|
|
1063
1063
|
translateY: !0
|
|
1064
1064
|
})
|
|
1065
1065
|
}, null, 42, mt)
|
|
@@ -1087,7 +1087,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1087
1087
|
legendSet: U.value,
|
|
1088
1088
|
config: xn.value,
|
|
1089
1089
|
isCursorPointer: M.value,
|
|
1090
|
-
onClickMarker:
|
|
1090
|
+
onClickMarker: n[0] ||= ({ legend: e }) => V(e.uid)
|
|
1091
1091
|
}, Le({
|
|
1092
1092
|
item: x(({ legend: e, index: t }) => [b(N) ? l("", !0) : (_(), u("div", {
|
|
1093
1093
|
key: 0,
|
|
@@ -1230,7 +1230,7 @@ var Ze = /* @__PURE__ */ e({ default: () => bt }), Qe = ["id"], $e = ["id"], et
|
|
|
1230
1230
|
fn: x(() => [d("button", {
|
|
1231
1231
|
tabindex: "0",
|
|
1232
1232
|
class: "vue-ui-user-options-button",
|
|
1233
|
-
onClick:
|
|
1233
|
+
onClick: n[1] ||= (e) => kn(j.value.userOptions.callbacks.csv),
|
|
1234
1234
|
style: g({ cursor: M.value ? "pointer" : "default" })
|
|
1235
1235
|
}, [ze(b(xt), {
|
|
1236
1236
|
name: "fileCsv",
|