vue-data-ui 3.22.4 → 3.22.6
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-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.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-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ce } from "./useConfig-
|
|
4
|
-
import { t as le } from "./usePrinter-
|
|
2
|
+
import { At as t, Dt as n, Ht as r, Q as i, S as a, W as o, Wt as ee, X as te, _t as ne, at as re, b as ie, i as ae, q as s, t as oe, w as se } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as ce } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as le } from "./usePrinter-CRp5IW3v.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-BEo2N1Db.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_y5qDdm.js";
|
|
10
|
+
import { n as ge } from "./Title-C-p0ilWB.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-DFwIY5bE.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-CyVwqXSh.js";
|
|
19
|
+
import { t as Te } from "./Legend-D-635Kag.js";
|
|
20
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-DPMOys9n.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-YabpoXo1.js")), lt = m(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), ut = m(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), dt = m(() => import("./DataTable-CXfvIulC.js")), ft = m(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), pt = m(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), mt = m(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), ht = m(() => import("./BaseDraggableDialog-VbypEaAa.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(() => ee({
|
|
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: ee({
|
|
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
|
+
}), n = e.theme;
|
|
164
|
+
if (!n) return e;
|
|
165
165
|
if (!_t.value(e)) return vt(e), e;
|
|
166
|
-
let
|
|
167
|
-
userConfig: De[
|
|
166
|
+
let i = pe({
|
|
167
|
+
userConfig: De[n] || E.config,
|
|
168
168
|
defaultConfig: e
|
|
169
|
-
}),
|
|
169
|
+
}), a = pe({
|
|
170
170
|
userConfig: E.config,
|
|
171
|
-
defaultConfig:
|
|
171
|
+
defaultConfig: i
|
|
172
172
|
});
|
|
173
173
|
return {
|
|
174
|
-
...
|
|
175
|
-
customPalette:
|
|
174
|
+
...a,
|
|
175
|
+
customPalette: a.customPalette.length ? a.customPalette : r[n] || t
|
|
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(() => a(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) && (i({
|
|
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) && i({
|
|
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) && i({
|
|
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, n) => {
|
|
271
|
+
let r = `onion_serie_${n}_${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: ie(e.color) || qt.value[n] || t[n],
|
|
277
|
+
id: r,
|
|
278
278
|
shape: "circle",
|
|
279
|
-
opacity: k.value.includes(
|
|
280
|
-
absoluteIndex:
|
|
281
|
-
segregate: () => un(
|
|
282
|
-
isSegregated: k.value.includes(
|
|
279
|
+
opacity: k.value.includes(r) ? .5 : 1,
|
|
280
|
+
absoluteIndex: n,
|
|
281
|
+
segregate: () => un(r),
|
|
282
|
+
isSegregated: k.value.includes(r)
|
|
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: ae(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) : te({
|
|
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: ae(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 (ne(o) && re(() => 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>${ae(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(oe),
|
|
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(ne)(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,
|