vue-data-ui 2.3.89 → 2.3.91
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-6DWnAEHt.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-CW5gDSmt.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-Dj8EbAXm.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-B_MrASni.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-BmYcdJ1w.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-DAwK5x3h.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-DhQ-a1RH.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-BRG8ddDy.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-D7jva0XA.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BcL3EDZ5.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-DI1kgq9D.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-DV29nclP.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-DYwo_Q5b.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-fAvrqioZ.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-TZYYFvPe.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-03RvVGln.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-BKTciLz4.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-Ca4RHJ4t.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-vP7uimPz.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-BFnXnY0k.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-CxYg-Dw-.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-5fwXghqP.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-BaLkNH7M.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-4VG00HFR.js → vue-data-ui-BuL-2aYA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DPJWcxqV.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-SXHdW20_.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-vYoYjedX.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BEC4SHLl.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-B1NZRuJJ.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-DFpv61wn.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-AEKT8X3p.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DhzVxOvp.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-DCk2p-1k.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-qqcIpMGB.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-CgSghVjL.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-CvJgJk1M.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CtJdVmtu.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CYzkic0X.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-C0dMG-hR.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-BO1hSjoq.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-DP-yxiw3.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C-yDyglF.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-D2SQ4cKV.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-D_E9V2A1.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-DqE2UiA3.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-CFYXDw2p.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-BWztIJ3j.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-E1MlhSCs.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-BWDPF-9X.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-DeP0XmP7.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bal12IrX.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-D5e8uW_d.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DHrHeQgF.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-dJaJotNf.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts--K9ygdH3.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-Bm1inM56.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9PSGD-LR.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-iGQbx93I.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DeEQcx6A.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-DfnhsNQV.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-D0rgVdkT.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-CCesFD6e.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-D2GXm_Fk.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-B7_-G3JM.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-CScmcQ1n.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-DdhiNjLc.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-BrhjnTwn.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Cpy2qbf1.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-D7aLznpP.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-Cj0yi7_H.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-vcpYARLj.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CFJSCQnf.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-CgRdDfk6.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-CCPMNge0.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-D5z2Wtpk.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-KYN0oKt1.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-7lurD9-4.js → vue-ui-sparkstackbar-BS9I8en7.js} +102 -87
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-CsVmAvl3.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-B63AgKts.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-hPqdMR-m.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-G5O8K-F_.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-t9Ngijvp.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BhVuTdSS.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DtjJrGve.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BX4en1c-.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BWGyDQ7_.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-8AlVLAJi.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DYIHGkBU.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-mmvdTHiX.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-DAKHNRoR.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B-A4NYNd.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DN9WvA6Z.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-BWTyaGAT.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-Dzp4qCjk.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CAcTkk_r.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-9NPbm7dE.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-rOT9iPsm.cjs +0 -19
- package/dist/vue-ui-age-pyramid-HElID9Ax.cjs +0 -1
- package/dist/vue-ui-candlestick-p1s0Av21.cjs +0 -2
- package/dist/vue-ui-chestnut-oFfB3fBF.cjs +0 -6
- package/dist/vue-ui-donut-Dnnoj71c.cjs +0 -1
- package/dist/vue-ui-donut-evolution-vBUH5VVx.cjs +0 -1
- package/dist/vue-ui-dumbbell-BUA_uSse.cjs +0 -9
- package/dist/vue-ui-flow-B-AFlw-n.cjs +0 -1
- package/dist/vue-ui-galaxy-CbL5nONj.cjs +0 -1
- package/dist/vue-ui-gauge-BUV_hQND.cjs +0 -1
- package/dist/vue-ui-gizmo-B-LxuvDh.cjs +0 -1
- package/dist/vue-ui-heatmap-DW5StHKM.cjs +0 -1
- package/dist/vue-ui-molecule-DHBId4h4.cjs +0 -1
- package/dist/vue-ui-mood-radar-DSXB9l99.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CEX2cvop.cjs +0 -17
- package/dist/vue-ui-onion-Iekdjs8b.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-OlFoYL_3.cjs +0 -8
- package/dist/vue-ui-quadrant-CgJeo2zZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Du8lDPmh.cjs +0 -15
- package/dist/vue-ui-radar-BYk9DWnM.cjs +0 -1
- package/dist/vue-ui-relation-circle-8eoBav4O.cjs +0 -1
- package/dist/vue-ui-scatter-BnBI8qdt.cjs +0 -1
- package/dist/vue-ui-skeleton-pDeQ3NcD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BW8k0jDd.cjs +0 -1
- package/dist/vue-ui-sparkbar-BbJHfAQj.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BESRB8_4.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BYnSfLdb.cjs +0 -1
- package/dist/vue-ui-sparkline-D5WUy4p5.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dy-IfQ3q.cjs +0 -1
- package/dist/vue-ui-stackbar-Ch-fmE9l.cjs +0 -6
- package/dist/vue-ui-strip-plot-BLRl-tF6.cjs +0 -1
- package/dist/vue-ui-thermometer-B07RI9fZ.cjs +0 -1
- package/dist/vue-ui-timer-CXrENAVg.cjs +0 -64
- package/dist/vue-ui-tiremarks-C43c4_IR.cjs +0 -1
- package/dist/vue-ui-treemap-BN90ISQv.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BRDO_Rsu.cjs +0 -4
- package/dist/vue-ui-waffle-BN_yZEtJ.cjs +0 -1
- package/dist/vue-ui-wheel-50_zeiIW.cjs +0 -1
- package/dist/vue-ui-word-cloud-BVoFIb_q.cjs +0 -1
- package/dist/vue-ui-xy-CJHHesUD.cjs +0 -3
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { computed as v, onMounted as
|
|
2
|
-
import { u as Ne, o as Le, e as
|
|
3
|
-
import { L as We } from "./Legend-
|
|
4
|
-
import { _ as Ae } from "./Title-
|
|
5
|
-
import { _ as He } from "./Tooltip-
|
|
6
|
-
import { D as Ue } from "./DataTable-
|
|
7
|
-
import { u as Xe, U as Re } from "./usePrinter-
|
|
8
|
-
import Ye from "./vue-ui-skeleton-
|
|
9
|
-
import je from "./vue-ui-accordion-
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as qe } from "./
|
|
12
|
-
|
|
1
|
+
import { computed as v, onMounted as _e, ref as u, watch as Te, openBlock as s, createElementBlock as n, normalizeClass as L, normalizeStyle as W, createBlock as x, createCommentVNode as d, unref as h, createSlots as Pe, withCtx as i, renderSlot as y, normalizeProps as I, guardReactiveProps as F, createVNode as oe, createElementVNode as $, Fragment as se, renderList as re, createTextVNode as ue, toDisplayString as O, nextTick as Se } from "vue";
|
|
2
|
+
import { u as Ne, o as Le, e as ne, g as Ie, c as ie, t as Fe, a as Oe, p as E, b as Ee, d as De, G as ce, J as Ge, f as k, X as Ve, i as ve, x as de, y as Be, q as Me, r as ze } from "./index-mBy4elhB.js";
|
|
3
|
+
import { L as We } from "./Legend-WNL92WSx.js";
|
|
4
|
+
import { _ as Ae } from "./Title-CECK1w9L.js";
|
|
5
|
+
import { _ as He } from "./Tooltip-Ci3AprCm.js";
|
|
6
|
+
import { D as Ue } from "./DataTable-BKc3r3k3.js";
|
|
7
|
+
import { u as Xe, U as Re } from "./usePrinter-Ck-yukK2.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
9
|
+
import je from "./vue-ui-accordion-dyF20BlD.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-BrIRtQj1.js";
|
|
11
|
+
import { _ as qe } from "./PackageVersion-D9PU8glB.js";
|
|
12
|
+
import { _ as Je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Ke = ["id"], Qe = {
|
|
13
14
|
key: 0,
|
|
14
15
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
15
|
-
},
|
|
16
|
+
}, Ze = ["xmlns", "viewBox"], et = ["id"], tt = ["stdDeviation"], lt = ["d", "stroke", "stroke-width"], at = ["d", "stroke", "stroke-width"], ot = ["filter"], st = ["d", "stroke", "stroke-width"], rt = ["d", "stroke-width", "onMouseenter", "onClick"], ut = {
|
|
16
17
|
key: 3,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, nt = ["onClick"], it = { key: 0 }, ct = { key: 1 }, vt = ["innerHTML"], dt = {
|
|
19
20
|
__name: "vue-ui-galaxy",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -32,13 +33,13 @@ const Je = ["id"], Ke = {
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectLegend", "selectDatapoint"],
|
|
35
|
-
setup(
|
|
36
|
-
const p =
|
|
37
|
-
|
|
36
|
+
setup(ye, { expose: pe, emit: A }) {
|
|
37
|
+
const p = ye, { vue_ui_galaxy: fe } = Ne(), S = v(() => !!p.dataset && p.dataset.length);
|
|
38
|
+
_e(() => {
|
|
38
39
|
H();
|
|
39
40
|
});
|
|
40
41
|
function H() {
|
|
41
|
-
Le(p.dataset) ?
|
|
42
|
+
Le(p.dataset) ? ne({
|
|
42
43
|
componentName: "VueUiGalaxy",
|
|
43
44
|
type: "dataset"
|
|
44
45
|
}) : p.dataset.forEach((t, a) => {
|
|
@@ -46,7 +47,7 @@ const Je = ["id"], Ke = {
|
|
|
46
47
|
datasetObject: t,
|
|
47
48
|
requiredAttributes: ["name", "values"]
|
|
48
49
|
}).forEach((l) => {
|
|
49
|
-
|
|
50
|
+
ne({
|
|
50
51
|
componentName: "VueUiGalaxy",
|
|
51
52
|
type: "datasetSerieAttribute",
|
|
52
53
|
property: l,
|
|
@@ -55,30 +56,30 @@ const Je = ["id"], Ke = {
|
|
|
55
56
|
});
|
|
56
57
|
});
|
|
57
58
|
}
|
|
58
|
-
const _ = u(
|
|
59
|
+
const _ = u(ie()), D = u(null), ge = u(null), G = u(!1), V = u(""), f = u(null), U = u(0), X = u(0), R = u(0), Y = u(0), e = v({
|
|
59
60
|
get: () => j(),
|
|
60
61
|
set: (t) => t
|
|
61
62
|
});
|
|
62
63
|
function j() {
|
|
63
|
-
const t =
|
|
64
|
+
const t = he({
|
|
64
65
|
userConfig: p.config,
|
|
65
|
-
defaultConfig:
|
|
66
|
+
defaultConfig: fe
|
|
66
67
|
});
|
|
67
68
|
return t.theme ? {
|
|
68
|
-
...
|
|
69
|
+
...he({
|
|
69
70
|
userConfig: Fe.vue_ui_galaxy[t.theme] || p.config,
|
|
70
71
|
defaultConfig: t
|
|
71
72
|
}),
|
|
72
73
|
customPalette: Oe[t.theme] || E
|
|
73
74
|
} : t;
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
+
Te(() => p.config, (t) => {
|
|
76
77
|
e.value = j(), H(), X.value += 1, R.value += 1, Y.value += 1;
|
|
77
78
|
}, { deep: !0 });
|
|
78
79
|
const { isPrinting: q, isImaging: J, generatePdf: K, generateImage: Q } = Xe({
|
|
79
80
|
elementId: `galaxy_${_.value}`,
|
|
80
81
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
81
|
-
}),
|
|
82
|
+
}), be = v(() => Ee(e.value.customPalette)), b = u({
|
|
82
83
|
dataLabels: {
|
|
83
84
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
84
85
|
},
|
|
@@ -98,29 +99,29 @@ const Je = ["id"], Ke = {
|
|
|
98
99
|
}
|
|
99
100
|
const C = v(() => p.dataset.map((t, a) => ({
|
|
100
101
|
name: t.name,
|
|
101
|
-
color: De(t.color) ||
|
|
102
|
-
value: t.values ?
|
|
103
|
-
absoluteValues:
|
|
104
|
-
id:
|
|
102
|
+
color: De(t.color) || be.value[a] || E[a] || E[a % E.length],
|
|
103
|
+
value: t.values ? ce(t.values).reduce((l, o) => l + o, 0) : 0,
|
|
104
|
+
absoluteValues: ce(t.values),
|
|
105
|
+
id: ie(),
|
|
105
106
|
seriesIndex: a
|
|
106
107
|
})).sort((t, a) => a.value - t.value));
|
|
107
|
-
function
|
|
108
|
+
function me() {
|
|
108
109
|
return C.value.map((t) => ({
|
|
109
110
|
name: t.name,
|
|
110
111
|
color: t.color,
|
|
111
112
|
value: t.value
|
|
112
113
|
}));
|
|
113
114
|
}
|
|
114
|
-
const
|
|
115
|
+
const g = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), ke = u(190), Z = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
|
|
115
116
|
const t = [];
|
|
116
117
|
for (let a = 0; a < Z.value.length; a += 1) {
|
|
117
118
|
const l = Z.value[a];
|
|
118
|
-
let o = l.value /
|
|
119
|
+
let o = l.value / g.value * ke.value;
|
|
119
120
|
a > 0 && t.length && (o += t[a - 1].points), t.push({
|
|
120
121
|
points: o,
|
|
121
122
|
...l,
|
|
122
123
|
seriesIndex: a,
|
|
123
|
-
proportion: l.value /
|
|
124
|
+
proportion: l.value / g.value,
|
|
124
125
|
path: Ge({
|
|
125
126
|
points: o,
|
|
126
127
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
@@ -130,20 +131,20 @@ const Je = ["id"], Ke = {
|
|
|
130
131
|
}
|
|
131
132
|
return t.filter((a, l) => !c.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
132
133
|
}), P = u(!1);
|
|
133
|
-
function
|
|
134
|
+
function Ce(t) {
|
|
134
135
|
P.value = t, U.value += 1;
|
|
135
136
|
}
|
|
136
137
|
const z = u(null);
|
|
137
|
-
function
|
|
138
|
+
function we({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
|
|
138
139
|
z.value = {
|
|
139
140
|
datapoint: t,
|
|
140
141
|
seriesIndex: l,
|
|
141
142
|
series: C.value,
|
|
142
143
|
config: e.value
|
|
143
|
-
}, G.value = o,
|
|
144
|
+
}, G.value = o, f.value = t.id;
|
|
144
145
|
let r = "";
|
|
145
146
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
146
|
-
|
|
147
|
+
de(w) && Be(() => w({
|
|
147
148
|
seriesIndex: l,
|
|
148
149
|
datapoint: t,
|
|
149
150
|
series: C.value,
|
|
@@ -153,7 +154,7 @@ const Je = ["id"], Ke = {
|
|
|
153
154
|
datapoint: t,
|
|
154
155
|
series: C.value,
|
|
155
156
|
config: e.value
|
|
156
|
-
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${
|
|
157
|
+
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${ve(
|
|
157
158
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
158
159
|
t.value,
|
|
159
160
|
k({
|
|
@@ -180,7 +181,7 @@ const Je = ["id"], Ke = {
|
|
|
180
181
|
shape: t.shape || "circle",
|
|
181
182
|
segregate: () => M(t),
|
|
182
183
|
isSegregated: c.value.includes(t.id)
|
|
183
|
-
}))),
|
|
184
|
+
}))), xe = v(() => ({
|
|
184
185
|
cy: "galaxy-div-legend",
|
|
185
186
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
186
187
|
color: e.value.style.chart.legend.color,
|
|
@@ -198,25 +199,25 @@ const Je = ["id"], Ke = {
|
|
|
198
199
|
Se(() => {
|
|
199
200
|
const t = m.value.head.map((o, r) => [[
|
|
200
201
|
o.name
|
|
201
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] /
|
|
202
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / g.value) ? "-" : m.value.body[r] / g.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Me(a);
|
|
202
203
|
ze({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
203
204
|
});
|
|
204
205
|
}
|
|
205
206
|
const N = v(() => {
|
|
206
207
|
const t = [
|
|
207
208
|
' <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>',
|
|
208
|
-
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
209
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: g.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
209
210
|
"100%"
|
|
210
211
|
], a = m.value.head.map((r, w) => {
|
|
211
|
-
const
|
|
212
|
+
const $e = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
212
213
|
return [
|
|
213
214
|
{
|
|
214
215
|
color: r.color,
|
|
215
216
|
name: r.name
|
|
216
217
|
},
|
|
217
|
-
|
|
218
|
-
isNaN(m.value.body[w] /
|
|
219
|
-
v: m.value.body[w] /
|
|
218
|
+
$e,
|
|
219
|
+
isNaN(m.value.body[w] / g.value) ? "-" : k({
|
|
220
|
+
v: m.value.body[w] / g.value * 100,
|
|
220
221
|
s: "%",
|
|
221
222
|
r: e.value.table.td.roundingPercentage
|
|
222
223
|
})
|
|
@@ -251,8 +252,8 @@ const Je = ["id"], Ke = {
|
|
|
251
252
|
function ae() {
|
|
252
253
|
b.value.showTooltip = !b.value.showTooltip;
|
|
253
254
|
}
|
|
254
|
-
return
|
|
255
|
-
getData:
|
|
255
|
+
return pe({
|
|
256
|
+
getData: me,
|
|
256
257
|
generatePdf: K,
|
|
257
258
|
generateCsv: te,
|
|
258
259
|
generateImage: Q,
|
|
@@ -265,7 +266,7 @@ const Je = ["id"], Ke = {
|
|
|
265
266
|
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
266
267
|
id: `galaxy_${_.value}`
|
|
267
268
|
}, [
|
|
268
|
-
e.value.style.chart.title.text ? (s(), n("div",
|
|
269
|
+
e.value.style.chart.title.text ? (s(), n("div", Qe, [
|
|
269
270
|
(s(), x(Ae, {
|
|
270
271
|
key: `title_${X.value}`,
|
|
271
272
|
config: {
|
|
@@ -300,13 +301,13 @@ const Je = ["id"], Ke = {
|
|
|
300
301
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
301
302
|
chartElement: D.value,
|
|
302
303
|
position: e.value.userOptions.position,
|
|
303
|
-
onToggleFullscreen:
|
|
304
|
+
onToggleFullscreen: Ce,
|
|
304
305
|
onGeneratePdf: h(K),
|
|
305
306
|
onGenerateCsv: te,
|
|
306
307
|
onGenerateImage: h(Q),
|
|
307
308
|
onToggleTable: le,
|
|
308
309
|
onToggleTooltip: ae
|
|
309
|
-
},
|
|
310
|
+
}, Pe({ _: 2 }, [
|
|
310
311
|
t.$slots.optionTooltip ? {
|
|
311
312
|
name: "optionTooltip",
|
|
312
313
|
fn: i(() => [
|
|
@@ -357,6 +358,7 @@ const Je = ["id"], Ke = {
|
|
|
357
358
|
viewBox: `0 0 ${B.value.width} ${B.value.height}`,
|
|
358
359
|
style: W(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
359
360
|
}, [
|
|
361
|
+
oe(qe),
|
|
360
362
|
$("defs", null, [
|
|
361
363
|
$("filter", {
|
|
362
364
|
id: `blur_${_.value}`,
|
|
@@ -368,27 +370,27 @@ const Je = ["id"], Ke = {
|
|
|
368
370
|
$("feGaussianBlur", {
|
|
369
371
|
in: "SourceGraphic",
|
|
370
372
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
371
|
-
}, null, 8,
|
|
372
|
-
], 8,
|
|
373
|
+
}, null, 8, tt)
|
|
374
|
+
], 8, et)
|
|
373
375
|
]),
|
|
374
|
-
(s(!0), n(
|
|
376
|
+
(s(!0), n(se, null, re(T.value, (l) => (s(), n("g", null, [
|
|
375
377
|
l.value ? (s(), n("path", {
|
|
376
378
|
key: 0,
|
|
377
379
|
d: l.path,
|
|
378
380
|
fill: "none",
|
|
379
381
|
stroke: e.value.style.chart.backgroundColor,
|
|
380
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
382
|
+
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
381
383
|
"stroke-linecap": "round"
|
|
382
|
-
}, null, 8,
|
|
384
|
+
}, null, 8, lt)) : d("", !0),
|
|
383
385
|
l.value ? (s(), n("path", {
|
|
384
386
|
key: 1,
|
|
385
387
|
d: l.path,
|
|
386
388
|
fill: "none",
|
|
387
389
|
stroke: l.color,
|
|
388
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
390
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
389
391
|
"stroke-linecap": "round",
|
|
390
|
-
class: L(`${
|
|
391
|
-
}, null, 10,
|
|
392
|
+
class: L(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
393
|
+
}, null, 10, at)) : d("", !0),
|
|
392
394
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
|
|
393
395
|
key: 2,
|
|
394
396
|
filter: `url(#blur_${_.value})`
|
|
@@ -397,13 +399,13 @@ const Je = ["id"], Ke = {
|
|
|
397
399
|
d: l.path,
|
|
398
400
|
fill: "none",
|
|
399
401
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
400
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
402
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
401
403
|
"stroke-linecap": "round",
|
|
402
|
-
class: L(`vue-ui-galaxy-gradient ${
|
|
403
|
-
}, null, 10,
|
|
404
|
-
], 8,
|
|
404
|
+
class: L(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
405
|
+
}, null, 10, st)
|
|
406
|
+
], 8, ot)) : d("", !0)
|
|
405
407
|
]))), 256)),
|
|
406
|
-
(s(!0), n(
|
|
408
|
+
(s(!0), n(se, null, re(T.value, (l, o) => (s(), n("g", null, [
|
|
407
409
|
l.value ? (s(), n("path", {
|
|
408
410
|
key: 0,
|
|
409
411
|
d: l.path,
|
|
@@ -411,21 +413,21 @@ const Je = ["id"], Ke = {
|
|
|
411
413
|
stroke: "transparent",
|
|
412
414
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
413
415
|
"stroke-linecap": "round",
|
|
414
|
-
onMouseenter: (r) =>
|
|
416
|
+
onMouseenter: (r) => we({
|
|
415
417
|
datapoint: l,
|
|
416
418
|
relativeIndex: o,
|
|
417
419
|
seriesIndex: l.seriesIndex,
|
|
418
420
|
show: !0
|
|
419
421
|
}),
|
|
420
422
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
421
|
-
G.value = !1,
|
|
423
|
+
G.value = !1, f.value = null;
|
|
422
424
|
}),
|
|
423
425
|
onClick: (r) => A("selectDatapoint", l)
|
|
424
|
-
}, null, 40,
|
|
426
|
+
}, null, 40, rt)) : d("", !0)
|
|
425
427
|
]))), 256)),
|
|
426
428
|
y(t.$slots, "svg", { svg: B.value }, void 0, !0)
|
|
427
|
-
], 14,
|
|
428
|
-
t.$slots.watermark ? (s(), n("div",
|
|
429
|
+
], 14, Ze)) : d("", !0),
|
|
430
|
+
t.$slots.watermark ? (s(), n("div", ut, [
|
|
429
431
|
y(t.$slots, "watermark", I(F({ isPrinting: h(q) || h(J) })), void 0, !0)
|
|
430
432
|
])) : d("", !0),
|
|
431
433
|
S.value ? d("", !0) : (s(), x(Ye, {
|
|
@@ -443,7 +445,7 @@ const Je = ["id"], Ke = {
|
|
|
443
445
|
e.value.style.chart.legend.show ? (s(), x(We, {
|
|
444
446
|
key: `legend_${Y.value}`,
|
|
445
447
|
legendSet: ee.value,
|
|
446
|
-
config:
|
|
448
|
+
config: xe.value,
|
|
447
449
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => M(l))
|
|
448
450
|
}, {
|
|
449
451
|
item: i(({ legend: l, index: o }) => [
|
|
@@ -451,7 +453,7 @@ const Je = ["id"], Ke = {
|
|
|
451
453
|
onClick: (r) => M(l),
|
|
452
454
|
style: W(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
|
|
453
455
|
}, [
|
|
454
|
-
|
|
456
|
+
ue(O(l.name) + ": " + O(h(ve)(
|
|
455
457
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
456
458
|
l.value,
|
|
457
459
|
h(k)({
|
|
@@ -462,17 +464,17 @@ const Je = ["id"], Ke = {
|
|
|
462
464
|
}),
|
|
463
465
|
{ datapoint: l, seriesIndex: o }
|
|
464
466
|
)) + " ", 1),
|
|
465
|
-
c.value.includes(l.id) ? (s(), n("span",
|
|
466
|
-
v: l.value /
|
|
467
|
+
c.value.includes(l.id) ? (s(), n("span", ct, " ( - % ) ")) : (s(), n("span", it, " (" + O(isNaN(l.value / g.value) ? "-" : h(k)({
|
|
468
|
+
v: l.value / g.value * 100,
|
|
467
469
|
s: "%",
|
|
468
470
|
r: e.value.style.chart.legend.roundingPercentage
|
|
469
471
|
})) + ") ", 1))
|
|
470
|
-
], 12,
|
|
472
|
+
], 12, nt)
|
|
471
473
|
]),
|
|
472
474
|
_: 1
|
|
473
475
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
474
476
|
y(t.$slots, "legend", { legend: ee.value }, void 0, !0),
|
|
475
|
-
|
|
477
|
+
oe(He, {
|
|
476
478
|
show: b.value.showTooltip && G.value,
|
|
477
479
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
478
480
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -485,7 +487,7 @@ const Je = ["id"], Ke = {
|
|
|
485
487
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
486
488
|
parent: D.value,
|
|
487
489
|
content: V.value,
|
|
488
|
-
isCustom: h(
|
|
490
|
+
isCustom: h(de)(e.value.style.chart.tooltip.customFormat)
|
|
489
491
|
}, {
|
|
490
492
|
"tooltip-before": i(() => [
|
|
491
493
|
y(t.$slots, "tooltip-before", I(F({ ...z.value })), void 0, !0)
|
|
@@ -525,19 +527,19 @@ const Je = ["id"], Ke = {
|
|
|
525
527
|
$("div", {
|
|
526
528
|
innerHTML: l,
|
|
527
529
|
style: { display: "flex", "align-items": "center" }
|
|
528
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, vt)
|
|
529
531
|
]),
|
|
530
532
|
td: i(({ td: l }) => [
|
|
531
|
-
|
|
533
|
+
ue(O(l.name || l), 1)
|
|
532
534
|
]),
|
|
533
535
|
_: 1
|
|
534
536
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
535
537
|
]),
|
|
536
538
|
_: 1
|
|
537
539
|
}, 8, ["config"])) : d("", !0)
|
|
538
|
-
], 14,
|
|
540
|
+
], 14, Ke));
|
|
539
541
|
}
|
|
540
|
-
},
|
|
542
|
+
}, _t = /* @__PURE__ */ Je(dt, [["__scopeId", "data-v-20ef4a66"]]);
|
|
541
543
|
export {
|
|
542
|
-
|
|
544
|
+
_t as default
|
|
543
545
|
};
|