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,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { At as t, Bt as n, Dt as r, H as a, Ht as o, Q as s, S as c, U as l, Vt as u, W as d, Wt as f, X as ee, _t as te, at as ne, b as re, g as ie, h as ae, i as p, lt as oe, q as m, r as se, rt as h, s as ce, t as le, w as ue, wt as de } from "./lib-DRBJCmHW.js";
|
|
3
3
|
import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as he } from "./useConfig-
|
|
5
|
-
import { t as ge } from "./usePrinter-
|
|
4
|
+
import { t as he } from "./useConfig-DYM3f6EI.js";
|
|
5
|
+
import { t as ge } from "./usePrinter-CRp5IW3v.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as ye } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as be } from "./useNestedProp-
|
|
8
|
+
import { t as be } from "./useNestedProp-BEo2N1Db.js";
|
|
9
9
|
import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Se } from "./useStableElementSize-C7KADDKj.js";
|
|
11
11
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as we } from "./img-
|
|
13
|
-
import { n as Te } from "./Title-
|
|
14
|
-
import { t as Ee } from "./Shape-
|
|
12
|
+
import { t as we } from "./img-B_y5qDdm.js";
|
|
13
|
+
import { n as Te } from "./Title-C-p0ilWB.js";
|
|
14
|
+
import { t as Ee } from "./Shape-BSetplwm.js";
|
|
15
15
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { c as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
17
17
|
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
18
|
-
import { t as Ae } from "./SlicerPreview-
|
|
19
|
-
import { t as je } from "./BaseLegendToggle-
|
|
18
|
+
import { t as Ae } from "./SlicerPreview-D1n9AW39.js";
|
|
19
|
+
import { t as je } from "./BaseLegendToggle-DFwIY5bE.js";
|
|
20
20
|
import { t as Me } from "./A11yDataTable-DdRsVULz.js";
|
|
21
21
|
import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
|
|
22
22
|
import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
|
|
23
|
-
import { t as Fe } from "./Legend-
|
|
23
|
+
import { t as Fe } from "./Legend-D-635Kag.js";
|
|
24
24
|
import { t as Ie } from "./vue_ui_stackbar-COOrQQdK.js";
|
|
25
25
|
import { Fragment as g, Teleport as Le, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as S, guardReactiveProps as C, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as We, onMounted as Ge, openBlock as E, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as Ke, shallowRef as qe, toDisplayString as A, toRefs as Je, unref as j, useSlots as Ye, watch as Xe, watchEffect as Ze, withCtx as M } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-stackbar.vue
|
|
@@ -280,14 +280,14 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
280
280
|
"copyAlt"
|
|
281
281
|
],
|
|
282
282
|
setup(e, { expose: De, emit: Qe }) {
|
|
283
|
-
let Zt = S(() => import("./Tooltip-
|
|
283
|
+
let Zt = S(() => import("./Tooltip-YabpoXo1.js")), Qt = S(() => import("./BaseIcon-DcUvOfxf.js").then((e) => e.n)), $t = S(() => import("./vue-ui-accordion-CfMrbDoq.js").then((e) => e.n)), en = S(() => import("./DataTable-CXfvIulC.js")), tn = S(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), nn = S(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), rn = S(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), an = S(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_stackbar: on } = he(), { isThemeValid: sn, warnInvalidTheme: cn } = xe(), ln = Ye(), N = e, P = Qe, un = _({
|
|
284
284
|
get() {
|
|
285
285
|
return !!N.dataset && N.dataset.length;
|
|
286
286
|
},
|
|
287
287
|
set(e) {
|
|
288
288
|
return e;
|
|
289
289
|
}
|
|
290
|
-
}), F = D(null), I = D(
|
|
290
|
+
}), F = D(null), I = D(d()), dn = D(!1), fn = D(null), pn = D(""), L = D([]), mn = D(0), hn = D(null), gn = D(null), _n = D(null), vn = D(null), yn = D(!1), R = D(null), bn = D(!1), xn = D(0), Sn = D(0), Cn = D(0), wn = D(!1), Tn = D(null), En = D(null), Dn = D(!1), On = D(!1), kn = D(null), An = D(null), jn = D(null), Mn = D(null), Nn = D(null), Pn = D(null), Fn = qe(null), In = D(!1), Ln = D(0), Rn = D(0), z = D(null), zn = D({
|
|
291
291
|
x: 0,
|
|
292
292
|
y: 0
|
|
293
293
|
}), Bn = D("pointer"), Vn = Se({
|
|
@@ -318,7 +318,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
318
318
|
Ge(() => {
|
|
319
319
|
wn.value = !0, Hn(), Vn.start(), mr();
|
|
320
320
|
});
|
|
321
|
-
let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() =>
|
|
321
|
+
let B = D(nr()), V = _(() => B.value.userOptions.useCursorPointer), Kn = _(() => f({
|
|
322
322
|
defaultConfig: {
|
|
323
323
|
userOptions: { show: !1 },
|
|
324
324
|
useCssAnimation: !1,
|
|
@@ -395,7 +395,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
395
395
|
],
|
|
396
396
|
color: "#CACACA"
|
|
397
397
|
}],
|
|
398
|
-
skeletonConfig:
|
|
398
|
+
skeletonConfig: f({
|
|
399
399
|
defaultConfig: B.value,
|
|
400
400
|
userConfig: Kn.value
|
|
401
401
|
})
|
|
@@ -414,23 +414,23 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
414
414
|
let e = be({
|
|
415
415
|
userConfig: N.config,
|
|
416
416
|
defaultConfig: on
|
|
417
|
-
}),
|
|
418
|
-
if (
|
|
417
|
+
}), n = {}, r = e.theme;
|
|
418
|
+
if (r) if (!sn.value(e)) cn(e), n = e;
|
|
419
419
|
else {
|
|
420
|
-
let
|
|
421
|
-
userConfig: Ie[
|
|
420
|
+
let a = be({
|
|
421
|
+
userConfig: Ie[r] || N.config,
|
|
422
422
|
defaultConfig: e
|
|
423
423
|
});
|
|
424
|
-
|
|
424
|
+
n = {
|
|
425
425
|
...be({
|
|
426
426
|
userConfig: N.config,
|
|
427
|
-
defaultConfig:
|
|
427
|
+
defaultConfig: a
|
|
428
428
|
}),
|
|
429
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
429
|
+
customPalette: e.customPalette.length ? e.customPalette : o[r] || t
|
|
430
430
|
};
|
|
431
431
|
}
|
|
432
|
-
else
|
|
433
|
-
return
|
|
432
|
+
else n = e;
|
|
433
|
+
return n;
|
|
434
434
|
}
|
|
435
435
|
let rr = _(() => B.value.style.chart.bars.dataLabels.hideUnderValue != null), ir = _(() => B.value.style.chart.bars.dataLabels.hideUnderPercentage != null);
|
|
436
436
|
Xe(() => N.config, (e) => {
|
|
@@ -463,18 +463,18 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
463
463
|
bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
|
|
464
464
|
left: B.value.style.chart.padding.left / B.value.style.chart.width
|
|
465
465
|
}
|
|
466
|
-
}), lr = _(() =>
|
|
466
|
+
}), lr = _(() => c(B.value.customPalette)), ur = qe(null), dr = qe(null), fr = D(null), pr = _(() => !!B.value.debug);
|
|
467
467
|
function mr({ resetSlicer: e = !0 } = {}) {
|
|
468
|
-
if (
|
|
468
|
+
if (r(N.dataset) ? (s({
|
|
469
469
|
componentName: "VueUiStackbar",
|
|
470
470
|
type: "dataset",
|
|
471
471
|
debug: pr.value
|
|
472
472
|
}), Yn.value = !0) : N.dataset.forEach((e, t) => {
|
|
473
|
-
|
|
473
|
+
oe({
|
|
474
474
|
datasetObject: e,
|
|
475
475
|
requiredAttributes: ["name", "series"]
|
|
476
476
|
}).forEach((e) => {
|
|
477
|
-
un.value = !1,
|
|
477
|
+
un.value = !1, s({
|
|
478
478
|
componentName: "VueUiStackbar",
|
|
479
479
|
type: "datasetSerieAttribute",
|
|
480
480
|
property: e,
|
|
@@ -482,7 +482,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
482
482
|
debug: pr.value
|
|
483
483
|
}), Yn.value = !0;
|
|
484
484
|
});
|
|
485
|
-
}),
|
|
485
|
+
}), r(N.dataset) || (Yn.value = B.value.loading), setTimeout(() => {
|
|
486
486
|
bn.value = !0;
|
|
487
487
|
}, 10), B.value.responsive) {
|
|
488
488
|
let e = Oe(() => {
|
|
@@ -653,16 +653,16 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
653
653
|
...d
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
|
-
}), K = _(() => Jn.value.map((e,
|
|
657
|
-
let
|
|
656
|
+
}), K = _(() => Jn.value.map((e, n) => {
|
|
657
|
+
let r = `stackbar_serie_${n}`, a = String(e.key ?? e.id ?? e.name ?? r), o = re(e.color) || lr.value[n] || t[n] || t[n % t.length];
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
|
-
datasetKey:
|
|
660
|
+
datasetKey: a,
|
|
661
661
|
series: JSON.parse(JSON.stringify(e.series)).map((e) => B.value.style.chart.bars.distributed ? Math.abs(e) : e),
|
|
662
662
|
signedSeries: e.series.map((e) => e >= 0 ? 1 : -1),
|
|
663
|
-
absoluteIndex:
|
|
664
|
-
id:
|
|
665
|
-
color:
|
|
663
|
+
absoluteIndex: n,
|
|
664
|
+
id: r,
|
|
665
|
+
color: o
|
|
666
666
|
};
|
|
667
667
|
})), q = _(() => {
|
|
668
668
|
let e = Math.max(...K.value.filter((e) => !L.value.includes(e.id)).map((e) => e.series.length));
|
|
@@ -704,7 +704,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
704
704
|
let X = _(() => {
|
|
705
705
|
let e;
|
|
706
706
|
return e = B.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
|
|
707
|
-
}), Pr = _(() =>
|
|
707
|
+
}), Pr = _(() => n(K.value.filter((e) => !L.value.includes(e.id))).slice(J.value.start, J.value.end)), Fr = _(() => L.value.length === K.value.length), Ir = _(() => B.value.style.chart.zoom.minimap.show ? n(K.value.map((e) => ({
|
|
708
708
|
...e,
|
|
709
709
|
series: e.series.map((e) => e ?? 0)
|
|
710
710
|
})).filter((e) => Fr.value ? !0 : !L.value.includes(e.id))) : []), Lr = _(() => B.value.style.chart.zoom.minimap.show ? [{
|
|
@@ -712,17 +712,17 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
712
712
|
series: Ir.value,
|
|
713
713
|
color: "#000000",
|
|
714
714
|
isVisible: !0
|
|
715
|
-
}] : []), Rr = _(() =>
|
|
715
|
+
}] : []), Rr = _(() => n(K.value.filter((e) => !L.value.includes(e.id)).map((e) => ({
|
|
716
716
|
...e,
|
|
717
717
|
series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
|
|
718
718
|
}))).slice(J.value.start, J.value.end)), zr = _(() => {
|
|
719
719
|
let e = K.value.filter((e) => !L.value.includes(e.id));
|
|
720
720
|
return {
|
|
721
|
-
positive:
|
|
721
|
+
positive: n(e.map((e) => ({
|
|
722
722
|
...e,
|
|
723
723
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
|
|
724
724
|
}))),
|
|
725
|
-
negative:
|
|
725
|
+
negative: n(e.map((e) => ({
|
|
726
726
|
...e,
|
|
727
727
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
|
|
728
728
|
})))
|
|
@@ -735,7 +735,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
735
735
|
void 0,
|
|
736
736
|
null
|
|
737
737
|
].includes(t) ? 0 : t;
|
|
738
|
-
return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
738
|
+
return !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ie(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks) : ae(n > 0 ? 0 : n, e < 0 ? 0 : e, B.value.style.chart.grid.scale.ticks);
|
|
739
739
|
}), Vr = _(() => Br.value.ticks), Z = _(() => {
|
|
740
740
|
let e = Br.value, t = e.max + Math.abs(e.min);
|
|
741
741
|
return Vr.value.map((n) => ({
|
|
@@ -749,7 +749,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
749
749
|
}));
|
|
750
750
|
}), Hr = _(() => {
|
|
751
751
|
let e = B.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = B.value.style.chart.bars.dataLabels;
|
|
752
|
-
return Vr.value.map((r) => String(p(e.formatter, r,
|
|
752
|
+
return Vr.value.map((r) => String(p(e.formatter, r, m({
|
|
753
753
|
p: t,
|
|
754
754
|
v: r,
|
|
755
755
|
s: n,
|
|
@@ -799,7 +799,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
799
799
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
800
800
|
}), qr = _(() => {
|
|
801
801
|
let e = B.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Ur.value || [], r = J.value.start ?? 0, a = R.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
|
|
802
|
-
return
|
|
802
|
+
return ce(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Kr.value || 1), s, c, r, a, o);
|
|
803
803
|
});
|
|
804
804
|
Ze(() => {
|
|
805
805
|
B.value.orientation, B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.fontSize, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, qr.value?.map((e) => e?.text ?? "").join("|"), Hr.value, U.value.width, U.value.height, Mn.value, jn.value, kn.value, wr();
|
|
@@ -866,27 +866,27 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
866
866
|
NaN,
|
|
867
867
|
void 0,
|
|
868
868
|
null
|
|
869
|
-
].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
869
|
+
].includes(o) ? 0 : o, { min: c, max: l } = !B.value.style.chart.bars.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? ie(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : ae(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, ee = Z.value[0] ? Z.value[0].zero : G.value.bottom, te = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, ne = Array(Ir.value.length).fill(0), re = Array(Ir.value.length).fill(0);
|
|
870
870
|
return K.value.filter((e) => !L.value.includes(e.id)).map((a) => {
|
|
871
|
-
let o = a.series.slice(), s = o.map((e, t) =>
|
|
871
|
+
let o = a.series.slice(), s = o.map((e, t) => ne[t]), c = o.map((e, t) => re[t]);
|
|
872
872
|
o.forEach((e, t) => {
|
|
873
|
-
(Number(e) || 0) >= 0 ?
|
|
873
|
+
(Number(e) || 0) >= 0 ? ne[t] += Number(e) || 0 : re[t] += Math.abs(Number(e) || 0);
|
|
874
874
|
});
|
|
875
|
-
let l = a.series.slice(J.value.start, J.value.end),
|
|
875
|
+
let l = a.series.slice(J.value.start, J.value.end), ie = a.signedSeries.slice(J.value.start, J.value.end), ae = l.map((e, t) => ti(a, J.value.start + t)), p = o.map((e, t) => ti(a, t)), oe = l.map((e, t) => G.value.left + X.value * t + X.value * B.value.style.chart.bars.gapRatio / 4), m = (Ir.value || []).filter(Number.isFinite), se = m.length ? Math.max(...m) : 0, h = m.length ? Math.min(...m) : 0;
|
|
876
876
|
function ce({ minimapH: e }) {
|
|
877
|
-
let t = 1e-9, n =
|
|
878
|
-
if (n &&
|
|
879
|
-
let n = Math.max(
|
|
877
|
+
let t = 1e-9, n = se > 0;
|
|
878
|
+
if (n && h < 0) {
|
|
879
|
+
let n = Math.max(se, Math.abs(h)) || t;
|
|
880
880
|
return {
|
|
881
881
|
pxPerUnit: e / 2 / n,
|
|
882
882
|
zero: e / 2
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
885
|
return n ? {
|
|
886
|
-
pxPerUnit: e / Math.max(t,
|
|
886
|
+
pxPerUnit: e / Math.max(t, se),
|
|
887
887
|
zero: e
|
|
888
888
|
} : {
|
|
889
|
-
pxPerUnit: e / Math.max(t, Math.abs(
|
|
889
|
+
pxPerUnit: e / Math.max(t, Math.abs(h)),
|
|
890
890
|
zero: 0
|
|
891
891
|
};
|
|
892
892
|
}
|
|
@@ -924,10 +924,10 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
924
924
|
...a,
|
|
925
925
|
proportions: l.map((e, t) => B.value.style.chart.bars.distributed ? (e || 0) / Pr.value[t] : (e || 0) / _e),
|
|
926
926
|
series: l,
|
|
927
|
-
signedSeries:
|
|
928
|
-
rectKeys:
|
|
929
|
-
minimapRectKeys:
|
|
930
|
-
x:
|
|
927
|
+
signedSeries: ie,
|
|
928
|
+
rectKeys: ae,
|
|
929
|
+
minimapRectKeys: p,
|
|
930
|
+
x: oe,
|
|
931
931
|
y: de,
|
|
932
932
|
height: me,
|
|
933
933
|
horizontal_width: ge,
|
|
@@ -944,7 +944,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
944
944
|
})));
|
|
945
945
|
function ri(e, t, n, r, a) {
|
|
946
946
|
let o = a === -1 && e >= 0 ? -e : e;
|
|
947
|
-
return p(B.value.style.chart.bars.dataLabels.formatter, o,
|
|
947
|
+
return p(B.value.style.chart.bars.dataLabels.formatter, o, m({
|
|
948
948
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
949
949
|
v: o,
|
|
950
950
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -956,7 +956,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
958
|
function ii(e, t, n, r) {
|
|
959
|
-
return p(B.value.style.chart.bars.dataLabels.formatter, e,
|
|
959
|
+
return p(B.value.style.chart.bars.dataLabels.formatter, e, m({
|
|
960
960
|
v: isNaN(e) ? 0 : e,
|
|
961
961
|
s: "%",
|
|
962
962
|
r: B.value.style.chart.bars.dataLabels.rounding
|
|
@@ -1034,8 +1034,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1034
1034
|
config: B.value,
|
|
1035
1035
|
series: $.value
|
|
1036
1036
|
};
|
|
1037
|
-
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) =>
|
|
1038
|
-
if (
|
|
1037
|
+
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => h(e.value)).reduce((e, t) => e + t, 0);
|
|
1038
|
+
if (te(n) && ne(() => n({
|
|
1039
1039
|
seriesIndex: e,
|
|
1040
1040
|
datapoint: r,
|
|
1041
1041
|
series: $.value,
|
|
@@ -1051,7 +1051,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1051
1051
|
ee && (f += `<div style="width:100%;text-align:center;border-bottom:1px solid ${l};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (f += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1052
1052
|
<span>${s}:</span>
|
|
1053
1053
|
<span>
|
|
1054
|
-
${p(B.value.style.chart.bars.dataLabels.formatter, o,
|
|
1054
|
+
${p(B.value.style.chart.bars.dataLabels.formatter, o, m({
|
|
1055
1055
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1056
1056
|
v: o,
|
|
1057
1057
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1067,12 +1067,12 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1067
1067
|
f += `
|
|
1068
1068
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1069
1069
|
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${ln.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${I.value}_${e.absoluteIndex})"/>` : ""}</svg>
|
|
1070
|
-
${e.name}${t || c ? ":" : ""} ${t ? p(B.value.style.chart.bars.dataLabels.formatter, e.value,
|
|
1070
|
+
${e.name}${t || c ? ":" : ""} ${t ? p(B.value.style.chart.bars.dataLabels.formatter, e.value, m({
|
|
1071
1071
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1072
1072
|
v: e.value,
|
|
1073
1073
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
1074
1074
|
r: u
|
|
1075
|
-
}, { datapoint: e })) : ""} ${te[0]}${c ?
|
|
1075
|
+
}, { datapoint: e })) : ""} ${te[0]}${c ? m({
|
|
1076
1076
|
v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
|
|
1077
1077
|
s: "%",
|
|
1078
1078
|
r: d
|
|
@@ -1151,7 +1151,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1151
1151
|
[B.value.style.chart.title.text],
|
|
1152
1152
|
[B.value.style.chart.title.subtitle.text],
|
|
1153
1153
|
[""]
|
|
1154
|
-
], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a =
|
|
1154
|
+
], n = ["", ...vi.value.head.map((e) => e.label)], r = vi.value.body, a = ue(t.concat([n]).concat(r));
|
|
1155
1155
|
e ? e(a) : ee({
|
|
1156
1156
|
csvContent: a,
|
|
1157
1157
|
title: B.value.style.chart.title.text || "vue-ui-stackbar"
|
|
@@ -1438,8 +1438,8 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1438
1438
|
if (!Number.isFinite(e)) return;
|
|
1439
1439
|
let t, n;
|
|
1440
1440
|
B.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
|
|
1441
|
-
let
|
|
1442
|
-
|
|
1441
|
+
let r = u(t, n, $n.value);
|
|
1442
|
+
r && (zn.value = r);
|
|
1443
1443
|
}
|
|
1444
1444
|
let aa = _(() => ({
|
|
1445
1445
|
headers: bi.value?.colNames ?? [],
|
|
@@ -1460,7 +1460,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1460
1460
|
toggleAnnotator: ki,
|
|
1461
1461
|
toggleFullscreen: pi,
|
|
1462
1462
|
copyAlt: $i
|
|
1463
|
-
}), (t,
|
|
1463
|
+
}), (t, n) => (E(), b("div", {
|
|
1464
1464
|
id: `stackbar_${I.value}`,
|
|
1465
1465
|
ref_key: "stackbarChart",
|
|
1466
1466
|
ref: F,
|
|
@@ -1653,7 +1653,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1653
1653
|
x("div", nt, [(E(), b("svg", {
|
|
1654
1654
|
ref_key: "svgRef",
|
|
1655
1655
|
ref: $n,
|
|
1656
|
-
xmlns: j(
|
|
1656
|
+
xmlns: j(le),
|
|
1657
1657
|
"aria-describedby": `chart-instructions-${I.value}`,
|
|
1658
1658
|
viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
|
|
1659
1659
|
class: Ue({ "vue-data-ui-loading": j(qn) }),
|
|
@@ -1685,7 +1685,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1685
1685
|
}, null, 8, st),
|
|
1686
1686
|
x("stop", {
|
|
1687
1687
|
offset: "61.8%",
|
|
1688
|
-
"stop-color": j(
|
|
1688
|
+
"stop-color": j(de)(e.color, B.value.style.chart.bars.gradient.intensity / 100)
|
|
1689
1689
|
}, null, 8, ct),
|
|
1690
1690
|
x("stop", {
|
|
1691
1691
|
offset: "100%",
|
|
@@ -1756,7 +1756,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1756
1756
|
}), void 0, !0)])) : y("", !0), B.value.orientation === "vertical" ? (E(), b(g, { key: 1 }, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
|
|
1757
1757
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1758
1758
|
x: t,
|
|
1759
|
-
y: j(
|
|
1759
|
+
y: j(h)(e.y[n]),
|
|
1760
1760
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1761
1761
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1762
1762
|
width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1772,7 +1772,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1772
1772
|
}, null, 10, gt))), 128)), t.$slots.pattern ? (E(), b("g", _t, [(E(!0), b(g, null, O(e.x, (t, n) => (E(), b("rect", {
|
|
1773
1773
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1774
1774
|
x: t,
|
|
1775
|
-
y: j(
|
|
1775
|
+
y: j(h)(e.y[n]),
|
|
1776
1776
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1777
1777
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1778
1778
|
width: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1787,9 +1787,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1787
1787
|
})
|
|
1788
1788
|
}, null, 10, vt))), 128))])) : y("", !0)], 64)) : (E(), b(g, { key: 2 }, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
|
|
1789
1789
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1790
|
-
x: j(
|
|
1790
|
+
x: j(h)(t, G.value.left),
|
|
1791
1791
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1792
|
-
width: j(
|
|
1792
|
+
width: j(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1793
1793
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1794
1794
|
height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
1795
1795
|
fill: B.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
@@ -1803,9 +1803,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1803
1803
|
})
|
|
1804
1804
|
}, null, 10, yt))), 128)), t.$slots.pattern ? (E(), b("g", bt, [(E(!0), b(g, null, O(e.horizontal_x, (t, n) => (E(), b("rect", {
|
|
1805
1805
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1806
|
-
x: j(
|
|
1806
|
+
x: j(h)(t, G.value.left),
|
|
1807
1807
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1808
|
-
width: j(
|
|
1808
|
+
width: j(h)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1809
1809
|
rx: B.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : B.value.style.chart.bars.borderRadius,
|
|
1810
1810
|
height: X.value * (1 - B.value.style.chart.bars.gapRatio / 2),
|
|
1811
1811
|
fill: `url(#pattern_${I.value}_${e.absoluteIndex})`,
|
|
@@ -1866,7 +1866,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1866
1866
|
x: n + X.value * (1 - B.value.style.chart.bars.gapRatio / 2) / 2,
|
|
1867
1867
|
y: e.y[r] + e.height[r] / 2 + B.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1868
1868
|
"font-size": B.value.style.chart.bars.dataLabels.fontSize,
|
|
1869
|
-
fill: B.value.style.chart.bars.dataLabels.adaptColorToBackground ? j(
|
|
1869
|
+
fill: B.value.style.chart.bars.dataLabels.adaptColorToBackground ? j(se)(e.color) : B.value.style.chart.bars.dataLabels.color,
|
|
1870
1870
|
"font-weight": B.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1871
1871
|
"text-anchor": "middle"
|
|
1872
1872
|
}, A(B.value.style.chart.bars.showDistributedPercentage && B.value.style.chart.bars.distributed ? ii(e.proportions[r] * 100, e, t, r) : ri(e.series[r], e, t, r, e.signedSeries[r])), 9, Et)) : y("", !0)], 64))), 256))]))), 256)), B.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (E(), b("g", {
|
|
@@ -1887,7 +1887,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1887
1887
|
x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
|
|
1888
1888
|
y: e.horizontal_y[r] + X.value * (1 - B.value.style.chart.bars.gapRatio / 2) / 2 + B.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1889
1889
|
"font-size": B.value.style.chart.bars.dataLabels.fontSize,
|
|
1890
|
-
fill: B.value.style.chart.bars.dataLabels.adaptColorToBackground ? j(
|
|
1890
|
+
fill: B.value.style.chart.bars.dataLabels.adaptColorToBackground ? j(se)(e.color) : B.value.style.chart.bars.dataLabels.color,
|
|
1891
1891
|
"font-weight": B.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1892
1892
|
"text-anchor": "middle"
|
|
1893
1893
|
}, A(B.value.style.chart.bars.showDistributedPercentage && B.value.style.chart.bars.distributed ? ii(e.proportions[r] * 100, e, t, r) : ri(e.series[r], e, t, r, e.signedSeries[r])), 9, Ot)) : y("", !0)], 64))), 256))]))), 256)), B.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (E(), b("g", {
|
|
@@ -1921,7 +1921,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1921
1921
|
"font-weight": B.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1922
1922
|
fill: B.value.style.chart.grid.y.axisLabels.color,
|
|
1923
1923
|
"text-anchor": W.value ? "start" : "end"
|
|
1924
|
-
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(
|
|
1924
|
+
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(m)({
|
|
1925
1925
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1926
1926
|
v: e.value,
|
|
1927
1927
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1946,7 +1946,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1946
1946
|
fill: B.value.style.chart.grid.y.axisLabels.color,
|
|
1947
1947
|
"text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1948
1948
|
transform: `translate(${e.horizontal_x}, ${G.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1949
|
-
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(
|
|
1949
|
+
}, A(j(p)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, j(m)({
|
|
1950
1950
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
1951
1951
|
v: e.value,
|
|
1952
1952
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1979,7 +1979,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
1979
1979
|
rotate(${B.value.style.chart.grid.x.timeLabels.rotation})
|
|
1980
1980
|
`,
|
|
1981
1981
|
style: T({ cursor: V.value ? "pointer" : "default" }),
|
|
1982
|
-
innerHTML: j(
|
|
1982
|
+
innerHTML: j(a)({
|
|
1983
1983
|
content: String(e.text),
|
|
1984
1984
|
fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1985
1985
|
fill: B.value.style.chart.grid.x.timeLabels.color,
|
|
@@ -2136,9 +2136,9 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2136
2136
|
"onUpdate:end": Ji,
|
|
2137
2137
|
"onUpdate:start": qi,
|
|
2138
2138
|
onTrapMouse: Dr,
|
|
2139
|
-
onReset:
|
|
2140
|
-
onFutureEnd:
|
|
2141
|
-
onFutureStart:
|
|
2139
|
+
onReset: n[0] ||= () => Nr({ force: !0 }),
|
|
2140
|
+
onFutureEnd: n[1] ||= (e) => kr("end", e),
|
|
2141
|
+
onFutureStart: n[2] ||= (e) => kr("start", e)
|
|
2142
2142
|
}, {
|
|
2143
2143
|
"reset-action": M(({ reset: e }) => [k(t.$slots, "reset-action", w(C({ reset: e })), void 0, !0)]),
|
|
2144
2144
|
slotMap: M(({ width: e, height: t, unitW: n }) => [(E(!0), b(g, null, O($.value, (e) => (E(), b("g", { key: e.id }, [(E(!0), b(g, null, O(e.xMinimap({
|
|
@@ -2176,7 +2176,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2176
2176
|
parent: F.value,
|
|
2177
2177
|
content: pn.value,
|
|
2178
2178
|
isFullscreen: yn.value,
|
|
2179
|
-
isCustom: j(
|
|
2179
|
+
isCustom: j(te)(B.value.style.chart.tooltip.customFormat),
|
|
2180
2180
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
2181
2181
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
2182
2182
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
|
@@ -2224,7 +2224,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2224
2224
|
legendSet: Ei.value,
|
|
2225
2225
|
config: Di.value,
|
|
2226
2226
|
isCursorPointer: V.value,
|
|
2227
|
-
onClickMarker:
|
|
2227
|
+
onClickMarker: n[3] ||= ({ legend: e }) => e.segregate()
|
|
2228
2228
|
}, Re({
|
|
2229
2229
|
item: M(({ legend: e }) => [j(qn) ? y("", !0) : (E(), b("div", {
|
|
2230
2230
|
key: 0,
|
|
@@ -2287,7 +2287,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2287
2287
|
onClose: Fi
|
|
2288
2288
|
}, {
|
|
2289
2289
|
th: M(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Xt)]),
|
|
2290
|
-
td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(
|
|
2290
|
+
td: M(({ td: e }) => [ze(A(isNaN(Number(e)) ? e : j(m)({
|
|
2291
2291
|
p: B.value.style.chart.bars.dataLabels.prefix,
|
|
2292
2292
|
v: e,
|
|
2293
2293
|
s: B.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -2313,7 +2313,7 @@ var Qe = /* @__PURE__ */ e({ default: () => Zt }), $e = ["id"], et = ["id"], tt
|
|
|
2313
2313
|
fn: M(() => [x("button", {
|
|
2314
2314
|
tabindex: "0",
|
|
2315
2315
|
class: "vue-ui-user-options-button",
|
|
2316
|
-
onClick:
|
|
2316
|
+
onClick: n[4] ||= (e) => yi(B.value.userOptions.callbacks.csv),
|
|
2317
2317
|
style: T({ cursor: V.value ? "pointer" : "default" })
|
|
2318
2318
|
}, [Be(j(Qt), {
|
|
2319
2319
|
name: "fileCsv",
|