vue-data-ui 2.3.28 → 2.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
- package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
- package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
- package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
- package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
- package/dist/DataTable-Doh_4M84.cjs +1 -0
- package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
- package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
- package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
- package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
- package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
- package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
- package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
- package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
- package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
- package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
- package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
- package/dist/index-hKWfT7Wa.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +66 -0
- package/dist/types/vue-data-ui.d.ts +66 -0
- package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
- package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
- package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
- package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
- package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
- package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +6 -6
- package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
- package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
- package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
- package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
- package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
- package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
- package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
- package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
- package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
- package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
- package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
- package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
- package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
- package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
- package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
- package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
- package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
- package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
- package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
- package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
- package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
- package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
- package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
- package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
- package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
- package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
- package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
- package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
- package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
- package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
- package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
- package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
- package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
- package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
- package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
- package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
- package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
- package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
- package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
- package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
- package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
- package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
- package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
- package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
- package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
- package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
- package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
- package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
- package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
- package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
- package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
- package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
- package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
- package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
- package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
- package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
- package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
- package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
- package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
- package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
- package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
- package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
- package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
- package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
- package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
- package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
- package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
- package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
- package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
- package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
- package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
- package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
- package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
- package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
- package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
- package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
- package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
- package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
- package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
- package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
- package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
- package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
- package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
- package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
- package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
- package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
- package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
- package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
- package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
- package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
- package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
- package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
- package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
- package/package.json +1 -1
- package/dist/DataTable-B4_9ynlY.cjs +0 -1
- package/dist/index-Y23HeR26.cjs +0 -4
- package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
- package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
- package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
- package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
- package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
- package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
- package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
- package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
- package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
- package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
- package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
- package/dist/vue-ui-onion-DiychUul.cjs +0 -1
- package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
- package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
- package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
- package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
- package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
- package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
- package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
- package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
- package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
- package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
- package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
- package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
- package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
- package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
- package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
- package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
- package/dist/vue-ui-xy-canvas-NrhVgFsv.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 me, ref as n, openBlock as r, createElementBlock as u, normalizeClass as S, normalizeStyle as L, createVNode as A, createCommentVNode as d, createBlock as I, unref as h, createSlots as ke, withCtx as i, renderSlot as y, normalizeProps as F, guardReactiveProps as O, createElementVNode as x, Fragment as ee, renderList as te, createTextVNode as le, toDisplayString as E, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as we, o as xe, e as ae, g as $e, c as oe, t as Te, a as _e, p as D, b as Pe, d as Ne, G as Se, f as k, X as Le, i as se, w as re, x as Ie, q as Fe, r as Oe } from "./index-BlXzlBwZ.js";
|
|
3
|
+
import { L as Ee } from "./Legend-CkQ_zypV.js";
|
|
4
|
+
import { _ as De } from "./Title-eBTH8iGJ.js";
|
|
5
|
+
import { _ as Ge } from "./Tooltip-B11OahTD.js";
|
|
6
|
+
import { D as Ve } from "./DataTable-CsPidn0_.js";
|
|
7
|
+
import { u as Be, U as Me } from "./usePrinter-CZ8F5Cth.js";
|
|
8
|
+
import We from "./vue-ui-skeleton-CJ2R5R6u.js";
|
|
9
|
+
import ze from "./vue-ui-accordion-wHRG3nXl.js";
|
|
10
|
+
import { u as ue } from "./useNestedProp-BoNl5H_z.js";
|
|
11
|
+
import { _ as Ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const He = ["id"], Ue = ["xmlns", "viewBox"], Xe = ["id"], Re = ["stdDeviation"], Ye = ["d", "stroke", "stroke-width"], je = ["d", "stroke", "stroke-width"], qe = ["filter"], Je = ["d", "stroke", "stroke-width"], Ke = ["d", "stroke-width", "onMouseenter", "onClick"], Qe = {
|
|
13
13
|
key: 3,
|
|
14
14
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
15
|
+
}, Ze = ["onClick"], et = { key: 0 }, tt = { key: 1 }, lt = ["innerHTML"], at = {
|
|
16
16
|
__name: "vue-ui-galaxy",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -29,14 +29,14 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["selectLegend", "selectDatapoint"],
|
|
32
|
-
setup(
|
|
33
|
-
const p =
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
setup(ne, { expose: ie, emit: H }) {
|
|
33
|
+
const p = ne, { vue_ui_galaxy: ce } = we(), P = v(() => !!p.dataset && p.dataset.length);
|
|
34
|
+
me(() => {
|
|
35
|
+
xe(p.dataset) ? ae({
|
|
36
36
|
componentName: "VueUiGalaxy",
|
|
37
37
|
type: "dataset"
|
|
38
38
|
}) : p.dataset.forEach((t, a) => {
|
|
39
|
-
|
|
39
|
+
$e({
|
|
40
40
|
datasetObject: t,
|
|
41
41
|
requiredAttributes: ["name", "values"]
|
|
42
42
|
}).forEach((l) => {
|
|
@@ -49,22 +49,22 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
49
49
|
});
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
|
-
const
|
|
53
|
-
const t =
|
|
52
|
+
const $ = n(oe()), G = n(null), ve = n(null), V = n(!1), B = n(""), g = n(null), U = n(0), e = v(() => {
|
|
53
|
+
const t = ue({
|
|
54
54
|
userConfig: p.config,
|
|
55
|
-
defaultConfig:
|
|
55
|
+
defaultConfig: ce
|
|
56
56
|
});
|
|
57
57
|
return t.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
58
|
+
...ue({
|
|
59
|
+
userConfig: Te.vue_ui_galaxy[t.theme] || p.config,
|
|
60
60
|
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette:
|
|
62
|
+
customPalette: _e[t.theme] || D
|
|
63
63
|
} : t;
|
|
64
|
-
}), { isPrinting: X, isImaging: R, generatePdf: Y, generateImage: j } =
|
|
65
|
-
elementId: `galaxy_${
|
|
64
|
+
}), { isPrinting: X, isImaging: R, generatePdf: Y, generateImage: j } = Be({
|
|
65
|
+
elementId: `galaxy_${$.value}`,
|
|
66
66
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
67
|
-
}),
|
|
67
|
+
}), de = v(() => Pe(e.value.customPalette)), b = n({
|
|
68
68
|
dataLabels: {
|
|
69
69
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
70
70
|
},
|
|
@@ -76,38 +76,38 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
76
76
|
width: 250
|
|
77
77
|
}), c = n([]);
|
|
78
78
|
function W(t) {
|
|
79
|
-
c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id), H("selectLegend",
|
|
79
|
+
c.value.includes(t.id) ? c.value = c.value.filter((a) => a !== t.id) : c.value.push(t.id), H("selectLegend", T.value.map((a) => ({
|
|
80
80
|
name: a.name,
|
|
81
81
|
color: a.color,
|
|
82
82
|
value: a.value
|
|
83
83
|
})));
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const C = v(() => p.dataset.map((t, a) => ({
|
|
86
86
|
name: t.name,
|
|
87
|
-
color:
|
|
87
|
+
color: Ne(t.color) || de.value[a] || D[a] || D[a % D.length],
|
|
88
88
|
value: t.values ? t.values.reduce((l, o) => l + o, 0) : 0,
|
|
89
89
|
absoluteValues: t.values || [0],
|
|
90
90
|
id: oe(),
|
|
91
91
|
seriesIndex: a
|
|
92
92
|
})).sort((t, a) => a.value - t.value));
|
|
93
|
-
function
|
|
94
|
-
return
|
|
93
|
+
function he() {
|
|
94
|
+
return C.value.map((t) => ({
|
|
95
95
|
name: t.name,
|
|
96
96
|
color: t.color,
|
|
97
97
|
value: t.value
|
|
98
98
|
}));
|
|
99
99
|
}
|
|
100
|
-
const
|
|
100
|
+
const f = v(() => C.value.filter((t) => !c.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), ye = n(190), q = v(() => C.value.filter((t) => !c.value.includes(t.id))), T = v(() => {
|
|
101
101
|
const t = [];
|
|
102
102
|
for (let a = 0; a < q.value.length; a += 1) {
|
|
103
103
|
const l = q.value[a];
|
|
104
|
-
let o = l.value /
|
|
104
|
+
let o = l.value / f.value * ye.value;
|
|
105
105
|
a > 0 && t.length && (o += t[a - 1].points), t.push({
|
|
106
106
|
points: o,
|
|
107
107
|
...l,
|
|
108
108
|
seriesIndex: a,
|
|
109
|
-
proportion: l.value /
|
|
110
|
-
path:
|
|
109
|
+
proportion: l.value / f.value,
|
|
110
|
+
path: Se({
|
|
111
111
|
points: o,
|
|
112
112
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
113
113
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
@@ -115,40 +115,58 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
return t.filter((a, l) => !c.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
118
|
-
}),
|
|
119
|
-
function
|
|
120
|
-
|
|
118
|
+
}), _ = n(!1);
|
|
119
|
+
function ge(t) {
|
|
120
|
+
_.value = t, U.value += 1;
|
|
121
121
|
}
|
|
122
122
|
const z = n(null);
|
|
123
|
-
function
|
|
123
|
+
function fe({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: o = !1 }) {
|
|
124
124
|
z.value = {
|
|
125
125
|
datapoint: t,
|
|
126
126
|
seriesIndex: l,
|
|
127
|
-
series:
|
|
127
|
+
series: C.value,
|
|
128
128
|
config: e.value
|
|
129
|
-
},
|
|
129
|
+
}, V.value = o, g.value = t.id;
|
|
130
130
|
let s = "";
|
|
131
|
-
const
|
|
132
|
-
|
|
131
|
+
const w = e.value.style.chart.tooltip.customFormat;
|
|
132
|
+
re(w) && Ie(() => w({
|
|
133
133
|
seriesIndex: l,
|
|
134
134
|
datapoint: t,
|
|
135
|
-
series:
|
|
135
|
+
series: C.value,
|
|
136
136
|
config: e.value
|
|
137
|
-
})) ?
|
|
137
|
+
})) ? B.value = w({
|
|
138
138
|
seriesIndex: l,
|
|
139
139
|
datapoint: t,
|
|
140
|
-
series:
|
|
140
|
+
series: C.value,
|
|
141
141
|
config: e.value
|
|
142
|
-
}) : (s += `<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>`, 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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${
|
|
142
|
+
}) : (s += `<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>`, 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="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (s += `<b>${se(
|
|
143
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
144
|
+
t.value,
|
|
145
|
+
k({
|
|
146
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
147
|
+
v: t.value,
|
|
148
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
149
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
150
|
+
}),
|
|
151
|
+
{ datapoint: t, seriesIndex: l }
|
|
152
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? s += `<span>(${k({
|
|
153
|
+
v: t.proportion * 100,
|
|
154
|
+
s: "%",
|
|
155
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
156
|
+
})})</span></div>` : s += `<b>${k({
|
|
157
|
+
v: t.proportion * 100,
|
|
158
|
+
s: "%",
|
|
159
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
160
|
+
})}</b></div>`), B.value = `<div>${s}</div>`);
|
|
143
161
|
}
|
|
144
|
-
const J = v(() =>
|
|
162
|
+
const J = v(() => C.value.map((t, a) => ({
|
|
145
163
|
...t,
|
|
146
164
|
proportion: (t.value || 0) / p.dataset.map((l) => (l.values || []).reduce((o, s) => o + s, 0)).reduce((l, o) => l + o, 0),
|
|
147
165
|
opacity: c.value.includes(t.id) ? 0.5 : 1,
|
|
148
166
|
shape: t.shape || "circle",
|
|
149
167
|
segregate: () => W(t),
|
|
150
168
|
isSegregated: c.value.includes(t.id)
|
|
151
|
-
}))),
|
|
169
|
+
}))), pe = v(() => ({
|
|
152
170
|
cy: "galaxy-div-legend",
|
|
153
171
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
154
172
|
color: e.value.style.chart.legend.color,
|
|
@@ -156,34 +174,38 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
156
174
|
paddingBottom: 12,
|
|
157
175
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
158
176
|
})), m = v(() => {
|
|
159
|
-
const t =
|
|
177
|
+
const t = T.value.map((l) => ({
|
|
160
178
|
name: l.name,
|
|
161
179
|
color: l.color
|
|
162
|
-
})), a =
|
|
180
|
+
})), a = T.value.map((l) => l.value);
|
|
163
181
|
return { head: t, body: a };
|
|
164
182
|
});
|
|
165
183
|
function K() {
|
|
166
|
-
|
|
184
|
+
Ce(() => {
|
|
167
185
|
const t = m.value.head.map((o, s) => [[
|
|
168
186
|
o.name
|
|
169
|
-
], [m.value.body[s]], [isNaN(m.value.body[s] /
|
|
170
|
-
|
|
187
|
+
], [m.value.body[s]], [isNaN(m.value.body[s] / f.value) ? "-" : m.value.body[s] / f.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Fe(a);
|
|
188
|
+
Oe({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
171
189
|
});
|
|
172
190
|
}
|
|
173
|
-
const
|
|
191
|
+
const N = v(() => {
|
|
174
192
|
const t = [
|
|
175
193
|
' <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>',
|
|
176
|
-
|
|
194
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: f.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
177
195
|
"100%"
|
|
178
|
-
], a = m.value.head.map((s,
|
|
179
|
-
const
|
|
196
|
+
], a = m.value.head.map((s, w) => {
|
|
197
|
+
const be = 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 });
|
|
180
198
|
return [
|
|
181
199
|
{
|
|
182
200
|
color: s.color,
|
|
183
201
|
name: s.name
|
|
184
202
|
},
|
|
185
|
-
|
|
186
|
-
isNaN(m.value.body[
|
|
203
|
+
be,
|
|
204
|
+
isNaN(m.value.body[w] / f.value) ? "-" : k({
|
|
205
|
+
v: m.value.body[w] / f.value * 100,
|
|
206
|
+
s: "%",
|
|
207
|
+
r: e.value.table.td.roundingPercentage
|
|
208
|
+
})
|
|
187
209
|
];
|
|
188
210
|
}), l = {
|
|
189
211
|
th: {
|
|
@@ -215,8 +237,8 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
215
237
|
function Z() {
|
|
216
238
|
b.value.showTooltip = !b.value.showTooltip;
|
|
217
239
|
}
|
|
218
|
-
return
|
|
219
|
-
getData:
|
|
240
|
+
return ie({
|
|
241
|
+
getData: he,
|
|
220
242
|
generatePdf: Y,
|
|
221
243
|
generateCsv: K,
|
|
222
244
|
generateImage: j,
|
|
@@ -224,16 +246,16 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
224
246
|
toggleTooltip: Z
|
|
225
247
|
}), (t, a) => (r(), u("div", {
|
|
226
248
|
ref_key: "galaxyChart",
|
|
227
|
-
ref:
|
|
228
|
-
class:
|
|
229
|
-
style:
|
|
230
|
-
id: `galaxy_${
|
|
249
|
+
ref: G,
|
|
250
|
+
class: S(`vue-ui-galaxy ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
251
|
+
style: L(`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}`),
|
|
252
|
+
id: `galaxy_${$.value}`
|
|
231
253
|
}, [
|
|
232
254
|
e.value.style.chart.title.text ? (r(), u("div", {
|
|
233
255
|
key: 0,
|
|
234
|
-
style:
|
|
256
|
+
style: L(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
235
257
|
}, [
|
|
236
|
-
A(
|
|
258
|
+
A(De, {
|
|
237
259
|
config: {
|
|
238
260
|
title: {
|
|
239
261
|
cy: "galaxy-div-title",
|
|
@@ -246,15 +268,15 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
246
268
|
}
|
|
247
269
|
}, null, 8, ["config"])
|
|
248
270
|
], 4)) : d("", !0),
|
|
249
|
-
e.value.userOptions.show &&
|
|
271
|
+
e.value.userOptions.show && P.value ? (r(), I(Me, {
|
|
250
272
|
ref_key: "details",
|
|
251
|
-
ref:
|
|
273
|
+
ref: ve,
|
|
252
274
|
key: `user_option_${U.value}`,
|
|
253
275
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
254
276
|
color: e.value.style.chart.color,
|
|
255
|
-
isPrinting:
|
|
256
|
-
isImaging:
|
|
257
|
-
uid:
|
|
277
|
+
isPrinting: h(X),
|
|
278
|
+
isImaging: h(R),
|
|
279
|
+
uid: $.value,
|
|
258
280
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
259
281
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
260
282
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -262,113 +284,113 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
262
284
|
hasTable: e.value.userOptions.buttons.table,
|
|
263
285
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
264
286
|
isTooltip: b.value.showTooltip,
|
|
265
|
-
isFullscreen:
|
|
287
|
+
isFullscreen: _.value,
|
|
266
288
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
267
|
-
chartElement:
|
|
268
|
-
onToggleFullscreen:
|
|
269
|
-
onGeneratePdf:
|
|
289
|
+
chartElement: G.value,
|
|
290
|
+
onToggleFullscreen: ge,
|
|
291
|
+
onGeneratePdf: h(Y),
|
|
270
292
|
onGenerateCsv: K,
|
|
271
|
-
onGenerateImage:
|
|
293
|
+
onGenerateImage: h(j),
|
|
272
294
|
onToggleTable: Q,
|
|
273
295
|
onToggleTooltip: Z
|
|
274
|
-
},
|
|
296
|
+
}, ke({ _: 2 }, [
|
|
275
297
|
t.$slots.optionTooltip ? {
|
|
276
298
|
name: "optionTooltip",
|
|
277
299
|
fn: i(() => [
|
|
278
|
-
|
|
300
|
+
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
279
301
|
]),
|
|
280
302
|
key: "0"
|
|
281
303
|
} : void 0,
|
|
282
304
|
t.$slots.optionPdf ? {
|
|
283
305
|
name: "optionPdf",
|
|
284
306
|
fn: i(() => [
|
|
285
|
-
|
|
307
|
+
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
286
308
|
]),
|
|
287
309
|
key: "1"
|
|
288
310
|
} : void 0,
|
|
289
311
|
t.$slots.optionCsv ? {
|
|
290
312
|
name: "optionCsv",
|
|
291
313
|
fn: i(() => [
|
|
292
|
-
|
|
314
|
+
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
293
315
|
]),
|
|
294
316
|
key: "2"
|
|
295
317
|
} : void 0,
|
|
296
318
|
t.$slots.optionImg ? {
|
|
297
319
|
name: "optionImg",
|
|
298
320
|
fn: i(() => [
|
|
299
|
-
|
|
321
|
+
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
300
322
|
]),
|
|
301
323
|
key: "3"
|
|
302
324
|
} : void 0,
|
|
303
325
|
t.$slots.optionTable ? {
|
|
304
326
|
name: "optionTable",
|
|
305
327
|
fn: i(() => [
|
|
306
|
-
|
|
328
|
+
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
307
329
|
]),
|
|
308
330
|
key: "4"
|
|
309
331
|
} : void 0,
|
|
310
332
|
t.$slots.optionFullscreen ? {
|
|
311
333
|
name: "optionFullscreen",
|
|
312
334
|
fn: i(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
313
|
-
|
|
335
|
+
y(t.$slots, "optionFullscreen", F(O({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
314
336
|
]),
|
|
315
337
|
key: "5"
|
|
316
338
|
} : void 0
|
|
317
339
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
318
|
-
|
|
340
|
+
P.value ? (r(), u("svg", {
|
|
319
341
|
key: 2,
|
|
320
|
-
xmlns:
|
|
321
|
-
class:
|
|
342
|
+
xmlns: h(Le),
|
|
343
|
+
class: S({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
322
344
|
viewBox: `0 0 ${M.value.width} ${M.value.height}`,
|
|
323
|
-
style:
|
|
345
|
+
style: L(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
324
346
|
}, [
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
id: `blur_${
|
|
347
|
+
x("defs", null, [
|
|
348
|
+
x("filter", {
|
|
349
|
+
id: `blur_${$.value}`,
|
|
328
350
|
x: "-50%",
|
|
329
351
|
y: "-50%",
|
|
330
352
|
width: "200%",
|
|
331
353
|
height: "200%"
|
|
332
354
|
}, [
|
|
333
|
-
|
|
355
|
+
x("feGaussianBlur", {
|
|
334
356
|
in: "SourceGraphic",
|
|
335
357
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
336
|
-
}, null, 8,
|
|
337
|
-
], 8,
|
|
358
|
+
}, null, 8, Re)
|
|
359
|
+
], 8, Xe)
|
|
338
360
|
]),
|
|
339
|
-
(r(!0), u(ee, null, te(
|
|
361
|
+
(r(!0), u(ee, null, te(T.value, (l) => (r(), u("g", null, [
|
|
340
362
|
l.value ? (r(), u("path", {
|
|
341
363
|
key: 0,
|
|
342
364
|
d: l.path,
|
|
343
365
|
fill: "none",
|
|
344
366
|
stroke: e.value.style.chart.backgroundColor,
|
|
345
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
367
|
+
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
346
368
|
"stroke-linecap": "round"
|
|
347
|
-
}, null, 8,
|
|
369
|
+
}, null, 8, Ye)) : d("", !0),
|
|
348
370
|
l.value ? (r(), u("path", {
|
|
349
371
|
key: 1,
|
|
350
372
|
d: l.path,
|
|
351
373
|
fill: "none",
|
|
352
374
|
stroke: l.color,
|
|
353
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
375
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
354
376
|
"stroke-linecap": "round",
|
|
355
|
-
class:
|
|
356
|
-
}, null, 10,
|
|
377
|
+
class: S(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
378
|
+
}, null, 10, je)) : d("", !0),
|
|
357
379
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), u("g", {
|
|
358
380
|
key: 2,
|
|
359
|
-
filter: `url(#blur_${
|
|
381
|
+
filter: `url(#blur_${$.value})`
|
|
360
382
|
}, [
|
|
361
|
-
|
|
383
|
+
x("path", {
|
|
362
384
|
d: l.path,
|
|
363
385
|
fill: "none",
|
|
364
386
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
365
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
387
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
366
388
|
"stroke-linecap": "round",
|
|
367
|
-
class:
|
|
368
|
-
}, null, 10,
|
|
369
|
-
], 8,
|
|
389
|
+
class: S(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
390
|
+
}, null, 10, Je)
|
|
391
|
+
], 8, qe)) : d("", !0)
|
|
370
392
|
]))), 256)),
|
|
371
|
-
(r(!0), u(ee, null, te(
|
|
393
|
+
(r(!0), u(ee, null, te(T.value, (l, o) => (r(), u("g", null, [
|
|
372
394
|
l.value ? (r(), u("path", {
|
|
373
395
|
key: 0,
|
|
374
396
|
d: l.path,
|
|
@@ -376,24 +398,24 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
376
398
|
stroke: "transparent",
|
|
377
399
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
378
400
|
"stroke-linecap": "round",
|
|
379
|
-
onMouseenter: (s) =>
|
|
401
|
+
onMouseenter: (s) => fe({
|
|
380
402
|
datapoint: l,
|
|
381
403
|
relativeIndex: o,
|
|
382
404
|
seriesIndex: l.seriesIndex,
|
|
383
405
|
show: !0
|
|
384
406
|
}),
|
|
385
407
|
onMouseleave: a[0] || (a[0] = (s) => {
|
|
386
|
-
|
|
408
|
+
V.value = !1, g.value = null;
|
|
387
409
|
}),
|
|
388
410
|
onClick: (s) => H("selectDatapoint", l)
|
|
389
|
-
}, null, 40,
|
|
411
|
+
}, null, 40, Ke)) : d("", !0)
|
|
390
412
|
]))), 256)),
|
|
391
|
-
|
|
392
|
-
], 14,
|
|
393
|
-
t.$slots.watermark ? (r(), u("div",
|
|
394
|
-
|
|
413
|
+
y(t.$slots, "svg", { svg: M.value }, void 0, !0)
|
|
414
|
+
], 14, Ue)) : d("", !0),
|
|
415
|
+
t.$slots.watermark ? (r(), u("div", Qe, [
|
|
416
|
+
y(t.$slots, "watermark", F(O({ isPrinting: h(X) || h(R) })), void 0, !0)
|
|
395
417
|
])) : d("", !0),
|
|
396
|
-
|
|
418
|
+
P.value ? d("", !0) : (r(), I(We, {
|
|
397
419
|
key: 4,
|
|
398
420
|
config: {
|
|
399
421
|
type: "galaxy",
|
|
@@ -405,26 +427,40 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
405
427
|
}
|
|
406
428
|
}
|
|
407
429
|
}, null, 8, ["config"])),
|
|
408
|
-
e.value.style.chart.legend.show ? (r(),
|
|
430
|
+
e.value.style.chart.legend.show ? (r(), I(Ee, {
|
|
409
431
|
key: 5,
|
|
410
432
|
legendSet: J.value,
|
|
411
|
-
config:
|
|
433
|
+
config: pe.value,
|
|
412
434
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
|
|
413
435
|
}, {
|
|
414
436
|
item: i(({ legend: l, index: o }) => [
|
|
415
|
-
|
|
437
|
+
x("div", {
|
|
416
438
|
onClick: (s) => W(l),
|
|
417
|
-
style:
|
|
439
|
+
style: L(`opacity:${c.value.includes(l.id) ? 0.5 : 1}`)
|
|
418
440
|
}, [
|
|
419
|
-
le(
|
|
420
|
-
|
|
421
|
-
|
|
441
|
+
le(E(l.name) + ": " + E(h(se)(
|
|
442
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
443
|
+
l.value,
|
|
444
|
+
h(k)({
|
|
445
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
446
|
+
v: l.value,
|
|
447
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
448
|
+
r: e.value.style.chart.legend.roundingValue
|
|
449
|
+
}),
|
|
450
|
+
{ datapoint: l, seriesIndex: o }
|
|
451
|
+
)) + " ", 1),
|
|
452
|
+
c.value.includes(l.id) ? (r(), u("span", tt, " ( - % ) ")) : (r(), u("span", et, " (" + E(isNaN(l.value / f.value) ? "-" : h(k)({
|
|
453
|
+
v: l.value / f.value * 100,
|
|
454
|
+
s: "%",
|
|
455
|
+
r: e.value.style.chart.legend.roundingPercentage
|
|
456
|
+
})) + ") ", 1))
|
|
457
|
+
], 12, Ze)
|
|
422
458
|
]),
|
|
423
459
|
_: 1
|
|
424
460
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
425
|
-
|
|
426
|
-
A(
|
|
427
|
-
show: b.value.showTooltip &&
|
|
461
|
+
y(t.$slots, "legend", { legend: J.value }, void 0, !0),
|
|
462
|
+
A(Ge, {
|
|
463
|
+
show: b.value.showTooltip && V.value,
|
|
428
464
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
429
465
|
color: e.value.style.chart.tooltip.color,
|
|
430
466
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -434,19 +470,19 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
434
470
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
435
471
|
position: e.value.style.chart.tooltip.position,
|
|
436
472
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
437
|
-
parent:
|
|
438
|
-
content:
|
|
439
|
-
isCustom:
|
|
473
|
+
parent: G.value,
|
|
474
|
+
content: B.value,
|
|
475
|
+
isCustom: h(re)(e.value.style.chart.tooltip.customFormat)
|
|
440
476
|
}, {
|
|
441
477
|
"tooltip-before": i(() => [
|
|
442
|
-
|
|
478
|
+
y(t.$slots, "tooltip-before", F(O({ ...z.value })), void 0, !0)
|
|
443
479
|
]),
|
|
444
480
|
"tooltip-after": i(() => [
|
|
445
|
-
|
|
481
|
+
y(t.$slots, "tooltip-after", F(O({ ...z.value })), void 0, !0)
|
|
446
482
|
]),
|
|
447
483
|
_: 3
|
|
448
484
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
449
|
-
|
|
485
|
+
P.value ? (r(), I(ze, {
|
|
450
486
|
key: 6,
|
|
451
487
|
hideDetails: "",
|
|
452
488
|
config: {
|
|
@@ -463,31 +499,31 @@ const Ae = ["id"], He = ["xmlns", "viewBox"], Ue = ["id"], Xe = ["stdDeviation"]
|
|
|
463
499
|
}
|
|
464
500
|
}, {
|
|
465
501
|
content: i(() => [
|
|
466
|
-
A(
|
|
467
|
-
colNames:
|
|
468
|
-
head:
|
|
469
|
-
body:
|
|
470
|
-
config:
|
|
502
|
+
A(Ve, {
|
|
503
|
+
colNames: N.value.colNames,
|
|
504
|
+
head: N.value.head,
|
|
505
|
+
body: N.value.body,
|
|
506
|
+
config: N.value.config,
|
|
471
507
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
472
508
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
473
509
|
}, {
|
|
474
510
|
th: i(({ th: l }) => [
|
|
475
|
-
|
|
511
|
+
x("div", {
|
|
476
512
|
innerHTML: l,
|
|
477
513
|
style: { display: "flex", "align-items": "center" }
|
|
478
|
-
}, null, 8,
|
|
514
|
+
}, null, 8, lt)
|
|
479
515
|
]),
|
|
480
516
|
td: i(({ td: l }) => [
|
|
481
|
-
le(
|
|
517
|
+
le(E(l.name || l), 1)
|
|
482
518
|
]),
|
|
483
519
|
_: 1
|
|
484
520
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
485
521
|
]),
|
|
486
522
|
_: 1
|
|
487
523
|
}, 8, ["config"])) : d("", !0)
|
|
488
|
-
], 14,
|
|
524
|
+
], 14, He));
|
|
489
525
|
}
|
|
490
|
-
},
|
|
526
|
+
}, gt = /* @__PURE__ */ Ae(at, [["__scopeId", "data-v-6f44b172"]]);
|
|
491
527
|
export {
|
|
492
|
-
|
|
528
|
+
gt as default
|
|
493
529
|
};
|