vue-data-ui 3.22.6 → 3.22.8
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-Ds4xmpiQ.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-BHHNsVVP.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-pcgwlYr2.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-ClIGOuoX.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-C-p0ilWB.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-16uF1ayB.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-CVJfsfwL.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_y5qDdm.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-JqW18y5I.js} +49 -30
- package/dist/{package-DyQ_PQis.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +23 -23
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/{vue-ui-3d-bar-BAH0jNtT.js → vue-ui-3d-bar-B3HxJmDI.js} +124 -124
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-CfJXeAOE.js} +6 -6
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/{vue-ui-chestnut-Cx8T3NEl.js → vue-ui-chestnut-RfWMGUD-.js} +114 -114
- package/dist/{vue-ui-chord-B-sauvLo.js → vue-ui-chord-Db1O_diJ.js} +57 -57
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DL3zq0F2.js} +37 -37
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-BuTd6dt4.js} +224 -224
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-C3Rt6j-I.js} +458 -458
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +1510 -0
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-BTUNfWb7.js} +122 -122
- package/dist/vue-ui-funnel-BhoHzyHa.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DJ2uNYcN.js} +263 -263
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-Cf4NqvrO.js} +226 -226
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-ovHu_Sc9.js} +21 -21
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-DDxEj-qe.js} +7 -7
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-Npqnvb1r.js} +282 -282
- package/dist/vue-ui-history-plot-C3Kjy2tc.js +1715 -0
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-DlVh6hwx.js} +27 -27
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DBpHCFxa.js → vue-ui-parallel-coordinate-plot-DSp_cwU-.js} +57 -57
- package/dist/vue-ui-quadrant-ByVg-NBs.js +1978 -0
- package/dist/{vue-ui-quick-chart-so_8PzvS.js → vue-ui-quick-chart-WMzSJxGZ.js} +188 -188
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-DE-me6OC.js} +64 -64
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/vue-ui-relation-circle-L7-dTqet.js +924 -0
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-D4NnZ1mg.js} +17 -17
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-C38ysZ-c.js} +21 -21
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-B03ndcUe.js} +80 -80
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DgPc4vPT.js} +7 -7
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-D02ff7ZI.js} +115 -115
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-DlTfNQj8.js} +464 -464
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +662 -0
- package/dist/vue-ui-stackbar-BVdApDnY.js +2332 -0
- package/dist/vue-ui-stackline-QzQQ7lTy.js +2419 -0
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Q3brrivC.js} +68 -68
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-Q6BHPKUn.js} +199 -199
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-Bg0RR6m4.js} +26 -26
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-BdzKpoRj.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-DWb69ofh.js} +17 -17
- package/dist/{vue-ui-treemap-B03c4RIy.js → vue-ui-treemap-uUz07Prw.js} +401 -401
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-DTfvWYA7.js} +137 -137
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-DqfljAqH.js} +40 -40
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-Bvgy2do1.js} +1598 -1596
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-D5KsuNR2.js} +259 -259
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-BfgeE3TW.js} +440 -437
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +0 -1238
- package/dist/vue-ui-bullet-C_oBS1cr.js +0 -710
- package/dist/vue-ui-bump-BZB1Na8h.js +0 -1249
- package/dist/vue-ui-candlestick-8d_1xO8X.js +0 -1826
- package/dist/vue-ui-carousel-table-BfZNcwmY.js +0 -455
- package/dist/vue-ui-circle-pack-BLh8HnGK.js +0 -1608
- package/dist/vue-ui-donut-evolution-D1k4u6cA.js +0 -1510
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-horizontal-bar-CwB4sc6M.js +0 -1683
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-nested-donuts-wfesrzle.js +0 -1487
- package/dist/vue-ui-onion-B8-psLbF.js +0 -1200
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-rating-CKWHDKOT.js +0 -343
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-ridgeline-DVbYznRz.js +0 -1622
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-stackline-C0NHBUaE.js +0 -2416
- package/dist/vue-ui-strip-plot-_6LL45i9.js +0 -1729
- package/dist/vue-ui-waffle-afa8HSxz.js +0 -1362
- package/dist/vue-ui-world-CqS-HhZl.js +0 -14264
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Dt as n, Et as r, G as i, J as a, Kt as o, Mt as s, Rt as c, S as l, T as u, Wt as d, Z as f, b as p, d as m, dt as h, i as g, kt as ee, p as te, q as _, t as ne, u as v, v as re } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as ie } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as ae } from "./usePrinter-
|
|
4
|
+
import { t as ae } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ce } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as le } from "./useNestedProp-
|
|
7
|
+
import { t as le } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as de } from "./img-
|
|
10
|
-
import { n as fe } from "./Title-
|
|
9
|
+
import { t as de } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as fe } from "./Title-CcNiYzEo.js";
|
|
11
11
|
import { t as pe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as me } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as he } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -235,7 +235,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
235
235
|
},
|
|
236
236
|
emits: ["selectDatapoint", "copyAlt"],
|
|
237
237
|
setup(e, { expose: pe, emit: Me }) {
|
|
238
|
-
let Fn = T(() => import("./BaseIcon-
|
|
238
|
+
let Fn = T(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), In = T(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), Ln = T(() => import("./DataTable-D9NvewTT.js")), Rn = T(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), zn = T(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Bn = T(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Vn = T(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_3d_bar: Hn } = ie(), { isThemeValid: Un, warnInvalidTheme: Wn } = ue(), I = e, Gn = Me, Kn = b(() => !!I.dataset && Object.keys(I.dataset).length), L = A(i()), R = A(null), z = A(!1), qn = A(0), Jn = A(0), Yn = A(null), Xn = A(null), Zn = A(null), Qn = A(null), B = A(!1), $n = A(null), er = A(null), tr = A(!1), nr = A(!1), V = A(null), H = A(""), U = A(lr()), rr = b(() => U.value.userOptions.useCursorPointer), ir = b(() => o({
|
|
239
239
|
defaultConfig: {
|
|
240
240
|
customPalette: [
|
|
241
241
|
"#808080",
|
|
@@ -299,7 +299,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
299
299
|
}]
|
|
300
300
|
}
|
|
301
301
|
] },
|
|
302
|
-
skeletonConfig:
|
|
302
|
+
skeletonConfig: o({
|
|
303
303
|
defaultConfig: U.value,
|
|
304
304
|
userConfig: ir.value
|
|
305
305
|
})
|
|
@@ -308,19 +308,19 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
308
308
|
let e = le({
|
|
309
309
|
userConfig: I.config,
|
|
310
310
|
defaultConfig: Hn
|
|
311
|
-
}),
|
|
312
|
-
if (!
|
|
311
|
+
}), t = e.theme;
|
|
312
|
+
if (!t) return e;
|
|
313
313
|
if (!Un.value(e)) return Wn(e), e;
|
|
314
|
-
let
|
|
315
|
-
userConfig: ye[
|
|
314
|
+
let n = le({
|
|
315
|
+
userConfig: ye[t] || I.config,
|
|
316
316
|
defaultConfig: e
|
|
317
|
-
}),
|
|
317
|
+
}), r = le({
|
|
318
318
|
userConfig: I.config,
|
|
319
|
-
defaultConfig:
|
|
319
|
+
defaultConfig: n
|
|
320
320
|
});
|
|
321
321
|
return {
|
|
322
|
-
...
|
|
323
|
-
customPalette:
|
|
322
|
+
...r,
|
|
323
|
+
customPalette: r.customPalette.length ? r.customPalette : d[t] || s
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
326
|
ke(() => I.config, (e) => {
|
|
@@ -330,7 +330,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
330
330
|
elementId: `3d_bar_${L.value}`,
|
|
331
331
|
fileName: U.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
332
332
|
options: U.value.userOptions.print
|
|
333
|
-
}), mr = b(() =>
|
|
333
|
+
}), mr = b(() => l(U.value.customPalette)), K = A({ showTable: U.value.table.show });
|
|
334
334
|
ke(U, () => {
|
|
335
335
|
K.value = { showTable: U.value.table.show };
|
|
336
336
|
}, { immediate: !0 });
|
|
@@ -345,19 +345,19 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
345
345
|
perspective: U.value.style.chart.box.dimensions.perspective
|
|
346
346
|
})), Y = b(() => {
|
|
347
347
|
if (q.value) {
|
|
348
|
-
let e = G.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0),
|
|
349
|
-
...
|
|
350
|
-
seriesIndex:
|
|
351
|
-
id:
|
|
352
|
-
proportion: (
|
|
353
|
-
color:
|
|
354
|
-
breakdown:
|
|
355
|
-
})).sort((e, t) => t.value - e.value),
|
|
356
|
-
for (let e = 0; e <
|
|
357
|
-
...
|
|
358
|
-
fill: Sr(
|
|
359
|
-
}),
|
|
360
|
-
return
|
|
348
|
+
let e = G.value.series.map((e) => e.value || 0).reduce((e, t) => e + t, 0), t = G.value.series.map((t, n) => ({
|
|
349
|
+
...t,
|
|
350
|
+
seriesIndex: n,
|
|
351
|
+
id: i(),
|
|
352
|
+
proportion: (t.value || 0) / e,
|
|
353
|
+
color: p(t.color) || mr.value[n] || s[n] || s[n % s.length],
|
|
354
|
+
breakdown: t.breakdown ? t.breakdown.sort((e, t) => t.value - e.value) : null
|
|
355
|
+
})).sort((e, t) => t.value - e.value), n = [], r = 0;
|
|
356
|
+
for (let e = 0; e < t.length; e += 1) n.push({
|
|
357
|
+
...t[e],
|
|
358
|
+
fill: Sr(r, t[e].proportion, t[e].breakdown, t[e].color)
|
|
359
|
+
}), r += t[e].proportion;
|
|
360
|
+
return n;
|
|
361
361
|
}
|
|
362
362
|
return null;
|
|
363
363
|
}), X = b(() => {
|
|
@@ -385,32 +385,32 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
385
385
|
});
|
|
386
386
|
let yr = b(() => !!U.value.debug);
|
|
387
387
|
function br() {
|
|
388
|
-
if (
|
|
388
|
+
if (ee(I.dataset) ? t({
|
|
389
389
|
componentName: "VueUi3dBar",
|
|
390
390
|
type: "dataset",
|
|
391
391
|
debug: yr.value
|
|
392
|
-
}) : I.dataset.series ? I.dataset.series.forEach((e,
|
|
392
|
+
}) : I.dataset.series ? I.dataset.series.forEach((e, n) => {
|
|
393
393
|
h({
|
|
394
394
|
datasetObject: e,
|
|
395
395
|
requiredAttributes: ["name", "value"]
|
|
396
396
|
}).forEach((e) => {
|
|
397
|
-
|
|
397
|
+
t({
|
|
398
398
|
componentName: "VueUi3dBar",
|
|
399
399
|
type: "datasetSerieAttribute",
|
|
400
400
|
property: e,
|
|
401
|
-
index:
|
|
401
|
+
index: n,
|
|
402
402
|
debug: yr.value
|
|
403
403
|
});
|
|
404
|
-
}), e.breakdown && e.breakdown.forEach((e,
|
|
404
|
+
}), e.breakdown && e.breakdown.forEach((e, r) => {
|
|
405
405
|
h({
|
|
406
406
|
datasetObject: e,
|
|
407
407
|
requiredAttributes: ["name", "value"]
|
|
408
408
|
}).forEach((e) => {
|
|
409
|
-
|
|
409
|
+
t({
|
|
410
410
|
componentName: "VueUi3dBar",
|
|
411
411
|
type: "datasetSerieAttribute",
|
|
412
412
|
property: e,
|
|
413
|
-
index: `${
|
|
413
|
+
index: `${n} - ${r}`,
|
|
414
414
|
debug: yr.value
|
|
415
415
|
});
|
|
416
416
|
});
|
|
@@ -419,7 +419,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
419
419
|
datasetObject: I.dataset,
|
|
420
420
|
requiredAttributes: ["percentage"]
|
|
421
421
|
}).forEach((e) => {
|
|
422
|
-
|
|
422
|
+
t({
|
|
423
423
|
componentName: "VueUi3dBar",
|
|
424
424
|
type: "datasetAttribute",
|
|
425
425
|
property: e,
|
|
@@ -440,54 +440,54 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
let xr = b(() => J.value.width / 4);
|
|
443
|
-
function Sr(e, t,
|
|
444
|
-
let
|
|
445
|
-
return
|
|
443
|
+
function Sr(e, t, i, a) {
|
|
444
|
+
let o = J.value.height - J.value.bottom - J.value.top - J.value.perspective * 2, { width: s, height: c, bottom: l, right: u, left: d, perspective: f } = J.value, p = q.value ? s / 4 : s / 2, m = p * 2 + d, h = l + o * e, g = c - h - f - o * t / 2, ee = g > J.value.height / 2 ? "top" : "bottom", te = c * .25, _ = !!i, ne = null, v = null;
|
|
445
|
+
return _ && (i = i.map((e, t) => ({
|
|
446
446
|
...e,
|
|
447
447
|
value: e.value || 0,
|
|
448
|
-
color:
|
|
449
|
-
})),
|
|
450
|
-
donut:
|
|
451
|
-
miniDonut:
|
|
452
|
-
donutR:
|
|
453
|
-
CENTER_X:
|
|
448
|
+
color: r(a, t / i.length)
|
|
449
|
+
})), ne = n({ series: i }, s / 2 + s / 5, ee === "top" ? g - te : g + te, s / 10, s / 10, 1.99999, 2, 1, 360, 105.25, s / 20), v = n({ series: i }, s - m + s / 14, c - h - f - o * t / 2, s / 40, s / 40, 1.99999, 2, 1, 360, 105.25, s / 40)), {
|
|
450
|
+
donut: ne,
|
|
451
|
+
miniDonut: v,
|
|
452
|
+
donutR: s / 20,
|
|
453
|
+
CENTER_X: p,
|
|
454
454
|
sidePointer: {
|
|
455
|
-
x:
|
|
456
|
-
x2:
|
|
457
|
-
xText:
|
|
458
|
-
y:
|
|
459
|
-
topY:
|
|
460
|
-
height:
|
|
455
|
+
x: s - m,
|
|
456
|
+
x2: s - m + s / 14,
|
|
457
|
+
xText: s - m + s / 9,
|
|
458
|
+
y: c - h - f - o * t / 2,
|
|
459
|
+
topY: c - h - f - o * t,
|
|
460
|
+
height: o * t
|
|
461
461
|
},
|
|
462
462
|
apexBottom: {
|
|
463
|
-
y:
|
|
464
|
-
x:
|
|
463
|
+
y: c - h,
|
|
464
|
+
x: p
|
|
465
465
|
},
|
|
466
466
|
apexTop: {
|
|
467
|
-
y:
|
|
468
|
-
x:
|
|
467
|
+
y: c - h - o * t,
|
|
468
|
+
x: p
|
|
469
469
|
},
|
|
470
|
-
right: `M${
|
|
471
|
-
left: `M${
|
|
472
|
-
liningTop: `M${
|
|
473
|
-
liningTopShade: `M${
|
|
474
|
-
top: `M${
|
|
475
|
-
tubeTop: `M${
|
|
476
|
-
bottomTubeTop: `M ${
|
|
470
|
+
right: `M${p},${c - h} ${p},${c - h - o * t} ${s - m},${c - h - f - o * t} ${s - m},${c - h - f}Z`,
|
|
471
|
+
left: `M${p},${c - h} ${p},${c - h - o * t} ${d}, ${c - h - f - o * t} ${d},${c - h - f}Z`,
|
|
472
|
+
liningTop: `M${d},${c - h - f - o * t} ${p},${c - h - o * t} ${s - m},${c - h - f - o * t}`,
|
|
473
|
+
liningTopShade: `M${d},${c - h - f - o * t - .5} ${p},${c - h - o * t - .5} ${s - m},${c - h - f - o * t - .5}`,
|
|
474
|
+
top: `M${p},${c - h - o * t} ${d},${c - h - f - o * t} ${p},${c - h - f * 2 - o * t} ${s - m},${c - h - f - o * t} Z`,
|
|
475
|
+
tubeTop: `M${d},${c - h - o * t - f} C ${d},${c - h - o * t - f * 2.5} ${s - m},${c - h - o * t - f * 2.5} ${s - m},${c - h - o * t - f} C ${s - m},${c - h - o * t + f / 2} ${d},${c - h - o * t + f / 2} ${d},${c - h - o * t - f}`,
|
|
476
|
+
bottomTubeTop: `M ${s - m - .5},${c - h - f} C ${s - m - .5},${c - h + f / 2} ${d},${c - h + f / 2} ${d + .5},${c - h - f}`,
|
|
477
477
|
tubeBody: `M
|
|
478
|
-
${
|
|
479
|
-
C ${
|
|
480
|
-
${
|
|
481
|
-
${
|
|
482
|
-
L${
|
|
478
|
+
${d},${c - h - o * t - f}
|
|
479
|
+
C ${d},${c - h - o * t + f / 2}
|
|
480
|
+
${s - m},${c - h - o * t + f / 2}
|
|
481
|
+
${s - m},${c - h - o * t - f}
|
|
482
|
+
L${s - m},${c - h - f}
|
|
483
483
|
C
|
|
484
|
-
${
|
|
485
|
-
${
|
|
486
|
-
${
|
|
484
|
+
${s - m},${c - h + f / 2}
|
|
485
|
+
${d},${c - h + f / 2}
|
|
486
|
+
${d},${c - h - f}Z`
|
|
487
487
|
};
|
|
488
488
|
}
|
|
489
489
|
let Cr = b(() => {
|
|
490
|
-
let e =
|
|
490
|
+
let e = re(_r.value / 100), t = J.value.height - J.value.bottom - J.value.top - J.value.perspective * 2, { width: n, height: r, bottom: i, right: a, left: o, perspective: s } = J.value, c = q.value ? n / 4 : n / 2, l = q.value ? c * 2 + o : a, u = i + t * 0;
|
|
491
491
|
return {
|
|
492
492
|
right: `M${c},${r - u} ${c},${r - u - t * e} ${n - l},${r - u - s - t * e} ${n - l},${r - u - s}Z`,
|
|
493
493
|
left: `M${c},${r - u} ${c},${r - u - t * e} ${o}, ${r - u - s - t * e} ${o},${r - u - s}Z`,
|
|
@@ -542,7 +542,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
542
542
|
color: e.color
|
|
543
543
|
}, ...e.breakdown.map((t, n) => ({
|
|
544
544
|
name: t.name,
|
|
545
|
-
color:
|
|
545
|
+
color: r(e.color, n / e.breakdown.length)
|
|
546
546
|
}))] : {
|
|
547
547
|
name: e.name,
|
|
548
548
|
color: e.color
|
|
@@ -559,7 +559,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
559
559
|
[e.name],
|
|
560
560
|
[kr.value.body[n]],
|
|
561
561
|
[isNaN(kr.value.body[n] / t) ? "-" : kr.value.body[n] / t * 100]
|
|
562
|
-
]), r =
|
|
562
|
+
]), r = u([
|
|
563
563
|
[U.value.style.chart.title.text],
|
|
564
564
|
[U.value.style.chart.title.subtitle.text],
|
|
565
565
|
[
|
|
@@ -568,7 +568,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
568
568
|
["%"]
|
|
569
569
|
]
|
|
570
570
|
].concat(n));
|
|
571
|
-
e ? e(r) :
|
|
571
|
+
e ? e(r) : f({
|
|
572
572
|
csvContent: r,
|
|
573
573
|
title: U.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
574
574
|
});
|
|
@@ -597,7 +597,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
597
597
|
};
|
|
598
598
|
let e = Y.value.reduce((e, t) => e + t.value, 0), t = [
|
|
599
599
|
" <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>",
|
|
600
|
-
|
|
600
|
+
a({
|
|
601
601
|
p: U.value.style.chart.legend.prefix,
|
|
602
602
|
v: e,
|
|
603
603
|
s: U.value.style.chart.legend.suffix,
|
|
@@ -611,13 +611,13 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
611
611
|
color: t.color,
|
|
612
612
|
name: t.name
|
|
613
613
|
},
|
|
614
|
-
|
|
614
|
+
a({
|
|
615
615
|
p: U.value.style.chart.legend.prefix,
|
|
616
616
|
v: r,
|
|
617
617
|
s: U.value.style.chart.legend.suffix,
|
|
618
618
|
r: U.value.table.td.roundingValue
|
|
619
619
|
}),
|
|
620
|
-
isNaN(r / e) ? "-" :
|
|
620
|
+
isNaN(r / e) ? "-" : a({
|
|
621
621
|
v: r / e * 100,
|
|
622
622
|
s: "%",
|
|
623
623
|
r: U.value.table.td.roundingPercentage
|
|
@@ -759,12 +759,12 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
759
759
|
}
|
|
760
760
|
function Gr(e) {
|
|
761
761
|
if (!e) return "";
|
|
762
|
-
let t =
|
|
762
|
+
let t = a({
|
|
763
763
|
p: U.value.style.chart.legend.prefix,
|
|
764
764
|
v: e.value,
|
|
765
765
|
s: U.value.style.chart.legend.suffix,
|
|
766
766
|
r: U.value.style.chart.legend.roundingValue
|
|
767
|
-
}), n =
|
|
767
|
+
}), n = a({
|
|
768
768
|
v: e.proportion * 100,
|
|
769
769
|
s: "%",
|
|
770
770
|
r: U.value.style.chart.legend.roundingPercentage
|
|
@@ -1011,7 +1011,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1011
1011
|
w("div", Ie, [(k(), C("svg", {
|
|
1012
1012
|
ref_key: "svgRef",
|
|
1013
1013
|
ref: cr,
|
|
1014
|
-
xmlns: P(
|
|
1014
|
+
xmlns: P(ne),
|
|
1015
1015
|
class: Te({
|
|
1016
1016
|
"vue-data-ui-fullscreen--on": Er.value,
|
|
1017
1017
|
"vue-data-ui-fulscreen--off": !Er.value,
|
|
@@ -1037,31 +1037,31 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1037
1037
|
w("defs", null, [
|
|
1038
1038
|
w("radialGradient", { id: `gradient_top${L.value}` }, [w("stop", {
|
|
1039
1039
|
offset: "0%",
|
|
1040
|
-
"stop-color": P(
|
|
1040
|
+
"stop-color": P(c)(U.value.style.chart.backgroundColor, 0)
|
|
1041
1041
|
}, null, 8, Be), w("stop", {
|
|
1042
1042
|
offset: "100%",
|
|
1043
1043
|
"stop-color": U.value.style.chart.bar.color
|
|
1044
1044
|
}, null, 8, Ve)], 8, ze),
|
|
1045
1045
|
w("radialGradient", { id: `gradient_tube_top${L.value}` }, [w("stop", {
|
|
1046
1046
|
offset: "0%",
|
|
1047
|
-
"stop-color": P(
|
|
1047
|
+
"stop-color": P(c)(P(r)(U.value.style.chart.bar.color, .5), 80)
|
|
1048
1048
|
}, null, 8, Ue), w("stop", {
|
|
1049
1049
|
offset: "100%",
|
|
1050
|
-
"stop-color": P(
|
|
1050
|
+
"stop-color": P(c)(P(_)(U.value.style.chart.bar.color, .1), 80)
|
|
1051
1051
|
}, null, 8, We)], 8, He),
|
|
1052
1052
|
w("radialGradient", { id: `gradient_left${L.value}` }, [w("stop", {
|
|
1053
1053
|
offset: "0%",
|
|
1054
|
-
"stop-color": P(
|
|
1054
|
+
"stop-color": P(c)(U.value.style.chart.backgroundColor, 0)
|
|
1055
1055
|
}, null, 8, Ke), w("stop", {
|
|
1056
1056
|
offset: "100%",
|
|
1057
|
-
"stop-color": P(
|
|
1057
|
+
"stop-color": P(c)(U.value.style.chart.bar.color, 20)
|
|
1058
1058
|
}, null, 8, qe)], 8, Ge),
|
|
1059
1059
|
w("radialGradient", { id: `gradient_right${L.value}` }, [w("stop", {
|
|
1060
1060
|
offset: "0%",
|
|
1061
|
-
"stop-color": P(
|
|
1061
|
+
"stop-color": P(c)(U.value.style.chart.backgroundColor, 0)
|
|
1062
1062
|
}, null, 8, Ye), w("stop", {
|
|
1063
1063
|
offset: "100%",
|
|
1064
|
-
"stop-color": P(
|
|
1064
|
+
"stop-color": P(c)(U.value.style.chart.bar.color, 20)
|
|
1065
1065
|
}, null, 8, Xe)], 8, Je),
|
|
1066
1066
|
w("linearGradient", {
|
|
1067
1067
|
id: `gradient_tube_body${L.value}`,
|
|
@@ -1076,43 +1076,43 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1076
1076
|
}, null, 8, Qe),
|
|
1077
1077
|
w("stop", {
|
|
1078
1078
|
offset: "10%",
|
|
1079
|
-
"stop-color": P(
|
|
1079
|
+
"stop-color": P(c)(P(_)(U.value.style.chart.bar.color, .7), 100)
|
|
1080
1080
|
}, null, 8, $e),
|
|
1081
1081
|
w("stop", {
|
|
1082
1082
|
offset: "25%",
|
|
1083
|
-
"stop-color": P(
|
|
1083
|
+
"stop-color": P(c)(P(_)(U.value.style.chart.bar.color, .5), 100)
|
|
1084
1084
|
}, null, 8, et),
|
|
1085
1085
|
w("stop", {
|
|
1086
1086
|
offset: "75%",
|
|
1087
|
-
"stop-color": P(
|
|
1087
|
+
"stop-color": P(c)(U.value.style.chart.bar.color, 80)
|
|
1088
1088
|
}, null, 8, tt),
|
|
1089
1089
|
w("stop", {
|
|
1090
1090
|
offset: "100%",
|
|
1091
|
-
"stop-color": P(
|
|
1091
|
+
"stop-color": P(c)(P(r)(U.value.style.chart.bar.color, .7), 100)
|
|
1092
1092
|
}, null, 8, nt)
|
|
1093
1093
|
], 8, Ze)
|
|
1094
1094
|
]),
|
|
1095
1095
|
q.value ? (k(), C("defs", rt, [
|
|
1096
1096
|
(k(!0), C(y, null, j(Y.value, (e) => (k(), C("radialGradient", { id: `grad_top_${e.id}` }, [w("stop", {
|
|
1097
1097
|
offset: "0%",
|
|
1098
|
-
"stop-color": P(
|
|
1098
|
+
"stop-color": P(c)(P(r)(e.color, .5), 80)
|
|
1099
1099
|
}, null, 8, at), w("stop", {
|
|
1100
1100
|
offset: "100%",
|
|
1101
1101
|
"stop-color": e.color
|
|
1102
1102
|
}, null, 8, ot)], 8, it))), 256)),
|
|
1103
1103
|
(k(!0), C(y, null, j(Y.value, (e) => (k(), C("linearGradient", { id: `grad_left_${e.id}` }, [w("stop", {
|
|
1104
1104
|
offset: "0%",
|
|
1105
|
-
"stop-color": P(
|
|
1105
|
+
"stop-color": P(c)(e.color, 80)
|
|
1106
1106
|
}, null, 8, ct), w("stop", {
|
|
1107
1107
|
offset: "100%",
|
|
1108
|
-
"stop-color": P(
|
|
1108
|
+
"stop-color": P(c)(P(_)(e.color, .5), 100)
|
|
1109
1109
|
}, null, 8, lt)], 8, st))), 256)),
|
|
1110
1110
|
(k(!0), C(y, null, j(Y.value, (e) => (k(), C("linearGradient", { id: `grad_right_${e.id}` }, [w("stop", {
|
|
1111
1111
|
offset: "2%",
|
|
1112
|
-
"stop-color": P(
|
|
1112
|
+
"stop-color": P(c)(P(r)(e.color, .5), 100)
|
|
1113
1113
|
}, null, 8, dt), w("stop", {
|
|
1114
1114
|
offset: "100%",
|
|
1115
|
-
"stop-color": P(
|
|
1115
|
+
"stop-color": P(c)(e.color, 80)
|
|
1116
1116
|
}, null, 8, ft)], 8, ut))), 256)),
|
|
1117
1117
|
w("linearGradient", {
|
|
1118
1118
|
x1: "0%",
|
|
@@ -1136,7 +1136,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1136
1136
|
"font-weight": U.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
1137
1137
|
fill: U.value.style.chart.dataLabel.color,
|
|
1138
1138
|
"text-anchor": "middle"
|
|
1139
|
-
}, N(P(
|
|
1139
|
+
}, N(P(a)({
|
|
1140
1140
|
v: _r.value,
|
|
1141
1141
|
s: "%",
|
|
1142
1142
|
r: U.value.style.chart.dataLabel.rounding
|
|
@@ -1359,11 +1359,11 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1359
1359
|
}, [U.value.style.chart.legend.showDefault ? (k(), C("div", {
|
|
1360
1360
|
key: 0,
|
|
1361
1361
|
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${U.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${U.value.style.chart.legend.fontSize}px; color:${U.value.style.chart.legend.color}; font-weight:${U.value.style.chart.legend.bold ? "bold" : "normal"}`)
|
|
1362
|
-
}, N(P(
|
|
1362
|
+
}, N(P(g)(U.value.style.chart.dataLabel.formatter, t.value, `${t.name}: ${P(a)({
|
|
1363
1363
|
v: t.proportion * 100,
|
|
1364
1364
|
s: "%",
|
|
1365
1365
|
r: U.value.style.chart.legend.roundingPercentage
|
|
1366
|
-
})} (${P(
|
|
1366
|
+
})} (${P(a)({
|
|
1367
1367
|
p: U.value.style.chart.legend.prefix,
|
|
1368
1368
|
v: t.value,
|
|
1369
1369
|
s: U.value.style.chart.legend.suffix,
|
|
@@ -1380,7 +1380,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1380
1380
|
t.fill.donut && Z.value === t.id ? (k(), C("g", Ht, [
|
|
1381
1381
|
(k(!0), C(y, null, j(t.fill.donut, (e, n) => (k(), C("g", null, [wr(e, t.fill.donut, !0) > 6 ? (k(), C("path", {
|
|
1382
1382
|
key: 0,
|
|
1383
|
-
d: P(
|
|
1383
|
+
d: P(te)(e, {
|
|
1384
1384
|
x: e.cx,
|
|
1385
1385
|
y: e.cy
|
|
1386
1386
|
}, 0, 8, !1, !0, 10),
|
|
@@ -1399,13 +1399,13 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1399
1399
|
"stroke-width": 1
|
|
1400
1400
|
}, null, 8, Wt))), 256)),
|
|
1401
1401
|
(k(!0), C(y, null, j(t.fill.donut, (e, n) => (k(), C("g", null, [wr(e, t.fill.donut, !0) > 6 ? (k(), C("g", Gt, [w("text", {
|
|
1402
|
-
"text-anchor": P(
|
|
1403
|
-
x: P(
|
|
1404
|
-
y: P(
|
|
1402
|
+
"text-anchor": P(v)(e, !0, 0).anchor,
|
|
1403
|
+
x: P(v)(e, !0, 2).x,
|
|
1404
|
+
y: P(m)(e, 12, 12),
|
|
1405
1405
|
fill: U.value.style.chart.legend.color,
|
|
1406
1406
|
"font-size": U.value.style.chart.legend.fontSize / 1.5,
|
|
1407
1407
|
"font-weight": U.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1408
|
-
}, N(P(
|
|
1408
|
+
}, N(P(g)(U.value.style.chart.dataLabel.formatter, e.value, `${wr(e, t.fill.donut)} (${P(a)({
|
|
1409
1409
|
p: U.value.style.chart.legend.prefix,
|
|
1410
1410
|
v: e.value,
|
|
1411
1411
|
s: U.value.style.chart.legend.suffix,
|
|
@@ -1415,9 +1415,9 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1415
1415
|
seriesIndex: n,
|
|
1416
1416
|
type: "donutDatapoint"
|
|
1417
1417
|
})), 9, Kt), w("text", {
|
|
1418
|
-
"text-anchor": P(
|
|
1419
|
-
x: P(
|
|
1420
|
-
y: P(
|
|
1418
|
+
"text-anchor": P(v)(e).anchor,
|
|
1419
|
+
x: P(v)(e, !0, 2).x,
|
|
1420
|
+
y: P(m)(e, 12, 12) + U.value.style.chart.legend.fontSize / 1.5,
|
|
1421
1421
|
fill: U.value.style.chart.legend.color,
|
|
1422
1422
|
"font-size": U.value.style.chart.legend.fontSize / 1.5,
|
|
1423
1423
|
"font-weight": U.value.style.chart.legend.bold ? "bold" : "normal"
|
|
@@ -1506,10 +1506,10 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1506
1506
|
cy: "55%"
|
|
1507
1507
|
}, [w("stop", {
|
|
1508
1508
|
offset: "0%",
|
|
1509
|
-
"stop-color": P(
|
|
1509
|
+
"stop-color": P(c)(P(r)(e.color, .5), 80)
|
|
1510
1510
|
}, null, 8, ln), w("stop", {
|
|
1511
1511
|
offset: "100%",
|
|
1512
|
-
"stop-color": P(
|
|
1512
|
+
"stop-color": P(c)(P(_)(e.color, .1), 80)
|
|
1513
1513
|
}, null, 8, un)], 8, cn), w("linearGradient", {
|
|
1514
1514
|
id: `gradient_tube_body_${e.id}`,
|
|
1515
1515
|
x1: "0%",
|
|
@@ -1523,19 +1523,19 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1523
1523
|
}, null, 8, fn),
|
|
1524
1524
|
w("stop", {
|
|
1525
1525
|
offset: "10%",
|
|
1526
|
-
"stop-color": P(
|
|
1526
|
+
"stop-color": P(c)(P(_)(e.color, .7), 100)
|
|
1527
1527
|
}, null, 8, pn),
|
|
1528
1528
|
w("stop", {
|
|
1529
1529
|
offset: "25%",
|
|
1530
|
-
"stop-color": P(
|
|
1530
|
+
"stop-color": P(c)(P(_)(e.color, .5), 100)
|
|
1531
1531
|
}, null, 8, mn),
|
|
1532
1532
|
w("stop", {
|
|
1533
1533
|
offset: "75%",
|
|
1534
|
-
"stop-color": P(
|
|
1534
|
+
"stop-color": P(c)(e.color, 80)
|
|
1535
1535
|
}, null, 8, hn),
|
|
1536
1536
|
w("stop", {
|
|
1537
1537
|
offset: "100%",
|
|
1538
|
-
"stop-color": P(
|
|
1538
|
+
"stop-color": P(c)(P(r)(e.color, .7), 100)
|
|
1539
1539
|
}, null, 8, gn)
|
|
1540
1540
|
], 8, dn)]),
|
|
1541
1541
|
w("path", {
|
|
@@ -1613,11 +1613,11 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1613
1613
|
}, [U.value.style.chart.legend.showDefault ? (k(), C("div", {
|
|
1614
1614
|
key: 0,
|
|
1615
1615
|
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${U.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${U.value.style.chart.legend.fontSize}px; color:${U.value.style.chart.legend.color};font-weight:${U.value.style.chart.legend.bold ? "bold" : "normal"}`)
|
|
1616
|
-
}, N(P(
|
|
1616
|
+
}, N(P(g)(U.value.style.chart.dataLabel.formatter, t.value, `${t.name}: ${P(a)({
|
|
1617
1617
|
v: t.proportion * 100,
|
|
1618
1618
|
s: "%",
|
|
1619
1619
|
r: U.value.style.chart.legend.roundingPercentage
|
|
1620
|
-
})} (${P(
|
|
1620
|
+
})} (${P(a)({
|
|
1621
1621
|
p: U.value.style.chart.legend.prefix,
|
|
1622
1622
|
v: t.value,
|
|
1623
1623
|
s: U.value.style.chart.legend.suffix,
|
|
@@ -1634,7 +1634,7 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1634
1634
|
t.fill.donut && Z.value === t.id ? (k(), C("g", Tn, [
|
|
1635
1635
|
(k(!0), C(y, null, j(t.fill.donut, (e, n) => (k(), C("g", null, [wr(e, t.fill.donut, !0) > 6 ? (k(), C("path", {
|
|
1636
1636
|
key: 0,
|
|
1637
|
-
d: P(
|
|
1637
|
+
d: P(te)(e, {
|
|
1638
1638
|
x: e.cx,
|
|
1639
1639
|
y: e.cy
|
|
1640
1640
|
}, 0, 8, !1, !0, 10),
|
|
@@ -1653,13 +1653,13 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1653
1653
|
"stroke-width": 1
|
|
1654
1654
|
}, null, 8, Dn))), 256)),
|
|
1655
1655
|
(k(!0), C(y, null, j(t.fill.donut, (e, n) => (k(), C("g", null, [wr(e, t.fill.donut, !0) > 6 ? (k(), C("g", On, [w("text", {
|
|
1656
|
-
"text-anchor": P(
|
|
1657
|
-
x: P(
|
|
1658
|
-
y: P(
|
|
1656
|
+
"text-anchor": P(v)(e, !0, 0).anchor,
|
|
1657
|
+
x: P(v)(e, !0, 2).x,
|
|
1658
|
+
y: P(m)(e, 12, 12),
|
|
1659
1659
|
fill: U.value.style.chart.legend.color,
|
|
1660
1660
|
"font-size": U.value.style.chart.legend.fontSize / 1.5,
|
|
1661
1661
|
"font-weight": U.value.style.chart.legend.bold ? "bold" : "normal"
|
|
1662
|
-
}, N(P(
|
|
1662
|
+
}, N(P(g)(U.value.style.chart.dataLabel.formatter, e.value, `${wr(e, t.fill.donut)} (${P(a)({
|
|
1663
1663
|
p: U.value.style.chart.legend.prefix,
|
|
1664
1664
|
v: e.value,
|
|
1665
1665
|
s: U.value.style.chart.legend.suffix,
|
|
@@ -1669,9 +1669,9 @@ var Me = /* @__PURE__ */ e({ default: () => Fn }), Ne = ["id"], Pe = ["id"], Fe
|
|
|
1669
1669
|
seriesIndex: n,
|
|
1670
1670
|
type: "donutDatapoint"
|
|
1671
1671
|
})), 9, kn), w("text", {
|
|
1672
|
-
"text-anchor": P(
|
|
1673
|
-
x: P(
|
|
1674
|
-
y: P(
|
|
1672
|
+
"text-anchor": P(v)(e).anchor,
|
|
1673
|
+
x: P(v)(e, !0, 2).x,
|
|
1674
|
+
y: P(m)(e, 12, 12) + U.value.style.chart.legend.fontSize / 1.5,
|
|
1675
1675
|
fill: U.value.style.chart.legend.color,
|
|
1676
1676
|
"font-size": U.value.style.chart.legend.fontSize / 1.5,
|
|
1677
1677
|
"font-weight": U.value.style.chart.legend.bold ? "bold" : "normal"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as t } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as n } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as r } from "./useNestedProp-
|
|
4
|
+
import { t as r } from "./useNestedProp-DIuuzG1r.js";
|
|
5
5
|
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { t as a } from "./BaseIcon-
|
|
6
|
+
import { t as a } from "./BaseIcon-C2qlyHc7.js";
|
|
7
7
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, normalizeStyle as h, onMounted as g, openBlock as _, ref as v, renderSlot as y, useCssVars as b, watch as x } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-accordion.vue
|
|
9
9
|
var S = /* @__PURE__ */ e({ default: () => E }), C = { class: "vue-data-ui-component" }, w = ["id"], T = {
|