vue-data-ui 3.26.4 → 3.27.0
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-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
- package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
- package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
- package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
- package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
- package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
- package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
- package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
- package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
- package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
- package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
- package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
- package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
- package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
- package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
- package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
- package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
- package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
- package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
- package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
- package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
- package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
- package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
- package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +212 -60
- package/dist/types/vue-ui-stackbar.d.ts +10 -0
- package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
- package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
- package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
- package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
- package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
- package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
- package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
- package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
- package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
- package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
- package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
- package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
- package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
- package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
- package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
- package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
- package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
- package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
- package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
- package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
- package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
- package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
- package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
- package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
- package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
- package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
- package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
- package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
- package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
- package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
- package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
- package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
- package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
- package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
- package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
- package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
- package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
- package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
- package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
- package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
- package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
- package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
- package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
- package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
- package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
- package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
- package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
- package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
- package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
- package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
- package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
- package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
- package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
- package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
- package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
- package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
- package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
- package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
- package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
- package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
- package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
- package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
- package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
- package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
- package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
- package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
- package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
- package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
- package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
- package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
- package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
- package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
- package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
- package/package.json +1 -1
- package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
- package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
- package/dist/vue-ui-funnel-eVH871L3.js +0 -749
- package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
- package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
- package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
- package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
- package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
- package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
- package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
- package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
- package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
- package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
- package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
- package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
- package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
- package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
- package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, D as n, Dt as r, Ht as i, Kt as a, S as o, X as ee, at as s, en as c, et as te, i as ne, nn as re, nt as ie, pt as ae, t as oe, w as se, yt as ce, z as le, zt as ue } from "./lib-D4wK6ljP.js";
|
|
3
3
|
import { n as de, t as fe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as pe } from "./useConfig-
|
|
5
|
-
import { t as me } from "./usePrinter-
|
|
4
|
+
import { t as pe } from "./useConfig-D_6ZrPMD.js";
|
|
5
|
+
import { t as me } from "./usePrinter-DdW2GSm0.js";
|
|
6
6
|
import { n as he, t as ge } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
7
|
+
import { t as _e } from "./useNestedProp-DR_8JPol.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as ye } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as be } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as xe } from "./img
|
|
12
|
-
import { n as Se } from "./Title-
|
|
11
|
+
import { t as xe } from "./img-Bb5rHcpO.js";
|
|
12
|
+
import { n as Se } from "./Title-BMCuINbv.js";
|
|
13
13
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as we, t as Te } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ee } from "./BaseLegendToggle-CP3sddwv.js";
|
|
16
16
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Ae } from "./labelUtils-
|
|
20
|
-
import { t as je } from "./Legend-
|
|
19
|
+
import { t as Ae } from "./labelUtils-Ccn9kK7T.js";
|
|
20
|
+
import { t as je } from "./Legend-CulFgjUY.js";
|
|
21
21
|
import { t as Me } from "./vue_ui_galaxy-Ig0cc1_h.js";
|
|
22
22
|
import { Fragment as Ne, Teleport as Pe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Re, nextTick as ze, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onMounted as Be, openBlock as y, ref as b, renderList as Ve, renderSlot as x, resolveDynamicComponent as He, toDisplayString as S, toRefs as Ue, unref as C, watch as We, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-galaxy.vue
|
|
@@ -80,12 +80,12 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
80
80
|
"copyAlt"
|
|
81
81
|
],
|
|
82
82
|
setup(e, { expose: Ce, emit: Ge }) {
|
|
83
|
-
let dt = m(() => import("./Tooltip-
|
|
83
|
+
let dt = m(() => import("./Tooltip-C4ZTwkLF.js")), ft = m(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), pt = m(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), mt = m(() => import("./DataTable-CjF_An2h.js")), ht = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), gt = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), _t = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), vt = m(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_galaxy: yt } = pe(), { isThemeValid: bt, warnInvalidTheme: xt } = ve(), T = e, E = b(ee()), D = b(null), St = b(!1), Ct = b(""), O = b(null), wt = b(0), Tt = b(0), Et = b(0), Dt = b(0), Ot = b(null), kt = b(null), At = b(null), jt = b(null), k = b(null), A = b(null), Mt = b(!1), j = b(null), Nt = b(null), M = b(null), Pt = b(null), Ft = b({
|
|
84
84
|
x: 0,
|
|
85
85
|
y: 0
|
|
86
|
-
}),
|
|
86
|
+
}), It = b("pointer"), Lt = b(!1), Rt = l(() => !!T.dataset && T.dataset.length), N = b(Jt()), P = l(() => N.value.style.chart.layout.arcs), F = l(() => N.value.style.chart.layout), I = l(() => N.value.style.chart);
|
|
87
87
|
de({
|
|
88
|
-
config: () =>
|
|
88
|
+
config: () => N.value,
|
|
89
89
|
dataset: () => T.dataset,
|
|
90
90
|
component: "VueUiGalaxy",
|
|
91
91
|
rules: [
|
|
@@ -105,10 +105,10 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
105
105
|
}
|
|
106
106
|
]
|
|
107
107
|
});
|
|
108
|
-
let { transitionEnabled:
|
|
109
|
-
config: () =>
|
|
108
|
+
let { transitionEnabled: zt } = be({
|
|
109
|
+
config: () => N.value.transitions,
|
|
110
110
|
dataset: () => T.dataset
|
|
111
|
-
}),
|
|
111
|
+
}), L = l(() => N.value.userOptions.useCursorPointer), Bt = l(() => re({
|
|
112
112
|
defaultConfig: {
|
|
113
113
|
userOptions: { show: !1 },
|
|
114
114
|
table: { show: !1 },
|
|
@@ -118,14 +118,14 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
118
118
|
legend: { backgroundColor: "transparent" }
|
|
119
119
|
} }
|
|
120
120
|
},
|
|
121
|
-
userConfig:
|
|
122
|
-
})), { loading:
|
|
121
|
+
userConfig: N.value.skeletonConfig ?? {}
|
|
122
|
+
})), { loading: Vt, FINAL_DATASET: Ht } = he({
|
|
123
123
|
...Ue(T),
|
|
124
|
-
FINAL_CONFIG:
|
|
125
|
-
prepareConfig:
|
|
124
|
+
FINAL_CONFIG: N,
|
|
125
|
+
prepareConfig: Jt,
|
|
126
126
|
callback: () => {
|
|
127
127
|
Promise.resolve().then(async () => {
|
|
128
|
-
await ze(),
|
|
128
|
+
await ze(), z.value.showTable = N.value.table.show;
|
|
129
129
|
});
|
|
130
130
|
},
|
|
131
131
|
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
@@ -145,95 +145,95 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
145
145
|
color: "#ADADAD"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
|
-
skeletonConfig:
|
|
149
|
-
defaultConfig:
|
|
150
|
-
userConfig:
|
|
148
|
+
skeletonConfig: re({
|
|
149
|
+
defaultConfig: N.value,
|
|
150
|
+
userConfig: Bt.value
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
Be(() => {
|
|
154
|
-
|
|
154
|
+
Mt.value = !0, Wt();
|
|
155
155
|
});
|
|
156
|
-
let
|
|
157
|
-
function
|
|
158
|
-
if (
|
|
156
|
+
let Ut = l(() => N.value.debug);
|
|
157
|
+
function Wt() {
|
|
158
|
+
if (ue(T.dataset) ? s({
|
|
159
159
|
componentName: "VueUiGalaxy",
|
|
160
160
|
type: "dataset",
|
|
161
|
-
debug:
|
|
162
|
-
}) :
|
|
161
|
+
debug: Ut.value
|
|
162
|
+
}) : Ut.value && T.dataset.forEach((e, t) => {
|
|
163
163
|
ce({
|
|
164
164
|
datasetObject: e,
|
|
165
165
|
requiredAttributes: ["name", "values"]
|
|
166
166
|
}).forEach((e) => {
|
|
167
|
-
|
|
167
|
+
s({
|
|
168
168
|
componentName: "VueUiGalaxy",
|
|
169
169
|
type: "datasetSerieAttribute",
|
|
170
170
|
property: e,
|
|
171
171
|
index: t
|
|
172
172
|
});
|
|
173
173
|
});
|
|
174
|
-
}),
|
|
174
|
+
}), N.value.responsive) {
|
|
175
175
|
let e = we(() => {
|
|
176
176
|
let { width: e, height: t } = Te({
|
|
177
177
|
chart: D.value,
|
|
178
|
-
title:
|
|
179
|
-
legend:
|
|
178
|
+
title: I.value.title.text ? Ot.value : null,
|
|
179
|
+
legend: I.value.legend.show ? kt.value : null,
|
|
180
180
|
noTitle: jt.value,
|
|
181
181
|
source: At.value
|
|
182
182
|
});
|
|
183
183
|
requestAnimationFrame(() => {
|
|
184
|
-
|
|
184
|
+
B.value = Math.max(.1, e), rn.value = Math.max(.1, t - 12);
|
|
185
185
|
});
|
|
186
186
|
});
|
|
187
|
-
k.value && (
|
|
187
|
+
k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = D.value.parentNode, k.value.observe(A.value);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
let { userOptionsVisible:
|
|
191
|
-
function
|
|
190
|
+
let { userOptionsVisible: Gt, setUserOptionsVisibility: Kt, keepUserOptionState: qt } = Oe({ config: N.value }), { svgRef: R } = ke({ config: I.value.title });
|
|
191
|
+
function Jt() {
|
|
192
192
|
let e = _e({
|
|
193
193
|
userConfig: T.config,
|
|
194
194
|
defaultConfig: yt
|
|
195
195
|
}), t = e.theme;
|
|
196
196
|
if (!t) return e;
|
|
197
197
|
if (!bt.value(e)) return xt(e), e;
|
|
198
|
-
let
|
|
198
|
+
let n = _e({
|
|
199
199
|
userConfig: Me[t] || T.config,
|
|
200
200
|
defaultConfig: e
|
|
201
|
-
}),
|
|
201
|
+
}), r = _e({
|
|
202
202
|
userConfig: T.config,
|
|
203
|
-
defaultConfig:
|
|
203
|
+
defaultConfig: n
|
|
204
204
|
});
|
|
205
205
|
return {
|
|
206
|
-
...
|
|
207
|
-
customPalette:
|
|
206
|
+
...r,
|
|
207
|
+
customPalette: r.customPalette.length ? r.customPalette : c[t] || i
|
|
208
208
|
};
|
|
209
209
|
}
|
|
210
|
-
function
|
|
211
|
-
let t =
|
|
210
|
+
function Yt(e) {
|
|
211
|
+
let t = te(e);
|
|
212
212
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
213
213
|
}
|
|
214
|
-
let
|
|
214
|
+
let Xt = Yt(T.config);
|
|
215
215
|
We(() => T.config, (e, t) => {
|
|
216
|
-
let n =
|
|
217
|
-
|
|
218
|
-
let i =
|
|
216
|
+
let n = Yt(e), r = n !== Xt;
|
|
217
|
+
Xt = n;
|
|
218
|
+
let i = Jt();
|
|
219
219
|
if (!r) {
|
|
220
|
-
|
|
220
|
+
N.value.style.chart.tooltip = i.style.chart.tooltip, z.value.showTooltip = N.value.style.chart.tooltip.show;
|
|
221
221
|
return;
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
N.value = i, Gt.value = !N.value.userOptions.showOnChartHover, Wt(), Tt.value += 1, Et.value += 1, Dt.value += 1, z.value.dataLabels.show = F.value.labels.dataLabels.show, z.value.showTable = N.value.table.show, z.value.showTooltip = I.value.tooltip.show;
|
|
224
224
|
}, { deep: !0 });
|
|
225
|
-
let { isPrinting:
|
|
225
|
+
let { isPrinting: Zt, isImaging: Qt, generatePdf: $t, generateImage: en } = me({
|
|
226
226
|
elementId: `galaxy_${E.value}`,
|
|
227
|
-
fileName:
|
|
228
|
-
options:
|
|
229
|
-
}),
|
|
230
|
-
dataLabels: { show:
|
|
231
|
-
showTable:
|
|
232
|
-
showTooltip:
|
|
233
|
-
}),
|
|
234
|
-
width:
|
|
235
|
-
height:
|
|
236
|
-
viewBox: `${an.value} ${on.value} ${
|
|
227
|
+
fileName: I.value.title.text || "vue-ui-galaxy",
|
|
228
|
+
options: N.value.userOptions.print
|
|
229
|
+
}), tn = l(() => N.value.userOptions.show && !I.value.title.text), nn = l(() => se(N.value.customPalette)), z = b({
|
|
230
|
+
dataLabels: { show: F.value.labels.dataLabels.show },
|
|
231
|
+
showTable: N.value.table.show,
|
|
232
|
+
showTooltip: I.value.tooltip.show
|
|
233
|
+
}), B = b(250), rn = b(180), an = b(0), on = b(0), V = l(() => ({
|
|
234
|
+
width: B.value,
|
|
235
|
+
height: rn.value,
|
|
236
|
+
viewBox: `${an.value} ${on.value} ${B.value} ${rn.value}`
|
|
237
237
|
})), sn = Ge, H = b([]);
|
|
238
238
|
function cn() {
|
|
239
239
|
sn("selectLegend", K.value.map((e) => ({
|
|
@@ -251,7 +251,7 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
251
251
|
H.value.includes(e.id) ? H.value = H.value.filter((t) => t !== e.id) : H.value.push(e.id), cn();
|
|
252
252
|
}
|
|
253
253
|
function un(e) {
|
|
254
|
-
return W.value.length ? W.value.find((t) => t.name === e) || (
|
|
254
|
+
return W.value.length ? W.value.find((t) => t.name === e) || (Ut.value && console.warn(`VueUiGalaxy - Series name not found "${e}"`), null) : (Ut.value && console.warn("VueUiGalaxy - There are no series to show."), null);
|
|
255
255
|
}
|
|
256
256
|
function dn(e) {
|
|
257
257
|
let t = un(e);
|
|
@@ -261,12 +261,12 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
261
261
|
let t = un(e);
|
|
262
262
|
t !== null && (H.value.includes(t.id) || U({ id: t.id }));
|
|
263
263
|
}
|
|
264
|
-
let W = l(() =>
|
|
264
|
+
let W = l(() => Ht.value.map((e, t) => ({
|
|
265
265
|
name: e.name,
|
|
266
|
-
color:
|
|
266
|
+
color: o(e.color) || nn.value[t] || i[t] || i[t % i.length],
|
|
267
267
|
value: e.values ? a(e.values).reduce((e, t) => e + t, 0) : 0,
|
|
268
268
|
absoluteValues: a(e.values),
|
|
269
|
-
id:
|
|
269
|
+
id: ee()
|
|
270
270
|
})).sort((e, t) => t.value - e.value).map((e, t) => ({
|
|
271
271
|
...e,
|
|
272
272
|
absoluteIndex: t
|
|
@@ -278,13 +278,13 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
278
278
|
value: e.value
|
|
279
279
|
}));
|
|
280
280
|
}
|
|
281
|
-
let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), mn = b(190), hn = l(() => W.value.filter((e) => !H.value.includes(e.id))), gn = l(() => (
|
|
281
|
+
let G = l(() => W.value.filter((e) => !H.value.includes(e.id)).map((e) => e.value).reduce((e, t) => e + t, 0)), mn = b(190), hn = l(() => W.value.filter((e) => !H.value.includes(e.id))), gn = l(() => (P.value.strokeWidth + P.value.borderWidth) / 2 + (F.value.padding ?? 12)), _n = l(() => le({
|
|
282
282
|
maxPoints: mn.value,
|
|
283
|
-
a:
|
|
284
|
-
b:
|
|
285
|
-
angleStep:
|
|
286
|
-
startX: V.value.width / 2 +
|
|
287
|
-
startY: V.value.height / 2 +
|
|
283
|
+
a: P.value.a ?? 6,
|
|
284
|
+
b: P.value.b ?? 6,
|
|
285
|
+
angleStep: P.value.angleStep ?? .07,
|
|
286
|
+
startX: V.value.width / 2 + P.value.offsetX,
|
|
287
|
+
startY: V.value.height / 2 + P.value.offsetY,
|
|
288
288
|
boxWidth: V.value.width,
|
|
289
289
|
boxHeight: V.value.height,
|
|
290
290
|
padding: gn.value
|
|
@@ -303,7 +303,7 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
303
303
|
return e.filter((e) => !H.value.includes(e.id)).toSorted((e, t) => t.points - e.points);
|
|
304
304
|
});
|
|
305
305
|
function vn(e) {
|
|
306
|
-
let t = Math.min(
|
|
306
|
+
let t = Math.min(B.value, rn.value), n = O.value === e.id && P.value.hoverEffect.show ? P.value.hoverEffect.multiplicator : 1, r = (P.value.strokeWidth + P.value.borderWidth) * n, i = P.value.strokeWidth * n, a = P.value.strokeWidth / 2 * n;
|
|
307
307
|
return {
|
|
308
308
|
border: r / 180 * t,
|
|
309
309
|
path: i / 180 * t,
|
|
@@ -316,32 +316,32 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
316
316
|
}
|
|
317
317
|
let bn = b(null);
|
|
318
318
|
function xn() {
|
|
319
|
-
St.value = !1, O.value = null,
|
|
319
|
+
St.value = !1, O.value = null, M.value = null, Pt.value = null;
|
|
320
320
|
}
|
|
321
321
|
function Sn(e) {
|
|
322
|
-
if (!
|
|
323
|
-
let t =
|
|
322
|
+
if (!R.value || !e) return;
|
|
323
|
+
let t = R.value.querySelector(`[data-a11y-serie-id="${e}"]`);
|
|
324
324
|
if (!t) return;
|
|
325
325
|
let n = t.getBoundingClientRect();
|
|
326
|
-
|
|
326
|
+
Ft.value = {
|
|
327
327
|
x: n.left + n.width / 2,
|
|
328
328
|
y: n.top + n.height / 2
|
|
329
329
|
};
|
|
330
330
|
}
|
|
331
331
|
function Cn(e) {
|
|
332
|
-
|
|
332
|
+
N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
333
333
|
datapoint: e,
|
|
334
334
|
seriesIndex: e.absoluteIndex
|
|
335
|
-
}), (
|
|
335
|
+
}), (Pt.value !== e.id || It.value !== "keyboard") && (St.value = !1, O.value = null);
|
|
336
336
|
}
|
|
337
337
|
function wn(e) {
|
|
338
|
-
sn("selectDatapoint", e),
|
|
338
|
+
sn("selectDatapoint", e), N.value.events.datapointClick && N.value.events.datapointClick({
|
|
339
339
|
datapoint: e,
|
|
340
340
|
seriesIndex: e.absoluteIndex
|
|
341
341
|
});
|
|
342
342
|
}
|
|
343
343
|
function Tn({ val: e, percentage: t, showVal: n, showPercentage: r }) {
|
|
344
|
-
let i =
|
|
344
|
+
let i = F.value.labels.dataLabels;
|
|
345
345
|
return Ae({
|
|
346
346
|
config: i,
|
|
347
347
|
val: e,
|
|
@@ -350,84 +350,84 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
350
350
|
showPercentage: r
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
|
-
function En({ datapoint: e, _relativeIndex: n, seriesIndex:
|
|
354
|
-
if (
|
|
353
|
+
function En({ datapoint: e, _relativeIndex: n, seriesIndex: i, show: a = !1, triggerMode: o = "pointer", flatIndex: ee = null }) {
|
|
354
|
+
if (N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
355
355
|
datapoint: e,
|
|
356
356
|
seriesIndex: e.absoluteIndex
|
|
357
|
-
}), !
|
|
358
|
-
|
|
357
|
+
}), !z.value.showTooltip) return;
|
|
358
|
+
It.value = o, M.value = ee, Pt.value = e.id, bn.value = {
|
|
359
359
|
datapoint: e,
|
|
360
|
-
seriesIndex:
|
|
360
|
+
seriesIndex: i,
|
|
361
361
|
series: W.value,
|
|
362
|
-
config:
|
|
362
|
+
config: N.value
|
|
363
363
|
}, St.value = a, O.value = e.id;
|
|
364
|
-
let s = "", c =
|
|
365
|
-
|
|
366
|
-
seriesIndex:
|
|
364
|
+
let s = "", c = I.value.tooltip.customFormat;
|
|
365
|
+
r(c) && ae(() => c({
|
|
366
|
+
seriesIndex: i,
|
|
367
367
|
datapoint: e,
|
|
368
368
|
series: W.value,
|
|
369
|
-
config:
|
|
369
|
+
config: N.value
|
|
370
370
|
})) ? Ct.value = c({
|
|
371
|
-
seriesIndex:
|
|
371
|
+
seriesIndex: i,
|
|
372
372
|
datapoint: e,
|
|
373
373
|
series: W.value,
|
|
374
|
-
config:
|
|
375
|
-
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${
|
|
376
|
-
showVal:
|
|
377
|
-
showPercentage:
|
|
378
|
-
val:
|
|
379
|
-
p:
|
|
374
|
+
config: N.value
|
|
375
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.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="${e.color}"/></svg>`, s += `<b>${Tn({
|
|
376
|
+
showVal: I.value.tooltip.showValue,
|
|
377
|
+
showPercentage: I.value.tooltip.showPercentage,
|
|
378
|
+
val: ne(F.value.labels.dataLabels.formatter, e.value, t({
|
|
379
|
+
p: F.value.labels.dataLabels.prefix,
|
|
380
380
|
v: e.value,
|
|
381
|
-
s:
|
|
382
|
-
r:
|
|
381
|
+
s: F.value.labels.dataLabels.suffix,
|
|
382
|
+
r: I.value.tooltip.roundingValue
|
|
383
383
|
}), {
|
|
384
384
|
datapoint: e,
|
|
385
|
-
seriesIndex:
|
|
385
|
+
seriesIndex: i
|
|
386
386
|
}),
|
|
387
387
|
percentage: t({
|
|
388
388
|
v: e.proportion * 100,
|
|
389
389
|
s: "%",
|
|
390
|
-
r:
|
|
390
|
+
r: I.value.tooltip.roundingPercentage
|
|
391
391
|
})
|
|
392
392
|
})}</b></div>`, Ct.value = `<div>${s}</div>`), o === "keyboard" && ze(() => {
|
|
393
393
|
Sn(e.id);
|
|
394
394
|
});
|
|
395
395
|
}
|
|
396
396
|
let J = l(() => W.value.map((e, n) => {
|
|
397
|
-
let r =
|
|
398
|
-
p:
|
|
397
|
+
let r = ne(F.value.labels.dataLabels.formatter, e.value, t({
|
|
398
|
+
p: F.value.labels.dataLabels.prefix,
|
|
399
399
|
v: e.value,
|
|
400
|
-
s:
|
|
401
|
-
r:
|
|
400
|
+
s: F.value.labels.dataLabels.suffix,
|
|
401
|
+
r: I.value.legend.roundingValue
|
|
402
402
|
}), {
|
|
403
403
|
datapoint: e,
|
|
404
404
|
index: n
|
|
405
405
|
}), i = isNaN(e.value / G.value) || H.value.includes(e.id) ? "-" : t({
|
|
406
406
|
v: e.value / G.value * 100,
|
|
407
407
|
s: "%",
|
|
408
|
-
r:
|
|
408
|
+
r: I.value.legend.roundingPercentage
|
|
409
409
|
}), a = Tn({
|
|
410
|
-
showVal:
|
|
411
|
-
showPercentage:
|
|
410
|
+
showVal: I.value.legend.showValue,
|
|
411
|
+
showPercentage: I.value.legend.showPercentage,
|
|
412
412
|
val: r,
|
|
413
413
|
percentage: i
|
|
414
414
|
});
|
|
415
415
|
return {
|
|
416
416
|
...e,
|
|
417
|
-
proportion: (e.value || 0) /
|
|
417
|
+
proportion: (e.value || 0) / Ht.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
418
418
|
opacity: H.value.includes(e.id) ? .5 : 1,
|
|
419
419
|
shape: e.shape || "circle",
|
|
420
420
|
segregate: () => U(e),
|
|
421
421
|
isSegregated: H.value.includes(e.id),
|
|
422
|
-
display: `${e.name}${
|
|
422
|
+
display: `${e.name}${I.value.legend.showPercentage || I.value.legend.showValue ? ": " : ""}${a}`
|
|
423
423
|
};
|
|
424
424
|
})), Dn = l(() => ({
|
|
425
425
|
cy: "galaxy-div-legend",
|
|
426
|
-
backgroundColor:
|
|
427
|
-
color:
|
|
428
|
-
fontSize:
|
|
426
|
+
backgroundColor: I.value.legend.backgroundColor,
|
|
427
|
+
color: I.value.legend.color,
|
|
428
|
+
fontSize: I.value.legend.fontSize,
|
|
429
429
|
paddingBottom: 12,
|
|
430
|
-
fontWeight:
|
|
430
|
+
fontWeight: I.value.legend.bold ? "bold" : ""
|
|
431
431
|
})), Y = l(() => ({
|
|
432
432
|
head: K.value.map((e) => ({
|
|
433
433
|
name: e.name,
|
|
@@ -441,18 +441,18 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
441
441
|
[e.name],
|
|
442
442
|
[Y.value.body[t]],
|
|
443
443
|
[isNaN(Y.value.body[t] / G.value) ? "-" : Y.value.body[t] / G.value * 100]
|
|
444
|
-
]),
|
|
445
|
-
[
|
|
446
|
-
[
|
|
444
|
+
]), r = [
|
|
445
|
+
[I.value.title.text],
|
|
446
|
+
[I.value.title.subtitle.text],
|
|
447
447
|
[
|
|
448
448
|
[""],
|
|
449
449
|
["val"],
|
|
450
450
|
["%"]
|
|
451
451
|
]
|
|
452
|
-
].concat(t), i = r
|
|
453
|
-
e ? e(i) :
|
|
452
|
+
].concat(t), i = n(r);
|
|
453
|
+
e ? e(i) : ie({
|
|
454
454
|
csvContent: i,
|
|
455
|
-
title:
|
|
455
|
+
title: I.value.title.text || "vue-ui-galaxy"
|
|
456
456
|
});
|
|
457
457
|
});
|
|
458
458
|
}
|
|
@@ -460,18 +460,18 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
460
460
|
let e = [
|
|
461
461
|
"__SUM__",
|
|
462
462
|
t({
|
|
463
|
-
p:
|
|
463
|
+
p: F.value.labels.dataLabels.prefix,
|
|
464
464
|
v: G.value,
|
|
465
|
-
s:
|
|
466
|
-
r:
|
|
465
|
+
s: F.value.labels.dataLabels.suffix,
|
|
466
|
+
r: N.value.table.td.roundingValue
|
|
467
467
|
}),
|
|
468
468
|
"100%"
|
|
469
469
|
], n = Y.value.head.map((e, n) => {
|
|
470
470
|
let r = t({
|
|
471
|
-
p:
|
|
471
|
+
p: F.value.labels.dataLabels.prefix,
|
|
472
472
|
v: Y.value.body[n],
|
|
473
|
-
s:
|
|
474
|
-
r:
|
|
473
|
+
s: F.value.labels.dataLabels.suffix,
|
|
474
|
+
r: N.value.table.td.roundingValue
|
|
475
475
|
});
|
|
476
476
|
return [
|
|
477
477
|
{
|
|
@@ -482,27 +482,27 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
482
482
|
isNaN(Y.value.body[n] / G.value) ? "-" : t({
|
|
483
483
|
v: Y.value.body[n] / G.value * 100,
|
|
484
484
|
s: "%",
|
|
485
|
-
r:
|
|
485
|
+
r: N.value.table.td.roundingPercentage
|
|
486
486
|
})
|
|
487
487
|
];
|
|
488
488
|
}), r = {
|
|
489
489
|
th: {
|
|
490
|
-
backgroundColor:
|
|
491
|
-
color:
|
|
492
|
-
outline:
|
|
490
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
491
|
+
color: N.value.table.th.color,
|
|
492
|
+
outline: N.value.table.th.outline
|
|
493
493
|
},
|
|
494
494
|
td: {
|
|
495
|
-
backgroundColor:
|
|
496
|
-
color:
|
|
497
|
-
outline:
|
|
495
|
+
backgroundColor: N.value.table.td.backgroundColor,
|
|
496
|
+
color: N.value.table.td.color,
|
|
497
|
+
outline: N.value.table.td.outline
|
|
498
498
|
},
|
|
499
|
-
breakpoint:
|
|
499
|
+
breakpoint: N.value.table.responsiveBreakpoint
|
|
500
500
|
};
|
|
501
501
|
return {
|
|
502
502
|
colNames: [
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
503
|
+
N.value.table.columnNames.series,
|
|
504
|
+
N.value.table.columnNames.value,
|
|
505
|
+
N.value.table.columnNames.percentage
|
|
506
506
|
],
|
|
507
507
|
head: e,
|
|
508
508
|
body: n,
|
|
@@ -510,10 +510,10 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
510
510
|
};
|
|
511
511
|
});
|
|
512
512
|
function kn() {
|
|
513
|
-
|
|
513
|
+
z.value.showTable = !z.value.showTable;
|
|
514
514
|
}
|
|
515
515
|
function An() {
|
|
516
|
-
|
|
516
|
+
z.value.showTooltip = !z.value.showTooltip;
|
|
517
517
|
}
|
|
518
518
|
let Z = b(!1);
|
|
519
519
|
function jn() {
|
|
@@ -530,82 +530,82 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
530
530
|
return {
|
|
531
531
|
imageUri: i,
|
|
532
532
|
base64: a,
|
|
533
|
-
title:
|
|
533
|
+
title: I.value.title.text,
|
|
534
534
|
width: t,
|
|
535
535
|
height: n,
|
|
536
536
|
aspectRatio: r
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
539
|
let Q = l(() => {
|
|
540
|
-
let e =
|
|
540
|
+
let e = N.value.table.useDialog && !N.value.table.show, t = z.value.showTable;
|
|
541
541
|
return {
|
|
542
542
|
component: e ? vt : pt,
|
|
543
|
-
title: `${
|
|
543
|
+
title: `${I.value.title.text}${I.value.title.subtitle.text ? `: ${I.value.title.subtitle.text}` : ""}`,
|
|
544
544
|
props: e ? {
|
|
545
|
-
backgroundColor:
|
|
546
|
-
color:
|
|
547
|
-
headerColor:
|
|
548
|
-
headerBg:
|
|
545
|
+
backgroundColor: N.value.table.th.backgroundColor,
|
|
546
|
+
color: N.value.table.th.color,
|
|
547
|
+
headerColor: N.value.table.th.color,
|
|
548
|
+
headerBg: N.value.table.th.backgroundColor,
|
|
549
549
|
isFullscreen: q.value,
|
|
550
550
|
fullscreenParent: D.value,
|
|
551
551
|
forcedWidth: Math.min(500, window.innerWidth * .8),
|
|
552
|
-
isCursorPointer:
|
|
552
|
+
isCursorPointer: L.value
|
|
553
553
|
} : {
|
|
554
554
|
hideDetails: !0,
|
|
555
555
|
config: {
|
|
556
556
|
open: t,
|
|
557
557
|
maxHeight: 1e4,
|
|
558
558
|
body: {
|
|
559
|
-
backgroundColor:
|
|
560
|
-
color:
|
|
559
|
+
backgroundColor: I.value.backgroundColor,
|
|
560
|
+
color: I.value.color
|
|
561
561
|
},
|
|
562
562
|
head: {
|
|
563
|
-
backgroundColor:
|
|
564
|
-
color:
|
|
563
|
+
backgroundColor: I.value.backgroundColor,
|
|
564
|
+
color: I.value.color
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
569
|
});
|
|
570
|
-
We(() =>
|
|
571
|
-
|
|
570
|
+
We(() => z.value.showTable, (e) => {
|
|
571
|
+
N.value.table.show || (e && N.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
572
572
|
});
|
|
573
573
|
function Nn() {
|
|
574
|
-
|
|
574
|
+
z.value.showTable = !1, Nt.value && Nt.value.setTableIconState(!1);
|
|
575
575
|
}
|
|
576
576
|
let Pn = l(() => J.value.map((e) => ({
|
|
577
577
|
...e,
|
|
578
578
|
name: e.display
|
|
579
|
-
}))), Fn = l(() =>
|
|
580
|
-
svg:
|
|
579
|
+
}))), Fn = l(() => I.value.backgroundColor), In = l(() => I.value.legend), Ln = l(() => I.value.title), { isCallbackImaging: Rn, isCallbackSvg: zn, generateSvg: Bn, onGenerateImage: Vn } = ye({
|
|
580
|
+
svg: R,
|
|
581
581
|
title: Ln,
|
|
582
582
|
legend: In,
|
|
583
583
|
legendItems: Pn,
|
|
584
584
|
backgroundColor: Fn,
|
|
585
|
-
getSvgCallback: () =>
|
|
586
|
-
generateImage:
|
|
585
|
+
getSvgCallback: () => N.value.userOptions.callbacks.svg,
|
|
586
|
+
generateImage: en
|
|
587
587
|
});
|
|
588
588
|
async function Hn() {
|
|
589
589
|
if (sn("copyAlt", {
|
|
590
|
-
config:
|
|
590
|
+
config: N.value,
|
|
591
591
|
dataset: W.value
|
|
592
|
-
}), !
|
|
592
|
+
}), !N.value.userOptions.callbacks.altCopy) {
|
|
593
593
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
594
594
|
return;
|
|
595
595
|
}
|
|
596
|
-
await Promise.resolve(
|
|
597
|
-
config:
|
|
596
|
+
await Promise.resolve(N.value.userOptions.callbacks.altCopy({
|
|
597
|
+
config: N.value,
|
|
598
598
|
dataset: W.value
|
|
599
599
|
}));
|
|
600
600
|
}
|
|
601
601
|
function Un() {
|
|
602
|
-
|
|
602
|
+
M.value = null, Pt.value = null, Lt.value = !0;
|
|
603
603
|
}
|
|
604
604
|
function Wn() {
|
|
605
|
-
xn(),
|
|
605
|
+
xn(), Lt.value = !1;
|
|
606
606
|
}
|
|
607
607
|
function Gn(e) {
|
|
608
|
-
if (!
|
|
608
|
+
if (!R.value || Z.value || document.activeElement !== R.value || !$.value.length) return;
|
|
609
609
|
let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
610
610
|
if (!t && !n && !r && !i) return;
|
|
611
611
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -613,13 +613,13 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
613
613
|
return;
|
|
614
614
|
}
|
|
615
615
|
if (r) {
|
|
616
|
-
if (
|
|
617
|
-
let e = $.value[
|
|
616
|
+
if (M.value === null) return;
|
|
617
|
+
let e = $.value[M.value];
|
|
618
618
|
if (!e) return;
|
|
619
619
|
wn(e.datapoint);
|
|
620
620
|
return;
|
|
621
621
|
}
|
|
622
|
-
let a =
|
|
622
|
+
let a = M.value;
|
|
623
623
|
a === null || a < 0 || a >= $.value.length ? a = n ? 0 : $.value.length - 1 : (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0));
|
|
624
624
|
let o = $.value[a];
|
|
625
625
|
o && En({
|
|
@@ -640,9 +640,9 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
640
640
|
return Ce({
|
|
641
641
|
getData: pn,
|
|
642
642
|
getImage: Mn,
|
|
643
|
-
generatePdf:
|
|
643
|
+
generatePdf: $t,
|
|
644
644
|
generateCsv: On,
|
|
645
|
-
generateImage:
|
|
645
|
+
generateImage: en,
|
|
646
646
|
generateSvg: Bn,
|
|
647
647
|
hideSeries: fn,
|
|
648
648
|
showSeries: dn,
|
|
@@ -654,25 +654,25 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
654
654
|
}), (e, n) => (y(), f("div", {
|
|
655
655
|
ref_key: "galaxyChart",
|
|
656
656
|
ref: D,
|
|
657
|
-
class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${
|
|
658
|
-
style: v(`font-family:${
|
|
657
|
+
class: g(`vue-data-ui-component vue-ui-galaxy ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${C(Vt) ? "loading" : ""}`),
|
|
658
|
+
style: v(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;${I.value.title.text ? "" : "padding-top:36px"};background:${I.value.backgroundColor}`),
|
|
659
659
|
id: `galaxy_${E.value}`,
|
|
660
|
-
onMouseenter: n[2] ||= () => C(
|
|
660
|
+
onMouseenter: n[2] ||= () => C(Kt)(!0),
|
|
661
661
|
onMouseleave: n[3] ||= () => {
|
|
662
|
-
C(
|
|
662
|
+
C(Kt)(!1), Lt.value || xn();
|
|
663
663
|
}
|
|
664
664
|
}, [
|
|
665
665
|
p("div", {
|
|
666
666
|
id: `chart-instructions-${E.value}`,
|
|
667
667
|
class: "sr-only"
|
|
668
|
-
}, [p("p", null, S(
|
|
668
|
+
}, [p("p", null, S(N.value.a11y.translations.keyboardNavigation), 1)], 8, qe),
|
|
669
669
|
Kn.value?.rows?.length ? (y(), u(De, {
|
|
670
670
|
key: 0,
|
|
671
671
|
uid: E.value,
|
|
672
672
|
head: Kn.value.headers,
|
|
673
673
|
body: Kn.value.rows,
|
|
674
|
-
notice:
|
|
675
|
-
caption:
|
|
674
|
+
notice: N.value.a11y.translations.tableAvailable,
|
|
675
|
+
caption: N.value.a11y.translations.tableCaption
|
|
676
676
|
}, null, 8, [
|
|
677
677
|
"uid",
|
|
678
678
|
"head",
|
|
@@ -680,14 +680,14 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
680
680
|
"notice",
|
|
681
681
|
"caption"
|
|
682
682
|
])) : d("", !0),
|
|
683
|
-
|
|
683
|
+
N.value.userOptions.buttons.annotator ? (y(), u(C(ht), {
|
|
684
684
|
key: 1,
|
|
685
|
-
svgRef: C(
|
|
686
|
-
backgroundColor:
|
|
687
|
-
color:
|
|
685
|
+
svgRef: C(R),
|
|
686
|
+
backgroundColor: I.value.backgroundColor,
|
|
687
|
+
color: I.value.color,
|
|
688
688
|
active: Z.value,
|
|
689
|
-
isCursorPointer:
|
|
690
|
-
palette:
|
|
689
|
+
isCursorPointer: L.value,
|
|
690
|
+
palette: N.value.userOptions.annotatorPalette,
|
|
691
691
|
onClose: jn
|
|
692
692
|
}, {
|
|
693
693
|
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -705,14 +705,14 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
705
705
|
"isCursorPointer",
|
|
706
706
|
"palette"
|
|
707
707
|
])) : d("", !0),
|
|
708
|
-
|
|
708
|
+
tn.value ? (y(), f("div", {
|
|
709
709
|
key: 2,
|
|
710
710
|
ref_key: "noTitle",
|
|
711
711
|
ref: jt,
|
|
712
712
|
class: "vue-data-ui-no-title-space",
|
|
713
713
|
style: "height:36px; width: 100%;background:transparent"
|
|
714
714
|
}, null, 512)) : d("", !0),
|
|
715
|
-
|
|
715
|
+
I.value.title.text ? (y(), f("div", {
|
|
716
716
|
key: 3,
|
|
717
717
|
ref_key: "chartTitle",
|
|
718
718
|
ref: Ot,
|
|
@@ -722,45 +722,45 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
722
722
|
config: {
|
|
723
723
|
title: {
|
|
724
724
|
cy: "galaxy-div-title",
|
|
725
|
-
...
|
|
725
|
+
...I.value.title
|
|
726
726
|
},
|
|
727
727
|
subtitle: {
|
|
728
728
|
cy: "galaxy-div-subtitle",
|
|
729
|
-
...
|
|
729
|
+
...I.value.title.subtitle
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
733
733
|
p("div", { id: `legend-top-${E.value}` }, null, 8, Je),
|
|
734
|
-
|
|
734
|
+
N.value.userOptions.show && Rt.value && (C(qt) || C(Gt)) ? (y(), u(C(gt), {
|
|
735
735
|
ref_key: "userOptionsRef",
|
|
736
|
-
ref:
|
|
736
|
+
ref: Nt,
|
|
737
737
|
key: `user_option_${wt.value}`,
|
|
738
|
-
backgroundColor:
|
|
739
|
-
color:
|
|
740
|
-
isPrinting: C(
|
|
741
|
-
isImaging: C(
|
|
738
|
+
backgroundColor: I.value.backgroundColor,
|
|
739
|
+
color: I.value.color,
|
|
740
|
+
isPrinting: C(Zt),
|
|
741
|
+
isImaging: C(Qt),
|
|
742
742
|
uid: E.value,
|
|
743
|
-
hasTooltip:
|
|
744
|
-
hasPdf:
|
|
745
|
-
hasXls:
|
|
746
|
-
hasImg:
|
|
747
|
-
hasSvg:
|
|
748
|
-
hasTable:
|
|
749
|
-
hasFullscreen:
|
|
750
|
-
hasAltCopy:
|
|
751
|
-
isTooltip:
|
|
743
|
+
hasTooltip: N.value.userOptions.buttons.tooltip && I.value.tooltip.show,
|
|
744
|
+
hasPdf: N.value.userOptions.buttons.pdf,
|
|
745
|
+
hasXls: N.value.userOptions.buttons.csv,
|
|
746
|
+
hasImg: N.value.userOptions.buttons.img,
|
|
747
|
+
hasSvg: N.value.userOptions.buttons.svg,
|
|
748
|
+
hasTable: N.value.userOptions.buttons.table,
|
|
749
|
+
hasFullscreen: N.value.userOptions.buttons.fullscreen,
|
|
750
|
+
hasAltCopy: N.value.userOptions.buttons.altCopy,
|
|
751
|
+
isTooltip: z.value.showTooltip,
|
|
752
752
|
isFullscreen: q.value,
|
|
753
|
-
titles: { ...
|
|
753
|
+
titles: { ...N.value.userOptions.buttonTitles },
|
|
754
754
|
chartElement: D.value,
|
|
755
|
-
position:
|
|
756
|
-
hasAnnotator:
|
|
755
|
+
position: N.value.userOptions.position,
|
|
756
|
+
hasAnnotator: N.value.userOptions.buttons.annotator,
|
|
757
757
|
isAnnotation: Z.value,
|
|
758
|
-
callbacks:
|
|
759
|
-
printScale:
|
|
760
|
-
tableDialog:
|
|
761
|
-
isCursorPointer:
|
|
758
|
+
callbacks: N.value.userOptions.callbacks,
|
|
759
|
+
printScale: N.value.userOptions.print.scale,
|
|
760
|
+
tableDialog: N.value.table.useDialog,
|
|
761
|
+
isCursorPointer: L.value,
|
|
762
762
|
onToggleFullscreen: yn,
|
|
763
|
-
onGeneratePdf: C(
|
|
763
|
+
onGeneratePdf: C($t),
|
|
764
764
|
onGenerateCsv: On,
|
|
765
765
|
onGenerateImage: C(Vn),
|
|
766
766
|
onGenerateSvg: C(Bn),
|
|
@@ -768,7 +768,7 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
768
768
|
onToggleTooltip: An,
|
|
769
769
|
onToggleAnnotator: jn,
|
|
770
770
|
onCopyAlt: Hn,
|
|
771
|
-
style: v({ visibility: C(
|
|
771
|
+
style: v({ visibility: C(qt) ? C(Gt) ? "visible" : "hidden" : "visible" })
|
|
772
772
|
}, Fe({ _: 2 }, [
|
|
773
773
|
e.$slots.menuIcon ? {
|
|
774
774
|
name: "menuIcon",
|
|
@@ -842,7 +842,7 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
842
842
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasFullscreen.hasAltCopy.isTooltip.isFullscreen.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
|
|
843
843
|
p("div", Ye, [(y(), f("svg", {
|
|
844
844
|
ref_key: "svgRef",
|
|
845
|
-
ref:
|
|
845
|
+
ref: R,
|
|
846
846
|
xmlns: C(oe),
|
|
847
847
|
"aria-describedby": `chart-instructions-${E.value}`,
|
|
848
848
|
class: g({
|
|
@@ -850,7 +850,7 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
850
850
|
"vue-data-ui-fulscreen--off": !q.value
|
|
851
851
|
}),
|
|
852
852
|
viewBox: V.value.viewBox,
|
|
853
|
-
style: v(`max-width:100%; overflow: visible; background:transparent;color:${
|
|
853
|
+
style: v(`max-width:100%; overflow: visible; background:transparent;color:${I.value.color}`),
|
|
854
854
|
tabindex: "0",
|
|
855
855
|
onFocus: Un,
|
|
856
856
|
onBlur: Wn,
|
|
@@ -873,16 +873,16 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
873
873
|
height: "200%"
|
|
874
874
|
}, [p("feGaussianBlur", {
|
|
875
875
|
in: "SourceGraphic",
|
|
876
|
-
stdDeviation: 100 /
|
|
876
|
+
stdDeviation: 100 / P.value.gradient.intensity
|
|
877
877
|
}, null, 8, $e)], 8, Qe)]),
|
|
878
878
|
(y(!0), f(Ne, null, Ve(K.value, (e) => (y(), f("g", { key: `dp_${e.id}` }, [
|
|
879
879
|
e.value ? (y(), f("path", {
|
|
880
880
|
key: 0,
|
|
881
881
|
d: e.path,
|
|
882
882
|
fill: "none",
|
|
883
|
-
stroke:
|
|
883
|
+
stroke: I.value.backgroundColor,
|
|
884
884
|
"stroke-width": vn(e).border,
|
|
885
|
-
class: g({ "vue-data-ui-transition": C(
|
|
885
|
+
class: g({ "vue-data-ui-transition": C(zt) }),
|
|
886
886
|
"stroke-linecap": "round"
|
|
887
887
|
}, null, 10, et)) : d("", !0),
|
|
888
888
|
e.value ? (y(), f("path", {
|
|
@@ -893,23 +893,23 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
893
893
|
"stroke-width": vn(e).path,
|
|
894
894
|
"stroke-linecap": "round",
|
|
895
895
|
class: g({
|
|
896
|
-
"vue-data-ui-transition": C(
|
|
897
|
-
"vue-ui-galaxy-blur": O.value && O.value !== e.id &&
|
|
896
|
+
"vue-data-ui-transition": C(zt),
|
|
897
|
+
"vue-ui-galaxy-blur": O.value && O.value !== e.id && N.value.useBlurOnHover
|
|
898
898
|
})
|
|
899
899
|
}, null, 10, tt)) : d("", !0),
|
|
900
|
-
e.value &&
|
|
900
|
+
e.value && P.value.gradient.show ? (y(), f("g", {
|
|
901
901
|
key: 2,
|
|
902
902
|
filter: `url(#blur_${E.value})`
|
|
903
903
|
}, [p("path", {
|
|
904
904
|
d: e.path,
|
|
905
905
|
fill: "none",
|
|
906
|
-
stroke:
|
|
906
|
+
stroke: P.value.gradient.color,
|
|
907
907
|
"stroke-width": vn(e).blur,
|
|
908
908
|
"stroke-linecap": "round",
|
|
909
909
|
class: g({
|
|
910
910
|
"vue-ui-galaxy-gradient": !0,
|
|
911
|
-
"vue-data-ui-transition": C(
|
|
912
|
-
"vue-ui-galaxy-blur": O.value && O.value !== e.id &&
|
|
911
|
+
"vue-data-ui-transition": C(zt),
|
|
912
|
+
"vue-ui-galaxy-blur": O.value && O.value !== e.id && N.value.useBlurOnHover
|
|
913
913
|
})
|
|
914
914
|
}, null, 10, rt)], 8, nt)) : d("", !0)
|
|
915
915
|
]))), 128)),
|
|
@@ -919,13 +919,13 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
919
919
|
d: e.path,
|
|
920
920
|
fill: "none",
|
|
921
921
|
stroke: "transparent",
|
|
922
|
-
"stroke-width":
|
|
922
|
+
"stroke-width": P.value.strokeWidth + P.value.borderWidth,
|
|
923
923
|
"stroke-linecap": "round",
|
|
924
924
|
"aria-label": `${e.name}: ${C(t)({
|
|
925
|
-
p:
|
|
925
|
+
p: F.value.labels.dataLabels.prefix,
|
|
926
926
|
v: e.value,
|
|
927
|
-
s:
|
|
928
|
-
r:
|
|
927
|
+
s: F.value.labels.dataLabels.suffix,
|
|
928
|
+
r: I.value.tooltip.roundingValue
|
|
929
929
|
})}`,
|
|
930
930
|
onMouseenter: (t) => En({
|
|
931
931
|
datapoint: e,
|
|
@@ -940,37 +940,37 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
940
940
|
}, null, 40, it)) : d("", !0)]))), 256)),
|
|
941
941
|
x(e.$slots, "svg", { svg: {
|
|
942
942
|
...V.value,
|
|
943
|
-
isPrintingImg: C(
|
|
943
|
+
isPrintingImg: C(Zt) || C(Qt) || C(Rn),
|
|
944
944
|
isPrintingSvg: C(zn)
|
|
945
945
|
} }, void 0, !0)
|
|
946
946
|
], 46, Xe)), e.$slots.hint ? (y(), f("div", at, [x(e.$slots, "hint", _(h({
|
|
947
|
-
hint:
|
|
948
|
-
isVisible:
|
|
947
|
+
hint: N.value.a11y.translations.keyboardNavigation,
|
|
948
|
+
isVisible: Lt.value
|
|
949
949
|
})), void 0, !0)])) : d("", !0)]),
|
|
950
|
-
e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: C(
|
|
950
|
+
e.$slots.watermark ? (y(), f("div", ot, [x(e.$slots, "watermark", _(h({ isPrinting: C(Zt) || C(Qt) || C(Rn) || C(zn) })), void 0, !0)])) : d("", !0),
|
|
951
951
|
p("div", { id: `legend-bottom-${E.value}` }, null, 8, st),
|
|
952
|
-
|
|
952
|
+
Mt.value && (I.value.legend.show || e.$slots.legend) ? (y(), u(Pe, {
|
|
953
953
|
key: 6,
|
|
954
|
-
to:
|
|
954
|
+
to: I.value.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
955
955
|
}, [p("div", {
|
|
956
956
|
ref_key: "chartLegend",
|
|
957
957
|
ref: kt
|
|
958
|
-
}, [x(e.$slots, "legend", { legend: J.value }, () => [
|
|
958
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [I.value.legend.show ? (y(), u(je, {
|
|
959
959
|
key: `legend_${Dt.value}`,
|
|
960
960
|
legendSet: J.value,
|
|
961
961
|
config: Dn.value,
|
|
962
962
|
onClickMarker: n[0] ||= ({ legend: e }) => U(e)
|
|
963
963
|
}, {
|
|
964
|
-
item: w(({ legend: e, index: t }) => [C(
|
|
964
|
+
item: w(({ legend: e, index: t }) => [C(Vt) ? d("", !0) : (y(), f("div", {
|
|
965
965
|
key: 0,
|
|
966
966
|
onClick: (t) => U(e),
|
|
967
967
|
style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
|
|
968
968
|
}, S(e.display), 13, ct))]),
|
|
969
|
-
legendToggle: w(() => [J.value.length > 2 &&
|
|
969
|
+
legendToggle: w(() => [J.value.length > 2 && I.value.legend.selectAllToggle.show && !C(Vt) ? (y(), u(Ee, {
|
|
970
970
|
key: 0,
|
|
971
|
-
backgroundColor:
|
|
972
|
-
color:
|
|
973
|
-
fontSize:
|
|
971
|
+
backgroundColor: I.value.legend.selectAllToggle.backgroundColor,
|
|
972
|
+
color: I.value.legend.selectAllToggle.color,
|
|
973
|
+
fontSize: I.value.legend.fontSize,
|
|
974
974
|
checked: H.value.length > 0,
|
|
975
975
|
onToggle: ln
|
|
976
976
|
}, null, 8, [
|
|
@@ -988,28 +988,28 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
988
988
|
dir: "auto"
|
|
989
989
|
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
990
990
|
Le(C(dt), {
|
|
991
|
-
teleportTo:
|
|
992
|
-
show:
|
|
993
|
-
backgroundColor:
|
|
994
|
-
color:
|
|
995
|
-
borderRadius:
|
|
996
|
-
borderColor:
|
|
997
|
-
borderWidth:
|
|
998
|
-
fontSize:
|
|
999
|
-
backgroundOpacity:
|
|
1000
|
-
position:
|
|
1001
|
-
offsetX:
|
|
1002
|
-
offsetY:
|
|
991
|
+
teleportTo: I.value.tooltip.teleportTo,
|
|
992
|
+
show: z.value.showTooltip && St.value,
|
|
993
|
+
backgroundColor: I.value.tooltip.backgroundColor,
|
|
994
|
+
color: I.value.tooltip.color,
|
|
995
|
+
borderRadius: I.value.tooltip.borderRadius,
|
|
996
|
+
borderColor: I.value.tooltip.borderColor,
|
|
997
|
+
borderWidth: I.value.tooltip.borderWidth,
|
|
998
|
+
fontSize: I.value.tooltip.fontSize,
|
|
999
|
+
backgroundOpacity: I.value.tooltip.backgroundOpacity,
|
|
1000
|
+
position: I.value.tooltip.position,
|
|
1001
|
+
offsetX: I.value.tooltip.offsetX,
|
|
1002
|
+
offsetY: I.value.tooltip.offsetY,
|
|
1003
1003
|
parent: D.value,
|
|
1004
1004
|
content: Ct.value,
|
|
1005
1005
|
isFullscreen: q.value,
|
|
1006
|
-
isCustom: C(
|
|
1007
|
-
smooth:
|
|
1008
|
-
backdropFilter:
|
|
1009
|
-
smoothForce:
|
|
1010
|
-
smoothSnapThreshold:
|
|
1011
|
-
isA11yMode:
|
|
1012
|
-
a11yPosition:
|
|
1006
|
+
isCustom: C(r)(I.value.tooltip.customFormat),
|
|
1007
|
+
smooth: I.value.tooltip.smooth,
|
|
1008
|
+
backdropFilter: I.value.tooltip.backdropFilter,
|
|
1009
|
+
smoothForce: I.value.tooltip.smoothForce,
|
|
1010
|
+
smoothSnapThreshold: I.value.tooltip.smoothSnapThreshold,
|
|
1011
|
+
isA11yMode: It.value === "keyboard",
|
|
1012
|
+
a11yPosition: Ft.value
|
|
1013
1013
|
}, {
|
|
1014
1014
|
"tooltip-before": w(() => [x(e.$slots, "tooltip-before", _(h({ ...bn.value })), void 0, !0)]),
|
|
1015
1015
|
tooltip: w(() => [x(e.$slots, "tooltip", _(h({ ...bn.value })), void 0, !0)]),
|
|
@@ -1039,9 +1039,9 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1039
1039
|
"isA11yMode",
|
|
1040
1040
|
"a11yPosition"
|
|
1041
1041
|
]),
|
|
1042
|
-
|
|
1042
|
+
Rt.value && N.value.userOptions.buttons.table ? (y(), u(He(Q.value.component), Re({ key: 8 }, Q.value.props, {
|
|
1043
1043
|
ref_key: "tableUnit",
|
|
1044
|
-
ref:
|
|
1044
|
+
ref: j,
|
|
1045
1045
|
onClose: Nn
|
|
1046
1046
|
}), Fe({
|
|
1047
1047
|
content: w(() => [(y(), u(C(mt), {
|
|
@@ -1050,9 +1050,9 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1050
1050
|
head: X.value.head,
|
|
1051
1051
|
body: X.value.body,
|
|
1052
1052
|
config: X.value.config,
|
|
1053
|
-
title:
|
|
1054
|
-
withCloseButton: !
|
|
1055
|
-
isCursorPointer:
|
|
1053
|
+
title: N.value.table.useDialog ? "" : Q.value.title,
|
|
1054
|
+
withCloseButton: !N.value.table.useDialog,
|
|
1055
|
+
isCursorPointer: L.value,
|
|
1056
1056
|
onClose: Nn
|
|
1057
1057
|
}, {
|
|
1058
1058
|
th: w(({ th: e }) => [e === "__SUM__" ? (y(), f("div", lt, [Le(C(ft), {
|
|
@@ -1072,24 +1072,24 @@ var Ge = /* @__PURE__ */ e({ default: () => dt }), Ke = ["id"], qe = ["id"], Je
|
|
|
1072
1072
|
"isCursorPointer"
|
|
1073
1073
|
]))]),
|
|
1074
1074
|
_: 2
|
|
1075
|
-
}, [
|
|
1075
|
+
}, [N.value.table.useDialog ? {
|
|
1076
1076
|
name: "title",
|
|
1077
1077
|
fn: w(() => [Ie(S(Q.value.title), 1)]),
|
|
1078
1078
|
key: "0"
|
|
1079
|
-
} : void 0,
|
|
1079
|
+
} : void 0, N.value.table.useDialog ? {
|
|
1080
1080
|
name: "actions",
|
|
1081
1081
|
fn: w(() => [p("button", {
|
|
1082
1082
|
tabindex: "0",
|
|
1083
1083
|
class: "vue-ui-user-options-button",
|
|
1084
|
-
onClick: n[1] ||= (e) => On(
|
|
1085
|
-
style: v({ cursor:
|
|
1084
|
+
onClick: n[1] ||= (e) => On(N.value.userOptions.callbacks.csv),
|
|
1085
|
+
style: v({ cursor: L.value ? "pointer" : "default" })
|
|
1086
1086
|
}, [Le(C(ft), {
|
|
1087
1087
|
name: "fileCsv",
|
|
1088
1088
|
stroke: Q.value.props.color
|
|
1089
1089
|
}, null, 8, ["stroke"])], 4)]),
|
|
1090
1090
|
key: "1"
|
|
1091
1091
|
} : void 0]), 1040)) : d("", !0),
|
|
1092
|
-
x(e.$slots, "skeleton", {}, () => [C(
|
|
1092
|
+
x(e.$slots, "skeleton", {}, () => [C(Vt) ? (y(), u(ge, { key: 0 })) : d("", !0)], !0)
|
|
1093
1093
|
], 46, Ke));
|
|
1094
1094
|
}
|
|
1095
1095
|
}, [["__scopeId", "data-v-d02837da"]]);
|