vue-data-ui 3.1.16 → 3.1.18
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-5vUlLOBt.js → Arrow-BC5klzOh.js} +1 -1
- package/dist/{BaseDraggableDialog-RzeiqHjP.js → BaseDraggableDialog-CkjMZyIs.js} +2 -2
- package/dist/{BaseIcon-wGdAhoaF.js → BaseIcon-BPiT94Lb.js} +1 -1
- package/dist/{ColorPicker-DNOgu-Rw.js → ColorPicker-bx5e2RB2.js} +2 -2
- package/dist/{DataTable-JX5MWop0.js → DataTable-CywujQw9.js} +2 -2
- package/dist/{Legend-QXKyEiPD.js → Legend-h35dp0Qf.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BG4C0Flj.js → NonSvgPenAndPaper-CvnlQ378.js} +3 -3
- package/dist/{PackageVersion-BSXHahdf.js → PackageVersion-BzGzkGiC.js} +1 -1
- package/dist/{PenAndPaper-ScGkrINJ.js → PenAndPaper-Deh70G9d.js} +3 -3
- package/dist/{Shape-B5nsWKct.js → Shape-sVxD_SDm.js} +1 -1
- package/dist/{Slicer-BP5JybRr.js → Slicer-CQB967He.js} +2 -2
- package/dist/{SparkTooltip-qH7jdTTV.js → SparkTooltip-DFRSPT3_.js} +1 -1
- package/dist/{Title-Cs26H3hX.js → Title-B_WMW2Bp.js} +1 -1
- package/dist/{Tooltip-BAx7Btsw.js → Tooltip-Db9jy0Iu.js} +1 -1
- package/dist/{UserOptions-BLVLaZDQ.js → UserOptions-CtECQwBN.js} +2 -2
- package/dist/{dom-to-png-8xSfWIE3.js → dom-to-png-BHpS3cMi.js} +1 -1
- package/dist/{img-DYi-2xfu.js → img-BArHHegM.js} +1 -1
- package/dist/{index-D6OjIQeq.js → index-smzxfsyV.js} +2 -2
- package/dist/{pdf-BE8YApaL.js → pdf-D1L3r23x.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-CeJVwNle.js → useAutoSizeLabelsInsideViewbox-DeqXeTNw.js} +1 -1
- package/dist/{useNestedProp-QUe0ze7N.js → useNestedProp-DeKmJzsE.js} +1 -1
- package/dist/{usePrinter-BZ8rT5v2.js → usePrinter-nFj0xF0a.js} +2 -2
- package/dist/{vue-data-ui-C8k4Y_oL.js → vue-data-ui-DcBYykse.js} +64 -64
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-Bt5Fz91G.js → vue-ui-3d-bar-D4rc8PD3.js} +57 -57
- package/dist/{vue-ui-accordion-Cq060UfJ.js → vue-ui-accordion-7cfJUVx5.js} +3 -3
- package/dist/{vue-ui-age-pyramid-8y3q3bso.js → vue-ui-age-pyramid-BXMIUNB_.js} +6 -6
- package/dist/{vue-ui-annotator-CiYwSoCc.js → vue-ui-annotator-aCDhQ-m2.js} +2 -2
- package/dist/{vue-ui-bullet-1eQWn7Q3.js → vue-ui-bullet-Cd_iix-z.js} +7 -7
- package/dist/{vue-ui-candlestick-CIlTxwGr.js → vue-ui-candlestick-C-TTTgiW.js} +7 -7
- package/dist/{vue-ui-carousel-table-CgwL2hyg.js → vue-ui-carousel-table-C58J4zpm.js} +4 -4
- package/dist/{vue-ui-chestnut-DlpqIPgH.js → vue-ui-chestnut-C7u6GW-T.js} +5 -5
- package/dist/{vue-ui-chord-EjxXbSFh.js → vue-ui-chord-DxLU3Fg1.js} +8 -8
- package/dist/{vue-ui-circle-pack-DTCERNzf.js → vue-ui-circle-pack--a_KE7qz.js} +6 -6
- package/dist/{vue-ui-cursor-DvUoY7hb.js → vue-ui-cursor-DJQWAIj8.js} +2 -2
- package/dist/{vue-ui-dashboard-CXhJYlHM.js → vue-ui-dashboard-CIACUYB-.js} +67 -67
- package/dist/{vue-ui-digits-BIyBotSz.js → vue-ui-digits-CLV8h-P8.js} +2 -2
- package/dist/{vue-ui-donut-evolution-UXTR4300.js → vue-ui-donut-evolution-XGJvBQIm.js} +8 -8
- package/dist/{vue-ui-donut-BQZwtNJm.js → vue-ui-donut-sO6G5oor.js} +8 -8
- package/dist/{vue-ui-dumbbell-g6zDDlZe.js → vue-ui-dumbbell-Bi11rDL7.js} +7 -7
- package/dist/{vue-ui-flow-Ca_dZjw9.js → vue-ui-flow-RP2v-aZJ.js} +7 -7
- package/dist/{vue-ui-funnel-Om9LCUCJ.js → vue-ui-funnel-TVQXGyw7.js} +6 -6
- package/dist/{vue-ui-galaxy-BLUw06YE.js → vue-ui-galaxy-CUURaWgH.js} +7 -7
- package/dist/{vue-ui-gauge-CK-pZBWT.js → vue-ui-gauge-hTRlwARA.js} +125 -125
- package/dist/{vue-ui-gizmo-BSxlb7sM.js → vue-ui-gizmo-CZIgBvWV.js} +3 -3
- package/dist/{vue-ui-heatmap-DZg46_w0.js → vue-ui-heatmap-RKtFMgDP.js} +7 -7
- package/dist/{vue-ui-history-plot-D8sq7qDo.js → vue-ui-history-plot-fbTG7Mke.js} +7 -7
- package/dist/{vue-ui-kpi-CK4Sz-AD.js → vue-ui-kpi-CfX-zUDS.js} +3 -3
- package/dist/{vue-ui-mini-loader-D-potdmP.js → vue-ui-mini-loader-C1nANuMy.js} +2 -2
- package/dist/{vue-ui-molecule-B36nPur5.js → vue-ui-molecule-BU7T1ysb.js} +5 -5
- package/dist/{vue-ui-mood-radar-DaacpsBj.js → vue-ui-mood-radar-Cb8cFWzE.js} +7 -7
- package/dist/{vue-ui-nested-donuts-UgIV0zrL.js → vue-ui-nested-donuts-DTZD8BTA.js} +7 -7
- package/dist/{vue-ui-onion-DWUFUuVG.js → vue-ui-onion-5xmlEUsJ.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DleqNzzO.js → vue-ui-parallel-coordinate-plot-Wc0TbyJH.js} +8 -8
- package/dist/{vue-ui-quadrant-B_dlGzjJ.js → vue-ui-quadrant-BC99Cua7.js} +8 -8
- package/dist/{vue-ui-quick-chart-Dyo1b6H6.js → vue-ui-quick-chart-Cbv2UcEu.js} +6 -6
- package/dist/{vue-ui-radar-NbR2uHg4.js → vue-ui-radar-B-ey_fDA.js} +8 -8
- package/dist/{vue-ui-rating-CryvFvr7.js → vue-ui-rating-BNCKLcCa.js} +2 -2
- package/dist/{vue-ui-relation-circle-DF6dE4zW.js → vue-ui-relation-circle-CYFQcAgc.js} +7 -7
- package/dist/{vue-ui-ridgeline-8-dQ3bbv.js → vue-ui-ridgeline-B_6K1FTc.js} +8 -8
- package/dist/{vue-ui-rings-B147Pr4Q.js → vue-ui-rings-D_BTgxYc.js} +8 -8
- package/dist/{vue-ui-scatter-yKBu-zLG.js → vue-ui-scatter-B69SYOfv.js} +8 -8
- package/dist/{vue-ui-skeleton-C-jwsbrt.js → vue-ui-skeleton-CpkwgALO.js} +3 -3
- package/dist/{vue-ui-smiley-DFJ2-pxP.js → vue-ui-smiley-t16dEIoQ.js} +2 -2
- package/dist/vue-ui-spark-trend-DskdjYw4.js +336 -0
- package/dist/{vue-ui-sparkbar-DRsv3ulD.js → vue-ui-sparkbar-C-evQIq2.js} +81 -81
- package/dist/{vue-ui-sparkgauge-BfoO71Ji.js → vue-ui-sparkgauge-DycVSHAs.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DJtyI7Bl.js → vue-ui-sparkhistogram-CZLnlSUD.js} +4 -4
- package/dist/{vue-ui-sparkline-dHdyjp0m.js → vue-ui-sparkline-C1nZRVTa.js} +169 -169
- package/dist/{vue-ui-sparkstackbar-DQhZm6u2.js → vue-ui-sparkstackbar-CUUeuwAI.js} +3 -3
- package/dist/{vue-ui-stackbar-BEoSEdhL.js → vue-ui-stackbar-D27Wq8Y4.js} +9 -9
- package/dist/{vue-ui-strip-plot-CNqY9uEA.js → vue-ui-strip-plot-D-srKJUr.js} +7 -7
- package/dist/{vue-ui-table-ywthhZy0.js → vue-ui-table-LcImk124.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DDR4_yLN.js → vue-ui-table-heatmap-BfXe_f0K.js} +5 -5
- package/dist/{vue-ui-table-sparkline-qFmRMBGM.js → vue-ui-table-sparkline-DyrnPNGv.js} +4 -4
- package/dist/{vue-ui-thermometer-Dk534ePJ.js → vue-ui-thermometer-DxRDmz-L.js} +7 -7
- package/dist/{vue-ui-timer-UVZZcr4T.js → vue-ui-timer-Bbzb09O8.js} +5 -5
- package/dist/{vue-ui-tiremarks-BaFMrJSV.js → vue-ui-tiremarks-DWy1Dkub.js} +6 -6
- package/dist/{vue-ui-treemap-CuHOtSzw.js → vue-ui-treemap-C3Ek_E4n.js} +8 -8
- package/dist/{vue-ui-vertical-bar-C-_UEN9K.js → vue-ui-vertical-bar-CV3Mc1cX.js} +9 -9
- package/dist/{vue-ui-waffle-BTUdTAI_.js → vue-ui-waffle-D2mQJdcV.js} +8 -8
- package/dist/{vue-ui-wheel-BaqvZwV1.js → vue-ui-wheel-zbog7bII.js} +6 -6
- package/dist/{vue-ui-word-cloud-Iry997aF.js → vue-ui-word-cloud-D9iZRkQP.js} +6 -6
- package/dist/{vue-ui-world-B-iFEOiQ.js → vue-ui-world-D5dR5VdK.js} +6 -6
- package/dist/{vue-ui-xy-LlykHLgF.js → vue-ui-xy-Cll76_i9.js} +1254 -1250
- package/dist/{vue-ui-xy-canvas-CvkmWMXw.js → vue-ui-xy-canvas-DJVXAfpL.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-spark-trend-BU0OIb8g.js +0 -315
|
@@ -10,7 +10,7 @@ function m({
|
|
|
10
10
|
!a || r.value || (r.value = !0, clearTimeout(l.value), l.value = setTimeout(async () => {
|
|
11
11
|
if (a)
|
|
12
12
|
try {
|
|
13
|
-
const { default: e } = await import("./pdf-
|
|
13
|
+
const { default: e } = await import("./pdf-D1L3r23x.js");
|
|
14
14
|
await e({
|
|
15
15
|
domElement: document.getElementById(u),
|
|
16
16
|
fileName: i,
|
|
@@ -30,7 +30,7 @@ function m({
|
|
|
30
30
|
!a || o.value || (o.value = !0, clearTimeout(l.value), l.value = setTimeout(async () => {
|
|
31
31
|
if (a)
|
|
32
32
|
try {
|
|
33
|
-
const { default: e } = await import("./img-
|
|
33
|
+
const { default: e } = await import("./img-BArHHegM.js");
|
|
34
34
|
await e({
|
|
35
35
|
domElement: document.getElementById(u),
|
|
36
36
|
fileName: i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as re, defineAsyncComponent as t, computed as c, ref as o, onMounted as le, watch as Z, shallowReactive as ue, createElementBlock as se, createBlock as d, openBlock as g, normalizeStyle as ce, createElementVNode as ge, createTextVNode as pe, createCommentVNode as q, toDisplayString as me, resolveDynamicComponent as de, mergeProps as Ve, toHandlers as Ue, createSlots as fe, renderList as ve, withCtx as ke, renderSlot as Se, normalizeProps as he, guardReactiveProps as be } from "vue";
|
|
2
|
-
import K from "./BaseIcon-
|
|
2
|
+
import K from "./BaseIcon-BPiT94Lb.js";
|
|
3
3
|
const ye = { style: { width: "36px" } }, Ae = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -38,71 +38,71 @@ const ye = { style: { width: "36px" } }, Ae = {
|
|
|
38
38
|
],
|
|
39
39
|
setup(Y, { expose: J, emit: R }) {
|
|
40
40
|
const a = Y, { component: Ce, dataset: w, config: ee } = re(a), p = {
|
|
41
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-
|
|
42
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-
|
|
43
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-
|
|
44
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-
|
|
45
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-
|
|
46
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-
|
|
47
|
-
VueUiDigits: t(() => import("./vue-ui-digits-
|
|
48
|
-
VueUiDonut: t(() => import("./vue-ui-donut-
|
|
49
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-
|
|
50
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-
|
|
51
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-
|
|
52
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-
|
|
53
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-
|
|
54
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-
|
|
55
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-
|
|
56
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-
|
|
57
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-
|
|
58
|
-
VueUiOnion: t(() => import("./vue-ui-onion-
|
|
59
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-
|
|
60
|
-
VueUiRadar: t(() => import("./vue-ui-radar-
|
|
61
|
-
VueUiRating: t(() => import("./vue-ui-rating-
|
|
62
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-
|
|
63
|
-
VueUiRings: t(() => import("./vue-ui-rings-
|
|
64
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-
|
|
65
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: t(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-
|
|
41
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-D4rc8PD3.js")),
|
|
42
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-BXMIUNB_.js")),
|
|
43
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-aCDhQ-m2.js")),
|
|
44
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-C-TTTgiW.js")),
|
|
45
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-C7u6GW-T.js")),
|
|
46
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-CIACUYB-.js")),
|
|
47
|
+
VueUiDigits: t(() => import("./vue-ui-digits-CLV8h-P8.js")),
|
|
48
|
+
VueUiDonut: t(() => import("./vue-ui-donut-sO6G5oor.js")),
|
|
49
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-XGJvBQIm.js")),
|
|
50
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-CUURaWgH.js")),
|
|
51
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-hTRlwARA.js")),
|
|
52
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-RKtFMgDP.js")),
|
|
53
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-CfX-zUDS.js")),
|
|
54
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-C1nANuMy.js")),
|
|
55
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-BU7T1ysb.js")),
|
|
56
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-Cb8cFWzE.js")),
|
|
57
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-DTZD8BTA.js")),
|
|
58
|
+
VueUiOnion: t(() => import("./vue-ui-onion-5xmlEUsJ.js")),
|
|
59
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-BC99Cua7.js")),
|
|
60
|
+
VueUiRadar: t(() => import("./vue-ui-radar-B-ey_fDA.js")),
|
|
61
|
+
VueUiRating: t(() => import("./vue-ui-rating-BNCKLcCa.js")),
|
|
62
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-CYFQcAgc.js")),
|
|
63
|
+
VueUiRings: t(() => import("./vue-ui-rings-D_BTgxYc.js")),
|
|
64
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-B69SYOfv.js")),
|
|
65
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-CpkwgALO.js")),
|
|
66
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-t16dEIoQ.js")),
|
|
67
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-C-evQIq2.js")),
|
|
68
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DycVSHAs.js")),
|
|
69
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-CZLnlSUD.js")),
|
|
70
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-C1nZRVTa.js")),
|
|
71
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-CUUeuwAI.js")),
|
|
72
|
+
VueUiTable: t(() => import("./vue-ui-table-LcImk124.js")),
|
|
73
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-DyrnPNGv.js")),
|
|
74
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-DxRDmz-L.js")),
|
|
75
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-DWy1Dkub.js")),
|
|
76
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-C3Ek_E4n.js")),
|
|
77
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-CV3Mc1cX.js")),
|
|
78
78
|
// delete in v4
|
|
79
|
-
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-
|
|
79
|
+
VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-CV3Mc1cX.js")),
|
|
80
80
|
// v3 renaming
|
|
81
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-
|
|
82
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-
|
|
83
|
-
VueUiXy: t(() => import("./vue-ui-xy-
|
|
84
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-
|
|
85
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-
|
|
86
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-
|
|
87
|
-
VueUiCursor: t(() => import("./vue-ui-cursor-
|
|
88
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-
|
|
89
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-
|
|
90
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-
|
|
91
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-
|
|
92
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-
|
|
93
|
-
VueUiFlow: t(() => import("./vue-ui-flow-
|
|
94
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-
|
|
95
|
-
VueUiTimer: t(() => import("./vue-ui-timer-
|
|
96
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-
|
|
97
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-
|
|
98
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-
|
|
99
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-
|
|
100
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-
|
|
101
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-
|
|
102
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack
|
|
103
|
-
VueUiWorld: t(() => import("./vue-ui-world-
|
|
104
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-
|
|
105
|
-
VueUiChord: t(() => import("./vue-ui-chord-
|
|
81
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-D2mQJdcV.js")),
|
|
82
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-zbog7bII.js")),
|
|
83
|
+
VueUiXy: t(() => import("./vue-ui-xy-Cll76_i9.js")),
|
|
84
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-BfXe_f0K.js")),
|
|
85
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-7cfJUVx5.js")),
|
|
86
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-Cbv2UcEu.js")),
|
|
87
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-DJQWAIj8.js")),
|
|
88
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-DskdjYw4.js")),
|
|
89
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-D-srKJUr.js")),
|
|
90
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-Bi11rDL7.js")),
|
|
91
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-D9iZRkQP.js")),
|
|
92
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-DJVXAfpL.js")),
|
|
93
|
+
VueUiFlow: t(() => import("./vue-ui-flow-RP2v-aZJ.js")),
|
|
94
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-Wc0TbyJH.js")),
|
|
95
|
+
VueUiTimer: t(() => import("./vue-ui-timer-Bbzb09O8.js")),
|
|
96
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-C58J4zpm.js")),
|
|
97
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-CZIgBvWV.js")),
|
|
98
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-D27Wq8Y4.js")),
|
|
99
|
+
VueUiBullet: t(() => import("./vue-ui-bullet-Cd_iix-z.js")),
|
|
100
|
+
VueUiFunnel: t(() => import("./vue-ui-funnel-TVQXGyw7.js")),
|
|
101
|
+
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-fbTG7Mke.js")),
|
|
102
|
+
VueUiCirclePack: t(() => import("./vue-ui-circle-pack--a_KE7qz.js")),
|
|
103
|
+
VueUiWorld: t(() => import("./vue-ui-world-D5dR5VdK.js")),
|
|
104
|
+
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-B_6K1FTc.js")),
|
|
105
|
+
VueUiChord: t(() => import("./vue-ui-chord-DxLU3Fg1.js"))
|
|
106
106
|
}, te = {
|
|
107
107
|
VueUi3dBar: ["config", "dataset"],
|
|
108
108
|
VueUiAgePyramid: ["config", "dataset"],
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { as as s, at as u, au as V, av as U, aw as r, ax as t, bn as o, ay as b, bk as l, az as n, bu as d, br as m, aA as g, aB as C, aC as c, aD as S, aE as k, aF as p, aG as h, bo as T, aH as P, aI as D, bl as f, aJ as v, bp as y, be as A, aK as B, aL as H, aM as R, aN as W, aO as x, aP as F, aQ as M, aR as w, bq as z, aS as G, aT as E, aU as L, aV as O, aW as Q, bt as X, aX as j, aY as I, aZ as K, a_ as N, a$ as q, b0 as J, b1 as Y, b2 as Z, b3 as _, b4 as $, bm as aa, b5 as ea, b6 as ia, b7 as sa, b8 as ua, b9 as Va, ba as Ua, bb as ra, bc as ta, bd as oa, bf as ba, bg as la, bh as na, bs as da, bi as ma, bj as ga, L as Ca, V as ca, U as Sa, am as ka, ao as pa, bv as ha, bw as Ta, bx as Pa, by as Da, bz as fa, bA as va, bB as ya, bC as Aa, bD as Ba, bE as Ha, bF as Ra } from "./index-
|
|
2
|
+
import { as as s, at as u, au as V, av as U, aw as r, ax as t, bn as o, ay as b, bk as l, az as n, bu as d, br as m, aA as g, aB as C, aC as c, aD as S, aE as k, aF as p, aG as h, bo as T, aH as P, aI as D, bl as f, aJ as v, bp as y, be as A, aK as B, aL as H, aM as R, aN as W, aO as x, aP as F, aQ as M, aR as w, bq as z, aS as G, aT as E, aU as L, aV as O, aW as Q, bt as X, aX as j, aY as I, aZ as K, a_ as N, a$ as q, b0 as J, b1 as Y, b2 as Z, b3 as _, b4 as $, bm as aa, b5 as ea, b6 as ia, b7 as sa, b8 as ua, b9 as Va, ba as Ua, bb as ra, bc as ta, bd as oa, bf as ba, bg as la, bh as na, bs as da, bi as ma, bj as ga, L as Ca, V as ca, U as Sa, am as ka, ao as pa, bv as ha, bw as Ta, bx as Pa, by as Da, bz as fa, bA as va, bB as ya, bC as Aa, bD as Ba, bE as Ha, bF as Ra } from "./index-smzxfsyV.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineAsyncComponent as H, computed as
|
|
2
|
-
import { u as Ft, c as lt, t as Tt, a as Pt, p as ve, b as Dt, d as At, e as St, o as Ot, f as he, g as Ce, l as R, m as ot, h as Bt, i as
|
|
1
|
+
import { defineAsyncComponent as H, computed as D, ref as _, toRefs as wt, watch as xe, onMounted as Ct, createElementBlock as c, openBlock as u, unref as n, normalizeStyle as j, normalizeClass as qe, createBlock as Q, createCommentVNode as p, createSlots as Ye, withCtx as A, renderSlot as P, normalizeProps as de, guardReactiveProps as ce, createVNode as Ke, createElementVNode as i, Fragment as C, renderList as M, toDisplayString as z, withKeys as Je, withModifiers as Qe, mergeProps as we, resolveDynamicComponent as Mt, createTextVNode as et, nextTick as tt } from "vue";
|
|
2
|
+
import { u as Ft, c as lt, t as Tt, a as Pt, p as ve, b as Dt, d as At, e as St, o as Ot, f as he, g as Ce, l as R, m as ot, h as Bt, i as B, X as It, s as $, j as X, k as fe, n as st, q as pe, r as G, v as jt, w as zt } from "./index-smzxfsyV.js";
|
|
3
3
|
import { t as Nt, u as Lt } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Wt, B as Et } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
-
import { u as Rt } from "./usePrinter-
|
|
6
|
-
import { u as at } from "./useNestedProp-
|
|
5
|
+
import { u as Rt } from "./usePrinter-nFj0xF0a.js";
|
|
6
|
+
import { u as at } from "./useNestedProp-DeKmJzsE.js";
|
|
7
7
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
8
|
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
-
import Ut from "./img-
|
|
10
|
-
import Ht from "./Title-
|
|
9
|
+
import Ut from "./img-BArHHegM.js";
|
|
10
|
+
import Ht from "./Title-B_WMW2Bp.js";
|
|
11
11
|
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["id"], Jt = ["stop-color"], Qt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["id"], sl = ["stop-color"], al = ["stop-color"], nl = ["id"], rl = ["stop-color"], ul = ["stop-color"], il = ["id"], dl = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], fl = ["stop-color"], pl = { key: 1 }, yl = ["id"], kl = ["stop-color"], gl = ["stop-color"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["id"], Ml = ["x", "y", "font-size", "font-weight", "fill"], Fl = ["x", "y"], Tl = ["cx", "cy", "stroke", "opacity"], Pl = ["d", "stroke"], Dl = ["d", "stroke"], Al = { key: 4 }, Sl = { key: 0 }, Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["stroke-dasharray", "d", "stroke", "stroke-width"], jl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = { key: 1 }, Nl = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Wl = ["d", "stroke", "stroke-width", "fill"], El = { key: 2 }, Rl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Gl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Vl = ["d", "fill", "onMouseenter", "onClick", "onMouseout"], Ul = ["d", "onMouseenter", "onClick", "onMouseout"], Hl = ["d"], Xl = ["d", "stroke"], Zl = ["onClick"], ql = ["stroke", "d"], Yl = ["cx", "cy", "fill", "stroke"], Kl = ["x", "y", "width", "height"], Jl = ["x", "y", "width", "height"], Ql = { key: 3 }, eo = ["d", "stroke"], to = ["d", "fill", "stroke"], lo = { key: 0 }, oo = ["text-anchor", "x", "y", "fill", "font-size"], so = ["text-anchor", "x", "y", "fill", "font-size"], ao = { key: 4 }, no = ["d", "fill", "stroke"], ro = { key: 5 }, uo = { key: 0 }, io = ["stroke-dasharray", "d", "stroke", "stroke-width"], co = ["stroke-dasharray", "d", "stroke", "stroke-width"], vo = ["stroke-dasharray", "d", "stroke", "stroke-width"], ho = ["stroke-dasharray", "d", "stroke", "stroke-width"], fo = ["d", "stroke", "stroke-width", "fill"], po = ["d", "stroke", "stroke-width", "fill"], yo = ["d"], ko = { key: 1 }, go = ["onClick"], $o = ["id"], _o = ["stop-color"], mo = ["stop-color"], bo = ["id"], xo = ["stop-color"], wo = ["stop-color"], Co = ["stop-color"], Mo = ["stop-color"], Fo = ["stop-color"], To = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Po = ["onMouseenter", "onClick", "onMouseout", "d"], Do = ["onMouseenter", "onClick", "onMouseout", "d", "fill"], Ao = ["onClick"], So = ["stroke", "d"], Oo = ["cx", "cy", "fill", "stroke"], Bo = ["x", "y", "width", "height"], Io = ["x", "y", "width", "height"], jo = { key: 3 }, zo = ["d", "stroke"], No = ["d", "fill", "stroke"], Lo = { key: 0 }, Wo = ["text-anchor", "x", "y", "fill", "font-size"], Eo = ["text-anchor", "x", "y", "fill", "font-size"], Ro = { key: 4 }, Go = ["d", "fill", "stroke"], Vo = {
|
|
13
13
|
key: 3,
|
|
@@ -30,8 +30,8 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectDatapoint"],
|
|
32
32
|
setup(nt, { expose: rt, emit: ut }) {
|
|
33
|
-
const it = H(() => import("./BaseIcon-
|
|
34
|
-
...wt(
|
|
33
|
+
const it = H(() => import("./BaseIcon-BPiT94Lb.js")), dt = H(() => import("./vue-ui-accordion-7cfJUVx5.js")), ct = H(() => import("./DataTable-CywujQw9.js")), vt = H(() => import("./PenAndPaper-Deh70G9d.js")), ht = H(() => import("./UserOptions-CtECQwBN.js")), ft = H(() => import("./PackageVersion-BzGzkGiC.js")), pt = H(() => import("./BaseDraggableDialog-CkjMZyIs.js")), { vue_ui_3d_bar: yt } = Ft(), O = nt, se = ut, Me = D(() => !!O.dataset && Object.keys(O.dataset).length), F = _(lt()), N = _(null), I = _(!1), Fe = _(0), Te = _(0), Pe = _(null), ee = _(null), ae = _(null), De = _(null), te = _(!1), le = _(null), ye = _(null), e = _(ge()), { loading: Z, FINAL_DATASET: S } = Wt({
|
|
34
|
+
...wt(O),
|
|
35
35
|
FINAL_CONFIG: e,
|
|
36
36
|
prepareConfig: ge,
|
|
37
37
|
callback: () => {
|
|
@@ -91,25 +91,25 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
91
91
|
}), { userOptionsVisible: ke, setUserOptionsVisibility: Ae, keepUserOptionState: Se } = Gt({ config: e.value }), { svgRef: Oe } = Vt({ config: e.value.style.chart.title });
|
|
92
92
|
function ge() {
|
|
93
93
|
const a = at({
|
|
94
|
-
userConfig:
|
|
94
|
+
userConfig: O.config,
|
|
95
95
|
defaultConfig: yt
|
|
96
96
|
});
|
|
97
97
|
return a.theme ? {
|
|
98
98
|
...at({
|
|
99
|
-
userConfig: Dt.vue_ui_3d_bar[a.theme] ||
|
|
99
|
+
userConfig: Dt.vue_ui_3d_bar[a.theme] || O.config,
|
|
100
100
|
defaultConfig: a
|
|
101
101
|
}),
|
|
102
102
|
customPalette: Pt[a.theme] || ve
|
|
103
103
|
} : a;
|
|
104
104
|
}
|
|
105
|
-
xe(() =>
|
|
105
|
+
xe(() => O.config, (a) => {
|
|
106
106
|
Z.value || (e.value = ge()), ke.value = !e.value.userOptions.showOnChartHover, We(), Fe.value += 1, Te.value += 1, V.value.showTable = e.value.table.show;
|
|
107
107
|
}, { deep: !0 });
|
|
108
108
|
const { isPrinting: Be, isImaging: Ie, generatePdf: je, generateImage: ze } = Rt({
|
|
109
109
|
elementId: `3d_bar_${F.value}`,
|
|
110
110
|
fileName: e.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
111
111
|
options: e.value.userOptions.print
|
|
112
|
-
}), kt =
|
|
112
|
+
}), kt = D(() => At(e.value.customPalette)), V = _({
|
|
113
113
|
showTable: e.value.table.show
|
|
114
114
|
});
|
|
115
115
|
xe(e, () => {
|
|
@@ -117,7 +117,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
117
117
|
showTable: e.value.table.show
|
|
118
118
|
};
|
|
119
119
|
}, { immediate: !0 });
|
|
120
|
-
const x =
|
|
120
|
+
const x = D(() => S.value.series && S.value.series.length), $e = _(e.value.style.chart.box.dimensions.width * (x.value ? 2 : 1)), Ne = _(e.value.style.chart.box.dimensions.height), o = D(() => ({
|
|
121
121
|
height: Ne.value,
|
|
122
122
|
width: $e.value,
|
|
123
123
|
absoluteWidth: $e.value,
|
|
@@ -126,9 +126,9 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
126
126
|
left: e.value.style.chart.box.dimensions.left,
|
|
127
127
|
right: e.value.style.chart.box.dimensions.right,
|
|
128
128
|
perspective: e.value.style.chart.box.dimensions.perspective
|
|
129
|
-
})), w =
|
|
129
|
+
})), w = D(() => {
|
|
130
130
|
if (x.value) {
|
|
131
|
-
const a =
|
|
131
|
+
const a = S.value.series.map((l) => l.value || 0).reduce((l, d) => l + d, 0), s = S.value.series.map((l, d) => ({
|
|
132
132
|
...l,
|
|
133
133
|
seriesIndex: d,
|
|
134
134
|
id: lt(),
|
|
@@ -145,7 +145,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
145
145
|
return t;
|
|
146
146
|
}
|
|
147
147
|
return null;
|
|
148
|
-
}), L =
|
|
148
|
+
}), L = D(() => {
|
|
149
149
|
const a = o.value.width / 2;
|
|
150
150
|
return {
|
|
151
151
|
right: `M${a},${o.value.top} ${o.value.width - o.value.right}, ${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} ${a},${o.value.height - o.value.bottom}`,
|
|
@@ -157,24 +157,24 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
157
157
|
tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
158
158
|
tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
|
|
159
159
|
};
|
|
160
|
-
}), q = _(e.value.style.chart.animation.use ? 0 :
|
|
160
|
+
}), q = _(e.value.style.chart.animation.use ? 0 : S.value.percentage);
|
|
161
161
|
function Le() {
|
|
162
162
|
let a = 0, s = e.value.style.chart.animation.speed, t = 5e-3 * e.value.style.chart.animation.acceleration;
|
|
163
163
|
function v() {
|
|
164
|
-
q.value += s + a, a += t, q.value <
|
|
164
|
+
q.value += s + a, a += t, q.value < S.value.percentage ? requestAnimationFrame(v) : q.value = S.value.percentage;
|
|
165
165
|
}
|
|
166
166
|
e.value.style.chart.animation.use && (q.value = 0, v());
|
|
167
167
|
}
|
|
168
168
|
Ct(() => {
|
|
169
169
|
We(), Le();
|
|
170
170
|
});
|
|
171
|
-
const ne =
|
|
171
|
+
const ne = D(() => !!e.value.debug);
|
|
172
172
|
function We() {
|
|
173
|
-
if (Ot(
|
|
173
|
+
if (Ot(O.dataset) ? he({
|
|
174
174
|
componentName: "VueUi3dBar",
|
|
175
175
|
type: "dataset",
|
|
176
176
|
debug: ne.value
|
|
177
|
-
}) :
|
|
177
|
+
}) : O.dataset.series ? O.dataset.series.forEach((a, s) => {
|
|
178
178
|
Ce({
|
|
179
179
|
datasetObject: a,
|
|
180
180
|
requiredAttributes: ["name", "value"]
|
|
@@ -201,7 +201,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
201
201
|
});
|
|
202
202
|
});
|
|
203
203
|
}) : Ce({
|
|
204
|
-
datasetObject:
|
|
204
|
+
datasetObject: O.dataset,
|
|
205
205
|
requiredAttributes: ["percentage"]
|
|
206
206
|
}).forEach((a) => {
|
|
207
207
|
he({
|
|
@@ -224,7 +224,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
224
224
|
ee.value && (ae.value && ee.value.unobserve(ae.value), ee.value.disconnect()), ee.value = new ResizeObserver(a), ae.value = N.value.parentNode, ee.value.observe(ae.value);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
const Y =
|
|
227
|
+
const Y = D(() => o.value.width / 4);
|
|
228
228
|
function gt(a, s, t, v) {
|
|
229
229
|
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: d, height: r, bottom: k, right: E, left: g, perspective: y } = o.value, f = x.value ? d / 4 : d / 2, b = f * 2 + g, h = k + l * a, be = r - h - y - l * s / 2, mt = be > o.value.height / 2 ? "top" : "bottom", Ue = r * 0.25, bt = !!t;
|
|
230
230
|
let He = null, Xe = null;
|
|
@@ -290,7 +290,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
290
290
|
${g},${r - h - y}Z`
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
|
-
const K =
|
|
293
|
+
const K = D(() => {
|
|
294
294
|
const a = Bt(q.value / 100), s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: t, height: v, bottom: l, right: d, left: r, perspective: k } = o.value, E = x.value ? t / 4 : t / 2, g = x.value ? E * 2 + r : d, f = l + s * 0;
|
|
295
295
|
return {
|
|
296
296
|
right: `M${E},${v - f} ${E},${v - f - s * a} ${t - g},${v - f - k - s * a} ${t - g},${v - f - k}Z`,
|
|
@@ -310,13 +310,13 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
310
310
|
};
|
|
311
311
|
}), m = _(null);
|
|
312
312
|
function T(a, s = !1) {
|
|
313
|
-
e.value.events.datapointEnter && !s && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && s && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), s || (m.value = a.id), s &&
|
|
313
|
+
e.value.events.datapointEnter && !s && e.value.events.datapointEnter({ datapoint: a, seriesIndex: a.seriesIndex }), e.value.events.datapointClick && s && e.value.events.datapointClick({ datapoint: a, seriesIndex: a.seriesIndex }), se("selectDatapoint", a), s || (m.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
|
|
314
314
|
}
|
|
315
315
|
function U(a) {
|
|
316
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !
|
|
316
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: a.seriesIndex }), !I.value && (m.value = null);
|
|
317
317
|
}
|
|
318
318
|
function J(a, s, t = !1) {
|
|
319
|
-
const v =
|
|
319
|
+
const v = S.value.series.map((r) => r.value || 0).reduce((r, k) => r + k, 0), l = isNaN(a.value / v) ? 0 : a.value / v * 100, d = isNaN(a.value / Ee(s)) ? 0 : a.value / Ee(s) * 100;
|
|
320
320
|
return t ? d : l.toFixed(0) + "%";
|
|
321
321
|
}
|
|
322
322
|
function Ee(a) {
|
|
@@ -327,9 +327,9 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
327
327
|
re.value = a;
|
|
328
328
|
}
|
|
329
329
|
function $t() {
|
|
330
|
-
return x.value ? w.value :
|
|
330
|
+
return x.value ? w.value : S.value.percentage;
|
|
331
331
|
}
|
|
332
|
-
const W =
|
|
332
|
+
const W = D(() => {
|
|
333
333
|
if (x.value) {
|
|
334
334
|
const a = w.value.flatMap((t) => t.breakdown && t.breakdown.length ? [{ name: t.name, color: t.color }, ...t.breakdown.map((v, l) => ({
|
|
335
335
|
name: v.name,
|
|
@@ -354,20 +354,20 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
354
354
|
a ? a(l) : zt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
const ue =
|
|
357
|
+
const ue = D(() => {
|
|
358
358
|
const a = w.value.map((d) => d.value).reduce((d, r) => d + r, 0), s = [
|
|
359
359
|
' <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>',
|
|
360
|
-
|
|
360
|
+
B({ p: e.value.style.chart.legend.prefix, v: a, s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue }),
|
|
361
361
|
"100%"
|
|
362
362
|
], t = W.value.head.map((d, r) => {
|
|
363
|
-
const k =
|
|
363
|
+
const k = B({ p: e.value.style.chart.legend.prefix, v: W.value.body[r], s: e.value.style.chart.legend.suffix, r: e.value.table.td.roundingValue });
|
|
364
364
|
return [
|
|
365
365
|
{
|
|
366
366
|
color: d.color,
|
|
367
367
|
name: d.name
|
|
368
368
|
},
|
|
369
369
|
k,
|
|
370
|
-
isNaN(W.value.body[r] / a) ? "-" :
|
|
370
|
+
isNaN(W.value.body[r] / a) ? "-" : B({
|
|
371
371
|
v: W.value.body[r] / a * 100,
|
|
372
372
|
s: "%",
|
|
373
373
|
r: e.value.table.td.roundingPercentage
|
|
@@ -417,7 +417,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
417
417
|
aspectRatio: v
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
|
-
const oe =
|
|
420
|
+
const oe = D(() => {
|
|
421
421
|
const a = e.value.table.useDialog && !e.value.table.show, s = V.value.showTable;
|
|
422
422
|
return {
|
|
423
423
|
component: a ? pt : dt,
|
|
@@ -533,49 +533,49 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
533
533
|
}, Ye({ _: 2 }, [
|
|
534
534
|
a.$slots.menuIcon ? {
|
|
535
535
|
name: "menuIcon",
|
|
536
|
-
fn:
|
|
536
|
+
fn: A(({ isOpen: t, color: v }) => [
|
|
537
537
|
P(a.$slots, "menuIcon", de(ce({ isOpen: t, color: v })), void 0, !0)
|
|
538
538
|
]),
|
|
539
539
|
key: "0"
|
|
540
540
|
} : void 0,
|
|
541
541
|
a.$slots.optionPdf ? {
|
|
542
542
|
name: "optionPdf",
|
|
543
|
-
fn:
|
|
543
|
+
fn: A(() => [
|
|
544
544
|
P(a.$slots, "optionPdf", {}, void 0, !0)
|
|
545
545
|
]),
|
|
546
546
|
key: "1"
|
|
547
547
|
} : void 0,
|
|
548
548
|
a.$slots.optionCsv ? {
|
|
549
549
|
name: "optionCsv",
|
|
550
|
-
fn:
|
|
550
|
+
fn: A(() => [
|
|
551
551
|
P(a.$slots, "optionCsv", {}, void 0, !0)
|
|
552
552
|
]),
|
|
553
553
|
key: "2"
|
|
554
554
|
} : void 0,
|
|
555
555
|
a.$slots.optionImg ? {
|
|
556
556
|
name: "optionImg",
|
|
557
|
-
fn:
|
|
557
|
+
fn: A(() => [
|
|
558
558
|
P(a.$slots, "optionImg", {}, void 0, !0)
|
|
559
559
|
]),
|
|
560
560
|
key: "3"
|
|
561
561
|
} : void 0,
|
|
562
562
|
a.$slots.optionTable ? {
|
|
563
563
|
name: "optionTable",
|
|
564
|
-
fn:
|
|
564
|
+
fn: A(() => [
|
|
565
565
|
P(a.$slots, "optionTable", {}, void 0, !0)
|
|
566
566
|
]),
|
|
567
567
|
key: "4"
|
|
568
568
|
} : void 0,
|
|
569
569
|
a.$slots.optionFullscreen ? {
|
|
570
570
|
name: "optionFullscreen",
|
|
571
|
-
fn:
|
|
571
|
+
fn: A(({ toggleFullscreen: t, isFullscreen: v }) => [
|
|
572
572
|
P(a.$slots, "optionFullscreen", de(ce({ toggleFullscreen: t, isFullscreen: v })), void 0, !0)
|
|
573
573
|
]),
|
|
574
574
|
key: "5"
|
|
575
575
|
} : void 0,
|
|
576
576
|
a.$slots.optionAnnotator ? {
|
|
577
577
|
name: "optionAnnotator",
|
|
578
|
-
fn:
|
|
578
|
+
fn: A(({ toggleAnnotator: t, isAnnotator: v }) => [
|
|
579
579
|
P(a.$slots, "optionAnnotator", de(ce({ toggleAnnotator: t, isAnnotator: v })), void 0, !0)
|
|
580
580
|
]),
|
|
581
581
|
key: "6"
|
|
@@ -734,7 +734,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
734
734
|
}, null, -1)
|
|
735
735
|
])], 8, Cl)
|
|
736
736
|
])) : p("", !0),
|
|
737
|
-
e.value.style.chart.dataLabel.show && ![null, void 0].includes(
|
|
737
|
+
e.value.style.chart.dataLabel.show && ![null, void 0].includes(n(S).percentage) && [null, void 0].includes(n(S).series) ? (u(), c("text", {
|
|
738
738
|
key: 2,
|
|
739
739
|
x: o.value.width / 2,
|
|
740
740
|
y: o.value.top - e.value.style.chart.dataLabel.fontSize / 2,
|
|
@@ -742,25 +742,25 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
742
742
|
"font-weight": e.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
743
743
|
fill: e.value.style.chart.dataLabel.color,
|
|
744
744
|
"text-anchor": "middle"
|
|
745
|
-
}, z(n(
|
|
745
|
+
}, z(n(B)({
|
|
746
746
|
v: q.value,
|
|
747
747
|
s: "%",
|
|
748
748
|
r: e.value.style.chart.dataLabel.rounding
|
|
749
749
|
})), 9, Ml)) : p("", !0),
|
|
750
|
-
|
|
750
|
+
I.value ? (u(), c("g", {
|
|
751
751
|
key: 3,
|
|
752
752
|
role: "button",
|
|
753
753
|
tabindex: "0",
|
|
754
754
|
"aria-label": "Clear selection",
|
|
755
755
|
onClick: s[0] || (s[0] = (t) => {
|
|
756
|
-
|
|
756
|
+
I.value = !1, m.value = null;
|
|
757
757
|
}),
|
|
758
758
|
onKeydown: [
|
|
759
759
|
s[1] || (s[1] = Je(Qe((t) => {
|
|
760
|
-
|
|
760
|
+
I.value = !1, m.value = null;
|
|
761
761
|
}, ["prevent"]), ["enter"])),
|
|
762
762
|
s[2] || (s[2] = Je(Qe((t) => {
|
|
763
|
-
|
|
763
|
+
I.value = !1, m.value = null;
|
|
764
764
|
}, ["prevent"]), ["space"]))
|
|
765
765
|
],
|
|
766
766
|
onFocus: s[3] || (s[3] = (t) => te.value = !0),
|
|
@@ -966,7 +966,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
966
966
|
}, z(n(fe)(
|
|
967
967
|
e.value.style.chart.dataLabel.formatter,
|
|
968
968
|
t.value,
|
|
969
|
-
`${t.name}: ${n(
|
|
969
|
+
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
970
970
|
p: e.value.style.chart.legend.prefix,
|
|
971
971
|
v: t.value,
|
|
972
972
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1007,7 +1007,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1007
1007
|
}, z(n(fe)(
|
|
1008
1008
|
e.value.style.chart.dataLabel.formatter,
|
|
1009
1009
|
l.value,
|
|
1010
|
-
`${J(l, t.fill.donut)} (${n(
|
|
1010
|
+
`${J(l, t.fill.donut)} (${n(B)({
|
|
1011
1011
|
p: e.value.style.chart.legend.prefix,
|
|
1012
1012
|
v: l.value,
|
|
1013
1013
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1227,7 +1227,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1227
1227
|
}, z(n(fe)(
|
|
1228
1228
|
e.value.style.chart.dataLabel.formatter,
|
|
1229
1229
|
t.value,
|
|
1230
|
-
`${t.name}: ${n(
|
|
1230
|
+
`${t.name}: ${n(B)({ v: t.proportion * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })} (${n(B)({
|
|
1231
1231
|
p: e.value.style.chart.legend.prefix,
|
|
1232
1232
|
v: t.value,
|
|
1233
1233
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1268,7 +1268,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1268
1268
|
}, z(n(fe)(
|
|
1269
1269
|
e.value.style.chart.dataLabel.formatter,
|
|
1270
1270
|
l.value,
|
|
1271
|
-
`${J(l, t.fill.donut)} (${n(
|
|
1271
|
+
`${J(l, t.fill.donut)} (${n(B)({
|
|
1272
1272
|
p: e.value.style.chart.legend.prefix,
|
|
1273
1273
|
v: l.value,
|
|
1274
1274
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -1316,7 +1316,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1316
1316
|
ref: le,
|
|
1317
1317
|
onClose: Ve
|
|
1318
1318
|
}), Ye({
|
|
1319
|
-
content:
|
|
1319
|
+
content: A(() => [
|
|
1320
1320
|
(u(), Q(n(ct), {
|
|
1321
1321
|
key: `table_${Te.value}`,
|
|
1322
1322
|
colNames: ue.value.colNames,
|
|
@@ -1327,13 +1327,13 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1327
1327
|
withCloseButton: !e.value.table.useDialog,
|
|
1328
1328
|
onClose: Ve
|
|
1329
1329
|
}, {
|
|
1330
|
-
th:
|
|
1330
|
+
th: A(({ th: t }) => [
|
|
1331
1331
|
i("div", {
|
|
1332
1332
|
innerHTML: t,
|
|
1333
1333
|
style: { display: "flex", "align-items": "center" }
|
|
1334
1334
|
}, null, 8, Uo)
|
|
1335
1335
|
]),
|
|
1336
|
-
td:
|
|
1336
|
+
td: A(({ td: t }) => [
|
|
1337
1337
|
et(z(t.name || t), 1)
|
|
1338
1338
|
]),
|
|
1339
1339
|
_: 1
|
|
@@ -1343,14 +1343,14 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1343
1343
|
}, [
|
|
1344
1344
|
e.value.table.useDialog ? {
|
|
1345
1345
|
name: "title",
|
|
1346
|
-
fn:
|
|
1346
|
+
fn: A(() => [
|
|
1347
1347
|
et(z(oe.value.title), 1)
|
|
1348
1348
|
]),
|
|
1349
1349
|
key: "0"
|
|
1350
1350
|
} : void 0,
|
|
1351
1351
|
e.value.table.useDialog ? {
|
|
1352
1352
|
name: "actions",
|
|
1353
|
-
fn:
|
|
1353
|
+
fn: A(() => [
|
|
1354
1354
|
i("button", {
|
|
1355
1355
|
tabindex: "0",
|
|
1356
1356
|
class: "vue-ui-user-options-button",
|
|
@@ -1368,7 +1368,7 @@ const Zt = ["id"], qt = ["xmlns", "viewBox"], Yt = ["width", "height"], Kt = ["i
|
|
|
1368
1368
|
n(Z) ? (u(), Q(Et, { key: 6 })) : p("", !0)
|
|
1369
1369
|
], 44, Zt));
|
|
1370
1370
|
}
|
|
1371
|
-
}, as = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-
|
|
1371
|
+
}, as = /* @__PURE__ */ Xt(Ho, [["__scopeId", "data-v-c5fc1242"]]);
|
|
1372
1372
|
export {
|
|
1373
1373
|
as as default
|
|
1374
1374
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-BPiT94Lb.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-DeKmJzsE.js";
|
|
4
|
+
import { u as B, c as I } from "./index-smzxfsyV.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|