vue-data-ui 2.17.0 → 2.17.2
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 +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +65 -160
- package/dist/types/vue-data-ui.d.ts +65 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
- package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
- package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
- package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
- package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { toRefs as ne, defineAsyncComponent as t, computed as c, ref as o, onMounted as re, watch as Q, shallowReactive as le, createElementBlock as ue, createBlock as d, openBlock as g, normalizeStyle as se, createElementVNode as ce, createTextVNode as ge, createCommentVNode as q, toDisplayString as pe, resolveDynamicComponent as me, mergeProps as de, toHandlers as Ve, createSlots as Ue, renderList as fe, withCtx as ve, renderSlot as ke, normalizeProps as Se, guardReactiveProps as he } from "vue";
|
|
2
|
+
import K from "./BaseIcon-C2f-EcZc.js";
|
|
3
|
+
const be = { style: { width: "36px" } }, Ae = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
6
6
|
component: { type: String },
|
|
@@ -34,71 +34,71 @@ const Se = { style: { width: "36px" } }, Pe = {
|
|
|
34
34
|
"selectGroup",
|
|
35
35
|
"selectRibbon"
|
|
36
36
|
],
|
|
37
|
-
setup(
|
|
38
|
-
const a =
|
|
39
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-
|
|
40
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-
|
|
41
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-
|
|
42
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-
|
|
43
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-
|
|
44
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-
|
|
45
|
-
VueUiDigits: t(() => import("./vue-ui-digits-
|
|
46
|
-
VueUiDonut: t(() => import("./vue-ui-donut-
|
|
47
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-
|
|
48
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-
|
|
49
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-
|
|
50
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-
|
|
51
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-
|
|
52
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-
|
|
53
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-
|
|
54
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-
|
|
55
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-
|
|
56
|
-
VueUiOnion: t(() => import("./vue-ui-onion-
|
|
57
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-
|
|
58
|
-
VueUiRadar: t(() => import("./vue-ui-radar-
|
|
59
|
-
VueUiRating: t(() => import("./vue-ui-rating-
|
|
60
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-
|
|
61
|
-
VueUiRings: t(() => import("./vue-ui-rings-
|
|
62
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-
|
|
63
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-
|
|
64
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-
|
|
65
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-
|
|
66
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-
|
|
67
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-
|
|
68
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-
|
|
69
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-
|
|
70
|
-
VueUiTable: t(() => import("./vue-ui-table-
|
|
71
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-
|
|
72
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-
|
|
73
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-
|
|
74
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-
|
|
75
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-
|
|
76
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-
|
|
77
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-
|
|
78
|
-
VueUiXy: t(() => import("./vue-ui-xy-
|
|
79
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-
|
|
80
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-
|
|
81
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-
|
|
82
|
-
VueUiCursor: t(() => import("./vue-ui-cursor-
|
|
83
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-
|
|
84
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-
|
|
85
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-
|
|
86
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-
|
|
87
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-
|
|
88
|
-
VueUiFlow: t(() => import("./vue-ui-flow-
|
|
89
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-
|
|
90
|
-
VueUiTimer: t(() => import("./vue-ui-timer-
|
|
91
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-
|
|
92
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-
|
|
93
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-
|
|
94
|
-
VueUiBullet: t(() => import("./vue-ui-bullet-
|
|
95
|
-
VueUiFunnel: t(() => import("./vue-ui-funnel-
|
|
96
|
-
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-
|
|
97
|
-
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-
|
|
98
|
-
VueUiWorld: t(() => import("./vue-ui-world-
|
|
99
|
-
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-
|
|
100
|
-
VueUiChord: t(() => import("./vue-ui-chord-
|
|
101
|
-
},
|
|
37
|
+
setup(Y, { expose: J, emit: Z }) {
|
|
38
|
+
const a = Y, { component: ye, dataset: R, config: w } = ne(a), p = {
|
|
39
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-CrdssfKx.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-ZYFAAcwc.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-BEgBoRWQ.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-Cdu2ozig.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-CCMAbLrw.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-BmL_vnj5.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-BRKjd-LQ.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-LZR-vpdS.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-dax3dN9r.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-DYavEd4o.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-DwQRlRWp.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-cRy0tcES.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-B10h_Hbt.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-DNhr_0fr.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-4MeyWn0c.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DJmgRVT2.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-CgaPLxV2.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-swDxtTT3.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-CLf81ioF.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-D8CIvG2q.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-YZivkWBI.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-DsEYbNs_.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-CMryJR1g.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-BtLKWQbX.js")),
|
|
63
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-B4KQLEQy.js")),
|
|
64
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-CZBuA-1x.js")),
|
|
65
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-DuZulYgD.js")),
|
|
66
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-Di0FmUXs.js")),
|
|
67
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-CHNHz9Gm.js")),
|
|
68
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-TaWMi8gF.js")),
|
|
69
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-Bv2HEegT.js")),
|
|
70
|
+
VueUiTable: t(() => import("./vue-ui-table-JG0B8HuS.js")),
|
|
71
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-C1u_b0RG.js")),
|
|
72
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-DkldIXw7.js")),
|
|
73
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-FPtGzTGi.js")),
|
|
74
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-BA5wC5Bs.js")),
|
|
75
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-DUJWYMRn.js")),
|
|
76
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-BIngg99N.js")),
|
|
77
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-l5U2UH9c.js")),
|
|
78
|
+
VueUiXy: t(() => import("./vue-ui-xy-JjA1CMAo.js")),
|
|
79
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-CCdWeNZj.js")),
|
|
80
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-CcTUbiHq.js")),
|
|
81
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-smKrpIwq.js")),
|
|
82
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-CyaF0qp7.js")),
|
|
83
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-CdgyexDu.js")),
|
|
84
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-BNMDY4GI.js")),
|
|
85
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-C7ZNBVSy.js")),
|
|
86
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-CTKuxhFY.js")),
|
|
87
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-CH82b2Lp.js")),
|
|
88
|
+
VueUiFlow: t(() => import("./vue-ui-flow-BeLwkeHo.js")),
|
|
89
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-DayzzOmK.js")),
|
|
90
|
+
VueUiTimer: t(() => import("./vue-ui-timer-0KDTN-Gt.js")),
|
|
91
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-Dce2wfVw.js")),
|
|
92
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-CjRczit6.js")),
|
|
93
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-Bk3Bbzjk.js")),
|
|
94
|
+
VueUiBullet: t(() => import("./vue-ui-bullet-DYzLfkYB.js")),
|
|
95
|
+
VueUiFunnel: t(() => import("./vue-ui-funnel-BywaRLZR.js")),
|
|
96
|
+
VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-D8aTdU23.js")),
|
|
97
|
+
VueUiCirclePack: t(() => import("./vue-ui-circle-pack-BX6_ToJl.js")),
|
|
98
|
+
VueUiWorld: t(() => import("./vue-ui-world-Dx5O9Is5.js")),
|
|
99
|
+
VueUiRidgeline: t(() => import("./vue-ui-ridgeline-Do6C5lMY.js")),
|
|
100
|
+
VueUiChord: t(() => import("./vue-ui-chord-B8Sl_FwD.js"))
|
|
101
|
+
}, ee = {
|
|
102
102
|
VueUi3dBar: ["config", "dataset"],
|
|
103
103
|
VueUiAgePyramid: ["config", "dataset"],
|
|
104
104
|
VueUiAnnotator: ["config", "dataset"],
|
|
@@ -161,11 +161,11 @@ const Se = { style: { width: "36px" } }, Pe = {
|
|
|
161
161
|
VueUiWorld: ["config", "dataset"],
|
|
162
162
|
VueUiRidgeline: ["config", "dataset"],
|
|
163
163
|
VueUiChord: ["config", "dataset"]
|
|
164
|
-
},
|
|
165
|
-
const e =
|
|
166
|
-
return e.includes("config") && (i.config =
|
|
167
|
-
}), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null),
|
|
168
|
-
|
|
164
|
+
}, te = Z, V = c(() => !p[a.component]), oe = c(() => p[a.component] || null), r = o(null), ie = c(() => {
|
|
165
|
+
const e = ee[a.component] || [], i = {};
|
|
166
|
+
return e.includes("config") && (i.config = w.value), e.includes("dataset") && (i.dataset = R.value), i;
|
|
167
|
+
}), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), b = o(() => null), y = o(() => null), C = o(() => null), P = o(() => null), A = o(() => null), T = o(() => null), D = o(() => null), I = o(() => null), x = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), B = o(() => null), N = o(() => null), E = o(() => null), G = o(() => null), O = o(() => null), _ = o(() => null), $ = o(() => null), z = o(() => null), M = o(() => null), W = o(() => null);
|
|
168
|
+
re(() => {
|
|
169
169
|
V.value && console.error(`
|
|
170
170
|
|
|
171
171
|
Vue Data UI exception:
|
|
@@ -176,9 +176,9 @@ Available components:
|
|
|
176
176
|
${Object.keys(p).map((e) => `. ${e}
|
|
177
177
|
`).join("")}`);
|
|
178
178
|
}), Q(r, async (e) => {
|
|
179
|
-
e && (e.generatePdf && (U.value = e.generatePdf), e.generateImage && (v.value = e.generateImage), e.generateCsv && (f.value = e.generateCsv), e.getItemsPositions && (k.value = e.getItemsPositions), e.toggleReadonly && (
|
|
179
|
+
e && (e.generatePdf && (U.value = e.generatePdf), e.generateImage && (v.value = e.generateImage), e.generateCsv && (f.value = e.generateCsv), e.getItemsPositions && (k.value = e.getItemsPositions), e.toggleReadonly && (S.value = e.toggleReadonly), e.shoot && (h.value = e.shoot), e.close && (b.value = e.close), e.restoreOrder && (y.value = e.restoreOrder), e.recalculateHeight && (C.value = e.recalculateHeight), e.toggleLock && (P.value = e.toggleLock), e.toggleTable && (A.value = e.toggleTable), e.toggleLabels && (T.value = e.toggleLabels), e.toggleSort && (D.value = e.toggleSort), e.toggleStack && (I.value = e.toggleStack), e.toggleTooltip && (x.value = e.toggleTooltip), e.start && (F.value = e.start), e.pause && (H.value = e.pause), e.reset && (L.value = e.reset), e.restart && (B.value = e.restart), e.lap && (N.value = e.lap), e.toggleAnimation && (E.value = e.toggleAnimation), e.pauseAnimation && (G.value = e.pauseAnimation), e.resumeAnimation && (O.value = e.resumeAnimation), e.toggleAnnotator && (_.value = e.toggleAnnotator), e.selectNode && ($.value = e.selectNode), e.selectGroup && (z.value = e.selectGroup), e.selectRibbon && (M.value = e.selectRibbon), e.autoSize && (W.value = e.autoSize));
|
|
180
180
|
});
|
|
181
|
-
const
|
|
181
|
+
const ae = () => {
|
|
182
182
|
const e = [
|
|
183
183
|
"selectLegend",
|
|
184
184
|
"selectDatapoint",
|
|
@@ -207,12 +207,13 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
207
207
|
"toggleAnnotator",
|
|
208
208
|
"selectNode",
|
|
209
209
|
"selectGroup",
|
|
210
|
-
"selectRibbon"
|
|
210
|
+
"selectRibbon",
|
|
211
|
+
"autoSize"
|
|
211
212
|
], i = {};
|
|
212
213
|
return e.forEach((l) => {
|
|
213
|
-
i[l] = (...n) =>
|
|
214
|
+
i[l] = (...n) => te(l, ...n);
|
|
214
215
|
}), i;
|
|
215
|
-
}, m =
|
|
216
|
+
}, m = le([]);
|
|
216
217
|
function X(e, i) {
|
|
217
218
|
return new Promise((l, n) => {
|
|
218
219
|
m.push({ method: e, args: i, resolve: l, reject: n });
|
|
@@ -224,7 +225,7 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
224
225
|
const { method: i, args: l, resolve: n, reject: s } = m.shift(), j = e[i];
|
|
225
226
|
typeof j == "function" ? Promise.resolve().then(() => j(...l)).then(n).catch(s) : s(new Error(`Method ${i} not found on ${a.component}`));
|
|
226
227
|
}
|
|
227
|
-
}),
|
|
228
|
+
}), J({
|
|
228
229
|
getData(...e) {
|
|
229
230
|
return r.value?.getData ? r.value.getData(...e) : X("getData", e);
|
|
230
231
|
},
|
|
@@ -232,12 +233,13 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
232
233
|
const { scale: i = 2 } = e;
|
|
233
234
|
return r.value?.getImage ? r.value.getImage({ scale: i }) : X("getImage", [{ scale: i }]);
|
|
234
235
|
},
|
|
236
|
+
autoSize: W,
|
|
235
237
|
generatePdf: U,
|
|
236
238
|
generateCsv: f,
|
|
237
239
|
generateImage: v,
|
|
238
240
|
getItemsPositions: k,
|
|
239
|
-
toggleReadonly:
|
|
240
|
-
shoot:
|
|
241
|
+
toggleReadonly: S,
|
|
242
|
+
shoot: h,
|
|
241
243
|
close: b,
|
|
242
244
|
restoreOrder: y,
|
|
243
245
|
recalculateHeight: C,
|
|
@@ -257,8 +259,8 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
257
259
|
toggleAnimation: E,
|
|
258
260
|
toggleAnnotator: _,
|
|
259
261
|
selectNode: $,
|
|
260
|
-
selectGroup:
|
|
261
|
-
selectRibbon:
|
|
262
|
+
selectGroup: z,
|
|
263
|
+
selectRibbon: M
|
|
262
264
|
});
|
|
263
265
|
const u = c(() => {
|
|
264
266
|
let e = `The provided component ${a.component} does not exist.`;
|
|
@@ -270,9 +272,9 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
270
272
|
message: e
|
|
271
273
|
});
|
|
272
274
|
});
|
|
273
|
-
return (e, i) => V.value ? (g(),
|
|
275
|
+
return (e, i) => V.value ? (g(), ue("div", {
|
|
274
276
|
key: 0,
|
|
275
|
-
style:
|
|
277
|
+
style: se({
|
|
276
278
|
width: "100%",
|
|
277
279
|
display: "flex",
|
|
278
280
|
gap: "6px",
|
|
@@ -280,33 +282,33 @@ ${Object.keys(p).map((e) => `. ${e}
|
|
|
280
282
|
color: u.value.status === "notSupported" ? "#FF9000" : "#FF0000"
|
|
281
283
|
})
|
|
282
284
|
}, [
|
|
283
|
-
|
|
284
|
-
u.value.status === "unknown" ? (g(), d(
|
|
285
|
+
ce("div", be, [
|
|
286
|
+
u.value.status === "unknown" ? (g(), d(K, {
|
|
285
287
|
key: 0,
|
|
286
288
|
name: "moodFlat",
|
|
287
289
|
stroke: "#FF0000"
|
|
288
|
-
})) :
|
|
289
|
-
u.value.status === "notSupported" ? (g(), d(
|
|
290
|
+
})) : q("", !0),
|
|
291
|
+
u.value.status === "notSupported" ? (g(), d(K, {
|
|
290
292
|
key: 1,
|
|
291
293
|
name: "circleExclamation",
|
|
292
294
|
stroke: "#FF9000"
|
|
293
|
-
})) :
|
|
295
|
+
})) : q("", !0)
|
|
294
296
|
]),
|
|
295
|
-
|
|
296
|
-
], 4)) : (g(), d(
|
|
297
|
+
ge(" " + pe(u.value.message), 1)
|
|
298
|
+
], 4)) : (g(), d(me(oe.value), de({
|
|
297
299
|
key: 1,
|
|
298
300
|
ref_key: "currentComponentRef",
|
|
299
301
|
ref: r
|
|
300
|
-
},
|
|
301
|
-
|
|
302
|
+
}, ie.value, Ve(ae())), Ue({ _: 2 }, [
|
|
303
|
+
fe(e.$slots, (l, n) => ({
|
|
302
304
|
name: n,
|
|
303
|
-
fn:
|
|
304
|
-
|
|
305
|
+
fn: ve((s) => [
|
|
306
|
+
ke(e.$slots, n, Se(he(s)))
|
|
305
307
|
])
|
|
306
308
|
}))
|
|
307
309
|
]), 1040));
|
|
308
310
|
}
|
|
309
311
|
};
|
|
310
312
|
export {
|
|
311
|
-
|
|
313
|
+
Ae as default
|
|
312
314
|
};
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { ap as s, aq as u, ar as V, as as U, at as r, au as t, bj as o, av as b, bg as l, aw as n, bq as d, bn as g, ax as m, ay as C, az as c, aA as k, aB as p, aC as S, aD as h, bk as T, aE as P, aF as D, bh as f, aG as v, bl as y, aH as A, aI as R, aJ as H, aK as W, aL as x, aM as B, aN as M, aO as w, bm as F, aP as G, aQ as z, aR as L, aS as O, aT as Q, bp as X, aU as j, aV as q, aW as E, aX as I, aY as K, aZ as N, a_ as J, a$ as Y, b0 as Z, b1 as _, bi as $, b2 as aa, b3 as ea, b4 as ia, b5 as sa, b6 as ua, b7 as Va, b8 as Ua, b9 as ra, ba as ta, bb as oa, bc as ba, bd as la, bo as na, be as da, bf as ga, L as ma, V as Ca, U as ca, ag as ka, ak as pa, br as Sa, bs as ha, bt as Ta, bu as Pa, bv as Da, bw as fa, bx as va, by as ya, bz as Aa, bA as Ra } from "./index-
|
|
2
|
+
import { ap as s, aq as u, ar as V, as as U, at as r, au as t, bj as o, av as b, bg as l, aw as n, bq as d, bn as g, ax as m, ay as C, az as c, aA as k, aB as p, aC as S, aD as h, bk as T, aE as P, aF as D, bh as f, aG as v, bl as y, aH as A, aI as R, aJ as H, aK as W, aL as x, aM as B, aN as M, aO as w, bm as F, aP as G, aQ as z, aR as L, aS as O, aT as Q, bp as X, aU as j, aV as q, aW as E, aX as I, aY as K, aZ as N, a_ as J, a$ as Y, b0 as Z, b1 as _, bi as $, b2 as aa, b3 as ea, b4 as ia, b5 as sa, b6 as ua, b7 as Va, b8 as Ua, b9 as ra, ba as ta, bb as oa, bc as ba, bd as la, bo as na, be as da, bf as ga, L as ma, V as Ca, U as ca, ag as ka, ak as pa, br as Sa, bs as ha, bt as Ta, bu as Pa, bv as Da, bw as fa, bx as va, by as ya, bz as Aa, bA as Ra } from "./index-JzUbx__y.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, computed as j, ref as S, watch as Qe, onMounted as et, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Se, createBlock as U, createCommentVNode as y, createSlots as tt, withCtx as T, renderSlot as P, normalizeProps as K, guardReactiveProps as Q, createVNode as lt, createElementVNode as d, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as ot, nextTick as st } from "vue";
|
|
2
|
-
import { u as at, c as Te, t as nt, p as ee, a as rt, b as ut, d as it, o as dt, e as te, g as ie, l as E, m as De, f as D, X as ct, s as g, h as le, i as oe, j as Oe, k as se, n as A, q as ht, r as vt } from "./index-
|
|
3
|
-
import { u as ze } from "./useNestedProp-
|
|
4
|
-
import { u as ft } from "./usePrinter-
|
|
2
|
+
import { u as at, c as Te, t as nt, p as ee, a as rt, b as ut, d as it, o as dt, e as te, g as ie, l as E, m as De, f as D, X as ct, s as g, h as le, i as oe, j as Oe, k as se, n as A, q as ht, r as vt } from "./index-JzUbx__y.js";
|
|
3
|
+
import { u as ze } from "./useNestedProp-D_jd2dz9.js";
|
|
4
|
+
import { u as ft } from "./usePrinter-CsyliflB.js";
|
|
5
5
|
import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as yt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import kt from "./Title-
|
|
8
|
-
import gt from "./img-
|
|
7
|
+
import kt from "./Title-BQb7X_OR.js";
|
|
8
|
+
import gt from "./img-D0DpKcFX.js";
|
|
9
9
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
const _t = ["id"], mt = {
|
|
11
11
|
key: 1,
|
|
12
12
|
style: "width:100%;background:transparent"
|
|
13
|
-
}, bt = ["xmlns", "viewBox"], xt = ["width", "height"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = ["stop-color"], Dt = ["stop-color"], Ot = ["id"], zt = ["stop-color"], Nt = ["stop-color"], Bt = ["stop-color"], At = { key: 1 }, It = ["id"], Lt = ["stop-color"], Vt = ["stop-color"], Wt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"],
|
|
13
|
+
}, bt = ["xmlns", "viewBox"], xt = ["width", "height"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = ["stop-color"], Dt = ["stop-color"], Ot = ["id"], zt = ["stop-color"], Nt = ["stop-color"], Bt = ["stop-color"], At = { key: 1 }, It = ["id"], Lt = ["stop-color"], Vt = ["stop-color"], Wt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Rt = ["stop-color"], Ht = ["stop-color"], Zt = ["id"], qt = ["x", "y", "font-size", "font-weight", "fill"], Xt = ["x", "y"], Yt = ["d", "stroke"], Jt = ["d", "stroke"], Kt = { key: 4 }, Qt = { key: 0 }, el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = ["stroke-dasharray", "d", "stroke", "stroke-width"], ll = ["stroke-dasharray", "d", "stroke", "stroke-width"], ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], sl = { key: 1 }, al = ["d", "stroke", "stroke-width", "fill"], nl = ["d", "stroke", "stroke-width", "fill"], rl = ["d", "stroke", "stroke-width", "fill"], ul = { key: 2 }, il = ["d", "fill", "onMouseenter", "onClick"], dl = ["d", "fill", "onMouseenter", "onClick"], cl = ["d", "fill", "onMouseenter", "onClick"], hl = ["d", "onMouseenter", "onClick"], vl = ["d"], fl = ["d", "stroke"], pl = ["onClick"], yl = ["stroke", "d"], kl = ["cx", "cy", "fill", "stroke"], gl = ["x", "y", "width", "height"], $l = { key: 1 }, _l = ["d", "stroke"], ml = ["d", "fill", "stroke"], bl = ["id"], xl = ["stop-color"], wl = ["stop-color"], Cl = ["cx", "cy", "fill"], Fl = ["cx", "cy", "fill"], Ml = { key: 0 }, Pl = ["text-anchor", "x", "y", "fill", "font-size"], Sl = ["text-anchor", "x", "y", "fill", "font-size"], jl = { key: 2 }, Tl = ["d", "fill", "stroke"], Dl = { key: 5 }, Ol = { key: 0 }, zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Al = ["stroke-dasharray", "d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width", "fill"], Ll = ["d", "stroke", "stroke-width", "fill"], Vl = { key: 1 }, Wl = ["onClick"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Rl = ["id"], Hl = ["stop-color"], Zl = ["stop-color"], ql = ["stop-color"], Xl = ["stop-color"], Yl = ["stop-color"], Jl = ["onMouseenter", "onClick", "d", "fill"], Kl = ["onMouseenter", "onClick", "d"], Ql = ["onMouseenter", "onClick", "d", "fill"], eo = ["onClick"], to = ["stroke", "d"], lo = ["cx", "cy", "fill", "stroke"], oo = ["x", "y", "width", "height"], so = { key: 1 }, ao = ["d", "stroke"], no = ["d", "fill", "stroke"], ro = ["id"], uo = ["stop-color"], io = ["stop-color"], co = ["cx", "cy", "fill"], ho = ["cx", "cy", "fill"], vo = { key: 0 }, fo = ["text-anchor", "x", "y", "fill", "font-size"], po = ["text-anchor", "x", "y", "fill", "font-size"], yo = { key: 2 }, ko = ["d", "fill", "stroke"], go = {
|
|
14
14
|
key: 4,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, $o = {
|
|
@@ -35,7 +35,7 @@ const _t = ["id"], mt = {
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectDatapoint"],
|
|
37
37
|
setup(Ne, { expose: Be, emit: Ae }) {
|
|
38
|
-
const Ie = G(() => import("./vue-ui-accordion-
|
|
38
|
+
const Ie = G(() => import("./vue-ui-accordion-CcTUbiHq.js")), Le = G(() => import("./DataTable-6BxhjBzt.js")), Ve = G(() => import("./PackageVersion-CIX1W_aa.js")), We = G(() => import("./PenAndPaper-CqJ4wudB.js")), Ge = G(() => import("./vue-ui-skeleton-B4KQLEQy.js")), Ue = G(() => import("./UserOptions-lneAyZKu.js")), { vue_ui_3d_bar: Ee } = at(), $ = Ne, q = Ae, X = j(() => !!$.dataset && Object.keys($.dataset).length), b = S(Te()), Re = S(null), R = S(null), I = S(!1), de = S(0), ce = S(0), t = j({
|
|
39
39
|
get: () => pe(),
|
|
40
40
|
set: (a) => a
|
|
41
41
|
}), { userOptionsVisible: ae, setUserOptionsVisibility: he, keepUserOptionState: ve } = pt({ config: t.value }), { svgRef: fe } = yt({ config: t.value.style.chart.title });
|
|
@@ -59,7 +59,7 @@ const _t = ["id"], mt = {
|
|
|
59
59
|
elementId: `3d_bar_${b.value}`,
|
|
60
60
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar",
|
|
61
61
|
options: t.value.userOptions.print
|
|
62
|
-
}),
|
|
62
|
+
}), He = j(() => ut(t.value.customPalette)), H = S({
|
|
63
63
|
showTable: t.value.table.show
|
|
64
64
|
}), F = j(() => $.dataset.series && $.dataset.series.length), o = j(() => ({
|
|
65
65
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -76,7 +76,7 @@ const _t = ["id"], mt = {
|
|
|
76
76
|
...l,
|
|
77
77
|
id: Te(),
|
|
78
78
|
proportion: (l.value || 0) / a,
|
|
79
|
-
color: it(l.color) ||
|
|
79
|
+
color: it(l.color) || He.value[r] || ee[r] || ee[r % ee.length],
|
|
80
80
|
breakdown: l.breakdown ? l.breakdown.sort((i, k) => k.value - i.value) : null
|
|
81
81
|
})).sort((l, r) => r.value - l.value), e = [];
|
|
82
82
|
let h = 0;
|
|
@@ -206,7 +206,7 @@ const _t = ["id"], mt = {
|
|
|
206
206
|
${f},${i - v - p}Z`
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const Z = j(() => {
|
|
210
210
|
const a = V.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: i, perspective: k } = o.value, f = l + s * 0;
|
|
211
211
|
return {
|
|
212
212
|
right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - r},${h - f - k - s * a} ${e - r},${h - f - k}Z`,
|
|
@@ -226,7 +226,7 @@ const _t = ["id"], mt = {
|
|
|
226
226
|
};
|
|
227
227
|
}), x = S(null);
|
|
228
228
|
function M(a, s = !1) {
|
|
229
|
-
|
|
229
|
+
q("selectDatapoint", a), s || (x.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
|
|
230
230
|
}
|
|
231
231
|
function L() {
|
|
232
232
|
I.value || (x.value = null);
|
|
@@ -322,9 +322,16 @@ const _t = ["id"], mt = {
|
|
|
322
322
|
J.value = !J.value;
|
|
323
323
|
}
|
|
324
324
|
async function Xe({ scale: a = 2 } = {}) {
|
|
325
|
-
if (!
|
|
326
|
-
const {
|
|
327
|
-
return {
|
|
325
|
+
if (!R.value) return;
|
|
326
|
+
const { width: s, height: e } = R.value.getBoundingClientRect(), h = s / e, { imageUri: l, base64: r } = await gt({ domElement: R.value, base64: !0, img: !0, scale: a });
|
|
327
|
+
return {
|
|
328
|
+
imageUri: l,
|
|
329
|
+
base64: r,
|
|
330
|
+
title: t.value.style.chart.title.text,
|
|
331
|
+
width: s,
|
|
332
|
+
height: e,
|
|
333
|
+
aspectRatio: h
|
|
334
|
+
};
|
|
328
335
|
}
|
|
329
336
|
return Be({
|
|
330
337
|
getImage: Xe,
|
|
@@ -337,7 +344,7 @@ const _t = ["id"], mt = {
|
|
|
337
344
|
toggleFullscreen: be
|
|
338
345
|
}), (a, s) => (n(), c("div", {
|
|
339
346
|
ref_key: "bar3dChart",
|
|
340
|
-
ref:
|
|
347
|
+
ref: R,
|
|
341
348
|
class: Se("vue-ui-3d-bar"),
|
|
342
349
|
style: O(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
343
350
|
id: `3d_bar_${b.value}`,
|
|
@@ -367,10 +374,10 @@ const _t = ["id"], mt = {
|
|
|
367
374
|
}
|
|
368
375
|
}, null, 8, ["config"]))
|
|
369
376
|
])) : y("", !0),
|
|
370
|
-
t.value.userOptions.show &&
|
|
377
|
+
t.value.userOptions.show && X.value && (u(ve) || u(ae)) ? (n(), U(u(Ue), {
|
|
371
378
|
key: 2,
|
|
372
379
|
ref_key: "details",
|
|
373
|
-
ref:
|
|
380
|
+
ref: Re,
|
|
374
381
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
375
382
|
color: t.value.style.chart.color,
|
|
376
383
|
isPrinting: u(ye),
|
|
@@ -382,7 +389,7 @@ const _t = ["id"], mt = {
|
|
|
382
389
|
hasImg: t.value.userOptions.buttons.img,
|
|
383
390
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
384
391
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
385
|
-
chartElement:
|
|
392
|
+
chartElement: R.value,
|
|
386
393
|
position: t.value.userOptions.position,
|
|
387
394
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
388
395
|
isAnnotation: J.value,
|
|
@@ -448,7 +455,7 @@ const _t = ["id"], mt = {
|
|
|
448
455
|
key: "6"
|
|
449
456
|
} : void 0
|
|
450
457
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
451
|
-
|
|
458
|
+
X.value ? (n(), c("svg", {
|
|
452
459
|
key: 3,
|
|
453
460
|
ref_key: "svgRef",
|
|
454
461
|
ref: fe,
|
|
@@ -559,11 +566,11 @@ const _t = ["id"], mt = {
|
|
|
559
566
|
d("stop", {
|
|
560
567
|
offset: "2%",
|
|
561
568
|
"stop-color": u(g)(u(E)(e.color, 0.5), 100)
|
|
562
|
-
}, null, 8,
|
|
569
|
+
}, null, 8, Rt),
|
|
563
570
|
d("stop", {
|
|
564
571
|
offset: "100%",
|
|
565
572
|
"stop-color": u(g)(e.color, 80)
|
|
566
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Ht)
|
|
567
574
|
], 8, Et))), 256)),
|
|
568
575
|
d("linearGradient", {
|
|
569
576
|
x1: "0%",
|
|
@@ -664,7 +671,7 @@ const _t = ["id"], mt = {
|
|
|
664
671
|
])),
|
|
665
672
|
F.value ? y("", !0) : (n(), c("g", sl, [
|
|
666
673
|
d("path", {
|
|
667
|
-
d:
|
|
674
|
+
d: Z.value.right,
|
|
668
675
|
stroke: t.value.style.chart.bar.stroke,
|
|
669
676
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
670
677
|
"stroke-linejoin": "round",
|
|
@@ -672,7 +679,7 @@ const _t = ["id"], mt = {
|
|
|
672
679
|
fill: `url(#gradient_right${b.value})`
|
|
673
680
|
}, null, 8, al),
|
|
674
681
|
d("path", {
|
|
675
|
-
d:
|
|
682
|
+
d: Z.value.left,
|
|
676
683
|
stroke: t.value.style.chart.bar.stroke,
|
|
677
684
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
678
685
|
"stroke-linejoin": "round",
|
|
@@ -680,7 +687,7 @@ const _t = ["id"], mt = {
|
|
|
680
687
|
fill: `url(#gradient_left${b.value})`
|
|
681
688
|
}, null, 8, nl),
|
|
682
689
|
d("path", {
|
|
683
|
-
d:
|
|
690
|
+
d: Z.value.top,
|
|
684
691
|
stroke: t.value.style.chart.bar.stroke,
|
|
685
692
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
686
693
|
"stroke-linejoin": "round",
|
|
@@ -744,7 +751,7 @@ const _t = ["id"], mt = {
|
|
|
744
751
|
]))), 256)),
|
|
745
752
|
(n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
|
|
746
753
|
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
747
|
-
onClick: (l) =>
|
|
754
|
+
onClick: (l) => q("selectDatapoint", e)
|
|
748
755
|
}, [
|
|
749
756
|
d("path", {
|
|
750
757
|
stroke: t.value.style.chart.color,
|
|
@@ -916,7 +923,7 @@ const _t = ["id"], mt = {
|
|
|
916
923
|
fill: "none"
|
|
917
924
|
}, null, 8, Al),
|
|
918
925
|
d("path", {
|
|
919
|
-
d:
|
|
926
|
+
d: Z.value.tubeTop,
|
|
920
927
|
stroke: t.value.style.chart.bar.stroke,
|
|
921
928
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
922
929
|
"stroke-linejoin": "round",
|
|
@@ -924,7 +931,7 @@ const _t = ["id"], mt = {
|
|
|
924
931
|
fill: `url(#gradient_top${b.value})`
|
|
925
932
|
}, null, 8, Il),
|
|
926
933
|
d("path", {
|
|
927
|
-
d:
|
|
934
|
+
d: Z.value.tubeBody,
|
|
928
935
|
stroke: t.value.style.chart.bar.stroke,
|
|
929
936
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
930
937
|
"stroke-linejoin": "round",
|
|
@@ -936,7 +943,7 @@ const _t = ["id"], mt = {
|
|
|
936
943
|
(n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
|
|
937
944
|
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
938
945
|
class: "vue-ui-3d-bar-stack",
|
|
939
|
-
onClick: (l) =>
|
|
946
|
+
onClick: (l) => q("selectDatapoint", e)
|
|
940
947
|
}, [
|
|
941
948
|
d("defs", null, [
|
|
942
949
|
d("radialGradient", {
|
|
@@ -963,7 +970,7 @@ const _t = ["id"], mt = {
|
|
|
963
970
|
d("stop", {
|
|
964
971
|
offset: "0%",
|
|
965
972
|
"stop-color": `${e.color}`
|
|
966
|
-
}, null, 8,
|
|
973
|
+
}, null, 8, Hl),
|
|
967
974
|
d("stop", {
|
|
968
975
|
offset: "10%",
|
|
969
976
|
"stop-color": u(g)(u(le)(e.color, 0.7), 100)
|
|
@@ -980,7 +987,7 @@ const _t = ["id"], mt = {
|
|
|
980
987
|
offset: "100%",
|
|
981
988
|
"stop-color": u(g)(u(E)(e.color, 0.7), 100)
|
|
982
989
|
}, null, 8, Yl)
|
|
983
|
-
], 8,
|
|
990
|
+
], 8, Rl)
|
|
984
991
|
]),
|
|
985
992
|
d("path", {
|
|
986
993
|
onMouseenter: (l) => M(e),
|
|
@@ -1019,7 +1026,7 @@ const _t = ["id"], mt = {
|
|
|
1019
1026
|
], 12, Wl))), 256)),
|
|
1020
1027
|
(n(!0), c(_, null, m(C.value, (e, h) => (n(), c("g", {
|
|
1021
1028
|
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
1022
|
-
onClick: (l) =>
|
|
1029
|
+
onClick: (l) => q("selectDatapoint", e)
|
|
1023
1030
|
}, [
|
|
1024
1031
|
d("path", {
|
|
1025
1032
|
stroke: t.value.style.chart.color,
|
|
@@ -1157,7 +1164,7 @@ const _t = ["id"], mt = {
|
|
|
1157
1164
|
a.$slots.watermark ? (n(), c("div", go, [
|
|
1158
1165
|
P(a.$slots, "watermark", K(Q({ isPrinting: u(ye) || u(ke) })), void 0, !0)
|
|
1159
1166
|
])) : y("", !0),
|
|
1160
|
-
|
|
1167
|
+
X.value ? y("", !0) : (n(), U(u(Ge), {
|
|
1161
1168
|
key: 5,
|
|
1162
1169
|
config: {
|
|
1163
1170
|
type: "bar3d",
|
|
@@ -1172,7 +1179,7 @@ const _t = ["id"], mt = {
|
|
|
1172
1179
|
a.$slots.source ? (n(), c("div", $o, [
|
|
1173
1180
|
P(a.$slots, "source", {}, void 0, !0)
|
|
1174
1181
|
], 512)) : y("", !0),
|
|
1175
|
-
|
|
1182
|
+
X.value && F.value ? (n(), U(u(Ie), {
|
|
1176
1183
|
key: 7,
|
|
1177
1184
|
hideDetails: "",
|
|
1178
1185
|
config: {
|
|
@@ -1214,7 +1221,7 @@ const _t = ["id"], mt = {
|
|
|
1214
1221
|
}, 8, ["config"])) : y("", !0)
|
|
1215
1222
|
], 44, _t));
|
|
1216
1223
|
}
|
|
1217
|
-
}, To = /* @__PURE__ */ $t(mo, [["__scopeId", "data-v-
|
|
1224
|
+
}, To = /* @__PURE__ */ $t(mo, [["__scopeId", "data-v-6d6dc640"]]);
|
|
1218
1225
|
export {
|
|
1219
1226
|
To as default
|
|
1220
1227
|
};
|
|
@@ -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-C2f-EcZc.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-D_jd2dz9.js";
|
|
4
|
+
import { u as B, c as I } from "./index-JzUbx__y.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|