vue-data-ui 3.22.2 → 3.22.4
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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.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 +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as pe } from "./useConfig-
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
2
|
+
import { Gt as t, H as n, Ht as r, Lt as i, Ot as a, Q as o, Rt as ee, S as te, Ut as ne, W as re, X as ie, b as ae, ht as oe, i as se, jt as s, lt as ce, ot as le, q as c, t as ue, v as l, vt as de, w as fe } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as pe } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as me } from "./usePrinter-C0wAS8yc.js";
|
|
5
5
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-BjkuFaz1.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
11
|
-
import { t as Se } from "./Shape-
|
|
9
|
+
import { t as be } from "./img-B29J8tV5.js";
|
|
10
|
+
import { n as xe } from "./Title-DDEEO-Nr.js";
|
|
11
|
+
import { t as Se } from "./Shape-BnF9aMPX.js";
|
|
12
12
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Ee } from "./vue-ui-accordion-
|
|
16
|
-
import { t as De } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ee } from "./vue-ui-accordion-B64IJyPU.js";
|
|
16
|
+
import { t as De } from "./BaseLegendToggle-C4Usj0LI.js";
|
|
17
17
|
import { t as Oe } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as ke } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Ae } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
20
|
import { t as je } from "./useTableResponsive-B24Uwt2E.js";
|
|
21
|
-
import { t as Me } from "./Legend-
|
|
21
|
+
import { t as Me } from "./Legend-DXOzbXb-.js";
|
|
22
22
|
import { t as Ne } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
|
|
23
23
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as Le, guardReactiveProps as g, mergeProps as Re, nextTick as ze, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, onMounted as Ve, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as He, toDisplayString as w, toRefs as Ue, unref as T, useCssVars as We, useSlots as Ge, watch as Ke, withCtx as E, withKeys as qe } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-horizontal-bar.vue
|
|
@@ -202,14 +202,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
202
202
|
],
|
|
203
203
|
setup(e, { expose: Ce, emit: Je }) {
|
|
204
204
|
We((e) => ({ v44273546: e.tdo }));
|
|
205
|
-
let Ut = Le(() => import("./Tooltip-
|
|
205
|
+
let Ut = Le(() => import("./Tooltip-BhKov422.js")), Wt = Le(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Gt = Le(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), Kt = Le(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), qt = Le(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), Jt = Le(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_vertical_bar: Yt } = pe(), { isThemeValid: Xt, warnInvalidTheme: Zt } = ye(), Qt = Ge(), D = e, $t = d({
|
|
206
206
|
get() {
|
|
207
207
|
return !!D.dataset && D.dataset.length;
|
|
208
208
|
},
|
|
209
209
|
set(e) {
|
|
210
210
|
return e;
|
|
211
211
|
}
|
|
212
|
-
}), O = x(
|
|
212
|
+
}), O = x(re()), en = x(!1), tn = x(""), nn = x(null), rn = x(0), k = x(null), an = x(null), on = x(null), sn = x(null), cn = x(null), ln = x(0), un = x(0), dn = x(null), fn = x(null), pn = x(null), mn = x(null), hn = x(null), A = x([]), gn = x({
|
|
213
213
|
none: 0,
|
|
214
214
|
asc: 1,
|
|
215
215
|
desc: 2
|
|
@@ -247,7 +247,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
247
247
|
value: 1,
|
|
248
248
|
color: "#d9d9d9"
|
|
249
249
|
}
|
|
250
|
-
]), Dn = d(() =>
|
|
250
|
+
]), Dn = d(() => t({
|
|
251
251
|
defaultConfig: {
|
|
252
252
|
useCssAnimation: !1,
|
|
253
253
|
userOptions: { show: !1 },
|
|
@@ -294,7 +294,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
294
294
|
});
|
|
295
295
|
},
|
|
296
296
|
skeletonDataset: En.value,
|
|
297
|
-
skeletonConfig:
|
|
297
|
+
skeletonConfig: t({
|
|
298
298
|
defaultConfig: N.value,
|
|
299
299
|
userConfig: Dn.value
|
|
300
300
|
})
|
|
@@ -315,11 +315,11 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
315
315
|
userConfig: D.config,
|
|
316
316
|
defaultConfig: r
|
|
317
317
|
}),
|
|
318
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
318
|
+
customPalette: e.customPalette.length ? e.customPalette : ne[n] || s
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
321
|
else t = e;
|
|
322
|
-
return D.config &&
|
|
322
|
+
return D.config && oe(D.config, "events.datapointEnter") ? t.events.datapointEnter = D.config.events.datapointEnter : t.events.datapointEnter = null, D.config && oe(D.config, "events.datapointLeave") ? t.events.datapointLeave = D.config.events.datapointLeave : t.events.datapointLeave = null, D.config && oe(D.config, "events.datapointClick") ? t.events.datapointClick = D.config.events.datapointClick : t.events.datapointClick = null, t;
|
|
323
323
|
}
|
|
324
324
|
let F = x(N.value.style.chart.width), I = x(N.value.style.chart.height), L = x(N.value.style.chart.layout.bars.gap);
|
|
325
325
|
Ke(() => D.config, (e) => {
|
|
@@ -331,13 +331,13 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
331
331
|
elementId: `vue-ui-vertical-bar_${O.value}`,
|
|
332
332
|
fileName: N.value.style.chart.title.text || "vue-ui-vertical-bar",
|
|
333
333
|
options: N.value.userOptions.print
|
|
334
|
-
}), Bn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Vn = d(() =>
|
|
334
|
+
}), Bn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Vn = d(() => te(N.value.customPalette)), Hn = x(null), Un = d(() => N.value.table.responsiveBreakpoint), Wn = d(() => !!N.value.debug), Gn = x(0), R = x(null), Kn = x(null);
|
|
335
335
|
function qn() {
|
|
336
|
-
if (k.value && (
|
|
336
|
+
if (k.value && (a(D.dataset) && (o({
|
|
337
337
|
componentName: "VueUiVerticalBar",
|
|
338
338
|
type: "dataset",
|
|
339
339
|
debug: Wn.value
|
|
340
|
-
}), $t.value = !1, An.value = !0),
|
|
340
|
+
}), $t.value = !1, An.value = !0), a(D.dataset) || (An.value = N.value.loading), N.value.responsive)) {
|
|
341
341
|
let e = we(() => {
|
|
342
342
|
let { width: e, height: t } = Te({
|
|
343
343
|
chart: k.value,
|
|
@@ -363,18 +363,18 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
363
363
|
sortDesc: N.value.style.chart.layout.bars.sort === "desc",
|
|
364
364
|
showTooltip: N.value.style.chart.tooltip.show
|
|
365
365
|
}), Jn = d(() => z.value.sortDesc), B = d(() => (kn.value.forEach((e, t) => {
|
|
366
|
-
!e.value && !e.children &&
|
|
366
|
+
!e.value && !e.children && o({
|
|
367
367
|
componentName: "VueUiVerticalBar",
|
|
368
368
|
type: "datasetAttributeEmpty",
|
|
369
369
|
property: `value (index ${t})`,
|
|
370
370
|
debug: Wn.value
|
|
371
|
-
}), e.children && (
|
|
371
|
+
}), e.children && (a(e.children) ? o({
|
|
372
372
|
componentName: "VueUiVerticalBar",
|
|
373
373
|
type: "datasetAttributeEmpty",
|
|
374
374
|
property: `children (index ${t})`,
|
|
375
375
|
debug: Wn.value
|
|
376
376
|
}) : e.children.forEach((e, t) => {
|
|
377
|
-
[null, void 0].includes(e.name) &&
|
|
377
|
+
[null, void 0].includes(e.name) && o({
|
|
378
378
|
componentName: "VueUiVerticalBar",
|
|
379
379
|
type: "datasetSerieAttribute",
|
|
380
380
|
property: "name",
|
|
@@ -397,7 +397,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
397
397
|
isChild: !1,
|
|
398
398
|
segregate: () => J(n),
|
|
399
399
|
isSegregated: A.value.includes(n),
|
|
400
|
-
color:
|
|
400
|
+
color: ae(e.color) || Vn.value[t] || s[t] || s[t % s.length],
|
|
401
401
|
children: !e.children || !e.children.length ? [] : e.children.toSorted(_n.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
|
|
402
402
|
...r,
|
|
403
403
|
value: l(Math.abs(r.value)),
|
|
@@ -410,7 +410,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
410
410
|
parentSign: a,
|
|
411
411
|
id: `vertical_child_${t}_${o}_${O.value}`,
|
|
412
412
|
childIndex: o,
|
|
413
|
-
color:
|
|
413
|
+
color: ae(r.color) || ae(e.color) || Vn.value[t] || s[t] || s[t % s.length]
|
|
414
414
|
})).map((t, n) => ({
|
|
415
415
|
...t,
|
|
416
416
|
isFirstChild: n === 0,
|
|
@@ -527,7 +527,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
527
527
|
}
|
|
528
528
|
let Y = d(() => V.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
|
|
529
529
|
function ar(e, t = !1, n = 0) {
|
|
530
|
-
return t ?
|
|
530
|
+
return t ? c({
|
|
531
531
|
v: l(Math.abs(e) / Y.value * 100),
|
|
532
532
|
s: "%",
|
|
533
533
|
r: n
|
|
@@ -588,21 +588,21 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
588
588
|
series: B.value,
|
|
589
589
|
config: N.value
|
|
590
590
|
}, en.value = !0, fr.value = e.id;
|
|
591
|
-
let r = "", i = e.isChild ? e.parentName : e.name,
|
|
592
|
-
|
|
591
|
+
let r = "", i = e.isChild ? e.parentName : e.name, a = e.isChild ? e.name : "", o = N.value.style.chart.tooltip.customFormat;
|
|
592
|
+
de(o) && le(() => o({
|
|
593
593
|
datapoint: e,
|
|
594
594
|
series: B.value,
|
|
595
595
|
config: N.value,
|
|
596
596
|
seriesIndex: t
|
|
597
|
-
})) ? tn.value =
|
|
597
|
+
})) ? tn.value = o({
|
|
598
598
|
datapoint: e,
|
|
599
599
|
series: B.value,
|
|
600
600
|
config: N.value,
|
|
601
601
|
seriesIndex: t
|
|
602
602
|
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
603
603
|
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Qt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${O.value}_${e.absoluteIndex})"/>` : ""}</svg> ${i}</div>
|
|
604
|
-
${
|
|
605
|
-
</div>`, N.value.style.chart.tooltip.showValue && (r += `<div>${N.value.translations.value}: <b>${
|
|
604
|
+
${a ? `<div>${a}</div>` : ""}
|
|
605
|
+
</div>`, N.value.style.chart.tooltip.showValue && (r += `<div>${N.value.translations.value}: <b>${se(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, c({
|
|
606
606
|
p: N.value.style.chart.tooltip.prefix,
|
|
607
607
|
v: e.sign === 1 ? e.value : -e.value,
|
|
608
608
|
s: N.value.style.chart.tooltip.suffix,
|
|
@@ -610,11 +610,11 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
610
610
|
}), {
|
|
611
611
|
datapoint: e,
|
|
612
612
|
seriesIndex: t
|
|
613
|
-
})}</b></div>`), N.value.style.chart.tooltip.showPercentage && (r += `<div>${N.value.translations.percentageToTotal} : <b>${
|
|
613
|
+
})}</b></div>`), N.value.style.chart.tooltip.showPercentage && (r += `<div>${N.value.translations.percentageToTotal} : <b>${c({
|
|
614
614
|
v: Math.abs(e.value) / Y.value * 100,
|
|
615
615
|
s: "%",
|
|
616
616
|
r: N.value.style.chart.tooltip.roundingPercentage
|
|
617
|
-
})}</b></div>`, e.isChild && (r += `<div>${N.value.translations.percentageToSerie}: <b>${
|
|
617
|
+
})}</b></div>`, e.isChild && (r += `<div>${N.value.translations.percentageToSerie}: <b>${c({
|
|
618
618
|
v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
|
|
619
619
|
s: "%",
|
|
620
620
|
r: N.value.style.chart.tooltip.roundingPercentage
|
|
@@ -622,7 +622,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
622
622
|
}
|
|
623
623
|
function _r({ legend: e, index: t }) {
|
|
624
624
|
let n = N.value.style.chart.legend;
|
|
625
|
-
return n.showValue ? `${e.name}: ${
|
|
625
|
+
return n.showValue ? `${e.name}: ${se(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, c({
|
|
626
626
|
p: n.prefix,
|
|
627
627
|
v: e.value,
|
|
628
628
|
s: n.suffix,
|
|
@@ -634,7 +634,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
634
634
|
}
|
|
635
635
|
function vr(e, t, n, r) {
|
|
636
636
|
if (!N.value.style.chart.layout.bars.dataLabels.value.show) return "";
|
|
637
|
-
let i =
|
|
637
|
+
let i = se(N.value.style.chart.layout.bars.dataLabels.value.formatter, l(r === -1 && e >= 0 ? -e : e), c({
|
|
638
638
|
p: N.value.style.chart.layout.bars.dataLabels.value.prefix,
|
|
639
639
|
v: l(r === -1 && e >= 0 ? -e : e),
|
|
640
640
|
s: N.value.style.chart.layout.bars.dataLabels.value.suffix,
|
|
@@ -642,8 +642,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
642
642
|
}), {
|
|
643
643
|
datapoint: t,
|
|
644
644
|
seriesIndex: n
|
|
645
|
-
}),
|
|
646
|
-
return `${i}${N.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${
|
|
645
|
+
}), a = `(${ar(e, !0, N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
646
|
+
return `${i}${N.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${a}` : ""}`;
|
|
647
647
|
}
|
|
648
648
|
let Q = d(() => ({
|
|
649
649
|
head: [
|
|
@@ -697,8 +697,8 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
697
697
|
e.childValue,
|
|
698
698
|
e.childPercentageToParent,
|
|
699
699
|
e.childPercentageToTotal
|
|
700
|
-
]), i =
|
|
701
|
-
e ? e(i) :
|
|
700
|
+
]), i = fe(t.concat([n]).concat(r));
|
|
701
|
+
e ? e(i) : ie({
|
|
702
702
|
csvContent: i,
|
|
703
703
|
title: N.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
704
704
|
});
|
|
@@ -715,7 +715,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
715
715
|
"none",
|
|
716
716
|
"asc",
|
|
717
717
|
"desc"
|
|
718
|
-
].includes(N.value.style.chart.layout.bars.sort) ||
|
|
718
|
+
].includes(N.value.style.chart.layout.bars.sort) || o({
|
|
719
719
|
componentName: "VueUiVerticalBar",
|
|
720
720
|
type: "attributeWrongValue",
|
|
721
721
|
property: "style.chart.layout.bars.sort",
|
|
@@ -793,7 +793,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
793
793
|
let jr = d(() => B.value.map((e, t) => ({
|
|
794
794
|
...e,
|
|
795
795
|
shape: "square",
|
|
796
|
-
display: `${e.name}: ${
|
|
796
|
+
display: `${e.name}: ${se(N.value.style.chart.layout.bars.dataLabels.value.formatter, e.value, c({
|
|
797
797
|
p: N.value.style.chart.legend.prefix,
|
|
798
798
|
v: e.value,
|
|
799
799
|
s: N.value.style.chart.legend.suffix,
|
|
@@ -890,46 +890,46 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
890
890
|
});
|
|
891
891
|
return;
|
|
892
892
|
}
|
|
893
|
-
let o = M.value,
|
|
894
|
-
o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) :
|
|
895
|
-
let
|
|
896
|
-
|
|
893
|
+
let o = M.value, ee = nn.value ? H.value.findIndex((e) => e.id === nn.value.id) : null;
|
|
894
|
+
o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : ee !== null && ee >= 0 && ee < a ? (o = t ? ee + 1 : ee - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
|
|
895
|
+
let te = H.value[o];
|
|
896
|
+
te && (M.value = o, Gr(te), gr(te, o, "keyboard"));
|
|
897
897
|
}
|
|
898
898
|
function Gr(e) {
|
|
899
899
|
if (!e) return;
|
|
900
|
-
let t = q.value.right,
|
|
901
|
-
if (!Number.isFinite(t) || !Number.isFinite(
|
|
902
|
-
let i =
|
|
900
|
+
let t = q.value.right, n = q.value.top + (L.value + G.value) * e.absoluteIndex + W.value[e.absoluteIndex] * U.value;
|
|
901
|
+
if (!Number.isFinite(t) || !Number.isFinite(n)) return;
|
|
902
|
+
let i = r(t, n, Pn.value);
|
|
903
903
|
i && (Cn.value = i);
|
|
904
904
|
}
|
|
905
905
|
let Kr = d(() => ({
|
|
906
906
|
head: Q.value.head,
|
|
907
907
|
body: Q.value.body.map((e) => [
|
|
908
908
|
e.parentName,
|
|
909
|
-
e.parentValue === "" ? "" :
|
|
909
|
+
e.parentValue === "" ? "" : c({
|
|
910
910
|
v: e.parentValue,
|
|
911
911
|
r: N.value.style.chart.layout.bars.dataLabels.value.roundingValue,
|
|
912
912
|
p: N.value.style.chart.layout.bars.dataLabels.prefix,
|
|
913
913
|
s: N.value.style.chart.layout.bars.dataLabels.suffix
|
|
914
914
|
}),
|
|
915
|
-
e.percentageToTotal === "" ? "" :
|
|
915
|
+
e.percentageToTotal === "" ? "" : c({
|
|
916
916
|
v: e.percentageToTotal * 100,
|
|
917
917
|
r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
|
|
918
918
|
s: "%"
|
|
919
919
|
}),
|
|
920
920
|
e.childName,
|
|
921
|
-
e.childValue === "" ? "" :
|
|
921
|
+
e.childValue === "" ? "" : c({
|
|
922
922
|
v: e.childValue,
|
|
923
923
|
r: N.value.style.chart.layout.bars.dataLabels.value.roundingValue,
|
|
924
924
|
p: N.value.style.chart.layout.bars.dataLabels.prefix,
|
|
925
925
|
s: N.value.style.chart.layout.bars.dataLabels.suffix
|
|
926
926
|
}),
|
|
927
|
-
e.childPercentageToParent === "" ? "" :
|
|
927
|
+
e.childPercentageToParent === "" ? "" : c({
|
|
928
928
|
v: e.childPercentageToParent * 100,
|
|
929
929
|
r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
|
|
930
930
|
s: "%"
|
|
931
931
|
}),
|
|
932
|
-
e.childPercentageToTotal === "" ? "" :
|
|
932
|
+
e.childPercentageToTotal === "" ? "" : c({
|
|
933
933
|
v: e.childPercentageToTotal * 100,
|
|
934
934
|
r: N.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage,
|
|
935
935
|
s: "%"
|
|
@@ -954,14 +954,14 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
954
954
|
toggleAnnotator: Er,
|
|
955
955
|
toggleFullscreen: br,
|
|
956
956
|
copyAlt: zr
|
|
957
|
-
}), (e,
|
|
957
|
+
}), (e, t) => (b(), m("div", {
|
|
958
958
|
class: _(`vue-data-ui-component vue-ui-vertical-bar ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"} ${N.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
|
|
959
959
|
ref_key: "verticalBarChart",
|
|
960
960
|
ref: k,
|
|
961
961
|
id: `vue-ui-vertical-bar_${O.value}`,
|
|
962
962
|
style: y(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};height:100%`),
|
|
963
|
-
onMouseenter:
|
|
964
|
-
onMouseleave:
|
|
963
|
+
onMouseenter: t[3] ||= () => T(Mn)(!0),
|
|
964
|
+
onMouseleave: t[4] ||= () => T(Mn)(!1)
|
|
965
965
|
}, [
|
|
966
966
|
h("p", {
|
|
967
967
|
id: `chart-instructions-${O.value}`,
|
|
@@ -1158,7 +1158,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1158
1158
|
key: `legend_top_${un.value}`,
|
|
1159
1159
|
legendSet: B.value,
|
|
1160
1160
|
config: Zn.value,
|
|
1161
|
-
onClickMarker:
|
|
1161
|
+
onClickMarker: t[0] ||= ({ legend: e }) => J(e.id)
|
|
1162
1162
|
}, Pe({
|
|
1163
1163
|
item: E(({ legend: e, index: t }) => [h("div", {
|
|
1164
1164
|
onClick: (t) => J(e.id),
|
|
@@ -1235,7 +1235,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1235
1235
|
"stop-color": e.color
|
|
1236
1236
|
}, null, 8, nt), h("stop", {
|
|
1237
1237
|
offset: "100%",
|
|
1238
|
-
"stop-color": T(i)(T(
|
|
1238
|
+
"stop-color": T(i)(T(ee)(e.color, .03), 100 - N.value.style.chart.layout.bars.gradientIntensity)
|
|
1239
1239
|
}, null, 8, rt)], 8, tt))), 256)),
|
|
1240
1240
|
e.$slots.pattern ? (b(), m("g", it, [(b(!0), m(u, null, S(H.value, (t) => (b(), m("defs", null, [C(e.$slots, "pattern", Re({ ref_for: !0 }, {
|
|
1241
1241
|
seriesIndex: t.absoluteIndex,
|
|
@@ -1311,12 +1311,12 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1311
1311
|
h("g", {
|
|
1312
1312
|
ref_key: "parentLabels",
|
|
1313
1313
|
ref: mn
|
|
1314
|
-
}, [(b(!0), m(u, null, S(H.value, (e,
|
|
1314
|
+
}, [(b(!0), m(u, null, S(H.value, (e, t) => (b(), m("g", dt, [
|
|
1315
1315
|
e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("rect", {
|
|
1316
1316
|
key: 0,
|
|
1317
1317
|
class: "vue-ui-horizontal-bar-parent-marker",
|
|
1318
1318
|
x: 2,
|
|
1319
|
-
y: cr(e,
|
|
1319
|
+
y: cr(e, t).y - N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
|
|
1320
1320
|
height: N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
|
|
1321
1321
|
width: N.value.style.chart.layout.bars.parentLabels.fontSize / 1.5,
|
|
1322
1322
|
rx: 1,
|
|
@@ -1328,66 +1328,66 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1328
1328
|
}, null, 8, ft)) : p("", !0),
|
|
1329
1329
|
e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("text", {
|
|
1330
1330
|
key: 1,
|
|
1331
|
-
y: cr(e,
|
|
1331
|
+
y: cr(e, t).y,
|
|
1332
1332
|
"font-size": N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1333
1333
|
fill: N.value.style.chart.layout.bars.parentLabels.color,
|
|
1334
1334
|
x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1335
1335
|
"font-weight": N.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
1336
1336
|
"text-anchor": "start",
|
|
1337
|
-
innerHTML: T(
|
|
1338
|
-
content: `${ur(e,
|
|
1337
|
+
innerHTML: T(n)({
|
|
1338
|
+
content: `${ur(e, t)}`,
|
|
1339
1339
|
fontSize: N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1340
1340
|
fill: N.value.style.chart.layout.bars.parentLabels.color,
|
|
1341
1341
|
x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1342
|
-
y: cr(e,
|
|
1342
|
+
y: cr(e, t).y,
|
|
1343
1343
|
translateY: !1
|
|
1344
1344
|
})
|
|
1345
1345
|
}, null, 8, pt)) : p("", !0),
|
|
1346
1346
|
e.isChild && e.childIndex === 0 && N.value.style.chart.layout.bars.parentLabels.show ? (b(), m("text", {
|
|
1347
1347
|
key: 2,
|
|
1348
|
-
y: cr(e,
|
|
1348
|
+
y: cr(e, t).y + T(ce)(ur(e, t)) * N.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
|
|
1349
1349
|
"font-size": N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1350
1350
|
fill: N.value.style.chart.layout.bars.parentLabels.color,
|
|
1351
1351
|
x: N.value.style.chart.layout.bars.parentLabels.offsetX + N.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1352
1352
|
"font-weight": N.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
1353
1353
|
"text-anchor": "start"
|
|
1354
|
-
}, w(dr(e,
|
|
1354
|
+
}, w(dr(e, t)), 9, mt)) : p("", !0)
|
|
1355
1355
|
]))), 256))], 512),
|
|
1356
1356
|
h("g", {
|
|
1357
1357
|
ref_key: "childLabels",
|
|
1358
1358
|
ref: hn
|
|
1359
|
-
}, [(b(!0), m(u, null, S(Yn.value, (e,
|
|
1359
|
+
}, [(b(!0), m(u, null, S(Yn.value, (e, t) => (b(), m("g", ht, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
|
|
1360
1360
|
key: 0,
|
|
1361
1361
|
"text-anchor": "start",
|
|
1362
1362
|
x: Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX),
|
|
1363
|
-
y: T(l)(q.value.top + (L.value + G.value) *
|
|
1363
|
+
y: T(l)(q.value.top + (L.value + G.value) * t + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + W.value[t] * U.value),
|
|
1364
1364
|
"font-size": N.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1365
1365
|
fill: "transparent",
|
|
1366
1366
|
"font-weight": N.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
1367
1367
|
style: { "user-select": "none" },
|
|
1368
|
-
innerHTML: T(
|
|
1368
|
+
innerHTML: T(n)({
|
|
1369
1369
|
content: e.name,
|
|
1370
1370
|
fontSize: N.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1371
1371
|
fill: "transparent",
|
|
1372
1372
|
x: Math.abs(N.value.style.chart.layout.bars.nameLabels.offsetX),
|
|
1373
|
-
y: T(l)(q.value.top + (L.value + G.value) *
|
|
1373
|
+
y: T(l)(q.value.top + (L.value + G.value) * t + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 2 + W.value[t] * U.value),
|
|
1374
1374
|
translateY: !0
|
|
1375
1375
|
})
|
|
1376
1376
|
}, null, 8, gt)) : p("", !0)]))), 256))], 512),
|
|
1377
|
-
h("g", null, [(b(!0), m(u, null, S(H.value, (e,
|
|
1377
|
+
h("g", null, [(b(!0), m(u, null, S(H.value, (e, t) => (b(), m("g", _t, [(e.isChild || !e.hasChildren) && N.value.style.chart.layout.bars.nameLabels.show ? (b(), m("text", {
|
|
1378
1378
|
key: 0,
|
|
1379
1379
|
"text-anchor": "end",
|
|
1380
1380
|
x: q.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
|
|
1381
|
-
y: q.value.top + (L.value + G.value) *
|
|
1381
|
+
y: q.value.top + (L.value + G.value) * t + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + W.value[t] * U.value,
|
|
1382
1382
|
"font-size": N.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1383
1383
|
fill: N.value.style.chart.layout.bars.nameLabels.color,
|
|
1384
1384
|
"font-weight": N.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
1385
|
-
innerHTML: T(
|
|
1385
|
+
innerHTML: T(n)({
|
|
1386
1386
|
content: e.name,
|
|
1387
1387
|
fontSize: N.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1388
1388
|
fill: N.value.style.chart.layout.bars.nameLabels.color,
|
|
1389
1389
|
x: q.value.left + N.value.style.chart.layout.bars.nameLabels.offsetX - 6,
|
|
1390
|
-
y: q.value.top + (L.value + G.value) *
|
|
1390
|
+
y: q.value.top + (L.value + G.value) * t + G.value / 2 + N.value.style.chart.layout.bars.nameLabels.fontSize / 3 + W.value[t] * U.value,
|
|
1391
1391
|
translateY: !0
|
|
1392
1392
|
})
|
|
1393
1393
|
}, null, 8, vt)) : p("", !0)]))), 256))]),
|
|
@@ -1438,7 +1438,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1438
1438
|
legendSet: B.value,
|
|
1439
1439
|
config: Zn.value,
|
|
1440
1440
|
isCursorPointer: P.value,
|
|
1441
|
-
onClickMarker:
|
|
1441
|
+
onClickMarker: t[1] ||= ({ legend: e }) => J(e.id)
|
|
1442
1442
|
}, Pe({
|
|
1443
1443
|
item: E(({ legend: e, index: t }) => [h("div", {
|
|
1444
1444
|
onClick: (t) => J(e.id),
|
|
@@ -1667,7 +1667,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ut }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1667
1667
|
fn: E(() => [h("button", {
|
|
1668
1668
|
tabindex: "0",
|
|
1669
1669
|
class: "vue-ui-user-options-button",
|
|
1670
|
-
onClick:
|
|
1670
|
+
onClick: t[2] ||= (e) => yr(N.value.userOptions.callbacks.csv),
|
|
1671
1671
|
style: y({ cursor: P.value ? "pointer" : "default" })
|
|
1672
1672
|
}, [Ie(T(Wt), {
|
|
1673
1673
|
name: "fileCsv",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./useConfig-
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
2
|
+
import { W as t, i as n, q as r } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as i } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as a } from "./useNestedProp-BjkuFaz1.js";
|
|
5
5
|
import { t as o } from "./usePrefersMotion-BC-CsqR1.js";
|
|
6
6
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineAsyncComponent as m, normalizeClass as h, normalizeStyle as g, onMounted as _, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as S, useSlots as C, watch as w } from "vue";
|
|
7
7
|
//#region src/components/vue-ui-kpi.vue
|
|
@@ -20,10 +20,10 @@ var T = /* @__PURE__ */ e({ default: () => k }), E = ["aria-labelledby"], D = ["
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
setup(e) {
|
|
23
|
-
let T = m(() => import("./vue-ui-digits-
|
|
23
|
+
let T = m(() => import("./vue-ui-digits-07IxTlNO.js").then((e) => e.n)), { vue_ui_kpi: k } = i(), A = o(), j = e, M = c({
|
|
24
24
|
get: () => I(),
|
|
25
25
|
set: (e) => e
|
|
26
|
-
}), N = C(), P = c(() => M.value.debug), F = y(
|
|
26
|
+
}), N = C(), P = c(() => M.value.debug), F = y(t());
|
|
27
27
|
_(() => {
|
|
28
28
|
N["chart-background"] && P.value && console.warn("VueUiKpi does not support the #chart-background slot.");
|
|
29
29
|
});
|
|
@@ -51,18 +51,18 @@ var T = /* @__PURE__ */ e({ default: () => k }), E = ["aria-labelledby"], D = ["
|
|
|
51
51
|
}
|
|
52
52
|
return w(() => j.dataset, (e) => {
|
|
53
53
|
M.value.useAnimation && !A.value ? z(e) : R.value = e;
|
|
54
|
-
}), (
|
|
54
|
+
}), (t, i) => (v(), u("div", {
|
|
55
55
|
class: h(`vue-data-ui-component vue-ui-kpi ${M.value.layoutClass}`),
|
|
56
56
|
style: g(`background:${M.value.backgroundColor}; ${M.value.layoutCss}`),
|
|
57
57
|
"aria-labelledby": `kpi-title-${F.value}`
|
|
58
58
|
}, [
|
|
59
|
-
M.value.title ||
|
|
59
|
+
M.value.title || t.$slots.title ? (v(), u("div", {
|
|
60
60
|
key: 0,
|
|
61
61
|
class: h(`vue-ui-kpi-title ${M.value.titleClass}`),
|
|
62
62
|
style: g(`font-family: ${M.value.fontFamily}; font-size:${M.value.titleFontSize}px; color:${M.value.titleColor}; font-weight:${M.value.titleBold ? "bold" : "normal"}; ${M.value.titleCss}`),
|
|
63
63
|
id: `kpi-title-${F.value}`
|
|
64
|
-
}, [b(
|
|
65
|
-
b(
|
|
64
|
+
}, [b(t.$slots, "title", { comment: e.dataset }), f(" " + x(M.value.title), 1)], 14, D)) : l("", !0),
|
|
65
|
+
b(t.$slots, "comment-before", { comment: e.dataset }),
|
|
66
66
|
d("div", {
|
|
67
67
|
class: h(`vue-ui-kpi-value ${M.value.valueClass}`),
|
|
68
68
|
style: g(`font-family: ${M.value.fontFamily}; font-size:${M.value.valueFontSize}px; color:${M.value.valueColor}; font-weight:${M.value.valueBold ? "bold" : "normal"}; ${M.value.valueCss}`),
|
|
@@ -70,7 +70,7 @@ var T = /* @__PURE__ */ e({ default: () => k }), E = ["aria-labelledby"], D = ["
|
|
|
70
70
|
"aria-live": "polite",
|
|
71
71
|
"aria-atomic": "true",
|
|
72
72
|
"aria-label": R.value.toFixed(M.value.valueRounding)
|
|
73
|
-
}, [b(
|
|
73
|
+
}, [b(t.$slots, "value", { comment: e.dataset }), M.value.analogDigits.show ? (v(), u("div", {
|
|
74
74
|
key: 0,
|
|
75
75
|
style: g({ height: M.value.analogDigits.height + "px" })
|
|
76
76
|
}, [p(S(T), {
|
|
@@ -82,13 +82,13 @@ var T = /* @__PURE__ */ e({ default: () => k }), E = ["aria-labelledby"], D = ["
|
|
|
82
82
|
skeletonColor: M.value.analogDigits.skeletonColor
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
}, null, 8, ["dataset", "config"])], 4)) : (v(), u(s, { key: 1 }, [f(x(S(
|
|
85
|
+
}, null, 8, ["dataset", "config"])], 4)) : (v(), u(s, { key: 1 }, [f(x(S(n)(M.value.formatter, R.value, S(r)({
|
|
86
86
|
p: M.value.prefix,
|
|
87
87
|
v: R.value,
|
|
88
88
|
s: M.value.suffix,
|
|
89
89
|
r: M.value.valueRounding
|
|
90
90
|
}))), 1)], 64))], 14, O),
|
|
91
|
-
b(
|
|
91
|
+
b(t.$slots, "comment-after", { comment: e.dataset })
|
|
92
92
|
], 14, E));
|
|
93
93
|
}
|
|
94
94
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./lib-
|
|
3
|
-
import { t as n } from "./useConfig-
|
|
4
|
-
import { t as r } from "./useNestedProp-
|
|
2
|
+
import { t } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as n } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as r } from "./useNestedProp-BjkuFaz1.js";
|
|
5
5
|
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, normalizeStyle as l, openBlock as u, ref as d, unref as f, useCssVars as p } from "vue";
|
|
7
7
|
//#region src/components/vue-ui-mini-loader.vue
|