vue-data-ui 2.4.51 → 2.4.53
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-2a_SwBgz.cjs → Arrow-BGjtcB03.cjs} +1 -1
- package/dist/{Arrow-BUz63pb2.js → Arrow-XbzVXHDF.js} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-CiQzR1fE.js} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-DGRZS55E.cjs} +1 -1
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-DWQiMziO.cjs} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-jvL0XGWl.js} +2 -2
- package/dist/{Legend-BiuPlEMg.cjs → Legend-BstxUr4T.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-DcIfRSNC.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-CeJ2R9gK.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Ve0s76sL.js} +1 -1
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DQPbe0G_.cjs} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-IHG7xTmx.js} +3 -3
- package/dist/{Shape-yducHWd0.cjs → Shape-Bzx4qKcd.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-Rg6yW7m3.js} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-CP2Z31Lc.js} +2 -2
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-CPp7_WWa.cjs} +1 -1
- package/dist/{Title-Bk_55doC.cjs → Title-CSyDhu3S.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-DLo3Zo2_.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-CA1QhFeE.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-D88h1zvE.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-C3wsuQ2C.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-DhxnZ6ZS.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-BcqToEU0.js} +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-CFwQtnNB.cjs} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-Dglf1bsw.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-mDGfOQZA.js} +1 -1
- package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-BM5qFlPf.cjs} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-C6tJVggL.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-wDYs3sVe.js → vue-ui-3d-bar-BFzCyxbR.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-DiL5x37F.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-DDp8hUlk.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kv5FuXqU.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-ORFLMq65.js} +42 -42
- package/dist/vue-ui-age-pyramid-xYMc6DPS.cjs +1 -0
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-CYyuSx8D.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-J_Ssv585.cjs} +1 -1
- package/dist/vue-ui-bullet-BbOqOHbK.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-D8w5qQKc.js} +41 -41
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-B7jJlgII.js} +61 -61
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BbKj6Lt5.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-3ntrCePt.js} +50 -50
- package/dist/vue-ui-carousel-table-Cazhvs3E.cjs +1 -0
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-DyFTfNZi.cjs} +3 -3
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-apUInPn_.js} +66 -66
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CFTO66GQ.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-CsNO0-Tw.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-C-pDSWwi.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-DddJvm7i.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-DSqN9pA7.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-DWAbSFx3.js} +2 -2
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-DSeDfu4H.js} +57 -57
- package/dist/vue-ui-donut-DrAes-Cb.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CYtTDj7r.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-D7h33-ti.js} +66 -66
- package/dist/vue-ui-dumbbell-DAK7iUrl.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-LF5uy2pG.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-ClPKB4R5.js} +43 -43
- package/dist/vue-ui-flow-u3UVnWTH.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-BIXUXI8z.js} +59 -59
- package/dist/vue-ui-funnel-BY7rqfpW.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-CEnGrqn3.js} +54 -54
- package/dist/vue-ui-galaxy-DBnbXO8c.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-C7Qchm0R.js} +70 -70
- package/dist/vue-ui-gauge-CJYWRyeq.cjs +1 -0
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-C9_Ciat_.cjs} +1 -1
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-CKZRt29V.js} +3 -3
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-BlbOJnS0.js} +87 -87
- package/dist/vue-ui-heatmap-olBNo_Ui.cjs +1 -0
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CBpL_OyR.js} +75 -75
- package/dist/vue-ui-history-plot-Cyd53pxt.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-C2XDua17.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-CkcQ40VT.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-CpeOqmXd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-DXF2Zpi6.js} +2 -2
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-ekgpnwl8.js} +52 -52
- package/dist/vue-ui-molecule-qQjh4AkD.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-CV30YU_f.js} +35 -35
- package/dist/vue-ui-mood-radar-KoW8hhxL.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-AkaYvLCi.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-DZ_eS-bB.js} +90 -90
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-Bl1UUCFU.cjs} +2 -2
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-YfHn7AeD.js} +52 -52
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-BEqbS5A6.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-Dv_UD2bi.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-BU_pD15l.js} +50 -50
- package/dist/vue-ui-quadrant-DO6afeTp.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-ByDBV3lo.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-U-1paiOI.js} +9 -9
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-B5FUXS1e.js} +59 -59
- package/dist/vue-ui-radar-DLsIiPBR.cjs +1 -0
- package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-D4-ebrWA.cjs} +1 -1
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-DcCUrP6L.js} +2 -2
- package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-2i7B4Yf-.js} +56 -56
- package/dist/vue-ui-relation-circle-jPx6gmw1.cjs +1 -0
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-6JF72UH8.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-DG0DQD21.js} +65 -65
- package/dist/vue-ui-scatter-CfbMuDQy.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-j6SU-TUb.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-B6hhgFz_.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-BKfP266_.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-99lBQ_mF.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-pdtGfiV6.js} +3 -3
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-8UembS7P.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-fOlIEhGS.js} +2 -2
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-BkPSkOrh.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-CV5Uq241.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-DUNqm_AP.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-qB9reaJo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-D0hLQuMH.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-Mmm3mt-c.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-9yQ-E0co.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CuB-M26R.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-D_QkkgS-.js} +4 -4
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-Du8Hm28x.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-BDubVDPN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-B_I1tmuS.cjs} +1 -1
- package/dist/vue-ui-stackbar-DHnilreT.cjs +6 -0
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-rNiqr7aF.js} +43 -43
- package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-DPn3qgdB.js} +78 -78
- package/dist/vue-ui-strip-plot-DlRej1u9.cjs +1 -0
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BrZ__Cd2.js} +1 -1
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-DLcFdjyM.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-DIkXPyqe.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-DQXI2uPZ.js} +38 -38
- package/dist/vue-ui-table-sparkline-BUNsAEVY.js +647 -0
- package/dist/vue-ui-table-sparkline-BazGMr3R.cjs +1 -0
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-DMkD9fS8.js} +74 -74
- package/dist/vue-ui-thermometer-_gbnwB1j.cjs +1 -0
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-BTfgxjIc.cjs} +1 -1
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-Dv-GSUf1.js} +5 -5
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-CEMrBJPF.js} +46 -46
- package/dist/vue-ui-tiremarks-Ct9y13Sl.cjs +1 -0
- package/dist/vue-ui-treemap-D7SBHWJ2.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-D8AkLDqM.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BnhysoC9.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-_EQI8SXm.cjs} +2 -2
- package/dist/vue-ui-waffle-DOhi1BWD.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-DfRmWfrG.js} +48 -48
- package/dist/vue-ui-wheel-BbDtndmW.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-CU6-VBD1.js} +36 -36
- package/dist/vue-ui-word-cloud-CRarnngT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-CbuHwEkP.js} +66 -66
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-BRTegbdr.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-DsTqLLWp.js} +53 -53
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-hn3ncIFk.cjs} +2 -2
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-pSvq591u.js} +14 -14
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-table-sparkline-YV8DUOqh.js +0 -600
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as i, normalizeClass as A, normalizeStyle as V, unref as n, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as v, renderSlot as d, normalizeProps as S, guardReactiveProps as
|
|
2
|
-
import { u as Ve, o as Ee, e as he, g as Me, c as pe, t as De, a as Be, p as M, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as fe, x as ge, y as He, q as Xe, r as Re } from "./index-
|
|
3
|
-
import { L as Ye } from "./Legend-
|
|
4
|
-
import { _ as je } from "./Title-
|
|
5
|
-
import { _ as qe } from "./Tooltip-
|
|
6
|
-
import { D as Je } from "./DataTable-
|
|
7
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
8
|
-
import Ze from "./vue-ui-skeleton-
|
|
9
|
-
import et from "./vue-ui-accordion-
|
|
10
|
-
import { u as be } from "./useNestedProp-
|
|
11
|
-
import { _ as tt } from "./PackageVersion-
|
|
12
|
-
import { P as lt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as i, normalizeClass as A, normalizeStyle as V, unref as n, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as v, renderSlot as d, normalizeProps as S, guardReactiveProps as O, createVNode as ie, createElementVNode as _, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as E, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as Ve, o as Ee, e as he, g as Me, c as pe, t as De, a as Be, p as M, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as fe, x as ge, y as He, q as Xe, r as Re } from "./index-DhxnZ6ZS.js";
|
|
3
|
+
import { L as Ye } from "./Legend-DcIfRSNC.js";
|
|
4
|
+
import { _ as je } from "./Title-DLo3Zo2_.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-CA1QhFeE.js";
|
|
6
|
+
import { D as Je } from "./DataTable-jvL0XGWl.js";
|
|
7
|
+
import { u as Ke, U as Qe } from "./usePrinter-mDGfOQZA.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-pdtGfiV6.js";
|
|
9
|
+
import et from "./vue-ui-accordion-DDp8hUlk.js";
|
|
10
|
+
import { u as be } from "./useNestedProp-BcqToEU0.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-Ve0s76sL.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-IHG7xTmx.js";
|
|
13
13
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const st = ["id"], rt = {
|
|
@@ -44,12 +44,12 @@ const st = ["id"], rt = {
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
|
-
setup(me, { expose: ke, emit:
|
|
48
|
-
const y = me, { vue_ui_galaxy: Ce } = Ve(),
|
|
47
|
+
setup(me, { expose: ke, emit: X }) {
|
|
48
|
+
const y = me, { vue_ui_galaxy: Ce } = Ve(), N = h(() => !!y.dataset && y.dataset.length);
|
|
49
49
|
Le(() => {
|
|
50
|
-
|
|
50
|
+
R();
|
|
51
51
|
});
|
|
52
|
-
function
|
|
52
|
+
function R() {
|
|
53
53
|
Ee(y.dataset) ? he({
|
|
54
54
|
componentName: "VueUiGalaxy",
|
|
55
55
|
type: "dataset"
|
|
@@ -67,10 +67,10 @@ const st = ["id"], rt = {
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
const T = u(pe()), L = u(null), we = u(null), D = u(!1), B = u(""), f = u(null),
|
|
70
|
+
const T = u(pe()), L = u(null), we = u(null), D = u(!1), B = u(""), f = u(null), Y = u(0), j = u(0), q = u(0), J = u(0), e = h({
|
|
71
71
|
get: () => Z(),
|
|
72
72
|
set: (t) => t
|
|
73
|
-
}), { userOptionsVisible:
|
|
73
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: K, keepUserOptionState: Q } = at({ config: e.value });
|
|
74
74
|
function Z() {
|
|
75
75
|
const t = be({
|
|
76
76
|
userConfig: y.config,
|
|
@@ -85,7 +85,7 @@ const st = ["id"], rt = {
|
|
|
85
85
|
} : t;
|
|
86
86
|
}
|
|
87
87
|
Fe(() => y.config, (t) => {
|
|
88
|
-
e.value = Z(),
|
|
88
|
+
e.value = Z(), G.value = !e.value.showOnChartHover, R(), j.value += 1, q.value += 1, J.value += 1;
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ke({
|
|
91
91
|
elementId: `galaxy_${T.value}`,
|
|
@@ -96,13 +96,13 @@ const st = ["id"], rt = {
|
|
|
96
96
|
},
|
|
97
97
|
showTable: e.value.table.show,
|
|
98
98
|
showTooltip: e.value.style.chart.tooltip.show
|
|
99
|
-
}),
|
|
99
|
+
}), z = u({
|
|
100
100
|
height: 180,
|
|
101
101
|
// or 250 if non fibo
|
|
102
102
|
width: 250
|
|
103
103
|
}), p = u([]);
|
|
104
|
-
function
|
|
105
|
-
p.value.includes(t.id) ? p.value = p.value.filter((a) => a !== t.id) : p.value.push(t.id),
|
|
104
|
+
function U(t) {
|
|
105
|
+
p.value.includes(t.id) ? p.value = p.value.filter((a) => a !== t.id) : p.value.push(t.id), X("selectLegend", P.value.map((a) => ({
|
|
106
106
|
name: a.name,
|
|
107
107
|
color: a.color,
|
|
108
108
|
value: a.value
|
|
@@ -143,11 +143,11 @@ const st = ["id"], rt = {
|
|
|
143
143
|
return t.filter((a, l) => !p.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
144
144
|
}), x = u(!1);
|
|
145
145
|
function Pe(t) {
|
|
146
|
-
x.value = t,
|
|
146
|
+
x.value = t, Y.value += 1;
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const W = u(null);
|
|
149
149
|
function Se({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
150
|
-
|
|
150
|
+
W.value = {
|
|
151
151
|
datapoint: t,
|
|
152
152
|
seriesIndex: l,
|
|
153
153
|
series: C.value,
|
|
@@ -190,9 +190,9 @@ const st = ["id"], rt = {
|
|
|
190
190
|
proportion: (t.value || 0) / y.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
|
|
191
191
|
opacity: p.value.includes(t.id) ? 0.5 : 1,
|
|
192
192
|
shape: t.shape || "circle",
|
|
193
|
-
segregate: () =>
|
|
193
|
+
segregate: () => U(t),
|
|
194
194
|
isSegregated: p.value.includes(t.id)
|
|
195
|
-
}))),
|
|
195
|
+
}))), Oe = h(() => ({
|
|
196
196
|
cy: "galaxy-div-legend",
|
|
197
197
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
198
198
|
color: e.value.style.chart.legend.color,
|
|
@@ -220,13 +220,13 @@ const st = ["id"], rt = {
|
|
|
220
220
|
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 }),
|
|
221
221
|
"100%"
|
|
222
222
|
], a = m.value.head.map((r, w) => {
|
|
223
|
-
const
|
|
223
|
+
const Ne = 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 });
|
|
224
224
|
return [
|
|
225
225
|
{
|
|
226
226
|
color: r.color,
|
|
227
227
|
name: r.name
|
|
228
228
|
},
|
|
229
|
-
|
|
229
|
+
Ne,
|
|
230
230
|
isNaN(m.value.body[w] / g.value) ? "-" : k({
|
|
231
231
|
v: m.value.body[w] / g.value * 100,
|
|
232
232
|
s: "%",
|
|
@@ -264,7 +264,7 @@ const st = ["id"], rt = {
|
|
|
264
264
|
b.value.showTooltip = !b.value.showTooltip;
|
|
265
265
|
}
|
|
266
266
|
const I = u(!1);
|
|
267
|
-
function
|
|
267
|
+
function H() {
|
|
268
268
|
I.value = !I.value;
|
|
269
269
|
}
|
|
270
270
|
return ke({
|
|
@@ -274,7 +274,7 @@ const st = ["id"], rt = {
|
|
|
274
274
|
generateImage: ae,
|
|
275
275
|
toggleTable: ue,
|
|
276
276
|
toggleTooltip: ne,
|
|
277
|
-
toggleAnnotator:
|
|
277
|
+
toggleAnnotator: H
|
|
278
278
|
}), (t, a) => (o(), i("div", {
|
|
279
279
|
ref_key: "galaxyChart",
|
|
280
280
|
ref: L,
|
|
@@ -290,12 +290,12 @@ const st = ["id"], rt = {
|
|
|
290
290
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
291
291
|
color: e.value.style.chart.color,
|
|
292
292
|
active: I.value,
|
|
293
|
-
onClose:
|
|
293
|
+
onClose: H
|
|
294
294
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
295
295
|
$e.value ? (o(), i("div", rt, null, 512)) : c("", !0),
|
|
296
296
|
e.value.style.chart.title.text ? (o(), i("div", ut, [
|
|
297
297
|
(o(), $(je, {
|
|
298
|
-
key: `title_${
|
|
298
|
+
key: `title_${j.value}`,
|
|
299
299
|
config: {
|
|
300
300
|
title: {
|
|
301
301
|
cy: "galaxy-div-title",
|
|
@@ -308,10 +308,10 @@ const st = ["id"], rt = {
|
|
|
308
308
|
}
|
|
309
309
|
}, null, 8, ["config"]))
|
|
310
310
|
])) : c("", !0),
|
|
311
|
-
e.value.userOptions.show &&
|
|
311
|
+
e.value.userOptions.show && N.value && (n(Q) || n(G)) ? (o(), $(Qe, {
|
|
312
312
|
ref_key: "details",
|
|
313
313
|
ref: we,
|
|
314
|
-
key: `user_option_${
|
|
314
|
+
key: `user_option_${Y.value}`,
|
|
315
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
316
316
|
color: e.value.style.chart.color,
|
|
317
317
|
isPrinting: n(ee),
|
|
@@ -336,9 +336,9 @@ const st = ["id"], rt = {
|
|
|
336
336
|
onGenerateImage: n(ae),
|
|
337
337
|
onToggleTable: ue,
|
|
338
338
|
onToggleTooltip: ne,
|
|
339
|
-
onToggleAnnotator:
|
|
339
|
+
onToggleAnnotator: H,
|
|
340
340
|
style: V({
|
|
341
|
-
visibility: n(Q) ? n(
|
|
341
|
+
visibility: n(Q) ? n(G) ? "visible" : "hidden" : "visible"
|
|
342
342
|
})
|
|
343
343
|
}, Ie({ _: 2 }, [
|
|
344
344
|
t.$slots.optionTooltip ? {
|
|
@@ -379,23 +379,23 @@ const st = ["id"], rt = {
|
|
|
379
379
|
t.$slots.optionFullscreen ? {
|
|
380
380
|
name: "optionFullscreen",
|
|
381
381
|
fn: v(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
382
|
-
d(t.$slots, "optionFullscreen", S(
|
|
382
|
+
d(t.$slots, "optionFullscreen", S(O({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
383
383
|
]),
|
|
384
384
|
key: "5"
|
|
385
385
|
} : void 0,
|
|
386
386
|
t.$slots.optionAnnotator ? {
|
|
387
387
|
name: "optionAnnotator",
|
|
388
388
|
fn: v(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
389
|
-
d(t.$slots, "optionAnnotator", S(
|
|
389
|
+
d(t.$slots, "optionAnnotator", S(O({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
390
390
|
]),
|
|
391
391
|
key: "6"
|
|
392
392
|
} : void 0
|
|
393
393
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
394
|
-
|
|
394
|
+
N.value ? (o(), i("svg", {
|
|
395
395
|
key: 4,
|
|
396
396
|
xmlns: n(We),
|
|
397
397
|
class: A({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
|
|
398
|
-
viewBox: `0 0 ${
|
|
398
|
+
viewBox: `0 0 ${z.value.width} ${z.value.height}`,
|
|
399
399
|
style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
400
400
|
}, [
|
|
401
401
|
ie(tt),
|
|
@@ -462,15 +462,15 @@ const st = ["id"], rt = {
|
|
|
462
462
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
463
463
|
D.value = !1, f.value = null;
|
|
464
464
|
}),
|
|
465
|
-
onClick: (r) =>
|
|
465
|
+
onClick: (r) => X("selectDatapoint", l)
|
|
466
466
|
}, null, 40, yt)) : c("", !0)
|
|
467
467
|
]))), 256)),
|
|
468
|
-
d(t.$slots, "svg", { svg:
|
|
468
|
+
d(t.$slots, "svg", { svg: z.value }, void 0, !0)
|
|
469
469
|
], 14, nt)) : c("", !0),
|
|
470
470
|
t.$slots.watermark ? (o(), i("div", ft, [
|
|
471
|
-
d(t.$slots, "watermark", S(
|
|
471
|
+
d(t.$slots, "watermark", S(O({ isPrinting: n(ee) || n(te) })), void 0, !0)
|
|
472
472
|
])) : c("", !0),
|
|
473
|
-
|
|
473
|
+
N.value ? c("", !0) : (o(), $(Ze, {
|
|
474
474
|
key: 6,
|
|
475
475
|
config: {
|
|
476
476
|
type: "galaxy",
|
|
@@ -483,14 +483,14 @@ const st = ["id"], rt = {
|
|
|
483
483
|
}
|
|
484
484
|
}, null, 8, ["config"])),
|
|
485
485
|
e.value.style.chart.legend.show ? (o(), $(Ye, {
|
|
486
|
-
key: `legend_${
|
|
486
|
+
key: `legend_${J.value}`,
|
|
487
487
|
legendSet: se.value,
|
|
488
|
-
config:
|
|
489
|
-
onClickMarker: a[1] || (a[1] = ({ legend: l }) =>
|
|
488
|
+
config: Oe.value,
|
|
489
|
+
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
490
490
|
}, {
|
|
491
491
|
item: v(({ legend: l, index: s }) => [
|
|
492
492
|
_("div", {
|
|
493
|
-
onClick: (r) =>
|
|
493
|
+
onClick: (r) => U(l),
|
|
494
494
|
style: V(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
495
495
|
}, [
|
|
496
496
|
de(E(l.name) + ": " + E(n(fe)(
|
|
@@ -534,14 +534,14 @@ const st = ["id"], rt = {
|
|
|
534
534
|
isCustom: n(ge)(e.value.style.chart.tooltip.customFormat)
|
|
535
535
|
}, {
|
|
536
536
|
"tooltip-before": v(() => [
|
|
537
|
-
d(t.$slots, "tooltip-before", S(
|
|
537
|
+
d(t.$slots, "tooltip-before", S(O({ ...W.value })), void 0, !0)
|
|
538
538
|
]),
|
|
539
539
|
"tooltip-after": v(() => [
|
|
540
|
-
d(t.$slots, "tooltip-after", S(
|
|
540
|
+
d(t.$slots, "tooltip-after", S(O({ ...W.value })), void 0, !0)
|
|
541
541
|
]),
|
|
542
542
|
_: 3
|
|
543
543
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
544
|
-
|
|
544
|
+
N.value ? (o(), $(et, {
|
|
545
545
|
key: 9,
|
|
546
546
|
hideDetails: "",
|
|
547
547
|
config: {
|
|
@@ -559,7 +559,7 @@ const st = ["id"], rt = {
|
|
|
559
559
|
}, {
|
|
560
560
|
content: v(() => [
|
|
561
561
|
(o(), $(Je, {
|
|
562
|
-
key: `table_${
|
|
562
|
+
key: `table_${q.value}`,
|
|
563
563
|
colNames: F.value.colNames,
|
|
564
564
|
head: F.value.head,
|
|
565
565
|
body: F.value.body,
|
|
@@ -583,7 +583,7 @@ const st = ["id"], rt = {
|
|
|
583
583
|
}, 8, ["config"])) : c("", !0)
|
|
584
584
|
], 46, st));
|
|
585
585
|
}
|
|
586
|
-
}, Mt = /* @__PURE__ */ ot(wt, [["__scopeId", "data-v-
|
|
586
|
+
}, Mt = /* @__PURE__ */ ot(wt, [["__scopeId", "data-v-00c62e74"]]);
|
|
587
587
|
export {
|
|
588
588
|
Mt as default
|
|
589
589
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-C3wsuQ2C.cjs"),ue=require("./Legend-BstxUr4T.cjs"),ie=require("./Title-CSyDhu3S.cjs"),ce=require("./Tooltip-D88h1zvE.cjs"),de=require("./DataTable-DWQiMziO.cjs"),j=require("./usePrinter-Dglf1bsw.cjs"),ve=require("./vue-ui-skeleton-99lBQ_mF.cjs"),pe=require("./vue-ui-accordion-kv5FuXqU.cjs"),Y=require("./useNestedProp-CFwQtnNB.cjs"),he=require("./PackageVersion-CeJ2R9gK.cjs"),fe=require("./PenAndPaper-DQPbe0G_.cjs"),ye=require("./useUserOptionState-BgepsfED.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),me=["id"],be={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ke={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},Ce=["xmlns","viewBox"],we=["id"],xe=["stdDeviation"],$e=["d","stroke","stroke-width"],Be=["d","stroke","stroke-width"],Se=["filter"],Ne=["d","stroke","stroke-width"],Te=["d","stroke-width","onMouseenter","onClick"],Pe={key:5,class:"vue-data-ui-watermark"},_e=["onClick"],Ve={key:0},Ee={key:1},Le={key:8,ref:"source",dir:"auto"},Oe=["innerHTML"],Fe={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(J,{expose:K,emit:_}){const i=J,{vue_ui_galaxy:Q}=r.useConfig(),b=e.computed(()=>!!i.dataset&&i.dataset.length);e.onMounted(()=>{V()});function V(){r.objectIsEmpty(i.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):i.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}const g=e.ref(r.createUid()),k=e.ref(null),Z=e.ref(null),x=e.ref(!1),$=e.ref(""),c=e.ref(null),E=e.ref(0),L=e.ref(0),O=e.ref(0),F=e.ref(0),t=e.computed({get:()=>I(),set:l=>l}),{userOptionsVisible:B,setUserOptionsVisibility:A,keepUserOptionState:z}=ye.useUserOptionState({config:t.value});function I(){const l=Y.useNestedProp({userConfig:i.config,defaultConfig:Q});return l.theme?{...Y.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||i.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>i.config,l=>{t.value=I(),B.value=!t.value.showOnChartHover,V(),L.value+=1,O.value+=1,F.value+=1},{deep:!0});const{isPrinting:D,isImaging:q,generatePdf:M,generateImage:U}=j.usePrinter({elementId:`galaxy_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),te=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),S=e.ref({height:180,width:250}),u=e.ref([]);function N(l){u.value.includes(l.id)?u.value=u.value.filter(a=>a!==l.id):u.value.push(l.id),_("selectLegend",m.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const h=e.computed(()=>i.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||te.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function le(){return h.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const d=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),oe=e.ref(190),G=e.computed(()=>h.value.filter(l=>!u.value.includes(l.id))),m=e.computed(()=>{const l=[];for(let a=0;a<G.value.length;a+=1){const o=G.value[a];let n=o.value/d.value*oe.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.value/d.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!u.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),y=e.ref(!1);function ae(l){y.value=l,E.value+=1}const T=e.ref(null);function re({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){T.value={datapoint:l,seriesIndex:o,series:h.value,config:t.value},x.value=n,c.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}))?$.value=f({seriesIndex:o,datapoint:l,series:h.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<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="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),$.value=`<div>${s}</div>`)}const W=e.computed(()=>h.value.map((l,a)=>({...l,proportion:(l.value||0)/i.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+n,0),opacity:u.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>N(l),isSegregated:u.value.includes(l.id)}))),ne=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),p=e.computed(()=>{const l=m.value.map(o=>({name:o.name,color:o.color})),a=m.value.map(o=>o.value);return{head:l,body:a}});function H(){e.nextTick(()=>{const l=p.value.head.map((n,s)=>[[n.name],[p.value.body[s]],[isNaN(p.value.body[s]/d.value)?"-":p.value.body[s]/d.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const C=e.computed(()=>{const l=[' <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>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:d.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=p.value.head.map((s,f)=>{const se=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:p.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},se,isNaN(p.value.body[f]/d.value)?"-":r.dataLabel({v:p.value.body[f]/d.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:a,config:o}});function R(){v.value.showTable=!v.value.showTable}function X(){v.value.showTooltip=!v.value.showTooltip}const w=e.ref(!1);function P(){w.value=!w.value}return K({getData:le,generatePdf:M,generateCsv:H,generateImage:U,toggleTable:R,toggleTooltip:X,toggleAnnotator:P}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:k,class:e.normalizeClass(`vue-ui-galaxy ${y.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${g.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(A)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(A)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(fe.PenAndPaper,{key:0,parent:k.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:w.value,onClose:P},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ee.value?(e.openBlock(),e.createElementBlock("div",be,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ke,[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${L.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&b.value&&(e.unref(z)||e.unref(B))?(e.openBlock(),e.createBlock(j.UserOptions,{ref_key:"details",ref:Z,key:`user_option_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(D),isImaging:e.unref(q),uid:g.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:v.value.showTooltip,isFullscreen:y.value,titles:{...t.value.userOptions.buttonTitles},chartElement:k.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:w.value,onToggleFullscreen:ae,onGeneratePdf:e.unref(M),onGenerateCsv:H,onGenerateImage:e.unref(U),onToggleTable:R,onToggleTooltip:X,onToggleAnnotator:P,style:e.normalizeStyle({visibility:e.unref(z)?e.unref(B)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${S.value.width} ${S.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(he._sfc_main),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${g.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,xe)],8,we)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,$e)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Be)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${g.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(c.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${c.value&&c.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Ne)],8,Se)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>re({datapoint:o,relativeIndex:n,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{x.value=!1,c.value=null}),onClick:s=>_("selectDatapoint",o)},null,40,Te)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:S.value},void 0,!0)],14,Ce)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Pe,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(D)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ve.default,{key:6,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(ue.Legend,{key:`legend_${F.value}`,legendSet:W.value,config:ne.value,onClickMarker:a[1]||(a[1]=({legend:o})=>N(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>N(o),style:e.normalizeStyle(`opacity:${u.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:n}))+" ",1),u.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",Ee," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ve," ("+e.toDisplayString(isNaN(o.value/d.value)?"-":e.unref(r.dataLabel)({v:o.value/d.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,_e)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:W.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Le,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ce._sfc_main,{show:v.value.showTooltip&&x.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:k.value,content:$.value,isFullscreen:y.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...T.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),b.value?(e.openBlock(),e.createBlock(pe.default,{key:9,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(de.DataTable,{key:`table_${O.value}`,colNames:C.value.colNames,head:C.value.head,body:C.value.body,config:C.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>v.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Oe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,me))}},Ae=ge._export_sfc(Fe,[["__scopeId","data-v-00c62e74"]]);exports.default=Ae;
|