vue-data-ui 3.23.9 → 3.23.11
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/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.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-hill.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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- 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/vue-data-ui.d.ts +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { q as t } from "./lib-
|
|
2
|
+
import { q as t } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n, t as r } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as i } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as a } from "./usePrinter-
|
|
6
|
-
import { t as ee } from "./useNestedProp-
|
|
5
|
+
import { t as a } from "./usePrinter-CEiH1b6R.js";
|
|
6
|
+
import { t as ee } from "./useNestedProp-CulPqtou.js";
|
|
7
7
|
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { t as te } from "./useUserOptionState-DK-_1ddE.js";
|
|
9
|
-
import { t as ne } from "./UserOptions-
|
|
10
|
-
import { n as re } from "./PenAndPaper-
|
|
9
|
+
import { t as ne } from "./UserOptions-WH7-49V0.js";
|
|
10
|
+
import { n as re } from "./PenAndPaper-CIa1F5Jq.js";
|
|
11
11
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as ie, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as ae, normalizeClass as oe, normalizeProps as h, normalizeStyle as g, openBlock as _, ref as v, renderList as se, renderSlot as y, resolveDynamicComponent as ce, unref as b, useCssVars as le, watch as x, withCtx as S } from "vue";
|
|
12
12
|
//#region src/components/vue-ui-dashboard.vue
|
|
13
13
|
var C = /* @__PURE__ */ e({ default: () => T }), ue = ["id"], de = ["onMousedown", "onTouchstart"], fe = ["onMousedown", "onTouchstart"], pe = ["onMousedown", "onTouchstart"], me = ["onMousedown", "onTouchstart"], he = ["onMousedown", "onTouchstart"], w = 1, T = /*#__PURE__*/ o({
|
|
@@ -23,70 +23,70 @@ var C = /* @__PURE__ */ e({ default: () => T }), ue = ["id"], de = ["onMousedown
|
|
|
23
23
|
v5f77e8e0: ke.value
|
|
24
24
|
}));
|
|
25
25
|
let T = {
|
|
26
|
-
VueDataUi: p(() => import("./vue-data-ui-
|
|
27
|
-
VueUi3dBar: p(() => import("./vue-ui-3d-bar-
|
|
28
|
-
VueUiAccordion: p(() => import("./vue-ui-accordion-
|
|
29
|
-
VueUiAgePyramid: p(() => import("./vue-ui-age-pyramid-
|
|
30
|
-
VueUiAnnotator: p(() => import("./vue-ui-annotator-
|
|
31
|
-
VueUiCandlestick: p(() => import("./vue-ui-candlestick-
|
|
32
|
-
VueUiChestnut: p(() => import("./vue-ui-chestnut-
|
|
33
|
-
VueUiDigits: p(() => import("./vue-ui-digits-
|
|
34
|
-
VueUiDonut: p(() => import("./vue-ui-donut-
|
|
35
|
-
VueUiDonutEvolution: p(() => import("./vue-ui-donut-evolution-
|
|
36
|
-
VueUiDumbbell: p(() => import("./vue-ui-dumbbell-
|
|
37
|
-
VueUiFlow: p(() => import("./vue-ui-flow-
|
|
38
|
-
VueUiGalaxy: p(() => import("./vue-ui-galaxy-
|
|
39
|
-
VueUiGauge: p(() => import("./vue-ui-gauge-
|
|
40
|
-
VueUiHeatmap: p(() => import("./vue-ui-heatmap-
|
|
41
|
-
VueUiKpi: p(() => import("./vue-ui-kpi-
|
|
42
|
-
VueUiMiniLoader: p(() => import("./vue-ui-mini-loader-
|
|
43
|
-
VueUiMolecule: p(() => import("./vue-ui-molecule-
|
|
44
|
-
VueUiMoodRadar: p(() => import("./vue-ui-mood-radar-
|
|
45
|
-
VueUiNestedDonuts: p(() => import("./vue-ui-nested-donuts-
|
|
46
|
-
VueUiOnion: p(() => import("./vue-ui-onion-
|
|
47
|
-
VueUiParallelCoordinatePlot: p(() => import("./vue-ui-parallel-coordinate-plot-
|
|
48
|
-
VueUiQuadrant: p(() => import("./vue-ui-quadrant-
|
|
49
|
-
VueUiQuickChart: p(() => import("./vue-ui-quick-chart-
|
|
50
|
-
VueUiRadar: p(() => import("./vue-ui-radar-
|
|
51
|
-
VueUiRating: p(() => import("./vue-ui-rating-
|
|
52
|
-
VueUiRelationCircle: p(() => import("./vue-ui-relation-circle-
|
|
53
|
-
VueUiRings: p(() => import("./vue-ui-rings-
|
|
54
|
-
VueUiScatter: p(() => import("./vue-ui-scatter-
|
|
55
|
-
VueUiSkeleton: p(() => import("./vue-ui-skeleton-
|
|
56
|
-
VueUiSmiley: p(() => import("./vue-ui-smiley-
|
|
57
|
-
VueUiSparkHistogram: p(() => import("./vue-ui-sparkhistogram-
|
|
58
|
-
VueUiSparkStackbar: p(() => import("./vue-ui-sparkstackbar-
|
|
59
|
-
VueUiSparkTrend: p(() => import("./vue-ui-spark-trend-
|
|
60
|
-
VueUiSparkbar: p(() => import("./vue-ui-sparkbar-
|
|
61
|
-
VueUiSparkgauge: p(() => import("./vue-ui-sparkgauge-
|
|
62
|
-
VueUiSparkline: p(() => import("./vue-ui-sparkline-
|
|
63
|
-
VueUiStripPlot: p(() => import("./vue-ui-strip-plot-
|
|
64
|
-
VueUiTable: p(() => import("./vue-ui-table-
|
|
65
|
-
VueUiTableHeatmap: p(() => import("./vue-ui-table-heatmap-
|
|
66
|
-
VueUiTableSparkline: p(() => import("./vue-ui-table-sparkline-
|
|
67
|
-
VueUiThermometer: p(() => import("./vue-ui-thermometer-
|
|
68
|
-
VueUiTimer: p(() => import("./vue-ui-timer
|
|
69
|
-
VueUiTiremarks: p(() => import("./vue-ui-tiremarks-
|
|
70
|
-
VueUiTreemap: p(() => import("./vue-ui-treemap-
|
|
71
|
-
VueUiVerticalBar: p(() => import("./vue-ui-horizontal-bar-
|
|
72
|
-
VueUiHorizontalBar: p(() => import("./vue-ui-horizontal-bar-
|
|
73
|
-
VueUiWaffle: p(() => import("./vue-ui-waffle-
|
|
74
|
-
VueUiWheel: p(() => import("./vue-ui-wheel-
|
|
75
|
-
VueUiWordCloud: p(() => import("./vue-ui-word-cloud-
|
|
76
|
-
VueUiXy: p(() => import("./vue-ui-xy-
|
|
77
|
-
VueUiXyCanvas: p(() => import("./vue-ui-xy-canvas-
|
|
78
|
-
VueUiCarouselTable: p(() => import("./vue-ui-carousel-table-
|
|
79
|
-
VueUiGizmo: p(() => import("./vue-ui-gizmo-
|
|
80
|
-
VueUiStackbar: p(() => import("./vue-ui-stackbar-
|
|
81
|
-
VueUiStackline: p(() => import("./vue-ui-stackline-
|
|
82
|
-
VueUiBullet: p(() => import("./vue-ui-bullet-
|
|
83
|
-
VueUiFunnel: p(() => import("./vue-ui-funnel-
|
|
84
|
-
VueUiHistoryPlot: p(() => import("./vue-ui-history-plot-
|
|
85
|
-
VueUiCirclePack: p(() => import("./vue-ui-circle-pack-
|
|
86
|
-
VueUiWorld: p(() => import("./vue-ui-world-
|
|
87
|
-
VueUiChord: p(() => import("./vue-ui-chord-
|
|
88
|
-
VueUiRidgeline: p(() => import("./vue-ui-ridgeline-
|
|
89
|
-
VueUiDag: p(() => import("./vue-ui-dag-
|
|
26
|
+
VueDataUi: p(() => import("./vue-data-ui-BlZHZHoH.js").then((e) => e.n)),
|
|
27
|
+
VueUi3dBar: p(() => import("./vue-ui-3d-bar-CtT2BovY.js").then((e) => e.n)),
|
|
28
|
+
VueUiAccordion: p(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)),
|
|
29
|
+
VueUiAgePyramid: p(() => import("./vue-ui-age-pyramid-BhGNgnLB.js").then((e) => e.n)),
|
|
30
|
+
VueUiAnnotator: p(() => import("./vue-ui-annotator-BwIu0JUV.js").then((e) => e.n)),
|
|
31
|
+
VueUiCandlestick: p(() => import("./vue-ui-candlestick-Cs7I5MQS.js").then((e) => e.n)),
|
|
32
|
+
VueUiChestnut: p(() => import("./vue-ui-chestnut-d6GxjfcP.js").then((e) => e.n)),
|
|
33
|
+
VueUiDigits: p(() => import("./vue-ui-digits-DWf1vzYE.js").then((e) => e.n)),
|
|
34
|
+
VueUiDonut: p(() => import("./vue-ui-donut-DZTtuFAG.js").then((e) => e.n)),
|
|
35
|
+
VueUiDonutEvolution: p(() => import("./vue-ui-donut-evolution-BvZX3Gi8.js").then((e) => e.n)),
|
|
36
|
+
VueUiDumbbell: p(() => import("./vue-ui-dumbbell-BZywCpHd.js").then((e) => e.n)),
|
|
37
|
+
VueUiFlow: p(() => import("./vue-ui-flow-D5jcKr_S.js").then((e) => e.n)),
|
|
38
|
+
VueUiGalaxy: p(() => import("./vue-ui-galaxy-BuGd-Ojm.js").then((e) => e.n)),
|
|
39
|
+
VueUiGauge: p(() => import("./vue-ui-gauge-BlDQIpBk.js").then((e) => e.n)),
|
|
40
|
+
VueUiHeatmap: p(() => import("./vue-ui-heatmap-sFF5IbM8.js").then((e) => e.n)),
|
|
41
|
+
VueUiKpi: p(() => import("./vue-ui-kpi-Co6y1YlE.js").then((e) => e.n)),
|
|
42
|
+
VueUiMiniLoader: p(() => import("./vue-ui-mini-loader-BVSIAFYi.js").then((e) => e.n)),
|
|
43
|
+
VueUiMolecule: p(() => import("./vue-ui-molecule-ERAB4YzZ.js").then((e) => e.n)),
|
|
44
|
+
VueUiMoodRadar: p(() => import("./vue-ui-mood-radar-BPp7L6OP.js").then((e) => e.n)),
|
|
45
|
+
VueUiNestedDonuts: p(() => import("./vue-ui-nested-donuts-CX5ut2yp.js").then((e) => e.n)),
|
|
46
|
+
VueUiOnion: p(() => import("./vue-ui-onion-CWYJTUCq.js").then((e) => e.n)),
|
|
47
|
+
VueUiParallelCoordinatePlot: p(() => import("./vue-ui-parallel-coordinate-plot-DJrV-dVt.js").then((e) => e.n)),
|
|
48
|
+
VueUiQuadrant: p(() => import("./vue-ui-quadrant-wj8Up03L.js").then((e) => e.n)),
|
|
49
|
+
VueUiQuickChart: p(() => import("./vue-ui-quick-chart-CPYdScHL.js").then((e) => e.n)),
|
|
50
|
+
VueUiRadar: p(() => import("./vue-ui-radar-D3gLQcI5.js").then((e) => e.n)),
|
|
51
|
+
VueUiRating: p(() => import("./vue-ui-rating-dBCk6ECe.js").then((e) => e.n)),
|
|
52
|
+
VueUiRelationCircle: p(() => import("./vue-ui-relation-circle-DeNBOPjz.js").then((e) => e.n)),
|
|
53
|
+
VueUiRings: p(() => import("./vue-ui-rings-CF9NfFW2.js").then((e) => e.n)),
|
|
54
|
+
VueUiScatter: p(() => import("./vue-ui-scatter-U_xxKOte.js").then((e) => e.n)),
|
|
55
|
+
VueUiSkeleton: p(() => import("./vue-ui-skeleton-GA4wzjXV.js").then((e) => e.n)),
|
|
56
|
+
VueUiSmiley: p(() => import("./vue-ui-smiley-D1pW2Fdy.js").then((e) => e.n)),
|
|
57
|
+
VueUiSparkHistogram: p(() => import("./vue-ui-sparkhistogram-Cqs068RX.js").then((e) => e.n)),
|
|
58
|
+
VueUiSparkStackbar: p(() => import("./vue-ui-sparkstackbar-C0BkLc2b.js").then((e) => e.n)),
|
|
59
|
+
VueUiSparkTrend: p(() => import("./vue-ui-spark-trend-BXRGMn5-.js").then((e) => e.n)),
|
|
60
|
+
VueUiSparkbar: p(() => import("./vue-ui-sparkbar-96D0eR-o.js").then((e) => e.n)),
|
|
61
|
+
VueUiSparkgauge: p(() => import("./vue-ui-sparkgauge-BWBek2u2.js").then((e) => e.n)),
|
|
62
|
+
VueUiSparkline: p(() => import("./vue-ui-sparkline-B8cyY_P1.js").then((e) => e.n)),
|
|
63
|
+
VueUiStripPlot: p(() => import("./vue-ui-strip-plot-Df-TomML.js").then((e) => e.n)),
|
|
64
|
+
VueUiTable: p(() => import("./vue-ui-table-BKSRQGVK.js").then((e) => e.n)),
|
|
65
|
+
VueUiTableHeatmap: p(() => import("./vue-ui-table-heatmap-CglQqfWH.js").then((e) => e.n)),
|
|
66
|
+
VueUiTableSparkline: p(() => import("./vue-ui-table-sparkline-B7Dh-fN2.js").then((e) => e.n)),
|
|
67
|
+
VueUiThermometer: p(() => import("./vue-ui-thermometer-DXuLn8NC.js").then((e) => e.n)),
|
|
68
|
+
VueUiTimer: p(() => import("./vue-ui-timer-orCjVwS4.js").then((e) => e.n)),
|
|
69
|
+
VueUiTiremarks: p(() => import("./vue-ui-tiremarks-DNoQ6Fl2.js").then((e) => e.n)),
|
|
70
|
+
VueUiTreemap: p(() => import("./vue-ui-treemap-90_Clj0e.js").then((e) => e.n)),
|
|
71
|
+
VueUiVerticalBar: p(() => import("./vue-ui-horizontal-bar-B34aYuDZ.js").then((e) => e.n)),
|
|
72
|
+
VueUiHorizontalBar: p(() => import("./vue-ui-horizontal-bar-B34aYuDZ.js").then((e) => e.n)),
|
|
73
|
+
VueUiWaffle: p(() => import("./vue-ui-waffle-BSQXyJ1S.js").then((e) => e.n)),
|
|
74
|
+
VueUiWheel: p(() => import("./vue-ui-wheel-CfU0Nnn0.js").then((e) => e.n)),
|
|
75
|
+
VueUiWordCloud: p(() => import("./vue-ui-word-cloud-AgMvmPlI.js").then((e) => e.n)),
|
|
76
|
+
VueUiXy: p(() => import("./vue-ui-xy-5Te2TfRK.js").then((e) => e.n)),
|
|
77
|
+
VueUiXyCanvas: p(() => import("./vue-ui-xy-canvas-BHpBO5dS.js").then((e) => e.n)),
|
|
78
|
+
VueUiCarouselTable: p(() => import("./vue-ui-carousel-table-CDjAjc4b.js").then((e) => e.n)),
|
|
79
|
+
VueUiGizmo: p(() => import("./vue-ui-gizmo-CTxB3PAl.js").then((e) => e.n)),
|
|
80
|
+
VueUiStackbar: p(() => import("./vue-ui-stackbar-DtsOc7B_.js").then((e) => e.n)),
|
|
81
|
+
VueUiStackline: p(() => import("./vue-ui-stackline-MSs0pdhE.js").then((e) => e.n)),
|
|
82
|
+
VueUiBullet: p(() => import("./vue-ui-bullet-BI7KJyJx.js").then((e) => e.n)),
|
|
83
|
+
VueUiFunnel: p(() => import("./vue-ui-funnel-7zX5QnQx.js").then((e) => e.n)),
|
|
84
|
+
VueUiHistoryPlot: p(() => import("./vue-ui-history-plot-Cj-Olvhn.js").then((e) => e.n)),
|
|
85
|
+
VueUiCirclePack: p(() => import("./vue-ui-circle-pack-CmxANHap.js").then((e) => e.n)),
|
|
86
|
+
VueUiWorld: p(() => import("./vue-ui-world-D0Z9B6M2.js").then((e) => e.n)),
|
|
87
|
+
VueUiChord: p(() => import("./vue-ui-chord-BuConnPN.js").then((e) => e.n)),
|
|
88
|
+
VueUiRidgeline: p(() => import("./vue-ui-ridgeline-DQcZJ_hv.js").then((e) => e.n)),
|
|
89
|
+
VueUiDag: p(() => import("./vue-ui-dag-DKUZN-aQ.js").then((e) => e.n))
|
|
90
90
|
}, { vue_ui_dashboard: ge } = i(), _e = v(null), ve = v(null), E = v(null), D = e, O = c(() => ee({
|
|
91
91
|
userConfig: D.config,
|
|
92
92
|
defaultConfig: ge
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { q as t, t as n } from "./lib-
|
|
2
|
+
import { q as t, t as n } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as r, t as i } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as a } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as o } from "./useNestedProp-
|
|
5
|
+
import { t as o } from "./useNestedProp-CulPqtou.js";
|
|
6
6
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
-
import { n as c } from "./PackageVersion-
|
|
7
|
+
import { n as c } from "./PackageVersion-C0b7KAMa.js";
|
|
8
8
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, normalizeStyle as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x } from "vue";
|
|
9
9
|
//#region src/atoms/Digit.vue
|
|
10
10
|
var S = { key: 0 }, C = ["d", "fill"], w = ["d", "fill"], T = ["d", "fill"], E = ["d", "fill"], D = ["d", "fill"], O = ["d", "fill"], k = ["d", "fill"], A = { key: 1 }, j = [
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ht as e, It as t, Jt as n, K as r, Pt as i, S as a, Ut as o, X as s, Xt as c, b as l, f as u, h as d, i as f, j as p, jt as m, p as h, q as g, rt as _, t as v } from "./lib-Dqr_-I6Y.js";
|
|
2
2
|
import { t as y } from "./useConfig-DwdGsXTx.js";
|
|
3
3
|
import { t as b } from "./vue_ui_donut-BDGqG07h.js";
|
|
4
|
-
import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-
|
|
4
|
+
import { _ as x, a as S, c as C, d as w, g as T, i as E, l as D, n as O, o as k, p as A, r as j, s as ee, t as te, u as M, v as N } from "./render-common-B0f5NTO9.js";
|
|
5
5
|
//#region src/svg/vue-ui-donut/create.js
|
|
6
6
|
var { vue_ui_donut: ne } = y();
|
|
7
7
|
function re({ config: e = {} } = {}) {
|
|
8
|
-
let
|
|
9
|
-
userConfig:
|
|
8
|
+
let r = e ?? {}, i = c({
|
|
9
|
+
userConfig: r,
|
|
10
10
|
defaultConfig: ne
|
|
11
|
-
}),
|
|
12
|
-
if (!
|
|
11
|
+
}), a = i.theme;
|
|
12
|
+
if (!a) return {
|
|
13
13
|
...i,
|
|
14
|
-
customPalette: i.customPalette?.length ? i.customPalette :
|
|
14
|
+
customPalette: i.customPalette?.length ? i.customPalette : t
|
|
15
15
|
};
|
|
16
|
-
let
|
|
17
|
-
userConfig: b[
|
|
16
|
+
let o = c({
|
|
17
|
+
userConfig: b[a] || {},
|
|
18
18
|
defaultConfig: i
|
|
19
|
-
}),
|
|
20
|
-
userConfig:
|
|
21
|
-
defaultConfig:
|
|
19
|
+
}), s = c({
|
|
20
|
+
userConfig: r,
|
|
21
|
+
defaultConfig: o
|
|
22
22
|
});
|
|
23
23
|
return {
|
|
24
|
-
...
|
|
25
|
-
customPalette:
|
|
24
|
+
...s,
|
|
25
|
+
customPalette: s.customPalette?.length ? s.customPalette : n[a] || t
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function P(e, t = 0) {
|
|
@@ -38,27 +38,27 @@ function ie(e) {
|
|
|
38
38
|
function ae(e, t) {
|
|
39
39
|
return String(e?.name ?? e?.label ?? `Serie ${t + 1}`);
|
|
40
40
|
}
|
|
41
|
-
function oe(e = [],
|
|
42
|
-
let
|
|
41
|
+
function oe(e = [], n) {
|
|
42
|
+
let r = Array.isArray(n.customPalette) ? n.customPalette : t;
|
|
43
43
|
return (Array.isArray(e) ? e : []).map((e, t) => ({
|
|
44
44
|
source: e,
|
|
45
45
|
sourceIndex: t,
|
|
46
46
|
value: ie(e)
|
|
47
47
|
})).filter((e) => Number.isFinite(e.value)).sort((e, t) => e.source?.ghost && !t.source?.ghost ? 1 : t.source?.ghost && !e.source?.ghost ? -1 : t.value - e.value).map((e, t) => {
|
|
48
|
-
let
|
|
48
|
+
let n = e.source, i = e.value, o = (n?.color ? a(n.color) : "") || r[t % r.length];
|
|
49
49
|
return {
|
|
50
|
-
...
|
|
51
|
-
id:
|
|
52
|
-
name: ae(
|
|
50
|
+
...n,
|
|
51
|
+
id: n?.id ?? `donut_serie_${t}`,
|
|
52
|
+
name: ae(n, t),
|
|
53
53
|
value: i,
|
|
54
54
|
absoluteValue: Math.abs(i),
|
|
55
|
-
absoluteValues: Array.isArray(
|
|
56
|
-
color:
|
|
55
|
+
absoluteValues: Array.isArray(n?.values) ? n.values : [i],
|
|
56
|
+
color: o,
|
|
57
57
|
index: t,
|
|
58
58
|
sourceIndex: e.sourceIndex,
|
|
59
|
-
patternIndex:
|
|
60
|
-
seriesIndex:
|
|
61
|
-
ghost: !!
|
|
59
|
+
patternIndex: n?.patternIndex ?? t,
|
|
60
|
+
seriesIndex: n?.seriesIndex ?? t,
|
|
61
|
+
ghost: !!n?.ghost
|
|
62
62
|
};
|
|
63
63
|
}).filter((e) => Number.isFinite(e.absoluteValue));
|
|
64
64
|
}
|
|
@@ -117,7 +117,7 @@ function le({ dataset: e = [], config: t = {}, width: n = 512, height: r = 512,
|
|
|
117
117
|
}
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/svg/vue-ui-donut/render.js
|
|
120
|
-
var ue =
|
|
120
|
+
var ue = g();
|
|
121
121
|
function I() {
|
|
122
122
|
return ue;
|
|
123
123
|
}
|
|
@@ -271,9 +271,9 @@ function ve(e) {
|
|
|
271
271
|
})), M("g", { "data-layer": "title" }, d.join(""));
|
|
272
272
|
}
|
|
273
273
|
function ye(t, n) {
|
|
274
|
-
let { config: r } = t, i = [], a = !!S(r, "useGradient", !1),
|
|
274
|
+
let { config: r } = t, i = [], a = !!S(r, "useGradient", !1), s = !!S(r, "layout.donut.useShadow", !1);
|
|
275
275
|
if (a) {
|
|
276
|
-
let a = E(r, "type", "classic"),
|
|
276
|
+
let a = E(r, "type", "classic"), s = x(S(r, "gradientIntensity", 30), 30);
|
|
277
277
|
if (a === "classic" && Number.isFinite(t.thickness / t.radius)) {
|
|
278
278
|
let n = V(r) ? 1 : t.thickness / t.radius;
|
|
279
279
|
i.push(M("radialGradient", { id: H(t) }, [
|
|
@@ -289,7 +289,7 @@ function ye(t, n) {
|
|
|
289
289
|
}),
|
|
290
290
|
w("stop", {
|
|
291
291
|
offset: `${(1 - n / 2) * 100}%`,
|
|
292
|
-
"stop-color": e("#FFFFFF",
|
|
292
|
+
"stop-color": e("#FFFFFF", s)
|
|
293
293
|
}),
|
|
294
294
|
w("stop", {
|
|
295
295
|
offset: "100%",
|
|
@@ -307,15 +307,15 @@ function ye(t, n) {
|
|
|
307
307
|
r: "62%"
|
|
308
308
|
}, [w("stop", {
|
|
309
309
|
offset: "0%",
|
|
310
|
-
"stop-color":
|
|
311
|
-
"stop-opacity":
|
|
310
|
+
"stop-color": o(e.color, .05),
|
|
311
|
+
"stop-opacity": s / 100
|
|
312
312
|
}), w("stop", {
|
|
313
313
|
offset: "100%",
|
|
314
314
|
"stop-color": e.color
|
|
315
315
|
})].join("")));
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
if (
|
|
318
|
+
if (s) {
|
|
319
319
|
let e = k(S(r, "layout.donut.shadowColor", "#000000"), "#000000"), n = x(S(r, "layout.donut.shadowOpacity", .2), .2), a = x(S(r, "layout.donut.shadowBlur", 6), 6), o = x(S(r, "layout.donut.shadowOffsetY", 3), 3);
|
|
320
320
|
i.push(M("filter", {
|
|
321
321
|
id: W(t),
|
|
@@ -388,16 +388,16 @@ function Ce(e, t, n) {
|
|
|
388
388
|
}), M("g", { "data-layer": "polar-slices" }, a.join(""));
|
|
389
389
|
}
|
|
390
390
|
function q(e, t, n = "layout.labels.value.rounding") {
|
|
391
|
-
let { config: r } = e, i = S(r, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {},
|
|
391
|
+
let { config: r } = e, i = S(r, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, c = s({
|
|
392
392
|
p: a.prefix ?? "",
|
|
393
393
|
v: t.value,
|
|
394
394
|
s: a.suffix ?? "",
|
|
395
395
|
r: x(S(r, n, o.rounding ?? 0), o.rounding ?? 0)
|
|
396
396
|
});
|
|
397
|
-
return f(o.formatter, t.value,
|
|
397
|
+
return f(o.formatter, t.value, c, { datapoint: t });
|
|
398
398
|
}
|
|
399
399
|
function J(e, t) {
|
|
400
|
-
let { config: n } = e, r = S(n, "layout.labels.percentage", {}), i = x(t.proportion, 0) * 100, a =
|
|
400
|
+
let { config: n } = e, r = S(n, "layout.labels.percentage", {}), i = x(t.proportion, 0) * 100, a = s({
|
|
401
401
|
v: i,
|
|
402
402
|
s: "%",
|
|
403
403
|
r: x(r.rounding, 0)
|
|
@@ -434,7 +434,7 @@ function Q(e) {
|
|
|
434
434
|
return !!S(e.config, "layout.curvedMarkers", S(e.config, "layout.donut.curvedMarkers", !1));
|
|
435
435
|
}
|
|
436
436
|
function Ee(e, t) {
|
|
437
|
-
let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, d = e.drawingArea.top + 16, f = e.drawingArea.bottom - 16, p = i - (e.radius + 6), m = i + (e.radius + 6),
|
|
437
|
+
let n = S(e.config, "layout.labels.dataLabels", {}), r = {}, i = e.center.x, a = e.center.y, o = x(n.smallArcClusterFontSize ?? n.fontSize, 10), s = o / 3, c = o * 1.5, d = e.drawingArea.top + 16, f = e.drawingArea.bottom - 16, p = i - (e.radius + 6), m = i + (e.radius + 6), g = Q(e);
|
|
438
438
|
function _(e) {
|
|
439
439
|
return {
|
|
440
440
|
x: l(e.center?.endX ?? e.endX),
|
|
@@ -442,15 +442,15 @@ function Ee(e, t) {
|
|
|
442
442
|
};
|
|
443
443
|
}
|
|
444
444
|
function v({ midX: e, midY: t, bandX: n, bandY: r }) {
|
|
445
|
-
if (!
|
|
446
|
-
let o = n < i ? -1 : 1, s = n - e, c = r - t, l = Math.sqrt(s * s + c * c) || 1, u = e - i, d = t - a, f = Math.sqrt(u * u + d * d) || 1, p = u / f, m = d / f,
|
|
445
|
+
if (!g) return `M ${e} ${t} L ${e} ${r} L ${n} ${r}`;
|
|
446
|
+
let o = n < i ? -1 : 1, s = n - e, c = r - t, l = Math.sqrt(s * s + c * c) || 1, u = e - i, d = t - a, f = Math.sqrt(u * u + d * d) || 1, p = u / f, m = d / f, h = f + 9;
|
|
447
447
|
function _({ x: e, y: t }) {
|
|
448
448
|
let n = e - i, r = t - a, o = Math.sqrt(n * n + r * r) || 1;
|
|
449
|
-
if (o >=
|
|
449
|
+
if (o >= h) return {
|
|
450
450
|
x: e,
|
|
451
451
|
y: t
|
|
452
452
|
};
|
|
453
|
-
let s =
|
|
453
|
+
let s = h / o;
|
|
454
454
|
return {
|
|
455
455
|
x: i + n * s,
|
|
456
456
|
y: a + r * s
|
|
@@ -472,7 +472,7 @@ function Ee(e, t) {
|
|
|
472
472
|
let b = _({
|
|
473
473
|
x: e + p * v,
|
|
474
474
|
y: t + m * v
|
|
475
|
-
}), x = i + o * Math.max(Math.abs(n - i),
|
|
475
|
+
}), x = i + o * Math.max(Math.abs(n - i), h), S = _({
|
|
476
476
|
x: n - o * Math.min(y, Math.abs(x - n) * .75),
|
|
477
477
|
y: r
|
|
478
478
|
});
|
|
@@ -490,7 +490,7 @@ function Ee(e, t) {
|
|
|
490
490
|
midX: n.x,
|
|
491
491
|
midY: n.y,
|
|
492
492
|
inlineMarkerX: u(e).x,
|
|
493
|
-
inlineMarkerY:
|
|
493
|
+
inlineMarkerY: h(e) - 3.5,
|
|
494
494
|
labelHeight: y(e.name)
|
|
495
495
|
};
|
|
496
496
|
}
|
|
@@ -573,26 +573,26 @@ function Ee(e, t) {
|
|
|
573
573
|
}), r;
|
|
574
574
|
}
|
|
575
575
|
function De({ state: e, arc: t, arcIndex: n, smallArcLayout: r, fontSize: i }) {
|
|
576
|
-
let a = S(e.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = r?.labelX ?? u(t, !0, 12).x, l = r?.labelY ??
|
|
576
|
+
let a = S(e.config, "layout.labels", {}), o = a.percentage ?? {}, s = a.name ?? {}, c = r?.labelX ?? u(t, !0, 12).x, l = r?.labelY ?? h(t), d = r?.textAnchor ?? u(t, !0, 12).anchor, { name: f } = Y(e, t), p = we(e, t), m = String(f).split(/\n/g), g = f ? m.map((t, n) => M("tspan", {
|
|
577
577
|
class: "vue-data-ui-datalabel-name",
|
|
578
578
|
x: n === 0 ? void 0 : c,
|
|
579
579
|
dy: n === 0 ? void 0 : i * 1.2,
|
|
580
580
|
fill: k(s.color, j(e.config)),
|
|
581
581
|
"font-size": i,
|
|
582
582
|
"font-weight": s.bold ? "700" : "400"
|
|
583
|
-
},
|
|
583
|
+
}, _(t + (n === m.length - 1 ? " " : "")))).join("") : "", v = p ? M("tspan", {
|
|
584
584
|
class: "vue-data-ui-datalabel-value",
|
|
585
585
|
fill: k(o.color, j(e.config)),
|
|
586
586
|
"font-size": i,
|
|
587
587
|
"font-weight": o.bold ? "700" : "400"
|
|
588
|
-
},
|
|
588
|
+
}, _(p)) : "";
|
|
589
589
|
return M("text", {
|
|
590
590
|
"data-cy": `donut-label-inline-${n}`,
|
|
591
591
|
class: "vue-data-ui-datalabel-inline",
|
|
592
592
|
x: c,
|
|
593
593
|
y: l,
|
|
594
594
|
"text-anchor": d
|
|
595
|
-
}, `${
|
|
595
|
+
}, `${g}${v}`);
|
|
596
596
|
}
|
|
597
597
|
function Oe(e, t) {
|
|
598
598
|
let n = S(e.config, "layout.labels", {}), r = n.dataLabels ?? {};
|
|
@@ -619,7 +619,7 @@ function Oe(e, t) {
|
|
|
619
619
|
arcIndex: n,
|
|
620
620
|
smallArcLayout: {
|
|
621
621
|
labelX: u(t, !1, a + i / 2).x,
|
|
622
|
-
labelY:
|
|
622
|
+
labelY: h(t, a, a),
|
|
623
623
|
textAnchor: u(t).anchor
|
|
624
624
|
},
|
|
625
625
|
fontSize: i
|
|
@@ -644,22 +644,22 @@ function je(e, t, n, r) {
|
|
|
644
644
|
fill: k(a.color, j(e.config)),
|
|
645
645
|
"font-size": s,
|
|
646
646
|
"font-weight": a.bold ? "700" : "400"
|
|
647
|
-
},
|
|
647
|
+
}, _(String(X(e, t).replace(/\n/g, " / ")))), u = o.show ? String(t.name ?? "").split(/\n/g).map((t, r) => M("tspan", {
|
|
648
648
|
class: "vue-data-ui-datalabel-name",
|
|
649
649
|
x: r === 0 ? void 0 : n,
|
|
650
650
|
dy: r === 0 ? void 0 : c * 1.2,
|
|
651
651
|
fill: k(o.color, j(e.config)),
|
|
652
652
|
"font-size": c,
|
|
653
653
|
"font-weight": o.bold ? "700" : "400"
|
|
654
|
-
},
|
|
654
|
+
}, _(t))).join("") : "";
|
|
655
655
|
return r === "end" ? `${u}${l}` : `${l}${u}`;
|
|
656
656
|
}
|
|
657
|
-
function Me(e, t,
|
|
657
|
+
function Me(e, t, n) {
|
|
658
658
|
let i = S(e.config, "layout.labels", {}), a = i.dataLabels ?? {}, o = i.value ?? {}, s = i.percentage ?? {}, c = i.name ?? {};
|
|
659
659
|
if (!E(e.config, "dataLabels.show", a.show ?? !0) || !a.show) return "";
|
|
660
660
|
let l = !!a.oneLine, u = x(o.fontSize, a.fontSize ?? 12), d = x(c.fontSize, a.fontSize ?? 12), f = [];
|
|
661
661
|
return t.forEach((t, i) => {
|
|
662
|
-
let a =
|
|
662
|
+
let a = n[i];
|
|
663
663
|
if (!a || !Z(e, t)) return;
|
|
664
664
|
let o = ke(e, a, 42), p = Ae(e, o);
|
|
665
665
|
if (l) {
|
|
@@ -696,8 +696,8 @@ function Me(e, t, r) {
|
|
|
696
696
|
"font-weight": c.bold ? "700" : "400",
|
|
697
697
|
"text-anchor": p,
|
|
698
698
|
fill: k(c.color, j(e.config))
|
|
699
|
-
},
|
|
700
|
-
content:
|
|
699
|
+
}, r({
|
|
700
|
+
content: _(String(t.name ?? "")),
|
|
701
701
|
fontSize: d,
|
|
702
702
|
fill: k(c.color, j(e.config)),
|
|
703
703
|
x: o.x
|
|
@@ -727,7 +727,7 @@ function Pe(e, t) {
|
|
|
727
727
|
})), i.push(w("circle", {
|
|
728
728
|
"data-cy": `donut-label-marker-${a}`,
|
|
729
729
|
cx: o?.markerX ?? u(t).x,
|
|
730
|
-
cy: o?.markerY ??
|
|
730
|
+
cy: o?.markerY ?? h(t) - 3.5,
|
|
731
731
|
r: x(n.markerRadius, 3),
|
|
732
732
|
fill: t.color,
|
|
733
733
|
stroke: L(e.config),
|
|
@@ -778,7 +778,7 @@ function Ie(e, t, n) {
|
|
|
778
778
|
if (E(e.config, "type", "classic") !== "classic" || V(e.config) || !t) return "";
|
|
779
779
|
let r = S(e.config, "layout.labels.hollow", {}), i = r.total ?? {}, a = r.average ?? {}, o = [];
|
|
780
780
|
if (i.show) {
|
|
781
|
-
let n = x(i.fontSize, 14), r = !!a.show,
|
|
781
|
+
let n = x(i.fontSize, 14), r = !!a.show, c = e.center.y - (r ? n : 0) + x(i.offsetY, 0), l = i.value ?? {}, u = x(l.fontSize, n), d = f(l.formatter, t, s({
|
|
782
782
|
p: l.prefix ?? "",
|
|
783
783
|
v: t,
|
|
784
784
|
s: l.suffix ?? "",
|
|
@@ -787,7 +787,7 @@ function Ie(e, t, n) {
|
|
|
787
787
|
o.push($(i.text ?? "", {
|
|
788
788
|
"data-cy": "hollow-total-name",
|
|
789
789
|
x: e.center.x,
|
|
790
|
-
y:
|
|
790
|
+
y: c,
|
|
791
791
|
fill: k(i.color, j(e.config)),
|
|
792
792
|
"font-size": n,
|
|
793
793
|
"font-weight": i.bold ? "700" : "400"
|
|
@@ -801,7 +801,7 @@ function Ie(e, t, n) {
|
|
|
801
801
|
}));
|
|
802
802
|
}
|
|
803
803
|
if (a.show) {
|
|
804
|
-
let r = x(a.fontSize, 14),
|
|
804
|
+
let r = x(a.fontSize, 14), c = !!i.show, l = t / Math.max(1, n.length), u = a.value ?? {}, d = x(u.fontSize, r), p = f(u.formatter, l, s({
|
|
805
805
|
p: u.prefix ?? "",
|
|
806
806
|
v: l,
|
|
807
807
|
s: u.suffix ?? "",
|
|
@@ -810,14 +810,14 @@ function Ie(e, t, n) {
|
|
|
810
810
|
o.push($(a.text ?? "", {
|
|
811
811
|
"data-cy": "hollow-average-name",
|
|
812
812
|
x: e.center.x,
|
|
813
|
-
y: e.center.y + (
|
|
813
|
+
y: e.center.y + (c ? r : 0) + x(a.offsetY, 0),
|
|
814
814
|
fill: k(a.color, j(e.config)),
|
|
815
815
|
"font-size": r,
|
|
816
816
|
"font-weight": a.bold ? "700" : "400"
|
|
817
817
|
})), o.push($(p, {
|
|
818
818
|
"data-cy": "hollow-average-value",
|
|
819
819
|
x: e.center.x,
|
|
820
|
-
y: e.center.y + (
|
|
820
|
+
y: e.center.y + (c ? r : 0) + r + x(u.offsetY, 0),
|
|
821
821
|
fill: k(u.color, k(a.color, j(e.config))),
|
|
822
822
|
"font-size": d,
|
|
823
823
|
"font-weight": u.bold ? "700" : "400"
|
|
@@ -831,7 +831,7 @@ function Ie(e, t, n) {
|
|
|
831
831
|
function Le(e, t) {
|
|
832
832
|
let { config: n, center: r } = e, i = S(n, "layout.donut.labels.total", S(n, "layout.labels.total", {}));
|
|
833
833
|
if (!i.show || !Number.isFinite(t) || t <= 0) return "";
|
|
834
|
-
let a = S(n, "layout.labels.dataLabels", {}), o = x(i.fontSize, 20),
|
|
834
|
+
let a = S(n, "layout.labels.dataLabels", {}), o = x(i.fontSize, 20), c = k(i.color, j(n)), l = f(i.formatter, t, s({
|
|
835
835
|
p: a.prefix ?? "",
|
|
836
836
|
v: t,
|
|
837
837
|
s: a.suffix ?? "",
|
|
@@ -844,7 +844,7 @@ function Le(e, t) {
|
|
|
844
844
|
"font-size": o,
|
|
845
845
|
"font-weight": i.bold ? "700" : "400",
|
|
846
846
|
"text-anchor": "middle",
|
|
847
|
-
fill:
|
|
847
|
+
fill: c
|
|
848
848
|
});
|
|
849
849
|
}
|
|
850
850
|
function Re(e, t) {
|
|
@@ -852,7 +852,7 @@ function Re(e, t) {
|
|
|
852
852
|
return n ? x(t.value, 0) / n * 100 : 0;
|
|
853
853
|
}
|
|
854
854
|
function ze(e, t) {
|
|
855
|
-
let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}), i = r.dataLabels ?? {}, a = r.value ?? {}, o =
|
|
855
|
+
let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}), i = r.dataLabels ?? {}, a = r.value ?? {}, o = s({
|
|
856
856
|
p: i.prefix ?? "",
|
|
857
857
|
v: t.value,
|
|
858
858
|
s: i.suffix ?? "",
|
|
@@ -864,7 +864,7 @@ function ze(e, t) {
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
function Be(e, t) {
|
|
867
|
-
let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}).percentage ?? {}, i = Re(e, t), a =
|
|
867
|
+
let n = S(e.config, "legend", {}), r = S(e.config, "layout.labels", {}).percentage ?? {}, i = Re(e, t), a = s({
|
|
868
868
|
v: i,
|
|
869
869
|
s: "%",
|
|
870
870
|
r: x(n.roundingPercentage, r.rounding ?? 0)
|
|
@@ -931,7 +931,7 @@ function We(e, t) {
|
|
|
931
931
|
}
|
|
932
932
|
function Ge(e, t, n) {
|
|
933
933
|
let r = `${E(e.config, "title.text", "Donut chart") || e.svgTitle || "Donut chart"}. ${t.length} series. Total ${l(n)}.`;
|
|
934
|
-
return M("title", {},
|
|
934
|
+
return M("title", {}, _(r));
|
|
935
935
|
}
|
|
936
936
|
async function Ke(e) {
|
|
937
937
|
let t = e.config, n = x(e.width, S(t, "width", 512)), r = x(e.height, S(t, "height", 512)), i = R(e), a = z(i), o = me({
|