vue-data-ui 2.4.86 → 2.4.88
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-DpgbndsU.js → Arrow-D79KA6Cu.js} +1 -1
- package/dist/{Arrow-Bh7Ezbzf.cjs → Arrow-DMSM0MM1.cjs} +1 -1
- package/dist/{BaseIcon-CdPe2CAc.js → BaseIcon-B9BZgZsa.js} +1 -1
- package/dist/{BaseIcon-CaKclr1e.cjs → BaseIcon-CehmAXJH.cjs} +1 -1
- package/dist/{DataTable-BfiPjHpN.js → DataTable-Cnr3w23K.js} +2 -2
- package/dist/{DataTable-DuosyZ6d.cjs → DataTable-DVKGDaCB.cjs} +1 -1
- package/dist/{Legend-DiFDWEo2.js → Legend-Di7FMl12.js} +2 -2
- package/dist/{Legend-BnKYc6ZY.cjs → Legend-Uv0t6PIz.cjs} +1 -1
- package/dist/{PackageVersion-qom4AEUr.js → PackageVersion-BAKTtSRE.js} +1 -1
- package/dist/{PackageVersion-B5rBHZEb.cjs → PackageVersion-BgKxrHv-.cjs} +1 -1
- package/dist/{PenAndPaper-C-1AU46J.js → PenAndPaper-BUzmu0vi.js} +3 -3
- package/dist/{PenAndPaper-5OV7IAca.cjs → PenAndPaper-BYVZ33fz.cjs} +1 -1
- package/dist/{Shape-CmsIulaS.cjs → Shape-CNuTafzS.cjs} +1 -1
- package/dist/{Shape-Dmv7nCLC.js → Shape-DZz__S1P.js} +1 -1
- package/dist/{Slicer-CmBt4xoj.cjs → Slicer-BSQa-Zel.cjs} +1 -1
- package/dist/{Slicer-D4ugcR39.js → Slicer-Clpv-EOL.js} +2 -2
- package/dist/{Title-D3kX1BVl.cjs → Title-DcTKT_WK.cjs} +1 -1
- package/dist/{Title-ClQ27HaB.js → Title-Dt5mC-vb.js} +1 -1
- package/dist/{Tooltip-CGYgJoPR.js → Tooltip-CmKYX0H1.js} +1 -1
- package/dist/{Tooltip-CARCyQNT.cjs → Tooltip-y6Z9yhlE.cjs} +1 -1
- package/dist/{index-CXx0JV8R.js → index-DCHLGNvJ.js} +1 -1
- package/dist/{index-DqxDpUy0.cjs → index-xEXHnOtJ.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useNestedProp-B-WAbP7E.js → useNestedProp-BPR7xHxr.js} +1 -1
- package/dist/{useNestedProp-DNWKDmdP.cjs → useNestedProp-LNEDZsGq.cjs} +1 -1
- package/dist/{usePrinter-Ctor1UK0.js → usePrinter-BvounINk.js} +1 -1
- package/dist/{usePrinter-BC7U4s0U.cjs → usePrinter-CjQvMB0_.cjs} +1 -1
- package/dist/{vue-data-ui-BpAZx3Va.js → vue-data-ui-BCZFdeNf.js} +60 -60
- package/dist/{vue-data-ui-DkgWwqtw.cjs → vue-data-ui-eNIOCbja.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-1A6t1biQ.js → vue-ui-3d-bar-B0ZLxzL-.js} +38 -38
- package/dist/{vue-ui-3d-bar-ngD35pLb.cjs → vue-ui-3d-bar-DEZhX6d1.cjs} +11 -11
- package/dist/{vue-ui-accordion-XAEm2rxj.cjs → vue-ui-accordion-2c1jq56U.cjs} +1 -1
- package/dist/{vue-ui-accordion-BljYKOXR.js → vue-ui-accordion-DEpeQHhr.js} +3 -3
- package/dist/vue-ui-age-pyramid-DlE41fIs.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-qfVpUr52.js → vue-ui-age-pyramid-dewoEG3y.js} +29 -29
- package/dist/{vue-ui-annotator-pFybuGix.cjs → vue-ui-annotator-CG6CV-7_.cjs} +1 -1
- package/dist/{vue-ui-annotator-CH9QWqAv.js → vue-ui-annotator-D9op3RMK.js} +1 -1
- package/dist/{vue-ui-bullet-BH7zmX0E.js → vue-ui-bullet-B6tijZFI.js} +8 -8
- package/dist/{vue-ui-bullet-C6y7Ddg-.cjs → vue-ui-bullet-Bt_2KhaH.cjs} +1 -1
- package/dist/{vue-ui-candlestick-RCtFAjEU.js → vue-ui-candlestick-B4DkRibE.js} +48 -48
- package/dist/{vue-ui-candlestick-DtCmxeo5.cjs → vue-ui-candlestick-DWDz2nFA.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BUL063mi.js → vue-ui-carousel-table-COAPDtuP.js} +4 -4
- package/dist/{vue-ui-carousel-table-BeDenKJo.cjs → vue-ui-carousel-table-DZlh-CRi.cjs} +1 -1
- package/dist/{vue-ui-chestnut-xDD_4bz2.js → vue-ui-chestnut-DCk2Zbcz.js} +29 -29
- package/dist/{vue-ui-chestnut-B6EalNLT.cjs → vue-ui-chestnut-EyoKonrW.cjs} +2 -2
- package/dist/{vue-ui-cursor-DbV0HXHB.cjs → vue-ui-cursor-DR8hHWf7.cjs} +1 -1
- package/dist/{vue-ui-cursor-D6Qndjnn.js → vue-ui-cursor-DSP_sXww.js} +2 -2
- package/dist/{vue-ui-dashboard-B_kj8L_A.cjs → vue-ui-dashboard-BJsyMU6X.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_4ot4bz.js → vue-ui-dashboard-BizVZE7w.js} +2 -2
- package/dist/{vue-ui-digits-BLI4lCZC.js → vue-ui-digits-BvVZ7uDf.js} +2 -2
- package/dist/{vue-ui-digits-DKs2fTGz.cjs → vue-ui-digits-vspu86yU.cjs} +1 -1
- package/dist/vue-ui-donut-BHJF4z2B.cjs +1 -0
- package/dist/{vue-ui-donut-wBZoPkru.js → vue-ui-donut-aFsq1d8c.js} +76 -76
- package/dist/{vue-ui-donut-evolution-ClOGDHiK.js → vue-ui-donut-evolution-BfS2WdBU.js} +66 -66
- package/dist/vue-ui-donut-evolution-DwVP-Zjn.cjs +1 -0
- package/dist/{vue-ui-dumbbell-PR9tHMvD.js → vue-ui-dumbbell-Bb5wHbQL.js} +28 -28
- package/dist/vue-ui-dumbbell-Bi-2LGtG.cjs +9 -0
- package/dist/{vue-ui-flow-CxW8g0NW.js → vue-ui-flow-DxNNh-WO.js} +31 -31
- package/dist/vue-ui-flow-RQWHqn22.cjs +1 -0
- package/dist/vue-ui-funnel-D-892HTK.cjs +1 -0
- package/dist/{vue-ui-funnel-BJNlWIq5.js → vue-ui-funnel-IVTzcHVm.js} +32 -32
- package/dist/{vue-ui-galaxy-DuGLDGzf.js → vue-ui-galaxy-039pCZpW.js} +81 -81
- package/dist/vue-ui-galaxy-BR-8c9Hn.cjs +1 -0
- package/dist/{vue-ui-gauge-Dpcxdegh.cjs → vue-ui-gauge-B4k-bq9l.cjs} +1 -1
- package/dist/{vue-ui-gauge-CBx84KCt.js → vue-ui-gauge-ZEMVvV-t.js} +7 -7
- package/dist/{vue-ui-gizmo-Djw5T_Vr.cjs → vue-ui-gizmo--XG8-JLk.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BPIyNNkI.js → vue-ui-gizmo-DKzAWnI0.js} +3 -3
- package/dist/vue-ui-heatmap-Bia0Ekaw.cjs +1 -0
- package/dist/{vue-ui-heatmap-DI8gVwfM.js → vue-ui-heatmap-DXDpQL6T.js} +63 -63
- package/dist/vue-ui-history-plot-Cq9ZWdDn.cjs +1 -0
- package/dist/{vue-ui-history-plot-CWfWMwqw.js → vue-ui-history-plot-o1WosOjA.js} +69 -69
- package/dist/{vue-ui-kpi-CBJZp-nE.js → vue-ui-kpi-B01FpRQ0.js} +3 -3
- package/dist/{vue-ui-kpi-BjGIj-IQ.cjs → vue-ui-kpi-lWq7fZr1.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DfeNWsJk.js → vue-ui-mini-loader-DLUYnvwS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Cafts_cp.cjs → vue-ui-mini-loader-jkxJpHFv.cjs} +1 -1
- package/dist/vue-ui-molecule-BBK9ofPv.cjs +1 -0
- package/dist/{vue-ui-molecule-BTO5WRuL.js → vue-ui-molecule-DyiuRZQM.js} +155 -155
- package/dist/vue-ui-mood-radar-Bx32tbYB.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CKGwiCsd.js → vue-ui-mood-radar-DJI_fbFv.js} +33 -33
- package/dist/{vue-ui-nested-donuts-BvkJoiOT.cjs → vue-ui-nested-donuts-B6ZLkoIS.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-JGie_log.js → vue-ui-nested-donuts-B9gUqMTf.js} +147 -147
- package/dist/{vue-ui-onion-BWoVr0FT.cjs → vue-ui-onion-BnLW3as9.cjs} +2 -2
- package/dist/{vue-ui-onion-BXauNEVz.js → vue-ui-onion-D-OxG00N.js} +44 -44
- package/dist/{vue-ui-parallel-coordinate-plot-njogPtYo.js → vue-ui-parallel-coordinate-plot-DXc-b6rP.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-BrvB0jer.cjs → vue-ui-parallel-coordinate-plot-wx4e_yuu.cjs} +3 -3
- package/dist/vue-ui-quadrant-BqaLRYQp.cjs +1 -0
- package/dist/{vue-ui-quadrant-DnaOzxMc.js → vue-ui-quadrant-bakb0497.js} +108 -108
- package/dist/vue-ui-quick-chart-BZdsiGCz.cjs +15 -0
- package/dist/{vue-ui-quick-chart-kAG9Eaxb.js → vue-ui-quick-chart-BnH7-lmq.js} +212 -212
- package/dist/vue-ui-radar-D5IDgzwd.cjs +1 -0
- package/dist/{vue-ui-radar-DRmP5yb4.js → vue-ui-radar-DadvgLtC.js} +107 -107
- package/dist/{vue-ui-rating-BtLDJSwm.cjs → vue-ui-rating-B4yxkddt.cjs} +1 -1
- package/dist/{vue-ui-rating-De5IfgHJ.js → vue-ui-rating-CGojWinU.js} +2 -2
- package/dist/{vue-ui-relation-circle-DKQl7eWX.js → vue-ui-relation-circle-COC07h_K.js} +7 -7
- package/dist/{vue-ui-relation-circle-B2l-2KnH.cjs → vue-ui-relation-circle-rmWirv-5.cjs} +1 -1
- package/dist/{vue-ui-rings-Dwyz2fEm.js → vue-ui-rings-CMk-sVvK.js} +66 -66
- package/dist/{vue-ui-rings-KQoMkv4v.cjs → vue-ui-rings-DO1cN4ly.cjs} +2 -2
- package/dist/vue-ui-scatter-C4QmHmq2.cjs +1 -0
- package/dist/{vue-ui-scatter-DeOrkD2Y.js → vue-ui-scatter-CPkly4JA.js} +85 -85
- package/dist/{vue-ui-screenshot-BLp1_Q6K.cjs → vue-ui-screenshot-BxFOMLiy.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D1Ekbb27.js → vue-ui-screenshot-CzFhpFE4.js} +1 -1
- package/dist/{vue-ui-skeleton-qIxxRRaX.cjs → vue-ui-skeleton-Tse1D8cv.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Cw0-Ac_0.js → vue-ui-skeleton-nTL-u4Yd.js} +3 -3
- package/dist/{vue-ui-smiley-D3oqt6Rg.js → vue-ui-smiley-Bu3bOukI.js} +2 -2
- package/dist/{vue-ui-smiley-D3WgXFhb.cjs → vue-ui-smiley-D-sS-77y.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DyhcWMWz.js → vue-ui-spark-trend-Bh5gFFQf.js} +5 -5
- package/dist/{vue-ui-spark-trend-CVyPm6ms.cjs → vue-ui-spark-trend-CF36oite.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CRMMOv0T.cjs → vue-ui-sparkbar-CGIYeFjB.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C0av7SAn.js → vue-ui-sparkbar-DX2xrwR9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B3K4si6u.js → vue-ui-sparkgauge-CZ837K-0.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BQnxP_8u.cjs → vue-ui-sparkgauge-D2NJVKww.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bo3pkA-I.js → vue-ui-sparkhistogram-2NcpXt-_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DVAas7L7.cjs → vue-ui-sparkhistogram-DIYvXyIB.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CDqFBaPU.cjs → vue-ui-sparkline-BIj5WMUM.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DIHKGu0H.js → vue-ui-sparkline-CuBFi324.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CC-OaMTb.cjs → vue-ui-sparkstackbar-BvcGQqmi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DG87wFd5.js → vue-ui-sparkstackbar-bqD9-qmQ.js} +5 -5
- package/dist/{vue-ui-stackbar-fZKaRitE.js → vue-ui-stackbar-BG0olJr0.js} +51 -51
- package/dist/{vue-ui-stackbar-CVHKHNom.cjs → vue-ui-stackbar-Cbk-PfOC.cjs} +3 -3
- package/dist/vue-ui-strip-plot-Dm2ctnIx.cjs +1 -0
- package/dist/{vue-ui-strip-plot-WOMaN28I.js → vue-ui-strip-plot-mNsmytzE.js} +118 -118
- package/dist/{vue-ui-table-CTtYDZPd.cjs → vue-ui-table-BwuSG-oE.cjs} +1 -1
- package/dist/{vue-ui-table-a4m3lpRq.js → vue-ui-table-C8_8TJ2H.js} +1 -1
- package/dist/{vue-ui-table-heatmap-0vDMKYpV.js → vue-ui-table-heatmap-Bakns13v.js} +4 -4
- package/dist/{vue-ui-table-heatmap-i00aBLPq.cjs → vue-ui-table-heatmap-ZfohVD71.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DW7t3xfB.cjs → vue-ui-table-sparkline-CC5hpyGe.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D5lngzCM.js → vue-ui-table-sparkline-Du93NBKM.js} +5 -5
- package/dist/{vue-ui-thermometer-QtlVD4-S.cjs → vue-ui-thermometer-Cbe7bVeq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-3aeRI-SM.js → vue-ui-thermometer-DZeTxVGM.js} +7 -7
- package/dist/{vue-ui-timer-B1nkj0WG.cjs → vue-ui-timer-B-guKc3A.cjs} +1 -1
- package/dist/{vue-ui-timer-mRaLpRHZ.js → vue-ui-timer-BwNbaMti.js} +5 -5
- package/dist/{vue-ui-tiremarks-xMuvEsN7.cjs → vue-ui-tiremarks-DNtBCjbs.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Dv2O6FpS.js → vue-ui-tiremarks-sCXXGXiN.js} +7 -7
- package/dist/{vue-ui-treemap-D89aQanB.js → vue-ui-treemap-BQoajav9.js} +108 -108
- package/dist/vue-ui-treemap-CH_qGgmb.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-BpLIp4qR.js → vue-ui-vertical-bar-LWxKcXEf.js} +54 -54
- package/dist/{vue-ui-vertical-bar-CwHag6jq.cjs → vue-ui-vertical-bar-ytpJJBqm.cjs} +3 -3
- package/dist/vue-ui-waffle-CvHppO8v.cjs +1 -0
- package/dist/{vue-ui-waffle-sr2mWvpN.js → vue-ui-waffle-q-CgTerF.js} +99 -99
- package/dist/{vue-ui-wheel-C0KYRHGC.cjs → vue-ui-wheel-BoXkxGeh.cjs} +1 -1
- package/dist/{vue-ui-wheel-B7DOHXW8.js → vue-ui-wheel-CPHOwOzy.js} +7 -7
- package/dist/{vue-ui-word-cloud-BxMb7oCr.js → vue-ui-word-cloud-BargS03s.js} +81 -81
- package/dist/vue-ui-word-cloud-DFL3e0A2.cjs +1 -0
- package/dist/{vue-ui-xy-D5ROTNHD.cjs → vue-ui-xy-CgIp7caN.cjs} +2 -2
- package/dist/{vue-ui-xy-DlyUTKB5.js → vue-ui-xy-DC5y2PjZ.js} +24 -16
- package/dist/{vue-ui-xy-canvas-DHvkJKQH.js → vue-ui-xy-canvas-B4mqwnlS.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BDMk6XVE.cjs → vue-ui-xy-canvas-D1jemBXQ.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +0 -1
- package/dist/vue-ui-donut-B1Cg4vpI.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CgB_aexh.cjs +0 -1
- package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +0 -9
- package/dist/vue-ui-flow-CIkXePxd.cjs +0 -1
- package/dist/vue-ui-funnel-BLXk1z5r.cjs +0 -1
- package/dist/vue-ui-galaxy-C01Apc4E.cjs +0 -1
- package/dist/vue-ui-heatmap-DYPE1Efx.cjs +0 -1
- package/dist/vue-ui-history-plot-BeYYrq5_.cjs +0 -1
- package/dist/vue-ui-molecule-Ckh2JsOJ.cjs +0 -1
- package/dist/vue-ui-mood-radar-WHFk1KC1.cjs +0 -1
- package/dist/vue-ui-quadrant-D8krEYWV.cjs +0 -1
- package/dist/vue-ui-quick-chart-DTiell5S.cjs +0 -15
- package/dist/vue-ui-radar-DKB9rVav.cjs +0 -1
- package/dist/vue-ui-scatter-CDT3zyXP.cjs +0 -1
- package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +0 -1
- package/dist/vue-ui-treemap-BupfwSFa.cjs +0 -1
- package/dist/vue-ui-waffle-DuPI0NV4.cjs +0 -1
- package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCssVars as _e, computed as v, onMounted as Le, ref as c, watch as Te, openBlock as s, createElementBlock as u, normalizeClass as T, normalizeStyle as x, unref as r, createBlock as A, createCommentVNode as f, createSlots as Ae, withCtx as k, renderSlot as y, normalizeProps as H, guardReactiveProps as X, createVNode as Ne, createElementVNode as C, mergeProps as q, Fragment as M, renderList as V, toDisplayString as B, createTextVNode as Oe, nextTick as ze } from "vue";
|
|
2
|
-
import { u as Se, o as Pe, e as fe, g as Fe, c as De, d as Ie, l as Me, i as U, f as E, X as Ve, G as Be, t as Ue, q as Ee, r as Ge, F as Y } from "./index-
|
|
3
|
-
import { u as be } from "./useNestedProp-
|
|
4
|
-
import { u as Re, U as je } from "./usePrinter-
|
|
5
|
-
import { _ as He } from "./Title-
|
|
6
|
-
import { P as Xe } from "./PenAndPaper-
|
|
7
|
-
import { D as qe } from "./DataTable-
|
|
8
|
-
import Ye from "./vue-ui-accordion-
|
|
2
|
+
import { u as Se, o as Pe, e as fe, g as Fe, c as De, d as Ie, l as Me, i as U, f as E, X as Ve, G as Be, t as Ue, q as Ee, r as Ge, F as Y } from "./index-DCHLGNvJ.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-BPR7xHxr.js";
|
|
4
|
+
import { u as Re, U as je } from "./usePrinter-BvounINk.js";
|
|
5
|
+
import { _ as He } from "./Title-Dt5mC-vb.js";
|
|
6
|
+
import { P as Xe } from "./PenAndPaper-BUzmu0vi.js";
|
|
7
|
+
import { D as qe } from "./DataTable-Cnr3w23K.js";
|
|
8
|
+
import Ye from "./vue-ui-accordion-DEpeQHhr.js";
|
|
9
9
|
import { t as We, u as Je } from "./useResponsive-CoxXLe23.js";
|
|
10
|
-
import Ke from "./vue-ui-skeleton-
|
|
10
|
+
import Ke from "./vue-ui-skeleton-nTL-u4Yd.js";
|
|
11
11
|
import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
-
import { _ as Ze } from "./PackageVersion-
|
|
12
|
+
import { _ as Ze } from "./PackageVersion-BAKTtSRE.js";
|
|
13
13
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["id"], ot = ["stop-color"], nt = ["stop-color"], rt = ["stop-color"], ut = ["stroke", "stroke-width"], it = ["stroke", "stroke-width"], ct = ["x", "y", "font-size", "fill", "font-weight"], vt = ["points", "fill"], dt = ["stroke", "stroke-width", "rx"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "font-size", "fill", "font-weight"], bt = {
|
|
15
15
|
key: 5,
|
|
@@ -33,7 +33,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
33
33
|
setup(me, { expose: ye }) {
|
|
34
34
|
const m = me;
|
|
35
35
|
_e((t) => ({
|
|
36
|
-
"
|
|
36
|
+
"74a8ef65": $e.value
|
|
37
37
|
}));
|
|
38
38
|
const { vue_ui_funnel: ge } = Se(), _ = v(() => !!m.dataset && m.dataset.length);
|
|
39
39
|
Le(W);
|
|
@@ -104,12 +104,12 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
104
104
|
set: (t) => t
|
|
105
105
|
}), { userOptionsVisible: G, setUserOptionsVisibility: se, keepUserOptionState: oe } = Qe({ config: e.value });
|
|
106
106
|
Te(() => m.config, (t) => {
|
|
107
|
-
e.value = le(), G.value = !e.value.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize;
|
|
107
|
+
e.value = le(), G.value = !e.value.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, z.value.showTable = e.value.table.show;
|
|
108
108
|
}, { deep: !0 });
|
|
109
109
|
const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = Re({
|
|
110
110
|
elementId: `funnel_${O.value}`,
|
|
111
111
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel"
|
|
112
|
-
}), pe = v(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
112
|
+
}), pe = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), z = c({
|
|
113
113
|
showTable: e.value.table.show
|
|
114
114
|
}), d = c({
|
|
115
115
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
@@ -162,18 +162,18 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
162
162
|
y1: o.value[0].cy,
|
|
163
163
|
x2: o.value.at(-1).cx,
|
|
164
164
|
y2: o.value.at(-1).cy
|
|
165
|
-
})),
|
|
165
|
+
})), S = c(!1);
|
|
166
166
|
function we(t) {
|
|
167
|
-
|
|
167
|
+
S.value = t, J.value += 1;
|
|
168
168
|
}
|
|
169
169
|
const $e = v(() => `${g.value.length * 150}ms`), D = c(!1);
|
|
170
170
|
function R() {
|
|
171
171
|
D.value = !D.value;
|
|
172
172
|
}
|
|
173
173
|
function de() {
|
|
174
|
-
|
|
174
|
+
z.value.showTable = !z.value.showTable;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
176
|
+
const P = v(() => {
|
|
177
177
|
const t = g.value.map((a) => ({
|
|
178
178
|
name: a.name,
|
|
179
179
|
color: a.color
|
|
@@ -184,13 +184,13 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
184
184
|
e.value.table.columnNames.series,
|
|
185
185
|
e.value.table.columnNames.value,
|
|
186
186
|
e.value.table.columnNames.percentage
|
|
187
|
-
], l =
|
|
188
|
-
const
|
|
187
|
+
], l = P.value.head.map((b, h) => {
|
|
188
|
+
const F = U(
|
|
189
189
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
190
|
-
|
|
190
|
+
P.value.body[h],
|
|
191
191
|
E({
|
|
192
192
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
193
|
-
v:
|
|
193
|
+
v: P.value.body[h],
|
|
194
194
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
195
195
|
r: e.value.table.td.roundingValue
|
|
196
196
|
}),
|
|
@@ -207,7 +207,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
207
207
|
);
|
|
208
208
|
return [
|
|
209
209
|
{ color: b.color, name: b.name },
|
|
210
|
-
|
|
210
|
+
F,
|
|
211
211
|
j
|
|
212
212
|
];
|
|
213
213
|
}), a = {
|
|
@@ -236,9 +236,9 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
236
236
|
});
|
|
237
237
|
function he() {
|
|
238
238
|
ze(() => {
|
|
239
|
-
const t =
|
|
239
|
+
const t = P.value.head.map((n, b) => [[
|
|
240
240
|
n.name
|
|
241
|
-
], [
|
|
241
|
+
], [P.value.body[b]], [o.value[b].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Ee(l);
|
|
242
242
|
Ge({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -255,7 +255,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
255
255
|
}), (t, l) => (s(), u("div", {
|
|
256
256
|
ref_key: "funnelChart",
|
|
257
257
|
ref: N,
|
|
258
|
-
class: T(`vue-ui-funnel ${
|
|
258
|
+
class: T(`vue-ui-funnel ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
259
259
|
style: x(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
260
260
|
id: `funnel_${O.value}`,
|
|
261
261
|
onMouseenter: l[1] || (l[1] = () => r(se)(!0)),
|
|
@@ -311,7 +311,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
311
311
|
hasTable: e.value.userOptions.buttons.table,
|
|
312
312
|
hasLabel: !1,
|
|
313
313
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
314
|
-
isFullscreen:
|
|
314
|
+
isFullscreen: S.value,
|
|
315
315
|
chartElement: N.value,
|
|
316
316
|
position: e.value.userOptions.position,
|
|
317
317
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -373,7 +373,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
373
373
|
_.value ? (s(), u("svg", {
|
|
374
374
|
key: 4,
|
|
375
375
|
xmlns: r(Ve),
|
|
376
|
-
class: T({ "vue-data-ui-fullscreen--on":
|
|
376
|
+
class: T({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
377
377
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
378
378
|
style: x(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
379
379
|
}, [
|
|
@@ -425,14 +425,14 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
425
425
|
strokeDashoffset: e.value.useCssAnimation ? p.value.height : 0
|
|
426
426
|
}
|
|
427
427
|
}), null, 16, ut)) : f("", !0),
|
|
428
|
-
(s(!0), u(M, null, V(o.value, ({ cx: a, cy: n, r: b, fill: h },
|
|
428
|
+
(s(!0), u(M, null, V(o.value, ({ cx: a, cy: n, r: b, fill: h }, F) => (s(), u("circle", q({ cx: a, cy: n, r: b, fill: h }, {
|
|
429
429
|
stroke: e.value.style.chart.circles.stroke,
|
|
430
430
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
431
431
|
class: {
|
|
432
432
|
animated: e.value.useCssAnimation && !w.value
|
|
433
433
|
},
|
|
434
434
|
style: {
|
|
435
|
-
animationDelay: `${150 *
|
|
435
|
+
animationDelay: `${150 * F}ms`
|
|
436
436
|
}
|
|
437
437
|
}), null, 16, it))), 256)),
|
|
438
438
|
(s(!0), u(M, null, V(o.value, (a, n) => (s(), u("text", {
|
|
@@ -469,7 +469,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
469
469
|
transition: e.value.useCssAnimation ? `all ${150 * g.value.length}ms ease-in` : "none"
|
|
470
470
|
})
|
|
471
471
|
}, null, 14, vt)) : f("", !0),
|
|
472
|
-
(s(!0), u(M, null, V(o.value, ({ x: a, y: n, height: b, width: h, fill:
|
|
472
|
+
(s(!0), u(M, null, V(o.value, ({ x: a, y: n, height: b, width: h, fill: F }, j) => (s(), u("rect", q({ x: a, y: n, height: b, width: h, fill: F }, {
|
|
473
473
|
stroke: e.value.style.chart.bars.stroke,
|
|
474
474
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
475
475
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -552,7 +552,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
552
552
|
key: 8,
|
|
553
553
|
hideDetails: "",
|
|
554
554
|
config: {
|
|
555
|
-
open:
|
|
555
|
+
open: z.value.showTable,
|
|
556
556
|
maxHeight: 1e4,
|
|
557
557
|
body: {
|
|
558
558
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -572,7 +572,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
572
572
|
body: I.value.body,
|
|
573
573
|
config: I.value.config,
|
|
574
574
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
575
|
-
onClose: l[0] || (l[0] = (a) =>
|
|
575
|
+
onClose: l[0] || (l[0] = (a) => z.value.showTable = !1)
|
|
576
576
|
}, {
|
|
577
577
|
th: k(({ th: a }) => [
|
|
578
578
|
C("div", {
|
|
@@ -590,7 +590,7 @@ const tt = ["id"], at = ["xmlns", "viewBox"], lt = ["width", "height"], st = ["i
|
|
|
590
590
|
}, 8, ["config"])) : f("", !0)
|
|
591
591
|
], 46, tt));
|
|
592
592
|
}
|
|
593
|
-
}, zt = /* @__PURE__ */ et(yt, [["__scopeId", "data-v-
|
|
593
|
+
}, zt = /* @__PURE__ */ et(yt, [["__scopeId", "data-v-da7323e3"]]);
|
|
594
594
|
export {
|
|
595
595
|
zt as default
|
|
596
596
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as n, normalizeClass as E, normalizeStyle as V, unref as i, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as d, renderSlot as v, normalizeProps as O, guardReactiveProps as N, createVNode as ie, createElementVNode as
|
|
2
|
-
import { u as Ee, o as Ve, e as he, g as Me, c as pe, t as De, a as Be, p as D, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as ge, x as fe, y as He, q as Xe, r as je } from "./index-
|
|
3
|
-
import { L as Re } from "./Legend-
|
|
4
|
-
import { _ as Ye } from "./Title-
|
|
5
|
-
import { _ as qe } from "./Tooltip-
|
|
6
|
-
import { D as Je } from "./DataTable-
|
|
7
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
8
|
-
import Ze from "./vue-ui-skeleton-
|
|
9
|
-
import et from "./vue-ui-accordion-
|
|
10
|
-
import { u as be } from "./useNestedProp-
|
|
11
|
-
import { _ as tt } from "./PackageVersion-
|
|
12
|
-
import { P as lt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as n, normalizeClass as E, normalizeStyle as V, unref as i, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as d, renderSlot as v, normalizeProps as O, guardReactiveProps as N, createVNode as ie, createElementVNode as T, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as M, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as Ee, o as Ve, e as he, g as Me, c as pe, t as De, a as Be, p as D, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as ge, x as fe, y as He, q as Xe, r as je } from "./index-DCHLGNvJ.js";
|
|
3
|
+
import { L as Re } from "./Legend-Di7FMl12.js";
|
|
4
|
+
import { _ as Ye } from "./Title-Dt5mC-vb.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-CmKYX0H1.js";
|
|
6
|
+
import { D as Je } from "./DataTable-Cnr3w23K.js";
|
|
7
|
+
import { u as Ke, U as Qe } from "./usePrinter-BvounINk.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-nTL-u4Yd.js";
|
|
9
|
+
import et from "./vue-ui-accordion-DEpeQHhr.js";
|
|
10
|
+
import { u as be } from "./useNestedProp-BPR7xHxr.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-BAKTtSRE.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-BUzmu0vi.js";
|
|
13
13
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const st = ["id"], rt = {
|
|
@@ -23,11 +23,11 @@ const st = ["id"], rt = {
|
|
|
23
23
|
}, nt = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stdDeviation"], dt = ["d", "stroke", "stroke-width"], ht = ["d", "stroke", "stroke-width"], pt = ["filter"], yt = ["d", "stroke", "stroke-width"], gt = ["d", "stroke-width", "onMouseenter", "onClick"], ft = {
|
|
24
24
|
key: 5,
|
|
25
25
|
class: "vue-data-ui-watermark"
|
|
26
|
-
}, bt = ["onClick"], mt = { key: 0 }, kt = { key: 1 },
|
|
26
|
+
}, bt = ["onClick"], mt = { key: 0 }, kt = { key: 1 }, wt = {
|
|
27
27
|
key: 8,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, Ct = ["innerHTML"], $t = {
|
|
31
31
|
__name: "vue-ui-galaxy",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -45,15 +45,15 @@ const st = ["id"], rt = {
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
47
|
setup(me, { expose: ke, emit: X }) {
|
|
48
|
-
const
|
|
48
|
+
const g = me, { vue_ui_galaxy: we } = Ee(), L = h(() => !!g.dataset && g.dataset.length);
|
|
49
49
|
Le(() => {
|
|
50
50
|
j();
|
|
51
51
|
});
|
|
52
52
|
function j() {
|
|
53
|
-
Ve(
|
|
53
|
+
Ve(g.dataset) ? he({
|
|
54
54
|
componentName: "VueUiGalaxy",
|
|
55
55
|
type: "dataset"
|
|
56
|
-
}) :
|
|
56
|
+
}) : g.dataset.forEach((t, a) => {
|
|
57
57
|
Me({
|
|
58
58
|
datasetObject: t,
|
|
59
59
|
requiredAttributes: ["name", "values"]
|
|
@@ -67,30 +67,30 @@ const st = ["id"], rt = {
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
const
|
|
70
|
+
const _ = u(pe()), F = u(null), Ce = u(null), B = u(!1), G = u(""), f = u(null), R = u(0), Y = u(0), q = u(0), J = u(0), e = h({
|
|
71
71
|
get: () => Z(),
|
|
72
72
|
set: (t) => t
|
|
73
73
|
}), { userOptionsVisible: z, setUserOptionsVisibility: K, keepUserOptionState: Q } = at({ config: e.value });
|
|
74
74
|
function Z() {
|
|
75
75
|
const t = be({
|
|
76
|
-
userConfig:
|
|
77
|
-
defaultConfig:
|
|
76
|
+
userConfig: g.config,
|
|
77
|
+
defaultConfig: we
|
|
78
78
|
});
|
|
79
79
|
return t.theme ? {
|
|
80
80
|
...be({
|
|
81
|
-
userConfig: De.vue_ui_galaxy[t.theme] ||
|
|
81
|
+
userConfig: De.vue_ui_galaxy[t.theme] || g.config,
|
|
82
82
|
defaultConfig: t
|
|
83
83
|
}),
|
|
84
84
|
customPalette: Be[t.theme] || D
|
|
85
85
|
} : t;
|
|
86
86
|
}
|
|
87
|
-
Fe(() =>
|
|
88
|
-
e.value = Z(), z.value = !e.value.showOnChartHover, j(), Y.value += 1, q.value += 1, J.value += 1;
|
|
87
|
+
Fe(() => g.config, (t) => {
|
|
88
|
+
e.value = Z(), z.value = !e.value.showOnChartHover, j(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ke({
|
|
91
|
-
elementId: `galaxy_${
|
|
91
|
+
elementId: `galaxy_${_.value}`,
|
|
92
92
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
93
|
-
}), $e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = h(() => Ge(e.value.customPalette)),
|
|
93
|
+
}), $e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = h(() => Ge(e.value.customPalette)), p = u({
|
|
94
94
|
dataLabels: {
|
|
95
95
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
96
96
|
},
|
|
@@ -100,15 +100,15 @@ const st = ["id"], rt = {
|
|
|
100
100
|
height: 180,
|
|
101
101
|
// or 250 if non fibo
|
|
102
102
|
width: 250
|
|
103
|
-
}),
|
|
103
|
+
}), y = u([]);
|
|
104
104
|
function U(t) {
|
|
105
|
-
|
|
105
|
+
y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), X("selectLegend", S.value.map((a) => ({
|
|
106
106
|
name: a.name,
|
|
107
107
|
color: a.color,
|
|
108
108
|
value: a.value
|
|
109
109
|
})));
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const w = h(() => g.dataset.map((t, a) => ({
|
|
112
112
|
name: t.name,
|
|
113
113
|
color: ze(t.color) || xe.value[a] || D[a] || D[a % D.length],
|
|
114
114
|
value: t.values ? ye(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
@@ -116,23 +116,23 @@ const st = ["id"], rt = {
|
|
|
116
116
|
id: pe(),
|
|
117
117
|
seriesIndex: a
|
|
118
118
|
})).sort((t, a) => a.value - t.value));
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function Te() {
|
|
120
|
+
return w.value.map((t) => ({
|
|
121
121
|
name: t.name,
|
|
122
122
|
color: t.color,
|
|
123
123
|
value: t.value
|
|
124
124
|
}));
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const b = h(() => w.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), _e = u(190), oe = h(() => w.value.filter((t) => !y.value.includes(t.id))), S = h(() => {
|
|
127
127
|
const t = [];
|
|
128
128
|
for (let a = 0; a < oe.value.length; a += 1) {
|
|
129
129
|
const l = oe.value[a];
|
|
130
|
-
let s = l.value /
|
|
130
|
+
let s = l.value / b.value * _e.value;
|
|
131
131
|
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
132
132
|
points: s,
|
|
133
133
|
...l,
|
|
134
134
|
seriesIndex: a,
|
|
135
|
-
proportion: l.value /
|
|
135
|
+
proportion: l.value / b.value,
|
|
136
136
|
path: Ue({
|
|
137
137
|
points: s,
|
|
138
138
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
@@ -140,7 +140,7 @@ const st = ["id"], rt = {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
|
-
return t.filter((a, l) => !
|
|
143
|
+
return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
144
144
|
}), x = u(!1);
|
|
145
145
|
function Pe(t) {
|
|
146
146
|
x.value = t, R.value += 1;
|
|
@@ -150,20 +150,20 @@ const st = ["id"], rt = {
|
|
|
150
150
|
W.value = {
|
|
151
151
|
datapoint: t,
|
|
152
152
|
seriesIndex: l,
|
|
153
|
-
series:
|
|
153
|
+
series: w.value,
|
|
154
154
|
config: e.value
|
|
155
|
-
}, B.value = s,
|
|
155
|
+
}, B.value = s, f.value = t.id;
|
|
156
156
|
let r = "";
|
|
157
|
-
const
|
|
158
|
-
fe(
|
|
157
|
+
const C = e.value.style.chart.tooltip.customFormat;
|
|
158
|
+
fe(C) && He(() => C({
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
datapoint: t,
|
|
161
|
-
series:
|
|
161
|
+
series: w.value,
|
|
162
162
|
config: e.value
|
|
163
|
-
})) ? G.value =
|
|
163
|
+
})) ? G.value = C({
|
|
164
164
|
seriesIndex: l,
|
|
165
165
|
datapoint: t,
|
|
166
|
-
series:
|
|
166
|
+
series: w.value,
|
|
167
167
|
config: e.value
|
|
168
168
|
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${ge(
|
|
169
169
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -185,13 +185,13 @@ const st = ["id"], rt = {
|
|
|
185
185
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
186
186
|
})}</b></div>`), G.value = `<div>${r}</div>`);
|
|
187
187
|
}
|
|
188
|
-
const se = h(() =>
|
|
188
|
+
const se = h(() => w.value.map((t, a) => ({
|
|
189
189
|
...t,
|
|
190
|
-
proportion: (t.value || 0) /
|
|
191
|
-
opacity:
|
|
190
|
+
proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
|
|
191
|
+
opacity: y.value.includes(t.id) ? 0.5 : 1,
|
|
192
192
|
shape: t.shape || "circle",
|
|
193
193
|
segregate: () => U(t),
|
|
194
|
-
isSegregated:
|
|
194
|
+
isSegregated: y.value.includes(t.id)
|
|
195
195
|
}))), Oe = h(() => ({
|
|
196
196
|
cy: "galaxy-div-legend",
|
|
197
197
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -210,25 +210,25 @@ const st = ["id"], rt = {
|
|
|
210
210
|
Ae(() => {
|
|
211
211
|
const t = m.value.head.map((s, r) => [[
|
|
212
212
|
s.name
|
|
213
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] /
|
|
213
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / b.value) ? "-" : m.value.body[r] / b.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
|
|
214
214
|
je({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
const I = h(() => {
|
|
218
218
|
const t = [
|
|
219
219
|
' <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>',
|
|
220
|
-
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
220
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: b.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
221
221
|
"100%"
|
|
222
|
-
], a = m.value.head.map((r,
|
|
223
|
-
const Ne = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[
|
|
222
|
+
], a = m.value.head.map((r, C) => {
|
|
223
|
+
const Ne = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[C], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
224
224
|
return [
|
|
225
225
|
{
|
|
226
226
|
color: r.color,
|
|
227
227
|
name: r.name
|
|
228
228
|
},
|
|
229
229
|
Ne,
|
|
230
|
-
isNaN(m.value.body[
|
|
231
|
-
v: m.value.body[
|
|
230
|
+
isNaN(m.value.body[C] / b.value) ? "-" : k({
|
|
231
|
+
v: m.value.body[C] / b.value * 100,
|
|
232
232
|
s: "%",
|
|
233
233
|
r: e.value.table.td.roundingPercentage
|
|
234
234
|
})
|
|
@@ -258,17 +258,17 @@ const st = ["id"], rt = {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
function ue() {
|
|
261
|
-
|
|
261
|
+
p.value.showTable = !p.value.showTable;
|
|
262
262
|
}
|
|
263
263
|
function ne() {
|
|
264
|
-
|
|
264
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
265
265
|
}
|
|
266
266
|
const A = u(!1);
|
|
267
267
|
function H() {
|
|
268
268
|
A.value = !A.value;
|
|
269
269
|
}
|
|
270
270
|
return ke({
|
|
271
|
-
getData:
|
|
271
|
+
getData: Te,
|
|
272
272
|
generatePdf: le,
|
|
273
273
|
generateCsv: re,
|
|
274
274
|
generateImage: ae,
|
|
@@ -280,7 +280,7 @@ const st = ["id"], rt = {
|
|
|
280
280
|
ref: F,
|
|
281
281
|
class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
282
282
|
style: V(`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}`),
|
|
283
|
-
id: `galaxy_${
|
|
283
|
+
id: `galaxy_${_.value}`,
|
|
284
284
|
onMouseenter: a[3] || (a[3] = () => i(K)(!0)),
|
|
285
285
|
onMouseleave: a[4] || (a[4] = () => i(K)(!1))
|
|
286
286
|
}, [
|
|
@@ -310,20 +310,20 @@ const st = ["id"], rt = {
|
|
|
310
310
|
])) : c("", !0),
|
|
311
311
|
e.value.userOptions.show && L.value && (i(Q) || i(z)) ? (o(), $(Qe, {
|
|
312
312
|
ref_key: "details",
|
|
313
|
-
ref:
|
|
313
|
+
ref: Ce,
|
|
314
314
|
key: `user_option_${R.value}`,
|
|
315
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
316
316
|
color: e.value.style.chart.color,
|
|
317
317
|
isPrinting: i(ee),
|
|
318
318
|
isImaging: i(te),
|
|
319
|
-
uid:
|
|
319
|
+
uid: _.value,
|
|
320
320
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
321
321
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
322
322
|
hasXls: e.value.userOptions.buttons.csv,
|
|
323
323
|
hasImg: e.value.userOptions.buttons.img,
|
|
324
324
|
hasTable: e.value.userOptions.buttons.table,
|
|
325
325
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
326
|
-
isTooltip:
|
|
326
|
+
isTooltip: p.value.showTooltip,
|
|
327
327
|
isFullscreen: x.value,
|
|
328
328
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
329
329
|
chartElement: F.value,
|
|
@@ -411,15 +411,15 @@ const st = ["id"], rt = {
|
|
|
411
411
|
}, [
|
|
412
412
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
413
413
|
], 8, it)) : c("", !0),
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
id: `blur_${
|
|
414
|
+
T("defs", null, [
|
|
415
|
+
T("filter", {
|
|
416
|
+
id: `blur_${_.value}`,
|
|
417
417
|
x: "-50%",
|
|
418
418
|
y: "-50%",
|
|
419
419
|
width: "200%",
|
|
420
420
|
height: "200%"
|
|
421
421
|
}, [
|
|
422
|
-
|
|
422
|
+
T("feGaussianBlur", {
|
|
423
423
|
in: "SourceGraphic",
|
|
424
424
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
425
425
|
}, null, 8, vt)
|
|
@@ -431,7 +431,7 @@ const st = ["id"], rt = {
|
|
|
431
431
|
d: l.path,
|
|
432
432
|
fill: "none",
|
|
433
433
|
stroke: e.value.style.chart.backgroundColor,
|
|
434
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
434
|
+
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
435
435
|
"stroke-linecap": "round"
|
|
436
436
|
}, null, 8, dt)) : c("", !0),
|
|
437
437
|
l.value ? (o(), n("path", {
|
|
@@ -439,21 +439,21 @@ const st = ["id"], rt = {
|
|
|
439
439
|
d: l.path,
|
|
440
440
|
fill: "none",
|
|
441
441
|
stroke: l.color,
|
|
442
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
442
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
443
443
|
"stroke-linecap": "round",
|
|
444
|
-
class: E(`${
|
|
444
|
+
class: E(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
445
445
|
}, null, 10, ht)) : c("", !0),
|
|
446
446
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
|
|
447
447
|
key: 2,
|
|
448
|
-
filter: `url(#blur_${
|
|
448
|
+
filter: `url(#blur_${_.value})`
|
|
449
449
|
}, [
|
|
450
|
-
|
|
450
|
+
T("path", {
|
|
451
451
|
d: l.path,
|
|
452
452
|
fill: "none",
|
|
453
453
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
454
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
454
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
455
455
|
"stroke-linecap": "round",
|
|
456
|
-
class: E(`vue-ui-galaxy-gradient ${
|
|
456
|
+
class: E(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
457
457
|
}, null, 10, yt)
|
|
458
458
|
], 8, pt)) : c("", !0)
|
|
459
459
|
]))), 256)),
|
|
@@ -472,7 +472,7 @@ const st = ["id"], rt = {
|
|
|
472
472
|
show: !0
|
|
473
473
|
}),
|
|
474
474
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
475
|
-
B.value = !1,
|
|
475
|
+
B.value = !1, f.value = null;
|
|
476
476
|
}),
|
|
477
477
|
onClick: (r) => X("selectDatapoint", l)
|
|
478
478
|
}, null, 40, gt)) : c("", !0)
|
|
@@ -501,9 +501,9 @@ const st = ["id"], rt = {
|
|
|
501
501
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
502
502
|
}, {
|
|
503
503
|
item: d(({ legend: l, index: s }) => [
|
|
504
|
-
|
|
504
|
+
T("div", {
|
|
505
505
|
onClick: (r) => U(l),
|
|
506
|
-
style: V(`opacity:${
|
|
506
|
+
style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
507
507
|
}, [
|
|
508
508
|
de(M(l.name) + ": " + M(i(ge)(
|
|
509
509
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -516,8 +516,8 @@ const st = ["id"], rt = {
|
|
|
516
516
|
}),
|
|
517
517
|
{ datapoint: l, seriesIndex: s }
|
|
518
518
|
)) + " ", 1),
|
|
519
|
-
|
|
520
|
-
v: l.value /
|
|
519
|
+
y.value.includes(l.id) ? (o(), n("span", kt, " ( - % ) ")) : (o(), n("span", mt, " (" + M(isNaN(l.value / b.value) ? "-" : i(k)({
|
|
520
|
+
v: l.value / b.value * 100,
|
|
521
521
|
s: "%",
|
|
522
522
|
r: e.value.style.chart.legend.roundingPercentage
|
|
523
523
|
})) + ") ", 1))
|
|
@@ -526,11 +526,11 @@ const st = ["id"], rt = {
|
|
|
526
526
|
_: 1
|
|
527
527
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
528
528
|
v(t.$slots, "legend", { legend: se.value }, void 0, !0),
|
|
529
|
-
t.$slots.source ? (o(), n("div",
|
|
529
|
+
t.$slots.source ? (o(), n("div", wt, [
|
|
530
530
|
v(t.$slots, "source", {}, void 0, !0)
|
|
531
531
|
], 512)) : c("", !0),
|
|
532
532
|
ie(qe, {
|
|
533
|
-
show:
|
|
533
|
+
show: p.value.showTooltip && B.value,
|
|
534
534
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
535
535
|
color: e.value.style.chart.tooltip.color,
|
|
536
536
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -557,7 +557,7 @@ const st = ["id"], rt = {
|
|
|
557
557
|
key: 9,
|
|
558
558
|
hideDetails: "",
|
|
559
559
|
config: {
|
|
560
|
-
open:
|
|
560
|
+
open: p.value.showTable,
|
|
561
561
|
maxHeight: 1e4,
|
|
562
562
|
body: {
|
|
563
563
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -577,13 +577,13 @@ const st = ["id"], rt = {
|
|
|
577
577
|
body: I.value.body,
|
|
578
578
|
config: I.value.config,
|
|
579
579
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
580
|
-
onClose: a[2] || (a[2] = (l) =>
|
|
580
|
+
onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
|
|
581
581
|
}, {
|
|
582
582
|
th: d(({ th: l }) => [
|
|
583
|
-
|
|
583
|
+
T("div", {
|
|
584
584
|
innerHTML: l,
|
|
585
585
|
style: { display: "flex", "align-items": "center" }
|
|
586
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, Ct)
|
|
587
587
|
]),
|
|
588
588
|
td: d(({ td: l }) => [
|
|
589
589
|
de(M(l.name || l), 1)
|
|
@@ -595,7 +595,7 @@ const st = ["id"], rt = {
|
|
|
595
595
|
}, 8, ["config"])) : c("", !0)
|
|
596
596
|
], 46, st));
|
|
597
597
|
}
|
|
598
|
-
}, Dt = /* @__PURE__ */ ot($t, [["__scopeId", "data-v-
|
|
598
|
+
}, Dt = /* @__PURE__ */ ot($t, [["__scopeId", "data-v-9cd851a8"]]);
|
|
599
599
|
export {
|
|
600
600
|
Dt as default
|
|
601
601
|
};
|