vue-data-ui 3.22.6 → 3.22.7
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-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.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-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-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-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/exposedLib-Be0ifkti.js +19 -0
- package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
- package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
- 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/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
- package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
- package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
- package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
- package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
- package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
- package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
- package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
- package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
- package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
- package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
- package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
- package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
- package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
- package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
- package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
- package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
- package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
- package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
- package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
- package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
- package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
- package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as ee, at as te, b as ne, i as re, jt as ie, q as s, t as ae, vt as oe, w as se } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as ce } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as fe } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as pe } from "./useNestedProp-
|
|
7
|
+
import { t as pe } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as he } from "./img-
|
|
10
|
-
import { n as ge } from "./Title-
|
|
9
|
+
import { t as he } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as ge } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ve } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ye } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as be } from "./BaseLegendToggle-
|
|
14
|
+
import { t as be } from "./BaseLegendToggle-CHnlKalt.js";
|
|
15
15
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as we } from "./labelUtils-
|
|
19
|
-
import { t as Te } from "./Legend-
|
|
20
|
-
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-
|
|
18
|
+
import { t as we } from "./labelUtils-CTDRZdP1.js";
|
|
19
|
+
import { t as Te } from "./Legend-kAr7Vqqu.js";
|
|
20
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-CyOGrdD_.js";
|
|
21
21
|
import { t as De } from "./vue_ui_onion-1FTFFS46.js";
|
|
22
22
|
import { Fragment as c, Teleport as Oe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Fe, onMounted as Ie, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as S, toRefs as ze, unref as C, watch as w, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-onion.vue
|
|
@@ -99,10 +99,10 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["selectLegend", "copyAlt"],
|
|
101
101
|
setup(e, { expose: _e, emit: Be }) {
|
|
102
|
-
let ct = m(() => import("./Tooltip-
|
|
102
|
+
let ct = m(() => import("./Tooltip-B8yYfISA.js")), lt = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), ut = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), dt = m(() => import("./DataTable-CVF7DoZn.js")), ft = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), pt = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), mt = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), ht = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_onion: gt } = ce(), { isThemeValid: _t, warnInvalidTheme: vt } = me(), E = e, yt = l(() => !!E.dataset && E.dataset.length), D = y(o()), bt = y(null), xt = y(0), O = y(!1), St = y(""), k = y([]), A = y(null), Ct = y(null), wt = y(null), Tt = y(null), Et = y(null), Dt = y(0), Ot = y(0), kt = y(0), j = y(!1), At = y(!1), M = y(null), jt = y(!1), Mt = y(!1), N = y(null), Nt = y({
|
|
103
103
|
x: 0,
|
|
104
104
|
y: 0
|
|
105
|
-
}), P = y("pointer"), Pt = y(!1), F = y(Vt()), I = l(() => F.value.userOptions.useCursorPointer), Ft = l(() =>
|
|
105
|
+
}), P = y("pointer"), Pt = y(!1), F = y(Vt()), I = l(() => F.value.userOptions.useCursorPointer), Ft = l(() => t({
|
|
106
106
|
defaultConfig: {
|
|
107
107
|
userOptions: { show: !1 },
|
|
108
108
|
table: { show: !1 },
|
|
@@ -151,7 +151,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
151
151
|
color: "#969696"
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
skeletonConfig:
|
|
154
|
+
skeletonConfig: t({
|
|
155
155
|
defaultConfig: F.value,
|
|
156
156
|
userConfig: Ft.value
|
|
157
157
|
})
|
|
@@ -160,19 +160,19 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
160
160
|
let e = pe({
|
|
161
161
|
userConfig: E.config,
|
|
162
162
|
defaultConfig: gt
|
|
163
|
-
}),
|
|
164
|
-
if (!
|
|
163
|
+
}), t = e.theme;
|
|
164
|
+
if (!t) return e;
|
|
165
165
|
if (!_t.value(e)) return vt(e), e;
|
|
166
|
-
let
|
|
167
|
-
userConfig: De[
|
|
166
|
+
let n = pe({
|
|
167
|
+
userConfig: De[t] || E.config,
|
|
168
168
|
defaultConfig: e
|
|
169
|
-
}),
|
|
169
|
+
}), r = pe({
|
|
170
170
|
userConfig: E.config,
|
|
171
|
-
defaultConfig:
|
|
171
|
+
defaultConfig: n
|
|
172
172
|
});
|
|
173
173
|
return {
|
|
174
|
-
...
|
|
175
|
-
customPalette:
|
|
174
|
+
...r,
|
|
175
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || ie
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
w(() => E.config, (e) => {
|
|
@@ -182,7 +182,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
182
182
|
elementId: `vue-ui-onion_${D.value}`,
|
|
183
183
|
fileName: F.value.style.chart.title.text || "vue-ui-onion",
|
|
184
184
|
options: F.value.userOptions.print
|
|
185
|
-
}), Kt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), qt = l(() =>
|
|
185
|
+
}), Kt = l(() => F.value.userOptions.show && !F.value.style.chart.title.text), qt = l(() => i(F.value.customPalette)), z = y({
|
|
186
186
|
showTable: F.value.table.show,
|
|
187
187
|
showTooltip: F.value.style.chart.tooltip.show
|
|
188
188
|
});
|
|
@@ -217,7 +217,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
217
217
|
labelClass: ".vue-ui-onion-label"
|
|
218
218
|
}), Xt = l(() => F.value.debug), Zt = null;
|
|
219
219
|
function Qt() {
|
|
220
|
-
if (n(E.dataset) && (
|
|
220
|
+
if (n(E.dataset) && (r({
|
|
221
221
|
componentName: "VueUiOnion",
|
|
222
222
|
type: "dataset",
|
|
223
223
|
debug: Xt.value
|
|
@@ -256,36 +256,36 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
256
256
|
minRadius: B.value.minRadius,
|
|
257
257
|
maxRadius: Math.min(B.value.width, B.value.height) - B.value.padding.top * 2
|
|
258
258
|
})), W = l(() => (It.value.forEach((e, t) => {
|
|
259
|
-
[null, void 0].includes(e.name) &&
|
|
259
|
+
[null, void 0].includes(e.name) && r({
|
|
260
260
|
componentName: "VueUiOnion",
|
|
261
261
|
type: "datasetSerieAttribute",
|
|
262
262
|
property: "name",
|
|
263
263
|
index: t
|
|
264
|
-
}), [void 0].includes(e.percentage) &&
|
|
264
|
+
}), [void 0].includes(e.percentage) && r({
|
|
265
265
|
componentName: "VueUiOnion",
|
|
266
266
|
type: "datasetSerieAttribute",
|
|
267
267
|
property: "percentage",
|
|
268
268
|
index: t
|
|
269
269
|
});
|
|
270
|
-
}), It.value.map((e,
|
|
271
|
-
let
|
|
270
|
+
}), It.value.map((e, t) => {
|
|
271
|
+
let n = `onion_serie_${t}_${D.value}`;
|
|
272
272
|
return {
|
|
273
273
|
...e,
|
|
274
274
|
percentage: e.percentage || 0,
|
|
275
275
|
targetPercentage: e.percentage || 0,
|
|
276
|
-
color:
|
|
277
|
-
id:
|
|
276
|
+
color: ne(e.color) || qt.value[t] || ie[t],
|
|
277
|
+
id: n,
|
|
278
278
|
shape: "circle",
|
|
279
|
-
opacity: k.value.includes(
|
|
280
|
-
absoluteIndex:
|
|
281
|
-
segregate: () => un(
|
|
282
|
-
isSegregated: k.value.includes(
|
|
279
|
+
opacity: k.value.includes(n) ? .5 : 1,
|
|
280
|
+
absoluteIndex: t,
|
|
281
|
+
segregate: () => un(n),
|
|
282
|
+
isSegregated: k.value.includes(n)
|
|
283
283
|
};
|
|
284
284
|
}))), G = l(() => W.value.map((e, t) => {
|
|
285
285
|
let n = F.value.style.chart.legend.showValue, r = F.value.style.chart.legend.showPercentage, i = bn({
|
|
286
286
|
showVal: n,
|
|
287
287
|
showPercentage: r,
|
|
288
|
-
val:
|
|
288
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
289
289
|
p: e.prefix || "",
|
|
290
290
|
v: e.value,
|
|
291
291
|
s: e.suffix || "",
|
|
@@ -439,7 +439,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
439
439
|
[F.value.style.chart.title.subtitle.text],
|
|
440
440
|
[""]
|
|
441
441
|
], n = hn.value.head, r = hn.value.body, i = se(t.concat([n]).concat(r));
|
|
442
|
-
e ? e(i) :
|
|
442
|
+
e ? e(i) : ee({
|
|
443
443
|
csvContent: i,
|
|
444
444
|
title: F.value.style.chart.title.text || "vue-ui-onion"
|
|
445
445
|
});
|
|
@@ -475,7 +475,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
475
475
|
config: F.value.style.chart.layout.labels,
|
|
476
476
|
showVal: n,
|
|
477
477
|
showPercentage: r,
|
|
478
|
-
val:
|
|
478
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
479
479
|
p: e.prefix || "",
|
|
480
480
|
v: e.value || 0,
|
|
481
481
|
s: e.suffix || "",
|
|
@@ -506,7 +506,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
506
506
|
config: F.value
|
|
507
507
|
}, O.value = n;
|
|
508
508
|
let a = "", o = F.value.style.chart.tooltip.customFormat;
|
|
509
|
-
if (
|
|
509
|
+
if (oe(o) && te(() => o({
|
|
510
510
|
seriesIndex: i,
|
|
511
511
|
datapoint: e,
|
|
512
512
|
series: W.value,
|
|
@@ -523,7 +523,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
523
523
|
config: F.value.style.chart.tooltip,
|
|
524
524
|
showVal: r,
|
|
525
525
|
showPercentage: n,
|
|
526
|
-
val: `<span>${
|
|
526
|
+
val: `<span>${re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
527
527
|
p: e.prefix || "",
|
|
528
528
|
v: e.value,
|
|
529
529
|
s: e.suffix || "",
|
|
@@ -898,7 +898,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
898
898
|
p("div", We, [(v(), f("svg", {
|
|
899
899
|
ref_key: "svgRef",
|
|
900
900
|
ref: R,
|
|
901
|
-
xmlns: C(
|
|
901
|
+
xmlns: C(ae),
|
|
902
902
|
"aria-describedby": `chart-instructions-${D.value}`,
|
|
903
903
|
class: Pe({
|
|
904
904
|
"vue-data-ui-fullscreen--on": Z.value,
|
|
@@ -1110,7 +1110,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
1110
1110
|
parent: A.value,
|
|
1111
1111
|
content: St.value,
|
|
1112
1112
|
isFullscreen: Z.value,
|
|
1113
|
-
isCustom: C(
|
|
1113
|
+
isCustom: C(oe)(F.value.style.chart.tooltip.customFormat),
|
|
1114
1114
|
smooth: F.value.style.chart.tooltip.smooth,
|
|
1115
1115
|
backdropFilter: F.value.style.chart.tooltip.backdropFilter,
|
|
1116
1116
|
smoothForce: F.value.style.chart.tooltip.smoothForce,
|