vue-data-ui 2.3.74 → 2.3.76
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-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
- package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
- package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
- package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
- package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.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-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
- package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
- package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
- package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
- package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
- package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
- package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
- package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
- package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
- package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
- package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
- package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
- package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
- package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
- package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
- package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
- package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
- package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
- package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
- package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
- package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
- package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
- package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
- package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
- package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
- package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
- package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
- package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
- package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
- package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
- package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
- package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
- package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
- package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
- package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
- package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
- package/dist/vue-ui-wheel-CryKap2E.js +255 -0
- package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
- package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
- package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { computed as v, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { L as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { D as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
1
|
+
import { computed as v, onMounted as $e, ref as u, watch as _e, openBlock as s, createElementBlock as n, normalizeClass as L, normalizeStyle as I, createBlock as x, createCommentVNode as d, unref as h, createSlots as Te, withCtx as i, renderSlot as y, normalizeProps as F, guardReactiveProps as O, createElementVNode as $, Fragment as oe, renderList as se, createTextVNode as re, toDisplayString as E, createVNode as Pe, nextTick as Se } from "vue";
|
|
2
|
+
import { u as Ne, o as Le, e as ue, g as Ie, c as ne, t as Fe, a as Oe, p as D, b as Ee, d as De, F as ie, I as Ve, f as k, X as Be, i as ce, x as ve, y as Ge, q as Me, r as ze } from "./index-CaV1s-yZ.js";
|
|
3
|
+
import { L as We } from "./Legend-5cQ0xZjK.js";
|
|
4
|
+
import { _ as Ae } from "./Title-gUz6GDA3.js";
|
|
5
|
+
import { _ as He } from "./Tooltip-DfSM1mNP.js";
|
|
6
|
+
import { D as Ue } from "./DataTable-e2fnfjXV.js";
|
|
7
|
+
import { u as Xe, U as Re } from "./usePrinter-rvJyT65A.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-CvFX_ExX.js";
|
|
9
|
+
import je from "./vue-ui-accordion-CpzGQ63y.js";
|
|
10
|
+
import { u as de } from "./useNestedProp-tWCzZrLx.js";
|
|
11
|
+
import { _ as qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const Je = ["id"], Ke = ["xmlns", "viewBox"], Qe = ["id"], Ze = ["stdDeviation"], et = ["d", "stroke", "stroke-width"], tt = ["d", "stroke", "stroke-width"], lt = ["filter"], at = ["d", "stroke", "stroke-width"], ot = ["d", "stroke-width", "onMouseenter", "onClick"], st = {
|
|
13
13
|
key: 3,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, rt = ["onClick"], ut = { key: 0 }, nt = { key: 1 }, it = ["innerHTML"], ct = {
|
|
16
16
|
__name: "vue-ui-galaxy",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,18 +29,21 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
32
|
-
setup(
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
setup(he, { expose: ye, emit: A }) {
|
|
33
|
+
const g = he, { vue_ui_galaxy: ge } = Ne(), S = v(() => !!g.dataset && g.dataset.length);
|
|
34
|
+
$e(() => {
|
|
35
|
+
H();
|
|
36
|
+
});
|
|
37
|
+
function H() {
|
|
38
|
+
Le(g.dataset) ? ue({
|
|
36
39
|
componentName: "VueUiGalaxy",
|
|
37
40
|
type: "dataset"
|
|
38
|
-
}) :
|
|
39
|
-
|
|
41
|
+
}) : g.dataset.forEach((t, a) => {
|
|
42
|
+
Ie({
|
|
40
43
|
datasetObject: t,
|
|
41
44
|
requiredAttributes: ["name", "values"]
|
|
42
45
|
}).forEach((l) => {
|
|
43
|
-
|
|
46
|
+
ue({
|
|
44
47
|
componentName: "VueUiGalaxy",
|
|
45
48
|
type: "datasetSerieAttribute",
|
|
46
49
|
property: l,
|
|
@@ -48,66 +51,74 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
48
51
|
});
|
|
49
52
|
});
|
|
50
53
|
});
|
|
54
|
+
}
|
|
55
|
+
const _ = u(ne()), V = u(null), fe = u(null), B = u(!1), G = u(""), f = u(null), U = u(0), X = u(0), R = u(0), Y = u(0), e = v({
|
|
56
|
+
get: () => j(),
|
|
57
|
+
set: (t) => t
|
|
51
58
|
});
|
|
52
|
-
|
|
53
|
-
const t =
|
|
54
|
-
userConfig:
|
|
55
|
-
defaultConfig:
|
|
59
|
+
function j() {
|
|
60
|
+
const t = de({
|
|
61
|
+
userConfig: g.config,
|
|
62
|
+
defaultConfig: ge
|
|
56
63
|
});
|
|
57
64
|
return t.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
65
|
+
...de({
|
|
66
|
+
userConfig: Fe.vue_ui_galaxy[t.theme] || g.config,
|
|
60
67
|
defaultConfig: t
|
|
61
68
|
}),
|
|
62
|
-
customPalette:
|
|
69
|
+
customPalette: Oe[t.theme] || D
|
|
63
70
|
} : t;
|
|
64
|
-
}
|
|
65
|
-
|
|
71
|
+
}
|
|
72
|
+
_e(() => g.config, (t) => {
|
|
73
|
+
e.value = j(), H(), X.value += 1, R.value += 1, Y.value += 1;
|
|
74
|
+
}, { deep: !0 });
|
|
75
|
+
const { isPrinting: q, isImaging: J, generatePdf: K, generateImage: Q } = Xe({
|
|
76
|
+
elementId: `galaxy_${_.value}`,
|
|
66
77
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
67
|
-
}),
|
|
78
|
+
}), pe = v(() => Ee(e.value.customPalette)), b = u({
|
|
68
79
|
dataLabels: {
|
|
69
80
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
70
81
|
},
|
|
71
82
|
showTable: e.value.table.show,
|
|
72
83
|
showTooltip: e.value.style.chart.tooltip.show
|
|
73
|
-
}), M =
|
|
84
|
+
}), M = u({
|
|
74
85
|
height: 180,
|
|
75
86
|
// or 250 if non fibo
|
|
76
87
|
width: 250
|
|
77
|
-
}), c =
|
|
88
|
+
}), c = u([]);
|
|
78
89
|
function z(t) {
|
|
79
|
-
c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id),
|
|
90
|
+
c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id), A("selectLegend", T.value.map((a) => ({
|
|
80
91
|
name: a.name,
|
|
81
92
|
color: a.color,
|
|
82
93
|
value: a.value
|
|
83
94
|
})));
|
|
84
95
|
}
|
|
85
|
-
const C = v(() =>
|
|
96
|
+
const C = v(() => g.dataset.map((t, a) => ({
|
|
86
97
|
name: t.name,
|
|
87
|
-
color:
|
|
88
|
-
value: t.values ?
|
|
89
|
-
absoluteValues:
|
|
90
|
-
id:
|
|
98
|
+
color: De(t.color) || pe.value[a] || D[a] || D[a % D.length],
|
|
99
|
+
value: t.values ? ie(t.values).reduce((l, o) => l + o, 0) : 0,
|
|
100
|
+
absoluteValues: ie(t.values),
|
|
101
|
+
id: ne(),
|
|
91
102
|
seriesIndex: a
|
|
92
103
|
})).sort((t, a) => a.value - t.value));
|
|
93
|
-
function
|
|
104
|
+
function be() {
|
|
94
105
|
return C.value.map((t) => ({
|
|
95
106
|
name: t.name,
|
|
96
107
|
color: t.color,
|
|
97
108
|
value: t.value
|
|
98
109
|
}));
|
|
99
110
|
}
|
|
100
|
-
const
|
|
111
|
+
const p = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), me = u(190), Z = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
|
|
101
112
|
const t = [];
|
|
102
|
-
for (let a = 0; a <
|
|
103
|
-
const l =
|
|
104
|
-
let o = l.value /
|
|
113
|
+
for (let a = 0; a < Z.value.length; a += 1) {
|
|
114
|
+
const l = Z.value[a];
|
|
115
|
+
let o = l.value / p.value * me.value;
|
|
105
116
|
a > 0 && t.length && (o += t[a - 1].points), t.push({
|
|
106
117
|
points: o,
|
|
107
118
|
...l,
|
|
108
119
|
seriesIndex: a,
|
|
109
|
-
proportion: l.value /
|
|
110
|
-
path:
|
|
120
|
+
proportion: l.value / p.value,
|
|
121
|
+
path: Ve({
|
|
111
122
|
points: o,
|
|
112
123
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
113
124
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
@@ -115,21 +126,21 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
115
126
|
});
|
|
116
127
|
}
|
|
117
128
|
return t.filter((a, l) => !c.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
118
|
-
}),
|
|
119
|
-
function
|
|
120
|
-
|
|
129
|
+
}), P = u(!1);
|
|
130
|
+
function ke(t) {
|
|
131
|
+
P.value = t, U.value += 1;
|
|
121
132
|
}
|
|
122
|
-
const W =
|
|
123
|
-
function
|
|
133
|
+
const W = u(null);
|
|
134
|
+
function Ce({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
|
|
124
135
|
W.value = {
|
|
125
136
|
datapoint: t,
|
|
126
137
|
seriesIndex: l,
|
|
127
138
|
series: C.value,
|
|
128
139
|
config: e.value
|
|
129
|
-
}, B.value = o,
|
|
130
|
-
let
|
|
140
|
+
}, B.value = o, f.value = t.id;
|
|
141
|
+
let r = "";
|
|
131
142
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
132
|
-
|
|
143
|
+
ve(w) && Ge(() => w({
|
|
133
144
|
seriesIndex: l,
|
|
134
145
|
datapoint: t,
|
|
135
146
|
series: C.value,
|
|
@@ -139,7 +150,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
139
150
|
datapoint: t,
|
|
140
151
|
series: C.value,
|
|
141
152
|
config: e.value
|
|
142
|
-
}) : (
|
|
153
|
+
}) : (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>${ce(
|
|
143
154
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
144
155
|
t.value,
|
|
145
156
|
k({
|
|
@@ -149,24 +160,24 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
149
160
|
r: e.value.style.chart.tooltip.roundingValue
|
|
150
161
|
}),
|
|
151
162
|
{ datapoint: t, seriesIndex: l }
|
|
152
|
-
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ?
|
|
163
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${k({
|
|
153
164
|
v: t.proportion * 100,
|
|
154
165
|
s: "%",
|
|
155
166
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
156
|
-
})})</span></div>` :
|
|
167
|
+
})})</span></div>` : r += `<b>${k({
|
|
157
168
|
v: t.proportion * 100,
|
|
158
169
|
s: "%",
|
|
159
170
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
160
|
-
})}</b></div>`), G.value = `<div>${
|
|
171
|
+
})}</b></div>`), G.value = `<div>${r}</div>`);
|
|
161
172
|
}
|
|
162
|
-
const
|
|
173
|
+
const ee = v(() => C.value.map((t, a) => ({
|
|
163
174
|
...t,
|
|
164
|
-
proportion: (t.value || 0) /
|
|
175
|
+
proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((o, r) => o + r, 0)).reduce((l, o) => l + o, 0),
|
|
165
176
|
opacity: c.value.includes(t.id) ? 0.5 : 1,
|
|
166
177
|
shape: t.shape || "circle",
|
|
167
178
|
segregate: () => z(t),
|
|
168
179
|
isSegregated: c.value.includes(t.id)
|
|
169
|
-
}))),
|
|
180
|
+
}))), we = v(() => ({
|
|
170
181
|
cy: "galaxy-div-legend",
|
|
171
182
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
172
183
|
color: e.value.style.chart.legend.color,
|
|
@@ -180,29 +191,29 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
180
191
|
})), a = T.value.map((l) => l.value);
|
|
181
192
|
return { head: t, body: a };
|
|
182
193
|
});
|
|
183
|
-
function
|
|
184
|
-
|
|
185
|
-
const t = m.value.head.map((o,
|
|
194
|
+
function te() {
|
|
195
|
+
Se(() => {
|
|
196
|
+
const t = m.value.head.map((o, r) => [[
|
|
186
197
|
o.name
|
|
187
|
-
], [m.value.body[
|
|
188
|
-
|
|
198
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / p.value) ? "-" : m.value.body[r] / p.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Me(a);
|
|
199
|
+
ze({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
189
200
|
});
|
|
190
201
|
}
|
|
191
202
|
const N = v(() => {
|
|
192
203
|
const t = [
|
|
193
204
|
' <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>',
|
|
194
|
-
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
205
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: p.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
195
206
|
"100%"
|
|
196
|
-
], a = m.value.head.map((
|
|
197
|
-
const
|
|
207
|
+
], a = m.value.head.map((r, w) => {
|
|
208
|
+
const xe = 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 });
|
|
198
209
|
return [
|
|
199
210
|
{
|
|
200
|
-
color:
|
|
201
|
-
name:
|
|
211
|
+
color: r.color,
|
|
212
|
+
name: r.name
|
|
202
213
|
},
|
|
203
|
-
|
|
204
|
-
isNaN(m.value.body[w] /
|
|
205
|
-
v: m.value.body[w] /
|
|
214
|
+
xe,
|
|
215
|
+
isNaN(m.value.body[w] / p.value) ? "-" : k({
|
|
216
|
+
v: m.value.body[w] / p.value * 100,
|
|
206
217
|
s: "%",
|
|
207
218
|
r: e.value.table.td.roundingPercentage
|
|
208
219
|
})
|
|
@@ -231,31 +242,32 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
231
242
|
config: l
|
|
232
243
|
};
|
|
233
244
|
});
|
|
234
|
-
function
|
|
245
|
+
function le() {
|
|
235
246
|
b.value.showTable = !b.value.showTable;
|
|
236
247
|
}
|
|
237
|
-
function
|
|
248
|
+
function ae() {
|
|
238
249
|
b.value.showTooltip = !b.value.showTooltip;
|
|
239
250
|
}
|
|
240
|
-
return
|
|
241
|
-
getData:
|
|
242
|
-
generatePdf:
|
|
243
|
-
generateCsv:
|
|
244
|
-
generateImage:
|
|
245
|
-
toggleTable:
|
|
246
|
-
toggleTooltip:
|
|
247
|
-
}), (t, a) => (
|
|
251
|
+
return ye({
|
|
252
|
+
getData: be,
|
|
253
|
+
generatePdf: K,
|
|
254
|
+
generateCsv: te,
|
|
255
|
+
generateImage: Q,
|
|
256
|
+
toggleTable: le,
|
|
257
|
+
toggleTooltip: ae
|
|
258
|
+
}), (t, a) => (s(), n("div", {
|
|
248
259
|
ref_key: "galaxyChart",
|
|
249
260
|
ref: V,
|
|
250
|
-
class:
|
|
251
|
-
style:
|
|
252
|
-
id: `galaxy_${
|
|
261
|
+
class: L(`vue-ui-galaxy ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
262
|
+
style: I(`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}`),
|
|
263
|
+
id: `galaxy_${_.value}`
|
|
253
264
|
}, [
|
|
254
|
-
e.value.style.chart.title.text ? (
|
|
265
|
+
e.value.style.chart.title.text ? (s(), n("div", {
|
|
255
266
|
key: 0,
|
|
256
|
-
style:
|
|
267
|
+
style: I(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
257
268
|
}, [
|
|
258
|
-
|
|
269
|
+
(s(), x(Ae, {
|
|
270
|
+
key: `title_${X.value}`,
|
|
259
271
|
config: {
|
|
260
272
|
title: {
|
|
261
273
|
cy: "galaxy-div-title",
|
|
@@ -266,17 +278,17 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
266
278
|
...e.value.style.chart.title.subtitle
|
|
267
279
|
}
|
|
268
280
|
}
|
|
269
|
-
}, null, 8, ["config"])
|
|
281
|
+
}, null, 8, ["config"]))
|
|
270
282
|
], 4)) : d("", !0),
|
|
271
|
-
e.value.userOptions.show &&
|
|
283
|
+
e.value.userOptions.show && S.value ? (s(), x(Re, {
|
|
272
284
|
ref_key: "details",
|
|
273
|
-
ref:
|
|
285
|
+
ref: fe,
|
|
274
286
|
key: `user_option_${U.value}`,
|
|
275
287
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
276
288
|
color: e.value.style.chart.color,
|
|
277
|
-
isPrinting: h(
|
|
278
|
-
isImaging: h(
|
|
279
|
-
uid:
|
|
289
|
+
isPrinting: h(q),
|
|
290
|
+
isImaging: h(J),
|
|
291
|
+
uid: _.value,
|
|
280
292
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
281
293
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
282
294
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -284,16 +296,16 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
284
296
|
hasTable: e.value.userOptions.buttons.table,
|
|
285
297
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
286
298
|
isTooltip: b.value.showTooltip,
|
|
287
|
-
isFullscreen:
|
|
299
|
+
isFullscreen: P.value,
|
|
288
300
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
289
301
|
chartElement: V.value,
|
|
290
|
-
onToggleFullscreen:
|
|
291
|
-
onGeneratePdf: h(
|
|
292
|
-
onGenerateCsv:
|
|
293
|
-
onGenerateImage: h(
|
|
294
|
-
onToggleTable:
|
|
295
|
-
onToggleTooltip:
|
|
296
|
-
},
|
|
302
|
+
onToggleFullscreen: ke,
|
|
303
|
+
onGeneratePdf: h(K),
|
|
304
|
+
onGenerateCsv: te,
|
|
305
|
+
onGenerateImage: h(Q),
|
|
306
|
+
onToggleTable: le,
|
|
307
|
+
onToggleTooltip: ae
|
|
308
|
+
}, Te({ _: 2 }, [
|
|
297
309
|
t.$slots.optionTooltip ? {
|
|
298
310
|
name: "optionTooltip",
|
|
299
311
|
fn: i(() => [
|
|
@@ -337,85 +349,85 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
337
349
|
key: "5"
|
|
338
350
|
} : void 0
|
|
339
351
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
340
|
-
|
|
352
|
+
S.value ? (s(), n("svg", {
|
|
341
353
|
key: 2,
|
|
342
|
-
xmlns: h(
|
|
343
|
-
class:
|
|
354
|
+
xmlns: h(Be),
|
|
355
|
+
class: L({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
344
356
|
viewBox: `0 0 ${M.value.width} ${M.value.height}`,
|
|
345
|
-
style:
|
|
357
|
+
style: I(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
346
358
|
}, [
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
id: `blur_${
|
|
359
|
+
$("defs", null, [
|
|
360
|
+
$("filter", {
|
|
361
|
+
id: `blur_${_.value}`,
|
|
350
362
|
x: "-50%",
|
|
351
363
|
y: "-50%",
|
|
352
364
|
width: "200%",
|
|
353
365
|
height: "200%"
|
|
354
366
|
}, [
|
|
355
|
-
|
|
367
|
+
$("feGaussianBlur", {
|
|
356
368
|
in: "SourceGraphic",
|
|
357
369
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
358
|
-
}, null, 8,
|
|
359
|
-
], 8,
|
|
370
|
+
}, null, 8, Ze)
|
|
371
|
+
], 8, Qe)
|
|
360
372
|
]),
|
|
361
|
-
(
|
|
362
|
-
l.value ? (
|
|
373
|
+
(s(!0), n(oe, null, se(T.value, (l) => (s(), n("g", null, [
|
|
374
|
+
l.value ? (s(), n("path", {
|
|
363
375
|
key: 0,
|
|
364
376
|
d: l.path,
|
|
365
377
|
fill: "none",
|
|
366
378
|
stroke: e.value.style.chart.backgroundColor,
|
|
367
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
379
|
+
"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),
|
|
368
380
|
"stroke-linecap": "round"
|
|
369
|
-
}, null, 8,
|
|
370
|
-
l.value ? (
|
|
381
|
+
}, null, 8, et)) : d("", !0),
|
|
382
|
+
l.value ? (s(), n("path", {
|
|
371
383
|
key: 1,
|
|
372
384
|
d: l.path,
|
|
373
385
|
fill: "none",
|
|
374
386
|
stroke: l.color,
|
|
375
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
387
|
+
"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),
|
|
376
388
|
"stroke-linecap": "round",
|
|
377
|
-
class:
|
|
378
|
-
}, null, 10,
|
|
379
|
-
l.value && e.value.style.chart.layout.arcs.gradient.show ? (
|
|
389
|
+
class: L(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
390
|
+
}, null, 10, tt)) : d("", !0),
|
|
391
|
+
l.value && e.value.style.chart.layout.arcs.gradient.show ? (s(), n("g", {
|
|
380
392
|
key: 2,
|
|
381
|
-
filter: `url(#blur_${
|
|
393
|
+
filter: `url(#blur_${_.value})`
|
|
382
394
|
}, [
|
|
383
|
-
|
|
395
|
+
$("path", {
|
|
384
396
|
d: l.path,
|
|
385
397
|
fill: "none",
|
|
386
398
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
387
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
399
|
+
"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),
|
|
388
400
|
"stroke-linecap": "round",
|
|
389
|
-
class:
|
|
390
|
-
}, null, 10,
|
|
391
|
-
], 8,
|
|
401
|
+
class: L(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
402
|
+
}, null, 10, at)
|
|
403
|
+
], 8, lt)) : d("", !0)
|
|
392
404
|
]))), 256)),
|
|
393
|
-
(
|
|
394
|
-
l.value ? (
|
|
405
|
+
(s(!0), n(oe, null, se(T.value, (l, o) => (s(), n("g", null, [
|
|
406
|
+
l.value ? (s(), n("path", {
|
|
395
407
|
key: 0,
|
|
396
408
|
d: l.path,
|
|
397
409
|
fill: "none",
|
|
398
410
|
stroke: "transparent",
|
|
399
411
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
400
412
|
"stroke-linecap": "round",
|
|
401
|
-
onMouseenter: (
|
|
413
|
+
onMouseenter: (r) => Ce({
|
|
402
414
|
datapoint: l,
|
|
403
415
|
relativeIndex: o,
|
|
404
416
|
seriesIndex: l.seriesIndex,
|
|
405
417
|
show: !0
|
|
406
418
|
}),
|
|
407
|
-
onMouseleave: a[0] || (a[0] = (
|
|
408
|
-
B.value = !1,
|
|
419
|
+
onMouseleave: a[0] || (a[0] = (r) => {
|
|
420
|
+
B.value = !1, f.value = null;
|
|
409
421
|
}),
|
|
410
|
-
onClick: (
|
|
411
|
-
}, null, 40,
|
|
422
|
+
onClick: (r) => A("selectDatapoint", l)
|
|
423
|
+
}, null, 40, ot)) : d("", !0)
|
|
412
424
|
]))), 256)),
|
|
413
425
|
y(t.$slots, "svg", { svg: M.value }, void 0, !0)
|
|
414
|
-
], 14,
|
|
415
|
-
t.$slots.watermark ? (
|
|
416
|
-
y(t.$slots, "watermark", F(O({ isPrinting: h(
|
|
426
|
+
], 14, Ke)) : d("", !0),
|
|
427
|
+
t.$slots.watermark ? (s(), n("div", st, [
|
|
428
|
+
y(t.$slots, "watermark", F(O({ isPrinting: h(q) || h(J) })), void 0, !0)
|
|
417
429
|
])) : d("", !0),
|
|
418
|
-
|
|
430
|
+
S.value ? d("", !0) : (s(), x(Ye, {
|
|
419
431
|
key: 4,
|
|
420
432
|
config: {
|
|
421
433
|
type: "galaxy",
|
|
@@ -427,18 +439,18 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
427
439
|
}
|
|
428
440
|
}
|
|
429
441
|
}, null, 8, ["config"])),
|
|
430
|
-
e.value.style.chart.legend.show ? (
|
|
431
|
-
key:
|
|
432
|
-
legendSet:
|
|
433
|
-
config:
|
|
442
|
+
e.value.style.chart.legend.show ? (s(), x(We, {
|
|
443
|
+
key: `legend_${Y.value}`,
|
|
444
|
+
legendSet: ee.value,
|
|
445
|
+
config: we.value,
|
|
434
446
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => z(l))
|
|
435
447
|
}, {
|
|
436
448
|
item: i(({ legend: l, index: o }) => [
|
|
437
|
-
|
|
438
|
-
onClick: (
|
|
439
|
-
style:
|
|
449
|
+
$("div", {
|
|
450
|
+
onClick: (r) => z(l),
|
|
451
|
+
style: I(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
|
|
440
452
|
}, [
|
|
441
|
-
|
|
453
|
+
re(E(l.name) + ": " + E(h(ce)(
|
|
442
454
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
443
455
|
l.value,
|
|
444
456
|
h(k)({
|
|
@@ -449,17 +461,17 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
449
461
|
}),
|
|
450
462
|
{ datapoint: l, seriesIndex: o }
|
|
451
463
|
)) + " ", 1),
|
|
452
|
-
c.value.includes(l.id) ? (
|
|
453
|
-
v: l.value /
|
|
464
|
+
c.value.includes(l.id) ? (s(), n("span", nt, " ( - % ) ")) : (s(), n("span", ut, " (" + E(isNaN(l.value / p.value) ? "-" : h(k)({
|
|
465
|
+
v: l.value / p.value * 100,
|
|
454
466
|
s: "%",
|
|
455
467
|
r: e.value.style.chart.legend.roundingPercentage
|
|
456
468
|
})) + ") ", 1))
|
|
457
|
-
], 12,
|
|
469
|
+
], 12, rt)
|
|
458
470
|
]),
|
|
459
471
|
_: 1
|
|
460
472
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
461
|
-
y(t.$slots, "legend", { legend:
|
|
462
|
-
|
|
473
|
+
y(t.$slots, "legend", { legend: ee.value }, void 0, !0),
|
|
474
|
+
Pe(He, {
|
|
463
475
|
show: b.value.showTooltip && B.value,
|
|
464
476
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
465
477
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -472,7 +484,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
472
484
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
473
485
|
parent: V.value,
|
|
474
486
|
content: G.value,
|
|
475
|
-
isCustom: h(
|
|
487
|
+
isCustom: h(ve)(e.value.style.chart.tooltip.customFormat)
|
|
476
488
|
}, {
|
|
477
489
|
"tooltip-before": i(() => [
|
|
478
490
|
y(t.$slots, "tooltip-before", F(O({ ...W.value })), void 0, !0)
|
|
@@ -482,7 +494,7 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
482
494
|
]),
|
|
483
495
|
_: 3
|
|
484
496
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
485
|
-
|
|
497
|
+
S.value ? (s(), x(je, {
|
|
486
498
|
key: 6,
|
|
487
499
|
hideDetails: "",
|
|
488
500
|
config: {
|
|
@@ -499,7 +511,8 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
499
511
|
}
|
|
500
512
|
}, {
|
|
501
513
|
content: i(() => [
|
|
502
|
-
|
|
514
|
+
(s(), x(Ue, {
|
|
515
|
+
key: `table_${R.value}`,
|
|
503
516
|
colNames: N.value.colNames,
|
|
504
517
|
head: N.value.head,
|
|
505
518
|
body: N.value.body,
|
|
@@ -508,22 +521,22 @@ const Ue = ["id"], Xe = ["xmlns", "viewBox"], Re = ["id"], Ye = ["stdDeviation"]
|
|
|
508
521
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
509
522
|
}, {
|
|
510
523
|
th: i(({ th: l }) => [
|
|
511
|
-
|
|
524
|
+
$("div", {
|
|
512
525
|
innerHTML: l,
|
|
513
526
|
style: { display: "flex", "align-items": "center" }
|
|
514
|
-
}, null, 8,
|
|
527
|
+
}, null, 8, it)
|
|
515
528
|
]),
|
|
516
529
|
td: i(({ td: l }) => [
|
|
517
|
-
|
|
530
|
+
re(E(l.name || l), 1)
|
|
518
531
|
]),
|
|
519
532
|
_: 1
|
|
520
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
533
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
521
534
|
]),
|
|
522
535
|
_: 1
|
|
523
536
|
}, 8, ["config"])) : d("", !0)
|
|
524
|
-
], 14,
|
|
537
|
+
], 14, Je));
|
|
525
538
|
}
|
|
526
|
-
},
|
|
539
|
+
}, wt = /* @__PURE__ */ qe(ct, [["__scopeId", "data-v-5fb613d4"]]);
|
|
527
540
|
export {
|
|
528
|
-
|
|
541
|
+
wt as default
|
|
529
542
|
};
|