vue-data-ui 2.3.90 → 2.3.92
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 +3 -2
- package/dist/{Arrow-C_Fnn6al.js → Arrow-16rQhq4i.js} +1 -1
- package/dist/{Arrow-D1pymKl6.cjs → Arrow-CdJD01md.cjs} +1 -1
- package/dist/{BaseIcon-BMfi5PnL.js → BaseIcon-CAmYNoaf.js} +1 -1
- package/dist/{BaseIcon-CnFXP_n9.cjs → BaseIcon-dYWMubrH.cjs} +1 -1
- package/dist/{DataTable-Cmbf3abv.js → DataTable-BXnbua0J.js} +2 -2
- package/dist/{DataTable-cOEA6Z37.cjs → DataTable-oa0Srfuc.cjs} +1 -1
- package/dist/{Legend-CCq0mNRg.js → Legend-Cr1hulgT.js} +1 -1
- package/dist/{Legend-XqP6-7Ac.cjs → Legend-Dhm9_peB.cjs} +1 -1
- package/dist/PackageVersion-BVZfgDqm.js +10 -0
- package/dist/PackageVersion-BkgJVmj1.cjs +1 -0
- package/dist/{Shape-BNocET8E.js → Shape-D75m5xWM.js} +1 -1
- package/dist/{Shape-B51JGReT.cjs → Shape-hGbEoQOv.cjs} +1 -1
- package/dist/{Slicer-Bc7OWCcl.cjs → Slicer-B7ya0m2Q.cjs} +1 -1
- package/dist/{Slicer-BKszZXjM.js → Slicer-Bx8AozB8.js} +2 -2
- package/dist/{Title-DlBwa3-X.js → Title-1Sw6EmHy.js} +1 -1
- package/dist/{Title-BaR4XyXa.cjs → Title-Bjrh7khe.cjs} +1 -1
- package/dist/{Tooltip-CX57w9Q9.cjs → Tooltip-CPATjuur.cjs} +1 -1
- package/dist/{Tooltip-w32n-8sY.js → Tooltip-EJf3VBPR.js} +1 -1
- package/dist/documentation/installation.md +1 -1
- package/dist/index-D09qCApg.cjs +4 -0
- package/dist/{index-DQl1TFXa.js → index-DhJby8wL.js} +8 -3
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +16 -0
- package/dist/types/vue-data-ui.d.ts +16 -0
- package/dist/{useNestedProp-DlCe_zZz.cjs → useNestedProp-Bwd7mK1Z.cjs} +1 -1
- package/dist/{useNestedProp-lmeFt-ev.js → useNestedProp-CrHvyupb.js} +1 -1
- package/dist/{usePrinter-DgKGVvJC.js → usePrinter-Bwm8J3RQ.js} +1 -1
- package/dist/{usePrinter-BmXrEJ99.cjs → usePrinter-DdsPm5a4.cjs} +1 -1
- package/dist/{vue-data-ui-Byrb_Y3k.js → vue-data-ui-CLxne31S.js} +57 -57
- package/dist/{vue-data-ui-DQurgvN8.cjs → vue-data-ui-ZitCqVgG.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DAv5cYGJ.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CM_usP2U.js → vue-ui-3d-bar-Dg87_AAm.js} +148 -146
- package/dist/{vue-ui-accordion-DRI-fN6I.cjs → vue-ui-accordion-BAHX7KzB.cjs} +1 -1
- package/dist/{vue-ui-accordion-CroZrm7T.js → vue-ui-accordion-Cn5Jbplg.js} +3 -3
- package/dist/vue-ui-age-pyramid-GzHwQzsH.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BZU-WI_a.js → vue-ui-age-pyramid-PlamQWqC.js} +83 -81
- package/dist/{vue-ui-annotator-BpzM25VY.cjs → vue-ui-annotator-DGgQwl-K.cjs} +1 -1
- package/dist/{vue-ui-annotator-CsfYgmrC.js → vue-ui-annotator-Dd5KF_cy.js} +1 -1
- package/dist/vue-ui-candlestick-BIEB2J1w.cjs +2 -0
- package/dist/{vue-ui-candlestick-BPi7aBEf.js → vue-ui-candlestick-DTzwPhV5.js} +113 -111
- package/dist/{vue-ui-carousel-table-CpodLcgX.cjs → vue-ui-carousel-table-HNTf5AYY.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-tbviS8Fo.js → vue-ui-carousel-table-YEfvPESA.js} +4 -4
- package/dist/vue-ui-chestnut-DzjdAYsT.cjs +6 -0
- package/dist/{vue-ui-chestnut-ql9yEs6j.js → vue-ui-chestnut-PzMOM7mp.js} +161 -159
- package/dist/{vue-ui-cursor-B3w0SgJP.cjs → vue-ui-cursor-C5rsiCdn.cjs} +1 -1
- package/dist/{vue-ui-cursor-Dw7_R_Pd.js → vue-ui-cursor-DWea2yXV.js} +2 -2
- package/dist/{vue-ui-dashboard-enrB5B3P.cjs → vue-ui-dashboard-BqXhoS8m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DAY0cdat.js → vue-ui-dashboard-CVespiTo.js} +2 -2
- package/dist/{vue-ui-digits-DN6CRpXc.js → vue-ui-digits-gNKgZqYU.js} +2 -2
- package/dist/{vue-ui-digits-3Q6uZCzD.cjs → vue-ui-digits-wmDN7Vkf.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CzBvVRKG.js → vue-ui-donut-evolution-Ch6HH0ja.js} +102 -100
- package/dist/vue-ui-donut-evolution-DhDxLZ1J.cjs +1 -0
- package/dist/vue-ui-donut-n37BZPxr.cjs +1 -0
- package/dist/{vue-ui-donut-B3yDJvZI.js → vue-ui-donut-sQunZI1L.js} +118 -116
- package/dist/vue-ui-dumbbell-B9Z_pjnG.cjs +9 -0
- package/dist/{vue-ui-dumbbell-vQ5YRGwJ.js → vue-ui-dumbbell-lFlZX8Yi.js} +88 -86
- package/dist/vue-ui-flow-BaFpUJg-.cjs +1 -0
- package/dist/{vue-ui-flow-DAOKURA6.js → vue-ui-flow-CSIOC-JR.js} +65 -63
- package/dist/vue-ui-galaxy-BIR5GxIc.cjs +1 -0
- package/dist/{vue-ui-galaxy-B86BK1JM.js → vue-ui-galaxy-DL2mnel_.js} +82 -80
- package/dist/{vue-ui-gauge-n8TilFo9.js → vue-ui-gauge-BMq7KT3t.js} +56 -54
- package/dist/vue-ui-gauge-r_qvpwE7.cjs +1 -0
- package/dist/vue-ui-gizmo-DBas_Sw_.cjs +1 -0
- package/dist/{vue-ui-gizmo-CFIBlG4V.js → vue-ui-gizmo-Dj7zvNI1.js} +32 -30
- package/dist/{vue-ui-heatmap-ZkmD9EAg.js → vue-ui-heatmap-pqBYIrxm.js} +99 -97
- package/dist/vue-ui-heatmap-qPgEhAzc.cjs +1 -0
- package/dist/{vue-ui-kpi-D6Myg0y1.cjs → vue-ui-kpi-Cmo9J7wp.cjs} +1 -1
- package/dist/{vue-ui-kpi-CtJ3t6GX.js → vue-ui-kpi-ZPBinMiF.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjJ_YYZj.cjs → vue-ui-mini-loader-Ce-jbgMT.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cosy9XjR.js → vue-ui-mini-loader-DOTWhLi9.js} +2 -2
- package/dist/vue-ui-molecule-D429iwPP.cjs +1 -0
- package/dist/{vue-ui-molecule-DTFOBjgC.js → vue-ui-molecule-RDpgNrHQ.js} +77 -75
- package/dist/{vue-ui-mood-radar-J_dI9m_i.js → vue-ui-mood-radar-CD5L8WCU.js} +76 -74
- package/dist/vue-ui-mood-radar-CdLJxrkT.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-CtqU4xxu.js → vue-ui-nested-donuts-A-tid5cQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-DyM3uc7x.cjs +17 -0
- package/dist/vue-ui-onion-BKql8oal.cjs +5 -0
- package/dist/{vue-ui-onion-BMo0Ye54.js → vue-ui-onion-Cap01Ehu.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-B0zMgtnq.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-yKLZbDS5.js → vue-ui-parallel-coordinate-plot-CcDKe4L0.js} +91 -89
- package/dist/{vue-ui-quadrant-BrRasVaj.js → vue-ui-quadrant-BDEfAeyJ.js} +141 -139
- package/dist/vue-ui-quadrant-CZzdpeQ2.cjs +1 -0
- package/dist/{vue-ui-quick-chart-uH33UIjX.js → vue-ui-quick-chart-DlAUYg5u.js} +166 -164
- package/dist/vue-ui-quick-chart-DpGYUyhq.cjs +15 -0
- package/dist/{vue-ui-radar-BJ3qMHP4.js → vue-ui-radar-CbTln7gs.js} +89 -87
- package/dist/vue-ui-radar-oBeaHlpT.cjs +1 -0
- package/dist/{vue-ui-rating-BEWaQMBR.cjs → vue-ui-rating-BU7-F3_e.cjs} +1 -1
- package/dist/{vue-ui-rating-BFskhiyh.js → vue-ui-rating-BkDncqow.js} +2 -2
- package/dist/{vue-ui-relation-circle-DdK4qk0P.js → vue-ui-relation-circle-C5B6UNGd.js} +54 -52
- package/dist/vue-ui-relation-circle-IWiJWgcB.cjs +1 -0
- package/dist/{vue-ui-rings-BqHSq6Wt.js → vue-ui-rings-BujVUJ90.js} +97 -93
- package/dist/{vue-ui-rings-D_T_D6AS.cjs → vue-ui-rings-Df2cRgD8.cjs} +2 -2
- package/dist/{vue-ui-scatter-C0gfF6NJ.js → vue-ui-scatter-D6yqZJ7s.js} +132 -130
- package/dist/vue-ui-scatter-jFTeM2hW.cjs +1 -0
- package/dist/{vue-ui-screenshot-6tOLntj9.js → vue-ui-screenshot-CHAySwpv.js} +1 -1
- package/dist/{vue-ui-screenshot-CbvIYfYU.cjs → vue-ui-screenshot-CVu8IM33.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BVJGmYjj.js → vue-ui-skeleton-ASX40MGk.js} +423 -388
- package/dist/vue-ui-skeleton-CAlTn_Cg.cjs +41 -0
- package/dist/{vue-ui-smiley-2EoxEmXW.js → vue-ui-smiley-DGVzhza2.js} +2 -2
- package/dist/{vue-ui-smiley-CUgH2tnV.cjs → vue-ui-smiley-dwCqhB0r.cjs} +1 -1
- package/dist/vue-ui-spark-trend-A1EHFK_r.cjs +1 -0
- package/dist/{vue-ui-spark-trend-DjNPMOkN.js → vue-ui-spark-trend-B7XhDvTj.js} +42 -40
- package/dist/{vue-ui-sparkbar-BBm3DE1P.js → vue-ui-sparkbar-BuNcvi66.js} +53 -51
- package/dist/vue-ui-sparkbar-CwNjHOjD.cjs +1 -0
- package/dist/vue-ui-sparkgauge-ISu154lS.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-IIW24eJQ.js → vue-ui-sparkgauge-JY2kB9WX.js} +31 -29
- package/dist/vue-ui-sparkhistogram-C8zyC-ii.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-DVXxA6ji.js → vue-ui-sparkhistogram-DyEPWxkP.js} +69 -67
- package/dist/vue-ui-sparkline-DL3Thtc4.cjs +1 -0
- package/dist/{vue-ui-sparkline-CH89kcaa.js → vue-ui-sparkline-DYC3sdvQ.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-Bcod5yu_.js → vue-ui-sparkstackbar-7TmtP3WR.js} +46 -44
- package/dist/vue-ui-sparkstackbar-ChIM9bn2.cjs +1 -0
- package/dist/{vue-ui-stackbar-Djjcgtyg.js → vue-ui-stackbar-CP5C6Gb_.js} +128 -126
- package/dist/vue-ui-stackbar-DrtiSaNc.cjs +6 -0
- package/dist/vue-ui-strip-plot-BMYMIHGu.cjs +1 -0
- package/dist/{vue-ui-strip-plot-ByPCQ4xk.js → vue-ui-strip-plot-DJQCq_KE.js} +78 -76
- package/dist/{vue-ui-table-B6Kpda3o.cjs → vue-ui-table-D6hvgMif.cjs} +1 -1
- package/dist/{vue-ui-table-D8Sm2fzX.js → vue-ui-table-IJi0xaVg.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DjEN0l12.cjs → vue-ui-table-heatmap-BZNKXZNs.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-mlq_J56h.js → vue-ui-table-heatmap-Ls8_xq0D.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DByva7rj.cjs → vue-ui-table-sparkline-BQFK30H1.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DF29_qZk.js → vue-ui-table-sparkline-BeuvdssX.js} +5 -5
- package/dist/vue-ui-thermometer-DKm8SXlE.cjs +1 -0
- package/dist/{vue-ui-thermometer-BKf-rGuS.js → vue-ui-thermometer-DPWIvG92.js} +80 -78
- package/dist/{vue-ui-timer-B8jW8M60.js → vue-ui-timer-CEzDvZf7.js} +62 -60
- package/dist/vue-ui-timer-n6lv7oTx.cjs +64 -0
- package/dist/vue-ui-tiremarks-B33mHXZN.cjs +1 -0
- package/dist/{vue-ui-tiremarks-riEfve5q.js → vue-ui-tiremarks-BUGoY22W.js} +51 -49
- package/dist/vue-ui-treemap-DPxBZUUr.cjs +1 -0
- package/dist/{vue-ui-treemap-5F0ynBnb.js → vue-ui-treemap-DmOYjJ_F.js} +93 -91
- package/dist/vue-ui-vertical-bar-BJMYX8t4.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CxRBvHZy.js → vue-ui-vertical-bar-BpVKdSY5.js} +110 -108
- package/dist/vue-ui-waffle-DGcueccy.cjs +1 -0
- package/dist/{vue-ui-waffle-B8G4i5WH.js → vue-ui-waffle-ULg6SwPx.js} +72 -70
- package/dist/vue-ui-wheel-CWKq-CFW.cjs +1 -0
- package/dist/{vue-ui-wheel-DmzkGeCY.js → vue-ui-wheel-DlmgZd-_.js} +43 -41
- package/dist/vue-ui-word-cloud-BhHWdmqP.cjs +1 -0
- package/dist/vue-ui-word-cloud-DWyboczt.js +574 -0
- package/dist/vue-ui-xy-Cz81fw_E.cjs +3 -0
- package/dist/{vue-ui-xy-iUQyB_PL.js → vue-ui-xy-V13Ns1gv.js} +507 -504
- package/dist/{vue-ui-xy-canvas-nraUv13Y.js → vue-ui-xy-canvas-B9cRe5gT.js} +10 -10
- package/dist/{vue-ui-xy-canvas-CCwtKYgd.cjs → vue-ui-xy-canvas-GiuHOyj5.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B8EMsnjU.cjs +0 -4
- package/dist/vue-ui-3d-bar-Ce-Re50D.cjs +0 -19
- package/dist/vue-ui-age-pyramid-C08rTXJn.cjs +0 -1
- package/dist/vue-ui-candlestick-m8fjxbj-.cjs +0 -2
- package/dist/vue-ui-chestnut-Y0gQvbbf.cjs +0 -6
- package/dist/vue-ui-donut-CCm7GJsm.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DiN8Jm0n.cjs +0 -1
- package/dist/vue-ui-dumbbell-lb72j7bY.cjs +0 -9
- package/dist/vue-ui-flow-B5Gxaqvl.cjs +0 -1
- package/dist/vue-ui-galaxy-Ck5cPkrh.cjs +0 -1
- package/dist/vue-ui-gauge-BwIhwSUw.cjs +0 -1
- package/dist/vue-ui-gizmo-DrGaoiM_.cjs +0 -1
- package/dist/vue-ui-heatmap-BLc6thGZ.cjs +0 -1
- package/dist/vue-ui-molecule-CAj1HFit.cjs +0 -1
- package/dist/vue-ui-mood-radar-CV2in2wO.cjs +0 -1
- package/dist/vue-ui-nested-donuts-4vO23n9z.cjs +0 -17
- package/dist/vue-ui-onion-B3mtn6xf.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DFMbhLY9.cjs +0 -8
- package/dist/vue-ui-quadrant-CpJX1Jwa.cjs +0 -1
- package/dist/vue-ui-quick-chart-CTxsI2tk.cjs +0 -15
- package/dist/vue-ui-radar-DFjsXmJ3.cjs +0 -1
- package/dist/vue-ui-relation-circle-DXuKdCih.cjs +0 -1
- package/dist/vue-ui-scatter-DPByFMNL.cjs +0 -1
- package/dist/vue-ui-skeleton-Bli7jLZ7.cjs +0 -41
- package/dist/vue-ui-spark-trend-sfgUJ32Q.cjs +0 -1
- package/dist/vue-ui-sparkbar-CKWYzriN.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D0q9F9Nz.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-CywhBkm2.cjs +0 -1
- package/dist/vue-ui-sparkline-Besp8Ffy.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-qXm8Ozzm.cjs +0 -1
- package/dist/vue-ui-stackbar-D0fGVkCR.cjs +0 -6
- package/dist/vue-ui-strip-plot-XDj8rL9m.cjs +0 -1
- package/dist/vue-ui-thermometer-C3T56ras.cjs +0 -1
- package/dist/vue-ui-timer-B_ZvV1ON.cjs +0 -64
- package/dist/vue-ui-tiremarks-DRbSpTgq.cjs +0 -1
- package/dist/vue-ui-treemap-CtKUTs2G.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BBIWdeXH.cjs +0 -4
- package/dist/vue-ui-waffle-9a3C4Nj-.cjs +0 -1
- package/dist/vue-ui-wheel-CErxlmqw.cjs +0 -1
- package/dist/vue-ui-word-cloud-dMBTVGVk.js +0 -513
- package/dist/vue-ui-word-cloud-nmx846H2.cjs +0 -1
- package/dist/vue-ui-xy-CLYgZk3Y.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-DhJby8wL.js";
|
|
3
|
+
import { L as We } from "./Legend-Cr1hulgT.js";
|
|
4
|
+
import { _ as Ae } from "./Title-1Sw6EmHy.js";
|
|
5
|
+
import { _ as He } from "./Tooltip-EJf3VBPR.js";
|
|
6
|
+
import { D as Ue } from "./DataTable-BXnbua0J.js";
|
|
7
|
+
import { u as Xe, U as Re } from "./usePrinter-Bwm8J3RQ.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-ASX40MGk.js";
|
|
9
|
+
import je from "./vue-ui-accordion-Cn5Jbplg.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-CrHvyupb.js";
|
|
11
|
+
import { _ as qe } from "./PackageVersion-BVZfgDqm.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
|
};
|