vue-data-ui 3.22.9 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.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-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- 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/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { At as t, C as n, Dt as r, E as a, G as o, Gt as s, K as c, Nt as l, Q as u, Ut as d, W as f, Wt as ee, Y as p, _ as te, at as m, bt as ne, et as re, ft as ie, g as ae, i as h, qt as oe, r as se, s as ce, st as le, t as ue, ut as de, x as fe } from "./lib-CnHx5WfV.js";
|
|
3
3
|
import { n as pe, r as me, t as he } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as ge } from "./useConfig-DYM3f6EI.js";
|
|
5
|
-
import { t as _e } from "./usePrinter-
|
|
5
|
+
import { t as _e } from "./usePrinter-B-X_Pub0.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as be } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as xe } from "./useNestedProp-
|
|
8
|
+
import { t as xe } from "./useNestedProp-D8NuRneO.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ce } from "./useStableElementSize-C7KADDKj.js";
|
|
11
11
|
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Te } from "./img-
|
|
13
|
-
import { n as Ee } from "./Title-
|
|
14
|
-
import { t as De } from "./Shape-
|
|
12
|
+
import { t as Te } from "./img-CNdXiUfZ.js";
|
|
13
|
+
import { n as Ee } from "./Title-Cr3jP7Qd.js";
|
|
14
|
+
import { t as De } from "./Shape-B5ksaGa1.js";
|
|
15
15
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { c as ke } from "./canvas-lib-BOP_HS11.js";
|
|
17
17
|
import { t as Ae } from "./useResponsive-BfnK0KxU.js";
|
|
18
18
|
import { t as je } from "./DefGrad-DVBqDjhO.js";
|
|
19
|
-
import { t as Me } from "./SlicerPreview-
|
|
20
|
-
import { t as Ne } from "./BaseLegendToggle-
|
|
19
|
+
import { t as Me } from "./SlicerPreview-3n516NyE.js";
|
|
20
|
+
import { t as Ne } from "./BaseLegendToggle-BrQ2OlzI.js";
|
|
21
21
|
import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
|
|
22
22
|
import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
|
|
23
23
|
import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
|
|
24
|
-
import { t as Le } from "./Legend-
|
|
24
|
+
import { t as Le } from "./Legend-5VQGLnmx.js";
|
|
25
25
|
import { t as Re } from "./vue_ui_stackbar-COOrQQdK.js";
|
|
26
|
-
import { Fragment as g, Teleport as ze, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as
|
|
26
|
+
import { Fragment as g, Teleport as ze, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as Be, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as x, guardReactiveProps as S, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as qe, onMounted as Je, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as k, toRefs as Ze, unref as A, useSlots as Qe, watch as $e, watchEffect as et, withCtx as j } from "vue";
|
|
27
27
|
//#region src/components/vue-ui-stackbar.vue
|
|
28
28
|
var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
|
|
29
29
|
"xmlns",
|
|
@@ -281,14 +281,14 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
281
281
|
"copyAlt"
|
|
282
282
|
],
|
|
283
283
|
setup(e, { expose: Oe, emit: tt }) {
|
|
284
|
-
let Xt =
|
|
284
|
+
let Xt = x(() => import("./Tooltip-CDbLl3TD.js")), Zt = x(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), Qt = x(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), $t = x(() => import("./DataTable-ByZy5gt1.js")), en = x(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), tn = x(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), nn = x(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), rn = x(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_stackbar: an } = ge(), { isThemeValid: on, warnInvalidTheme: sn } = Se(), cn = Qe(), M = e, N = tt, ln = _({
|
|
285
285
|
get() {
|
|
286
286
|
return !!M.dataset && M.dataset.length;
|
|
287
287
|
},
|
|
288
288
|
set(e) {
|
|
289
289
|
return e;
|
|
290
290
|
}
|
|
291
|
-
}), P = E(null), F = E(
|
|
291
|
+
}), P = E(null), F = E(c()), un = E(!1), dn = E(null), fn = E(""), I = E([]), pn = E(0), mn = E(null), hn = E(null), gn = E(null), _n = E(null), vn = E(!1), L = E(null), yn = E(!1), bn = E(0), xn = E(0), Sn = E(0), Cn = E(!1), wn = E(null), Tn = E(null), En = E(!1), Dn = E(!1), On = E(null), kn = E(null), An = E(null), jn = E(null), Mn = E(null), Nn = E(null), Pn = Xe(null), Fn = E(!1), In = E(0), Ln = E(0), R = E(null), Rn = E({
|
|
292
292
|
x: 0,
|
|
293
293
|
y: 0
|
|
294
294
|
}), zn = E("pointer"), Bn = Ce({
|
|
@@ -319,7 +319,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
319
319
|
Je(() => {
|
|
320
320
|
Cn.value = !0, Vn(), Bn.start(), fr();
|
|
321
321
|
});
|
|
322
|
-
let z = E(tr()), B = _(() => z.value.userOptions.useCursorPointer), Gn = _(() =>
|
|
322
|
+
let z = E(tr()), B = _(() => z.value.userOptions.useCursorPointer), Gn = _(() => oe({
|
|
323
323
|
defaultConfig: {
|
|
324
324
|
userOptions: { show: !1 },
|
|
325
325
|
useCssAnimation: !1,
|
|
@@ -396,7 +396,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
396
396
|
],
|
|
397
397
|
color: "#CACACA"
|
|
398
398
|
}],
|
|
399
|
-
skeletonConfig:
|
|
399
|
+
skeletonConfig: oe({
|
|
400
400
|
defaultConfig: z.value,
|
|
401
401
|
userConfig: Gn.value
|
|
402
402
|
})
|
|
@@ -427,7 +427,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
427
427
|
userConfig: M.config,
|
|
428
428
|
defaultConfig: r
|
|
429
429
|
}),
|
|
430
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
430
|
+
customPalette: e.customPalette.length ? e.customPalette : s[n] || l
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
else t = e;
|
|
@@ -464,26 +464,26 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
464
464
|
bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
|
|
465
465
|
left: z.value.style.chart.padding.left / z.value.style.chart.width
|
|
466
466
|
}
|
|
467
|
-
}), cr = _(() =>
|
|
467
|
+
}), cr = _(() => n(z.value.customPalette)), U = Xe(null), lr = Xe(null), ur = E(null), dr = _(() => !!z.value.debug);
|
|
468
468
|
function fr({ resetSlicer: e = !0 } = {}) {
|
|
469
|
-
if (
|
|
469
|
+
if (t(M.dataset) ? (re({
|
|
470
470
|
componentName: "VueUiStackbar",
|
|
471
471
|
type: "dataset",
|
|
472
472
|
debug: dr.value
|
|
473
|
-
}), Jn.value = !0) : M.dataset.forEach((e,
|
|
474
|
-
|
|
473
|
+
}), Jn.value = !0) : M.dataset.forEach((e, t) => {
|
|
474
|
+
ie({
|
|
475
475
|
datasetObject: e,
|
|
476
476
|
requiredAttributes: ["name", "series"]
|
|
477
477
|
}).forEach((e) => {
|
|
478
|
-
ln.value = !1,
|
|
478
|
+
ln.value = !1, re({
|
|
479
479
|
componentName: "VueUiStackbar",
|
|
480
480
|
type: "datasetSerieAttribute",
|
|
481
481
|
property: e,
|
|
482
|
-
index:
|
|
482
|
+
index: t,
|
|
483
483
|
debug: dr.value
|
|
484
484
|
}), Jn.value = !0;
|
|
485
485
|
});
|
|
486
|
-
}),
|
|
486
|
+
}), t(M.dataset) || (Jn.value = z.value.loading), setTimeout(() => {
|
|
487
487
|
yn.value = !0;
|
|
488
488
|
}, 10), z.value.responsive) {
|
|
489
489
|
let e = ke(() => {
|
|
@@ -606,7 +606,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
606
606
|
let e = pr();
|
|
607
607
|
a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
|
|
608
608
|
}
|
|
609
|
-
let l = z.value.style.chart.padding.top + r, u = t - t * n - hr.value - o, d = e - z.value.style.chart.padding.bottom - Cr.value - r, f = z.value.style.chart.padding.left + a,
|
|
609
|
+
let l = z.value.style.chart.padding.top + r, u = t - t * n - hr.value - o, d = e - z.value.style.chart.padding.bottom - Cr.value - r, f = z.value.style.chart.padding.left + a, ee = t - f - t * n - hr.value - o, p = e - l - z.value.style.chart.padding.bottom - Cr.value - r;
|
|
610
610
|
return {
|
|
611
611
|
chartHeight: e,
|
|
612
612
|
chartWidth: t,
|
|
@@ -614,8 +614,8 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
614
614
|
right: u,
|
|
615
615
|
bottom: d,
|
|
616
616
|
left: f,
|
|
617
|
-
width: Math.max(0,
|
|
618
|
-
height: Math.max(0,
|
|
617
|
+
width: Math.max(0, ee),
|
|
618
|
+
height: Math.max(0, p),
|
|
619
619
|
offsetLeft: a,
|
|
620
620
|
offsetRightAxis: o,
|
|
621
621
|
scaleLabelsWidth: s,
|
|
@@ -655,7 +655,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
655
655
|
};
|
|
656
656
|
}
|
|
657
657
|
}), K = _(() => qn.value.map((e, t) => {
|
|
658
|
-
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a =
|
|
658
|
+
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = fe(e.color) || cr.value[t] || l[t] || l[t % l.length];
|
|
659
659
|
return {
|
|
660
660
|
...e,
|
|
661
661
|
datasetKey: r,
|
|
@@ -705,7 +705,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
705
705
|
let X = _(() => {
|
|
706
706
|
let e;
|
|
707
707
|
return e = z.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;
|
|
708
|
-
}), Mr = _(() =>
|
|
708
|
+
}), Mr = _(() => d(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Nr = _(() => I.value.length === K.value.length), Pr = _(() => z.value.style.chart.zoom.minimap.show ? d(K.value.map((e) => ({
|
|
709
709
|
...e,
|
|
710
710
|
series: e.series.map((e) => e ?? 0)
|
|
711
711
|
})).filter((e) => Nr.value ? !0 : !I.value.includes(e.id))) : []), Fr = _(() => z.value.style.chart.zoom.minimap.show ? [{
|
|
@@ -713,17 +713,17 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
713
713
|
series: Pr.value,
|
|
714
714
|
color: "#000000",
|
|
715
715
|
isVisible: !0
|
|
716
|
-
}] : []), Ir = _(() =>
|
|
716
|
+
}] : []), Ir = _(() => d(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
|
|
717
717
|
...e,
|
|
718
718
|
series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
|
|
719
719
|
}))).slice(J.value.start, J.value.end)), Lr = _(() => {
|
|
720
720
|
let e = K.value.filter((e) => !I.value.includes(e.id));
|
|
721
721
|
return {
|
|
722
|
-
positive:
|
|
722
|
+
positive: d(e.map((e) => ({
|
|
723
723
|
...e,
|
|
724
724
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
|
|
725
725
|
}))),
|
|
726
|
-
negative:
|
|
726
|
+
negative: d(e.map((e) => ({
|
|
727
727
|
...e,
|
|
728
728
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
|
|
729
729
|
})))
|
|
@@ -736,7 +736,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
736
736
|
void 0,
|
|
737
737
|
null
|
|
738
738
|
].includes(t) ? 0 : t;
|
|
739
|
-
return !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
739
|
+
return !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? te(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks) : ae(n > 0 ? 0 : n, e < 0 ? 0 : e, z.value.style.chart.grid.scale.ticks);
|
|
740
740
|
}), zr = _(() => Rr.value.ticks), Z = _(() => {
|
|
741
741
|
let e = Rr.value, t = e.max + Math.abs(e.min);
|
|
742
742
|
return zr.value.map((n) => ({
|
|
@@ -750,7 +750,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
750
750
|
}));
|
|
751
751
|
}), Br = _(() => {
|
|
752
752
|
let e = z.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = z.value.style.chart.bars.dataLabels;
|
|
753
|
-
return zr.value.map((r) => String(
|
|
753
|
+
return zr.value.map((r) => String(h(e.formatter, r, p({
|
|
754
754
|
p: t,
|
|
755
755
|
v: r,
|
|
756
756
|
s: n,
|
|
@@ -800,7 +800,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
800
800
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
801
801
|
}), Gr = _(() => {
|
|
802
802
|
let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Vr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
|
|
803
|
-
return
|
|
803
|
+
return ce(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Wr.value || 1), s, c, r, a, o);
|
|
804
804
|
});
|
|
805
805
|
et(() => {
|
|
806
806
|
z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Gr.value?.map((e) => e?.text ?? "").join("|"), Br.value, H.value.width, H.value.height, jn.value, An.value, On.value, Sr();
|
|
@@ -867,13 +867,13 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
867
867
|
NaN,
|
|
868
868
|
void 0,
|
|
869
869
|
null
|
|
870
|
-
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ?
|
|
870
|
+
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? te(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : ae(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.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, p = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, m = Array(Pr.value.length).fill(0), ne = Array(Pr.value.length).fill(0);
|
|
871
871
|
return K.value.filter((e) => !I.value.includes(e.id)).map((a) => {
|
|
872
|
-
let o = a.series.slice(), s = o.map((e, t) =>
|
|
872
|
+
let o = a.series.slice(), s = o.map((e, t) => m[t]), c = o.map((e, t) => ne[t]);
|
|
873
873
|
o.forEach((e, t) => {
|
|
874
|
-
(Number(e) || 0) >= 0 ?
|
|
874
|
+
(Number(e) || 0) >= 0 ? m[t] += Number(e) || 0 : ne[t] += Math.abs(Number(e) || 0);
|
|
875
875
|
});
|
|
876
|
-
let l = a.series.slice(J.value.start, J.value.end),
|
|
876
|
+
let l = a.series.slice(J.value.start, J.value.end), te = a.signedSeries.slice(J.value.start, J.value.end), re = l.map((e, t) => $r(a, J.value.start + t)), ie = o.map((e, t) => $r(a, t)), ae = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Pr.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
|
|
877
877
|
function ce({ minimapH: e }) {
|
|
878
878
|
let t = 1e-9, n = oe > 0;
|
|
879
879
|
if (n && se < 0) {
|
|
@@ -896,7 +896,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
896
896
|
return o.map((r, a) => e + t * a + n);
|
|
897
897
|
}, ue = l.map((e, t) => G.value.top + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), de = l.map((t, r) => {
|
|
898
898
|
let a = z.value.style.chart.bars.distributed ? (t || 0) / Mr.value[r] : (t || 0) / u, o, s;
|
|
899
|
-
return t > 0 ? (s = d * a, o =
|
|
899
|
+
return t > 0 ? (s = d * a, o = ee - s - e[r], e[r] += s) : (s = d * a, o = ee + n[r], n[r] += Math.abs(s)), o;
|
|
900
900
|
}), fe = ({ minimapH: e }) => {
|
|
901
901
|
if (z.value.style.chart.bars.distributed) return o.map((t, n) => {
|
|
902
902
|
let r = Math.abs(Number(t) || 0), a = Math.abs(Pr.value?.[n] || 0) || 1e-9;
|
|
@@ -909,7 +909,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
909
909
|
});
|
|
910
910
|
}, pe = l.map((e, n) => {
|
|
911
911
|
let a = z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[n] : (e || 0) / u, o, s;
|
|
912
|
-
return e > 0 ? (s = f * a, o =
|
|
912
|
+
return e > 0 ? (s = f * a, o = p + t[n], t[n] += s) : (s = f * a, o = p - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
|
|
913
913
|
}), me = l.map((e, t) => {
|
|
914
914
|
let n = z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[t] : (e || 0) / u;
|
|
915
915
|
return e > 0 ? d * n : d * Math.abs(n);
|
|
@@ -925,10 +925,10 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
925
925
|
...a,
|
|
926
926
|
proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Mr.value[t] : (e || 0) / _e),
|
|
927
927
|
series: l,
|
|
928
|
-
signedSeries:
|
|
929
|
-
rectKeys:
|
|
930
|
-
minimapRectKeys:
|
|
931
|
-
x:
|
|
928
|
+
signedSeries: te,
|
|
929
|
+
rectKeys: re,
|
|
930
|
+
minimapRectKeys: ie,
|
|
931
|
+
x: ae,
|
|
932
932
|
y: de,
|
|
933
933
|
height: me,
|
|
934
934
|
horizontal_width: ge,
|
|
@@ -944,10 +944,10 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
944
944
|
sign: e >= 0 ? 1 : -1
|
|
945
945
|
})));
|
|
946
946
|
function ti(e, t, n, r, a) {
|
|
947
|
-
let
|
|
948
|
-
return
|
|
947
|
+
let o = a === -1 && e >= 0 ? -e : e;
|
|
948
|
+
return h(z.value.style.chart.bars.dataLabels.formatter, o, p({
|
|
949
949
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
950
|
-
v:
|
|
950
|
+
v: o,
|
|
951
951
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
952
952
|
r: z.value.style.chart.bars.dataLabels.rounding
|
|
953
953
|
}), {
|
|
@@ -957,7 +957,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
957
957
|
});
|
|
958
958
|
}
|
|
959
959
|
function ni(e, t, n, r) {
|
|
960
|
-
return
|
|
960
|
+
return h(z.value.style.chart.bars.dataLabels.formatter, e, p({
|
|
961
961
|
v: isNaN(e) ? 0 : e,
|
|
962
962
|
s: "%",
|
|
963
963
|
r: z.value.style.chart.bars.dataLabels.rounding
|
|
@@ -1035,8 +1035,8 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1035
1035
|
config: z.value,
|
|
1036
1036
|
series: $.value
|
|
1037
1037
|
};
|
|
1038
|
-
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0),
|
|
1039
|
-
if (
|
|
1038
|
+
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), o = r.map((e) => m(e.value)).reduce((e, t) => e + t, 0);
|
|
1039
|
+
if (ne(n) && le(() => n({
|
|
1040
1040
|
seriesIndex: e,
|
|
1041
1041
|
datapoint: r,
|
|
1042
1042
|
series: $.value,
|
|
@@ -1048,39 +1048,39 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1048
1048
|
config: z.value
|
|
1049
1049
|
});
|
|
1050
1050
|
else {
|
|
1051
|
-
let { showValue: t, showTotal: n, totalTranslation:
|
|
1052
|
-
ee && (
|
|
1053
|
-
<span>${
|
|
1051
|
+
let { showValue: t, showTotal: n, totalTranslation: s, showPercentage: c, borderColor: l, roundingValue: u, roundingPercentage: d } = z.value.style.chart.tooltip, f = "", ee = si(e);
|
|
1052
|
+
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">
|
|
1053
|
+
<span>${s}:</span>
|
|
1054
1054
|
<span>
|
|
1055
|
-
${
|
|
1055
|
+
${h(z.value.style.chart.bars.dataLabels.formatter, o, p({
|
|
1056
1056
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1057
|
-
v:
|
|
1057
|
+
v: o,
|
|
1058
1058
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1059
|
-
r:
|
|
1059
|
+
r: u
|
|
1060
1060
|
}), { datapoint: {
|
|
1061
|
-
name:
|
|
1062
|
-
value:
|
|
1061
|
+
name: s,
|
|
1062
|
+
value: o
|
|
1063
1063
|
} })}
|
|
1064
1064
|
</span>
|
|
1065
1065
|
</div>`);
|
|
1066
|
-
let te = [t &&
|
|
1066
|
+
let te = [t && c ? "(" : "", t && c ? ")" : ""];
|
|
1067
1067
|
r.reverse().forEach((e) => {
|
|
1068
|
-
|
|
1068
|
+
f += `
|
|
1069
1069
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1070
1070
|
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${cn.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
|
|
1071
|
-
${e.name}${t ||
|
|
1071
|
+
${e.name}${t || c ? ":" : ""} ${t ? h(z.value.style.chart.bars.dataLabels.formatter, e.value, p({
|
|
1072
1072
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1073
1073
|
v: e.value,
|
|
1074
1074
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1075
|
-
r:
|
|
1076
|
-
}, { datapoint: e })) : ""} ${te[0]}${
|
|
1075
|
+
r: u
|
|
1076
|
+
}, { datapoint: e })) : ""} ${te[0]}${c ? p({
|
|
1077
1077
|
v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
|
|
1078
1078
|
s: "%",
|
|
1079
|
-
r:
|
|
1079
|
+
r: d
|
|
1080
1080
|
}) : ""}${te[1]}
|
|
1081
1081
|
</div>
|
|
1082
1082
|
`;
|
|
1083
|
-
}), fn.value = `<div>${
|
|
1083
|
+
}), fn.value = `<div>${f}</div>`;
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
1086
|
let li = _(() => H.value.width), ui = _(() => H.value.height);
|
|
@@ -1152,9 +1152,9 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1152
1152
|
[z.value.style.chart.title.text],
|
|
1153
1153
|
[z.value.style.chart.title.subtitle.text],
|
|
1154
1154
|
[""]
|
|
1155
|
-
], n = ["", ...gi.value.head.map((e) => e.label)], r = gi.value.body,
|
|
1156
|
-
e ? e(
|
|
1157
|
-
csvContent:
|
|
1155
|
+
], n = ["", ...gi.value.head.map((e) => e.label)], r = gi.value.body, o = a(t.concat([n]).concat(r));
|
|
1156
|
+
e ? e(o) : u({
|
|
1157
|
+
csvContent: o,
|
|
1158
1158
|
title: z.value.style.chart.title.text || "vue-ui-stackbar"
|
|
1159
1159
|
});
|
|
1160
1160
|
}
|
|
@@ -1255,7 +1255,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1255
1255
|
width: r.width,
|
|
1256
1256
|
height: r.height,
|
|
1257
1257
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1258
|
-
}, o = await
|
|
1258
|
+
}, o = await de(t, e) ?? a;
|
|
1259
1259
|
return {
|
|
1260
1260
|
imageUri: t,
|
|
1261
1261
|
base64: n,
|
|
@@ -1441,7 +1441,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1441
1441
|
if (!Number.isFinite(e)) return;
|
|
1442
1442
|
let t, n;
|
|
1443
1443
|
z.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);
|
|
1444
|
-
let r =
|
|
1444
|
+
let r = ee(t, n, Qn.value);
|
|
1445
1445
|
r && (Rn.value = r);
|
|
1446
1446
|
}
|
|
1447
1447
|
let ra = _(() => ({
|
|
@@ -1463,7 +1463,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1463
1463
|
toggleAnnotator: Di,
|
|
1464
1464
|
toggleFullscreen: di,
|
|
1465
1465
|
copyAlt: Zi
|
|
1466
|
-
}), (t,
|
|
1466
|
+
}), (t, n) => (T(), b("div", {
|
|
1467
1467
|
id: `stackbar_${F.value}`,
|
|
1468
1468
|
ref_key: "stackbarChart",
|
|
1469
1469
|
ref: P,
|
|
@@ -1476,10 +1476,10 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1476
1476
|
onMouseenter: $n,
|
|
1477
1477
|
onMouseleave: er
|
|
1478
1478
|
}, [
|
|
1479
|
-
|
|
1479
|
+
Be("div", {
|
|
1480
1480
|
id: `chart-instructions-${F.value}`,
|
|
1481
1481
|
class: "sr-only"
|
|
1482
|
-
}, [
|
|
1482
|
+
}, [Be("p", null, k(z.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
|
|
1483
1483
|
ra.value?.rows?.length ? (T(), v(Pe, {
|
|
1484
1484
|
key: 0,
|
|
1485
1485
|
uid: F.value,
|
|
@@ -1536,7 +1536,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
1538
|
}, null, 8, ["config"]))], 512)) : y("", !0),
|
|
1539
|
-
|
|
1539
|
+
Be("div", { id: `legend-top-${F.value}` }, null, 8, it),
|
|
1540
1540
|
z.value.userOptions.show && ln.value && (A(Zn) || A(Yn)) ? (T(), v(A(tn), {
|
|
1541
1541
|
ref_key: "userOptionsRef",
|
|
1542
1542
|
ref: Tn,
|
|
@@ -1577,7 +1577,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1577
1577
|
onToggleAnnotator: Di,
|
|
1578
1578
|
onCopyAlt: Zi,
|
|
1579
1579
|
style: w({ visibility: A(Zn) ? A(Yn) ? "visible" : "hidden" : "visible" })
|
|
1580
|
-
},
|
|
1580
|
+
}, Ve({ _: 2 }, [
|
|
1581
1581
|
t.$slots.menuIcon ? {
|
|
1582
1582
|
name: "menuIcon",
|
|
1583
1583
|
fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
|
|
@@ -1653,10 +1653,10 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1653
1653
|
key: "12"
|
|
1654
1654
|
} : void 0
|
|
1655
1655
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
|
|
1656
|
-
|
|
1656
|
+
Be("div", at, [(T(), b("svg", {
|
|
1657
1657
|
ref_key: "svgRef",
|
|
1658
1658
|
ref: Qn,
|
|
1659
|
-
xmlns: A(
|
|
1659
|
+
xmlns: A(ue),
|
|
1660
1660
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1661
1661
|
viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
|
|
1662
1662
|
class: Ke({ "vue-data-ui-loading": A(Kn) }),
|
|
@@ -1666,7 +1666,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1666
1666
|
onBlur: ea,
|
|
1667
1667
|
onKeydown: ta
|
|
1668
1668
|
}, [
|
|
1669
|
-
|
|
1669
|
+
Ue(A(nn)),
|
|
1670
1670
|
t.$slots["chart-background"] ? (T(), b("foreignObject", {
|
|
1671
1671
|
key: 0,
|
|
1672
1672
|
x: G.value.left,
|
|
@@ -1691,7 +1691,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1691
1691
|
],
|
|
1692
1692
|
[
|
|
1693
1693
|
"61.8%",
|
|
1694
|
-
A(
|
|
1694
|
+
A(r)(e.color, z.value.style.chart.bars.gradient.intensity / 100),
|
|
1695
1695
|
1
|
|
1696
1696
|
],
|
|
1697
1697
|
[
|
|
@@ -1765,7 +1765,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1765
1765
|
}), void 0, !0)])) : y("", !0), z.value.orientation === "vertical" ? (T(), b(g, { key: 1 }, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
|
|
1766
1766
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1767
1767
|
x: t,
|
|
1768
|
-
y: A(
|
|
1768
|
+
y: A(m)(e.y[n]),
|
|
1769
1769
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1770
1770
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1771
1771
|
width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1781,7 +1781,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1781
1781
|
}, null, 10, ht))), 128)), t.$slots.pattern ? (T(), b("g", gt, [(T(!0), b(g, null, D(e.x, (t, n) => (T(), b("rect", {
|
|
1782
1782
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1783
1783
|
x: t,
|
|
1784
|
-
y: A(
|
|
1784
|
+
y: A(m)(e.y[n]),
|
|
1785
1785
|
height: e.height[n] < 0 ? 1e-4 : e.height[n] || 0,
|
|
1786
1786
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1787
1787
|
width: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
@@ -1796,9 +1796,9 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1796
1796
|
})
|
|
1797
1797
|
}, null, 10, _t))), 128))])) : y("", !0)], 64)) : (T(), b(g, { key: 2 }, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
|
|
1798
1798
|
key: `stackbar-rect-${e.rectKeys[n]}`,
|
|
1799
|
-
x: A(
|
|
1799
|
+
x: A(m)(t, G.value.left),
|
|
1800
1800
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1801
|
-
width: A(
|
|
1801
|
+
width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1802
1802
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1803
1803
|
height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
1804
1804
|
fill: z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color,
|
|
@@ -1812,9 +1812,9 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1812
1812
|
})
|
|
1813
1813
|
}, null, 10, vt))), 128)), t.$slots.pattern ? (T(), b("g", yt, [(T(!0), b(g, null, D(e.horizontal_x, (t, n) => (T(), b("rect", {
|
|
1814
1814
|
key: `stackbar-pattern-rect-${e.rectKeys[n]}`,
|
|
1815
|
-
x: A(
|
|
1815
|
+
x: A(m)(t, G.value.left),
|
|
1816
1816
|
y: e.horizontal_y[n] < 0 ? 0 : e.horizontal_y[n],
|
|
1817
|
-
width: A(
|
|
1817
|
+
width: A(m)(e.horizontal_width[n] < 0 ? 1e-4 : e.horizontal_width[n]),
|
|
1818
1818
|
rx: z.value.style.chart.bars.borderRadius > e.height[n] / 2 ? (e.height[n] < 0 ? 0 : e.height[n]) / 2 : z.value.style.chart.bars.borderRadius,
|
|
1819
1819
|
height: X.value * (1 - z.value.style.chart.bars.gapRatio / 2),
|
|
1820
1820
|
fill: `url(#pattern_${F.value}_${e.absoluteIndex})`,
|
|
@@ -1875,7 +1875,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1875
1875
|
x: n + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2,
|
|
1876
1876
|
y: e.y[r] + e.height[r] / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1877
1877
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1878
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1878
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1879
1879
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1880
1880
|
"text-anchor": "middle"
|
|
1881
1881
|
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ni(e.proportions[r] * 100, e, t, r) : ti(e.series[r], e, t, r, e.signedSeries[r])), 9, Tt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
@@ -1896,7 +1896,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1896
1896
|
x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
|
|
1897
1897
|
y: e.horizontal_y[r] + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1898
1898
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1899
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1899
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(se)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1900
1900
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1901
1901
|
"text-anchor": "middle"
|
|
1902
1902
|
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ni(e.proportions[r] * 100, e, t, r) : ti(e.series[r], e, t, r, e.signedSeries[r])), 9, Dt)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
@@ -1930,7 +1930,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1930
1930
|
"font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1931
1931
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1932
1932
|
"text-anchor": W.value ? "start" : "end"
|
|
1933
|
-
}, k(A(
|
|
1933
|
+
}, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(p)({
|
|
1934
1934
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1935
1935
|
v: e.value,
|
|
1936
1936
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1955,7 +1955,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1955
1955
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1956
1956
|
"text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1957
1957
|
transform: `translate(${e.horizontal_x}, ${G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1958
|
-
}, k(A(
|
|
1958
|
+
}, k(A(h)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(p)({
|
|
1959
1959
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1960
1960
|
v: e.value,
|
|
1961
1961
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1988,7 +1988,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
1988
1988
|
rotate(${z.value.style.chart.grid.x.timeLabels.rotation})
|
|
1989
1989
|
`,
|
|
1990
1990
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
1991
|
-
innerHTML: A(
|
|
1991
|
+
innerHTML: A(f)({
|
|
1992
1992
|
content: String(e.text),
|
|
1993
1993
|
fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1994
1994
|
fill: z.value.style.chart.grid.x.timeLabels.color,
|
|
@@ -2031,7 +2031,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2031
2031
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2032
2032
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
2033
2033
|
onClick: () => Oi(e, t),
|
|
2034
|
-
innerHTML: A(
|
|
2034
|
+
innerHTML: A(o)({
|
|
2035
2035
|
content: String(e.text),
|
|
2036
2036
|
fontSize: z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2037
2037
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
@@ -2146,9 +2146,9 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2146
2146
|
"onUpdate:end": Ki,
|
|
2147
2147
|
"onUpdate:start": Gi,
|
|
2148
2148
|
onTrapMouse: Tr,
|
|
2149
|
-
onReset:
|
|
2150
|
-
onFutureEnd:
|
|
2151
|
-
onFutureStart:
|
|
2149
|
+
onReset: n[0] ||= () => jr({ force: !0 }),
|
|
2150
|
+
onFutureEnd: n[1] ||= (e) => Dr("end", e),
|
|
2151
|
+
onFutureStart: n[2] ||= (e) => Dr("start", e)
|
|
2152
2152
|
}, {
|
|
2153
2153
|
"reset-action": j(({ reset: e }) => [O(t.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
|
|
2154
2154
|
slotMap: j(({ width: e, height: t, unitW: n }) => [(T(!0), b(g, null, D($.value, (e) => (T(), b("g", { key: e.id }, [(T(!0), b(g, null, D(e.xMinimap({
|
|
@@ -2170,7 +2170,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2170
2170
|
}, null, 12, Kt))), 128))]))), 128))]),
|
|
2171
2171
|
_: 3
|
|
2172
2172
|
}, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : y("", !0),
|
|
2173
|
-
|
|
2173
|
+
Ue(A(Xt), {
|
|
2174
2174
|
teleportTo: z.value.style.chart.tooltip.teleportTo,
|
|
2175
2175
|
show: V.value.showTooltip && un.value,
|
|
2176
2176
|
backgroundColor: z.value.style.chart.tooltip.backgroundColor,
|
|
@@ -2186,7 +2186,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2186
2186
|
parent: P.value,
|
|
2187
2187
|
content: fn.value,
|
|
2188
2188
|
isFullscreen: vn.value,
|
|
2189
|
-
isCustom: A(
|
|
2189
|
+
isCustom: A(ne)(z.value.style.chart.tooltip.customFormat),
|
|
2190
2190
|
smooth: z.value.style.chart.tooltip.smooth,
|
|
2191
2191
|
backdropFilter: z.value.style.chart.tooltip.backdropFilter,
|
|
2192
2192
|
smoothForce: z.value.style.chart.tooltip.smoothForce,
|
|
@@ -2222,11 +2222,11 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2222
2222
|
"isA11yMode",
|
|
2223
2223
|
"a11yPosition"
|
|
2224
2224
|
]),
|
|
2225
|
-
|
|
2225
|
+
Be("div", { id: `legend-bottom-${F.value}` }, null, 8, qt),
|
|
2226
2226
|
Cn.value && (z.value.style.chart.legend.show || t.$slots.legend) ? (T(), v(ze, {
|
|
2227
2227
|
key: 6,
|
|
2228
2228
|
to: z.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
2229
|
-
}, [
|
|
2229
|
+
}, [Be("div", {
|
|
2230
2230
|
ref_key: "chartLegend",
|
|
2231
2231
|
ref: hn
|
|
2232
2232
|
}, [O(t.$slots, "legend", { legend: wi.value }, () => [z.value.style.chart.legend.show ? (T(), v(Le, {
|
|
@@ -2234,8 +2234,8 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2234
2234
|
legendSet: wi.value,
|
|
2235
2235
|
config: Ti.value,
|
|
2236
2236
|
isCursorPointer: B.value,
|
|
2237
|
-
onClickMarker:
|
|
2238
|
-
},
|
|
2237
|
+
onClickMarker: n[3] ||= ({ legend: e }) => e.segregate()
|
|
2238
|
+
}, Ve({
|
|
2239
2239
|
item: j(({ legend: e }) => [A(Kn) ? y("", !0) : (T(), b("div", {
|
|
2240
2240
|
key: 0,
|
|
2241
2241
|
onClick: (t) => e.segregate(),
|
|
@@ -2259,7 +2259,7 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2259
2259
|
_: 2
|
|
2260
2260
|
}, [t.$slots.pattern ? {
|
|
2261
2261
|
name: "legend-pattern",
|
|
2262
|
-
fn: j(({ legend: e, index: t }) => [
|
|
2262
|
+
fn: j(({ legend: e, index: t }) => [Ue(De, {
|
|
2263
2263
|
shape: e.shape,
|
|
2264
2264
|
radius: 30,
|
|
2265
2265
|
stroke: "none",
|
|
@@ -2285,8 +2285,8 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2285
2285
|
ref_key: "tableUnit",
|
|
2286
2286
|
ref: wn,
|
|
2287
2287
|
onClose: Ni
|
|
2288
|
-
}),
|
|
2289
|
-
content: j(() => [
|
|
2288
|
+
}), Ve({
|
|
2289
|
+
content: j(() => [Ue(A($t), {
|
|
2290
2290
|
colNames: vi.value.colNames,
|
|
2291
2291
|
head: vi.value.head,
|
|
2292
2292
|
body: vi.value.body,
|
|
@@ -2296,8 +2296,8 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2296
2296
|
isCursorPointer: B.value,
|
|
2297
2297
|
onClose: Ni
|
|
2298
2298
|
}, {
|
|
2299
|
-
th: j(({ th: e }) => [
|
|
2300
|
-
td: j(({ td: e }) => [
|
|
2299
|
+
th: j(({ th: e }) => [Be("div", { innerHTML: e }, null, 8, Yt)]),
|
|
2300
|
+
td: j(({ td: e }) => [He(k(isNaN(Number(e)) ? e : A(p)({
|
|
2301
2301
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
2302
2302
|
v: e,
|
|
2303
2303
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -2316,16 +2316,16 @@ var tt = /* @__PURE__ */ e({ default: () => Xt }), nt = ["id"], rt = ["id"], it
|
|
|
2316
2316
|
_: 2
|
|
2317
2317
|
}, [z.value.table.useDialog ? {
|
|
2318
2318
|
name: "title",
|
|
2319
|
-
fn: j(() => [
|
|
2319
|
+
fn: j(() => [He(k(Mi.value.title), 1)]),
|
|
2320
2320
|
key: "0"
|
|
2321
2321
|
} : void 0, z.value.table.useDialog ? {
|
|
2322
2322
|
name: "actions",
|
|
2323
|
-
fn: j(() => [
|
|
2323
|
+
fn: j(() => [Be("button", {
|
|
2324
2324
|
tabindex: "0",
|
|
2325
2325
|
class: "vue-ui-user-options-button",
|
|
2326
|
-
onClick:
|
|
2326
|
+
onClick: n[4] ||= (e) => _i(z.value.userOptions.callbacks.csv),
|
|
2327
2327
|
style: w({ cursor: B.value ? "pointer" : "default" })
|
|
2328
|
-
}, [
|
|
2328
|
+
}, [Ue(A(Zt), {
|
|
2329
2329
|
name: "fileCsv",
|
|
2330
2330
|
stroke: Mi.value.props.color
|
|
2331
2331
|
}, null, 8, ["stroke"])], 4)]),
|