vue-data-ui 3.16.4 → 3.17.0
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/README.md +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- 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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as Na, defineAsyncComponent as se, useSlots as Ia, computed as h, ref as v, toRefs as Va, watch as re, onBeforeUnmount as Oa, onMounted as qe, openBlock as n, createElementBlock as r, unref as i, normalizeStyle as b, normalizeClass as te, createElementVNode as s, toDisplayString as k, createBlock as H, createCommentVNode as
|
|
2
|
-
import { j as Da, t as Mt, m as Ba, p as ae, $ as Ze, n as Ea, q as ye, o as Je, K as
|
|
1
|
+
import { useCssVars as Na, defineAsyncComponent as se, useSlots as Ia, computed as h, ref as v, toRefs as Va, watch as re, onBeforeUnmount as Oa, onMounted as qe, openBlock as n, createElementBlock as r, unref as i, normalizeStyle as b, normalizeClass as te, createElementVNode as s, toDisplayString as k, createBlock as H, createCommentVNode as f, withCtx as p, renderSlot as y, normalizeProps as N, guardReactiveProps as I, createSlots as Le, createVNode as ie, Fragment as D, renderList as B, mergeProps as Ot, resolveDynamicComponent as Fa, withKeys as Ma, createTextVNode as Ft, nextTick as Se } from "vue";
|
|
2
|
+
import { j as Da, t as Mt, m as Ba, p as ae, $ as Ze, n as Ea, q as ye, o as Je, K as V, s as Qe, k as ge, l as M, X as Ra, u as et, v as Xa, Z as tt, aq as Ha, a0 as Ua, a1 as Wa, T as Ga, U as Ka, a3 as ja } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as Ya, u as qa } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Za } from "./useConfig-
|
|
4
|
+
import { u as Za } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as Ja, B as Qa } from "./BaseScanner-BhhkKVoj.js";
|
|
6
6
|
import { u as el } from "./usePrinter-CEpYU3r5.js";
|
|
7
7
|
import { u as tl } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -15,11 +15,11 @@ import { _ as Dt } from "./Shape-BKRUOeKk.js";
|
|
|
15
15
|
import sl from "./Title-BeMKE1cj.js";
|
|
16
16
|
import rl from "./vue_ui_horizontal_bar-BEagrV0T.js";
|
|
17
17
|
import Bt from "./Legend-CS7Xo5LK.js";
|
|
18
|
-
import il from "./vue-ui-accordion-
|
|
18
|
+
import il from "./vue-ui-accordion-CnDW2UQL.js";
|
|
19
19
|
import { B as Et } from "./BaseLegendToggle-BQVIawmA.js";
|
|
20
20
|
import { A as vl } from "./A11yDataTable-KcVAX2cP.js";
|
|
21
21
|
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
22
|
-
const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "relative" } }, yl = ["xmlns", "viewBox", "aria-describedby"], gl = ["width", "height"], bl = ["id"], ml = ["stop-color"], kl = ["stop-color"], Cl = { key: 1 }, xl = ["y", "width", "height", "fill", "rx"], wl = ["x", "y", "width", "height", "fill", "rx"],
|
|
22
|
+
const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "relative" } }, yl = ["xmlns", "viewBox", "aria-describedby"], gl = ["width", "height"], bl = ["id"], ml = ["stop-color"], kl = ["stop-color"], Cl = { key: 1 }, xl = ["y", "width", "height", "fill", "rx"], wl = ["x", "y", "width", "height", "fill", "rx"], $l = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], _l = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sl = { class: "vue-ui-horizontal-bar-parent-label" }, Pl = ["y", "height", "width", "fill"], Al = ["y", "font-size", "fill", "x", "font-weight", "innerHTML"], zl = ["y", "font-size", "fill", "x", "font-weight"], Nl = { class: "vue-ui-horizontal-bar-child-label" }, Il = ["x", "y", "font-size", "font-weight", "innerHTML"], Vl = { class: "vue-ui-horizontal-bar-child-label" }, Ol = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Fl = { class: "vue-ui-horizontal-bar-child-label" }, Ml = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Dl = ["y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Bl = {
|
|
23
23
|
key: 0,
|
|
24
24
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
25
25
|
"data-dom-to-png-ignore": "",
|
|
@@ -46,16 +46,16 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
46
46
|
emits: ["selectLegend", "copyAlt", "selectDatapoint"],
|
|
47
47
|
setup(Rt, { expose: Xt, emit: Ht }) {
|
|
48
48
|
Na((t) => ({
|
|
49
|
-
|
|
49
|
+
v488a4464: t.tdo
|
|
50
50
|
}));
|
|
51
|
-
const Ut = se(() => import("./Tooltip-
|
|
51
|
+
const Ut = se(() => import("./Tooltip-C8KGyqQk.js")), lt = se(() => import("./BaseIcon-Cb3zzG6s.js")), Wt = se(() => import("./PenAndPaper-Ct3qJ4lA.js")), Gt = se(() => import("./UserOptions-rW2fRf3V.js")), Kt = se(() => import("./PackageVersion-B3kmPxTR.js")), jt = se(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_vertical_bar: Yt } = Za(), { isThemeValid: qt, warnInvalidTheme: Zt } = al(), Jt = Ia(), C = Rt, Pe = h({
|
|
52
52
|
get() {
|
|
53
53
|
return !!C.dataset && C.dataset.length;
|
|
54
54
|
},
|
|
55
55
|
set(t) {
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
58
|
-
}), S = v(Da()), be = v(!1),
|
|
58
|
+
}), S = v(Da()), be = v(!1), Ae = v(""), me = v(null), ot = v(0), R = v(null), nt = v(null), ze = v(null), ut = v(null), st = v(null), rt = v(0), Ne = v(0), Qt = v(null), ve = v(null), Ie = v(null), ea = v(null), Ve = v(null), $ = v([]), ta = v({ none: 0, asc: 1, desc: 2 }), G = v(0), ke = v(!1), ce = v(0), le = v(0), Oe = v(null), Ce = v(!1), xe = v(!1), z = v(null), it = v({ x: 0, y: 0 }), Fe = v("pointer"), Me = Ht, e = v(Ee()), Y = h(() => e.value.userOptions.useCursorPointer), aa = h(() => {
|
|
59
59
|
const t = [
|
|
60
60
|
{ name: "", value: 6, color: "#d9d9d9" },
|
|
61
61
|
{ name: "", value: 5, color: "#d9d9d9" },
|
|
@@ -97,10 +97,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
userConfig: e.value.skeletonConfig ?? {}
|
|
100
|
-
})), { loading: we, FINAL_DATASET: vt, manualLoading:
|
|
100
|
+
})), { loading: we, FINAL_DATASET: vt, manualLoading: De } = Ja({
|
|
101
101
|
...Va(C),
|
|
102
102
|
FINAL_CONFIG: e,
|
|
103
|
-
prepareConfig:
|
|
103
|
+
prepareConfig: Ee,
|
|
104
104
|
callback: () => {
|
|
105
105
|
Promise.resolve().then(async () => {
|
|
106
106
|
T.value.showTable = e.value.table.show, sa();
|
|
@@ -111,10 +111,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
111
111
|
defaultConfig: e.value,
|
|
112
112
|
userConfig: la.value
|
|
113
113
|
})
|
|
114
|
-
}), { userOptionsVisible:
|
|
114
|
+
}), { userOptionsVisible: Be, setUserOptionsVisibility: ct, keepUserOptionState: dt } = ol({ config: e.value }), { svgRef: oe } = nl({
|
|
115
115
|
config: e.value.style.chart.title
|
|
116
116
|
});
|
|
117
|
-
function
|
|
117
|
+
function Ee() {
|
|
118
118
|
const t = at({
|
|
119
119
|
userConfig: C.config,
|
|
120
120
|
defaultConfig: Yt
|
|
@@ -142,32 +142,32 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
142
142
|
re(
|
|
143
143
|
() => C.config,
|
|
144
144
|
(t) => {
|
|
145
|
-
we.value || (e.value =
|
|
145
|
+
we.value || (e.value = Ee()), Be.value = !e.value.userOptions.showOnChartHover, rt.value += 1, Ne.value += 1, T.value.showTable = e.value.table.show, T.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", T.value.showTooltip = e.value.style.chart.tooltip.show, E.value = e.value.style.chart.width, K.value = e.value.style.chart.height, x.value = e.value.style.chart.layout.bars.gap;
|
|
146
146
|
},
|
|
147
147
|
{ deep: !0 }
|
|
148
148
|
), re(
|
|
149
149
|
() => C.dataset,
|
|
150
150
|
(t) => {
|
|
151
|
-
Array.isArray(t) && t.length > 0 && (
|
|
151
|
+
Array.isArray(t) && t.length > 0 && (De.value = !1);
|
|
152
152
|
},
|
|
153
153
|
{ deep: !0 }
|
|
154
154
|
);
|
|
155
|
-
const { isPrinting:
|
|
155
|
+
const { isPrinting: Re, isImaging: Xe, generatePdf: ht, generateImage: pt } = el({
|
|
156
156
|
elementId: `vue-ui-vertical-bar_${S.value}`,
|
|
157
157
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
|
|
158
158
|
options: e.value.userOptions.print
|
|
159
|
-
}), oa = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ft = h(() => Ea(e.value.customPalette)), yt = v(null), na = h(() => e.value.table.responsiveBreakpoint),
|
|
159
|
+
}), oa = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), ft = h(() => Ea(e.value.customPalette)), yt = v(null), na = h(() => e.value.table.responsiveBreakpoint), $e = h(() => !!e.value.debug), ua = v(0), j = v(null), q = v(null);
|
|
160
160
|
function sa() {
|
|
161
161
|
if (R.value && (Je(C.dataset) && (ye({
|
|
162
162
|
componentName: "VueUiVerticalBar",
|
|
163
163
|
type: "dataset",
|
|
164
|
-
debug:
|
|
165
|
-
}),
|
|
164
|
+
debug: $e.value
|
|
165
|
+
}), Pe.value = !1, De.value = !0), Je(C.dataset) || (De.value = e.value.loading), e.value.responsive)) {
|
|
166
166
|
const t = Ya(() => {
|
|
167
167
|
const { width: l, height: a } = qa({
|
|
168
168
|
chart: R.value,
|
|
169
169
|
title: e.value.style.chart.title.text ? nt.value : null,
|
|
170
|
-
legend: e.value.style.chart.legend.show ?
|
|
170
|
+
legend: e.value.style.chart.legend.show ? ze.value : null,
|
|
171
171
|
source: ut.value,
|
|
172
172
|
noTitle: st.value
|
|
173
173
|
});
|
|
@@ -175,7 +175,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
175
175
|
K.value = a, E.value = l;
|
|
176
176
|
});
|
|
177
177
|
});
|
|
178
|
-
j.value && (q.value && j.value.unobserve(q.value), j.value.disconnect()), j.value = new ResizeObserver(t),
|
|
178
|
+
j.value && (q.value && j.value.unobserve(q.value), j.value.disconnect()), j.value = new ResizeObserver(t), Se(() => {
|
|
179
179
|
q.value = R.value?.parentNode, q.value && j.value.observe(q.value);
|
|
180
180
|
});
|
|
181
181
|
}
|
|
@@ -192,12 +192,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
192
192
|
componentName: "VueUiVerticalBar",
|
|
193
193
|
type: "datasetAttributeEmpty",
|
|
194
194
|
property: `value (index ${l})`,
|
|
195
|
-
debug:
|
|
195
|
+
debug: $e.value
|
|
196
196
|
}), t.children && (Je(t.children) ? ye({
|
|
197
197
|
componentName: "VueUiVerticalBar",
|
|
198
198
|
type: "datasetAttributeEmpty",
|
|
199
199
|
property: `children (index ${l})`,
|
|
200
|
-
debug:
|
|
200
|
+
debug: $e.value
|
|
201
201
|
}) : t.children.forEach((a, o) => {
|
|
202
202
|
[null, void 0].includes(a.name) && ye({
|
|
203
203
|
componentName: "VueUiVerticalBar",
|
|
@@ -205,31 +205,31 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
205
205
|
property: "name",
|
|
206
206
|
key: "children",
|
|
207
207
|
index: o,
|
|
208
|
-
debug:
|
|
208
|
+
debug: $e.value
|
|
209
209
|
});
|
|
210
210
|
}));
|
|
211
211
|
}), vt.value.map((t, l) => {
|
|
212
|
-
const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, g =
|
|
213
|
-
t.value ? t.value : o ? t.children.map((u) => u.value || 0).reduce((u,
|
|
212
|
+
const a = `vertical_parent_${l}_${S.value}`, o = t.children && t.children.length > 0, g = V(
|
|
213
|
+
t.value ? t.value : o ? t.children.map((u) => u.value || 0).reduce((u, _) => u + _, 0) : 0
|
|
214
214
|
), m = g >= 0 ? 1 : -1;
|
|
215
215
|
return {
|
|
216
216
|
...t,
|
|
217
217
|
id: a,
|
|
218
218
|
absoluteIndex: l,
|
|
219
219
|
shape: "square",
|
|
220
|
-
opacity:
|
|
220
|
+
opacity: $.value.includes(a) ? 0.5 : 1,
|
|
221
221
|
value: Math.abs(g),
|
|
222
222
|
sign: m,
|
|
223
223
|
hasChildren: o,
|
|
224
224
|
isChild: !1,
|
|
225
225
|
segregate: () => Z(a),
|
|
226
|
-
isSegregated:
|
|
226
|
+
isSegregated: $.value.includes(a),
|
|
227
227
|
color: Qe(t.color) || ft.value[l] || ae[l] || ae[l % ae.length],
|
|
228
228
|
children: !t.children || !t.children.length ? [] : t.children.toSorted(
|
|
229
|
-
ke.value ? () => 0 : (u,
|
|
230
|
-
).map((u,
|
|
229
|
+
ke.value ? () => 0 : (u, _) => gt.value ? _.value - u.value : u.value - _.value
|
|
230
|
+
).map((u, _) => ({
|
|
231
231
|
...u,
|
|
232
|
-
value:
|
|
232
|
+
value: V(Math.abs(u.value)),
|
|
233
233
|
absoluteIndex: l,
|
|
234
234
|
sign: u.value >= 0 ? 1 : -1,
|
|
235
235
|
isChild: !0,
|
|
@@ -237,19 +237,19 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
237
237
|
parentName: t.name,
|
|
238
238
|
parentValue: g,
|
|
239
239
|
parentSign: m,
|
|
240
|
-
id: `vertical_child_${l}_${
|
|
241
|
-
childIndex:
|
|
240
|
+
id: `vertical_child_${l}_${_}_${S.value}`,
|
|
241
|
+
childIndex: _,
|
|
242
242
|
color: Qe(u.color) || Qe(t.color) || ft.value[l] || ae[l] || ae[l % ae.length]
|
|
243
|
-
})).map((u,
|
|
243
|
+
})).map((u, _) => ({
|
|
244
244
|
...u,
|
|
245
|
-
isFirstChild:
|
|
246
|
-
isLastChild:
|
|
245
|
+
isFirstChild: _ === 0,
|
|
246
|
+
isLastChild: _ === t.children.length - 1
|
|
247
247
|
}))
|
|
248
248
|
};
|
|
249
249
|
}).toSorted(
|
|
250
250
|
ke.value ? () => 0 : (t, l) => gt.value ? l.value - t.value : t.value - l.value
|
|
251
251
|
))), U = h(() => P.value.filter(
|
|
252
|
-
(t) =>
|
|
252
|
+
(t) => !$.value.includes(t.id)
|
|
253
253
|
)), w = h(() => U.value.flatMap((t) => t.hasChildren ? t.children : t)), ra = h(() => P.value.flatMap((t) => t.hasChildren ? t.children : t)), bt = h(() => U.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0)), mt = h(() => ({
|
|
254
254
|
cy: "vertical-bar-div-legend",
|
|
255
255
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -275,18 +275,18 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
275
275
|
right: 64 + e.value.style.chart.layout.bars.paddingRight,
|
|
276
276
|
bottom: 12
|
|
277
277
|
}
|
|
278
|
-
})),
|
|
278
|
+
})), He = v(0);
|
|
279
279
|
function kt() {
|
|
280
|
-
|
|
281
|
-
if (!
|
|
282
|
-
|
|
280
|
+
Se(() => {
|
|
281
|
+
if (!Ve.value) {
|
|
282
|
+
He.value = 0;
|
|
283
283
|
return;
|
|
284
284
|
}
|
|
285
|
-
const l = Array.from(
|
|
285
|
+
const l = Array.from(Ve.value.querySelectorAll("text")).reduce((a, o) => {
|
|
286
286
|
const g = o.getBBox?.().width ?? o.getComputedTextLength();
|
|
287
287
|
return g > a ? g : a;
|
|
288
288
|
}, 0);
|
|
289
|
-
|
|
289
|
+
He.value = l + 12;
|
|
290
290
|
});
|
|
291
291
|
}
|
|
292
292
|
re(
|
|
@@ -303,14 +303,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
303
303
|
kt();
|
|
304
304
|
});
|
|
305
305
|
function de() {
|
|
306
|
-
|
|
306
|
+
Se(() => {
|
|
307
307
|
ce.value = 0, le.value = 0, requestAnimationFrame(() => {
|
|
308
|
-
if (!
|
|
308
|
+
if (!Oe.value) {
|
|
309
309
|
ce.value = 0, le.value = 0;
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
312
|
const t = Array.from(
|
|
313
|
-
|
|
313
|
+
Oe.value.querySelectorAll("text")
|
|
314
314
|
);
|
|
315
315
|
if (!t.length) {
|
|
316
316
|
ce.value = 0, le.value = 0;
|
|
@@ -321,18 +321,18 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
321
321
|
const fe = Ye.getBBox(), ue = fe.x, ee = fe.x + fe.width;
|
|
322
322
|
ue < l && (l = ue), ee > a && (a = ee);
|
|
323
323
|
});
|
|
324
|
-
const o = 0, g = E.value, m = 24, u = Math.max(0, o - l + m),
|
|
325
|
-
le.value = u, ce.value =
|
|
324
|
+
const o = 0, g = E.value, m = 24, u = Math.max(0, o - l + m), _ = Math.max(0, a - g + m);
|
|
325
|
+
le.value = u, ce.value = _;
|
|
326
326
|
});
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
|
-
re(
|
|
329
|
+
re($, () => de(), { deep: !0 }), re(
|
|
330
330
|
() => [w.value, E.value, K.value],
|
|
331
331
|
() => de(),
|
|
332
332
|
{ deep: !0 }
|
|
333
333
|
), qe(() => de());
|
|
334
334
|
const c = h(() => {
|
|
335
|
-
const t =
|
|
335
|
+
const t = He.value + Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX) + le.value + e.value.style.chart.layout.bars.offsetX, l = W.value.width - W.value.padding.right, a = Math.max(0, l - t - ce.value - le.value - e.value.style.chart.layout.bars.offsetX);
|
|
336
336
|
return {
|
|
337
337
|
top: W.value.padding.top,
|
|
338
338
|
bottom: W.value.padding.top + W.value.height,
|
|
@@ -343,18 +343,18 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
343
343
|
};
|
|
344
344
|
});
|
|
345
345
|
function Ct() {
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
$.value.length ? $.value = [] : P.value.forEach((t) => {
|
|
347
|
+
$.value.push(t.id);
|
|
348
348
|
}), de();
|
|
349
349
|
}
|
|
350
350
|
async function Z(t) {
|
|
351
|
-
if (
|
|
352
|
-
|
|
351
|
+
if ($.value.includes(t))
|
|
352
|
+
$.value = $.value.filter((l) => l !== t);
|
|
353
353
|
else {
|
|
354
|
-
if (
|
|
355
|
-
|
|
354
|
+
if ($.value.length === P.value.length - 1) return;
|
|
355
|
+
$.value.push(t);
|
|
356
356
|
}
|
|
357
|
-
|
|
357
|
+
Me("selectLegend", U.value), de();
|
|
358
358
|
}
|
|
359
359
|
function xt(t) {
|
|
360
360
|
if (!P.value.length)
|
|
@@ -364,16 +364,16 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
364
364
|
}
|
|
365
365
|
function ia(t) {
|
|
366
366
|
const l = xt(t);
|
|
367
|
-
l !== null &&
|
|
367
|
+
l !== null && $.value.includes(l.id) && Z(l.id);
|
|
368
368
|
}
|
|
369
369
|
function va(t) {
|
|
370
370
|
const l = xt(t);
|
|
371
|
-
l !== null && (
|
|
371
|
+
l !== null && ($.value.includes(l.id) || Z(l.id));
|
|
372
372
|
}
|
|
373
373
|
const X = h(() => U.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
374
374
|
function wt(t, l = !1, a = 0) {
|
|
375
375
|
return l ? M({
|
|
376
|
-
v:
|
|
376
|
+
v: V(Math.abs(t) / X.value * 100),
|
|
377
377
|
s: "%",
|
|
378
378
|
r: a
|
|
379
379
|
}) : Math.abs(t) / X.value;
|
|
@@ -381,12 +381,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
381
381
|
const J = h(() => w.value.map((t) => t.sign).includes(-1)), ca = h(() => Math.max(
|
|
382
382
|
...U.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)
|
|
383
383
|
));
|
|
384
|
-
function
|
|
384
|
+
function O(t) {
|
|
385
385
|
const l = t / ca.value;
|
|
386
|
-
return
|
|
386
|
+
return V(c.value.width / (J.value ? 2 : 1) * l);
|
|
387
387
|
}
|
|
388
388
|
function da(t) {
|
|
389
|
-
return
|
|
389
|
+
return O(t) + c.value.left;
|
|
390
390
|
}
|
|
391
391
|
function ne(t, l) {
|
|
392
392
|
const a = U.value.find((u) => u.id === t.parentId);
|
|
@@ -405,27 +405,27 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
405
405
|
function ha() {
|
|
406
406
|
return U.value;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function $t(t, l) {
|
|
409
409
|
return ne(t, l).name;
|
|
410
410
|
}
|
|
411
411
|
function pa(t, l) {
|
|
412
412
|
const a = ne(t, l);
|
|
413
413
|
return St(a.value, a, l, t.parentSign || t.sign);
|
|
414
414
|
}
|
|
415
|
-
const
|
|
416
|
-
function
|
|
417
|
-
|
|
415
|
+
const Ue = v(null), _e = v(null);
|
|
416
|
+
function _t({ datapoint: t, seriesIndex: l }) {
|
|
417
|
+
Me("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
|
|
418
418
|
}
|
|
419
419
|
function Tt({ datapoint: t, seriesIndex: l }) {
|
|
420
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), me.value = null, be.value = !1,
|
|
420
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), me.value = null, be.value = !1, Ue.value = null, z.value === l && (z.value = null);
|
|
421
421
|
}
|
|
422
422
|
function Lt(t, l, a = "pointer") {
|
|
423
|
-
|
|
423
|
+
Fe.value = a, e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), z.value = l, me.value = t, _e.value = {
|
|
424
424
|
datapoint: t,
|
|
425
425
|
seriesIndex: l,
|
|
426
426
|
series: P.value,
|
|
427
427
|
config: e.value
|
|
428
|
-
}, be.value = !0,
|
|
428
|
+
}, be.value = !0, Ue.value = t.id;
|
|
429
429
|
let o = "";
|
|
430
430
|
const g = t.isChild ? t.parentName : t.name, m = t.isChild ? t.name : "", u = e.value.style.chart.tooltip.customFormat;
|
|
431
431
|
Ga(u) && Ka(
|
|
@@ -435,7 +435,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
435
435
|
config: e.value,
|
|
436
436
|
seriesIndex: l
|
|
437
437
|
})
|
|
438
|
-
) ?
|
|
438
|
+
) ? Ae.value = u({
|
|
439
439
|
datapoint: t,
|
|
440
440
|
series: P.value,
|
|
441
441
|
config: e.value,
|
|
@@ -461,17 +461,17 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
461
461
|
v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
|
|
462
462
|
s: "%",
|
|
463
463
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
464
|
-
})}</b></div>`)),
|
|
464
|
+
})}</b></div>`)), Ae.value = `<div style="text-align:left">${o}</div>`);
|
|
465
465
|
}
|
|
466
466
|
function St(t, l, a, o) {
|
|
467
467
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
468
468
|
return "";
|
|
469
469
|
const g = ge(
|
|
470
470
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
471
|
-
|
|
471
|
+
V(o === -1 && t >= 0 ? -t : t),
|
|
472
472
|
M({
|
|
473
473
|
p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
|
|
474
|
-
v:
|
|
474
|
+
v: V(o === -1 && t >= 0 ? -t : t),
|
|
475
475
|
s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
|
|
476
476
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
477
477
|
}),
|
|
@@ -483,7 +483,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
483
483
|
)})`;
|
|
484
484
|
return `${g}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${m}` : ""}`;
|
|
485
485
|
}
|
|
486
|
-
const
|
|
486
|
+
const F = h(() => {
|
|
487
487
|
const t = [
|
|
488
488
|
e.value.translations.parentName,
|
|
489
489
|
e.value.translations.value,
|
|
@@ -527,7 +527,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
527
527
|
[e.value.style.chart.title.text],
|
|
528
528
|
[e.value.style.chart.title.subtitle.text],
|
|
529
529
|
[""]
|
|
530
|
-
], a =
|
|
530
|
+
], a = F.value.head, o = F.value.body.map((u) => [
|
|
531
531
|
u.parentName,
|
|
532
532
|
u.parentValue,
|
|
533
533
|
u.percentageToTotal,
|
|
@@ -588,7 +588,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
588
588
|
aspectRatio: o
|
|
589
589
|
};
|
|
590
590
|
}
|
|
591
|
-
const
|
|
591
|
+
const Te = h(() => {
|
|
592
592
|
const t = e.value.table.useDialog && !e.value.table.show, l = T.value.showTable;
|
|
593
593
|
return {
|
|
594
594
|
component: t ? jt : il,
|
|
@@ -627,7 +627,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
627
627
|
);
|
|
628
628
|
const { isResponsive: ga } = ll(yt, na);
|
|
629
629
|
function Ke() {
|
|
630
|
-
T.value.showTable = !1,
|
|
630
|
+
T.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
|
|
631
631
|
}
|
|
632
632
|
const ba = h(() => P.value.map((t, l) => ({
|
|
633
633
|
...t,
|
|
@@ -646,7 +646,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
646
646
|
}))), ma = h(() => e.value.style.chart.backgroundColor), ka = h(() => e.value.style.chart.legend), Ca = h(() => e.value.style.chart.title), xa = h(() => ba.value.map((t) => ({
|
|
647
647
|
...t,
|
|
648
648
|
name: t.display
|
|
649
|
-
}))), { exportSvg: wa, getSvg:
|
|
649
|
+
}))), { exportSvg: wa, getSvg: $a } = tl({
|
|
650
650
|
svg: oe,
|
|
651
651
|
title: Ca,
|
|
652
652
|
legend: ka,
|
|
@@ -654,10 +654,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
654
654
|
backgroundColor: ma
|
|
655
655
|
});
|
|
656
656
|
async function It({ isCb: t }) {
|
|
657
|
-
xe.value = !0, await
|
|
657
|
+
xe.value = !0, await Se();
|
|
658
658
|
try {
|
|
659
659
|
if (t) {
|
|
660
|
-
const { blob: l, url: a, text: o, dataUrl: g } = await
|
|
660
|
+
const { blob: l, url: a, text: o, dataUrl: g } = await $a();
|
|
661
661
|
await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: g }));
|
|
662
662
|
} else
|
|
663
663
|
await Promise.resolve(wa());
|
|
@@ -665,7 +665,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
665
665
|
xe.value = !1;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function _a(t) {
|
|
669
669
|
if (t?.stage === "start") {
|
|
670
670
|
Ce.value = !0;
|
|
671
671
|
return;
|
|
@@ -680,7 +680,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
680
680
|
console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
|
|
681
681
|
}
|
|
682
682
|
async function Vt() {
|
|
683
|
-
if (
|
|
683
|
+
if (Me("copyAlt", {
|
|
684
684
|
config: e.value,
|
|
685
685
|
dataset: U.value
|
|
686
686
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
@@ -705,7 +705,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
705
705
|
t && Tt({
|
|
706
706
|
datapoint: t,
|
|
707
707
|
seriesIndex: z.value
|
|
708
|
-
}), z.value = null,
|
|
708
|
+
}), z.value = null, Fe.value = "pointer";
|
|
709
709
|
}
|
|
710
710
|
function Aa(t) {
|
|
711
711
|
if (!oe.value || he.value || document.activeElement !== oe.value) return;
|
|
@@ -721,15 +721,15 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
721
721
|
if (z.value === null) return;
|
|
722
722
|
const ee = w.value[z.value];
|
|
723
723
|
if (!ee) return;
|
|
724
|
-
|
|
724
|
+
_t({
|
|
725
725
|
datapoint: ee,
|
|
726
726
|
seriesIndex: z.value
|
|
727
727
|
});
|
|
728
728
|
return;
|
|
729
729
|
}
|
|
730
730
|
let u = z.value;
|
|
731
|
-
const
|
|
732
|
-
Ye ? l ? (u += 1, u >= m && (u = 0)) : a && (u -= 1, u < 0 && (u = m - 1)) : fe ? (u = l ?
|
|
731
|
+
const _ = me.value ? w.value.findIndex((ee) => ee.id === me.value.id) : null, Ye = u !== null && u >= 0 && u < m, fe = _ !== null && _ >= 0 && _ < m;
|
|
732
|
+
Ye ? l ? (u += 1, u >= m && (u = 0)) : a && (u -= 1, u < 0 && (u = m - 1)) : fe ? (u = l ? _ + 1 : _ - 1, u >= m && (u = 0), u < 0 && (u = m - 1)) : l ? u = 0 : u = m - 1;
|
|
733
733
|
const ue = w.value[u];
|
|
734
734
|
ue && (z.value = u, za(ue), Lt(ue, u, "keyboard"));
|
|
735
735
|
}
|
|
@@ -742,8 +742,8 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
742
742
|
o && (it.value = o);
|
|
743
743
|
}
|
|
744
744
|
const pe = h(() => ({
|
|
745
|
-
head:
|
|
746
|
-
body:
|
|
745
|
+
head: F.value.head,
|
|
746
|
+
body: F.value.body.map((t) => [
|
|
747
747
|
t.parentName,
|
|
748
748
|
t.parentValue === "" ? "" : M({
|
|
749
749
|
v: t.parentValue,
|
|
@@ -813,7 +813,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
813
813
|
body: pe.value.body,
|
|
814
814
|
caption: pe.value.caption,
|
|
815
815
|
notice: pe.value.notice
|
|
816
|
-
}, null, 8, ["uid", "head", "body", "caption", "notice"])) :
|
|
816
|
+
}, null, 8, ["uid", "head", "body", "caption", "notice"])) : f("", !0),
|
|
817
817
|
e.value.userOptions.buttons.annotator ? (n(), H(i(Wt), {
|
|
818
818
|
key: 1,
|
|
819
819
|
svgRef: i(oe),
|
|
@@ -823,33 +823,33 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
823
823
|
isCursorPointer: Y.value,
|
|
824
824
|
onClose: Ge
|
|
825
825
|
}, {
|
|
826
|
-
"annotator-action-close":
|
|
826
|
+
"annotator-action-close": p(() => [
|
|
827
827
|
y(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
828
828
|
]),
|
|
829
|
-
"annotator-action-color":
|
|
830
|
-
y(t.$slots, "annotator-action-color",
|
|
829
|
+
"annotator-action-color": p(({ color: a }) => [
|
|
830
|
+
y(t.$slots, "annotator-action-color", N(I({ color: a })), void 0, !0)
|
|
831
831
|
]),
|
|
832
|
-
"annotator-action-draw":
|
|
833
|
-
y(t.$slots, "annotator-action-draw",
|
|
832
|
+
"annotator-action-draw": p(({ mode: a }) => [
|
|
833
|
+
y(t.$slots, "annotator-action-draw", N(I({ mode: a })), void 0, !0)
|
|
834
834
|
]),
|
|
835
|
-
"annotator-action-undo":
|
|
836
|
-
y(t.$slots, "annotator-action-undo",
|
|
835
|
+
"annotator-action-undo": p(({ disabled: a }) => [
|
|
836
|
+
y(t.$slots, "annotator-action-undo", N(I({ disabled: a })), void 0, !0)
|
|
837
837
|
]),
|
|
838
|
-
"annotator-action-redo":
|
|
839
|
-
y(t.$slots, "annotator-action-redo",
|
|
838
|
+
"annotator-action-redo": p(({ disabled: a }) => [
|
|
839
|
+
y(t.$slots, "annotator-action-redo", N(I({ disabled: a })), void 0, !0)
|
|
840
840
|
]),
|
|
841
|
-
"annotator-action-delete":
|
|
842
|
-
y(t.$slots, "annotator-action-delete",
|
|
841
|
+
"annotator-action-delete": p(({ disabled: a }) => [
|
|
842
|
+
y(t.$slots, "annotator-action-delete", N(I({ disabled: a })), void 0, !0)
|
|
843
843
|
]),
|
|
844
844
|
_: 3
|
|
845
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) :
|
|
845
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : f("", !0),
|
|
846
846
|
oa.value ? (n(), r("div", {
|
|
847
847
|
key: 2,
|
|
848
848
|
ref_key: "noTitle",
|
|
849
849
|
ref: st,
|
|
850
850
|
class: "vue-data-ui-no-title-space",
|
|
851
851
|
style: "height:36px; width: 100%;background:transparent"
|
|
852
|
-
}, null, 512)) :
|
|
852
|
+
}, null, 512)) : f("", !0),
|
|
853
853
|
e.value.style.chart.title.text ? (n(), r("div", {
|
|
854
854
|
key: 3,
|
|
855
855
|
ref_key: "chartTitle",
|
|
@@ -869,15 +869,15 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
}, null, 8, ["config"]))
|
|
872
|
-
], 512)) :
|
|
873
|
-
e.value.userOptions.show &&
|
|
872
|
+
], 512)) : f("", !0),
|
|
873
|
+
e.value.userOptions.show && Pe.value && (i(dt) || i(Be)) ? (n(), H(i(Gt), {
|
|
874
874
|
ref_key: "userOptionsRef",
|
|
875
|
-
ref:
|
|
875
|
+
ref: Ie,
|
|
876
876
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
877
877
|
color: e.value.style.chart.color,
|
|
878
878
|
key: `user_options_${ot.value}`,
|
|
879
|
-
isImaging: i(
|
|
880
|
-
isPrinting: i(
|
|
879
|
+
isImaging: i(Xe),
|
|
880
|
+
isPrinting: i(Re),
|
|
881
881
|
uid: S.value,
|
|
882
882
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
883
883
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -902,7 +902,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
902
902
|
onToggleFullscreen: Pt,
|
|
903
903
|
onGeneratePdf: i(ht),
|
|
904
904
|
onGenerateCsv: We,
|
|
905
|
-
onGenerateImage:
|
|
905
|
+
onGenerateImage: _a,
|
|
906
906
|
onGenerateSvg: It,
|
|
907
907
|
onToggleTable: At,
|
|
908
908
|
onToggleSort: zt,
|
|
@@ -910,109 +910,109 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
910
910
|
onToggleAnnotator: Ge,
|
|
911
911
|
onCopyAlt: Vt,
|
|
912
912
|
style: b({
|
|
913
|
-
visibility: i(dt) ? i(
|
|
913
|
+
visibility: i(dt) ? i(Be) ? "visible" : "hidden" : "visible"
|
|
914
914
|
})
|
|
915
|
-
},
|
|
915
|
+
}, Le({ _: 2 }, [
|
|
916
916
|
t.$slots.menuIcon ? {
|
|
917
917
|
name: "menuIcon",
|
|
918
|
-
fn:
|
|
919
|
-
y(t.$slots, "menuIcon",
|
|
918
|
+
fn: p(({ isOpen: a, color: o }) => [
|
|
919
|
+
y(t.$slots, "menuIcon", N(I({ isOpen: a, color: o })), void 0, !0)
|
|
920
920
|
]),
|
|
921
921
|
key: "0"
|
|
922
922
|
} : void 0,
|
|
923
923
|
t.$slots.optionTooltip ? {
|
|
924
924
|
name: "optionTooltip",
|
|
925
|
-
fn:
|
|
925
|
+
fn: p(() => [
|
|
926
926
|
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
927
927
|
]),
|
|
928
928
|
key: "1"
|
|
929
929
|
} : void 0,
|
|
930
930
|
t.$slots.optionPdf ? {
|
|
931
931
|
name: "optionPdf",
|
|
932
|
-
fn:
|
|
932
|
+
fn: p(() => [
|
|
933
933
|
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
934
934
|
]),
|
|
935
935
|
key: "2"
|
|
936
936
|
} : void 0,
|
|
937
937
|
t.$slots.optionCsv ? {
|
|
938
938
|
name: "optionCsv",
|
|
939
|
-
fn:
|
|
939
|
+
fn: p(() => [
|
|
940
940
|
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
941
941
|
]),
|
|
942
942
|
key: "3"
|
|
943
943
|
} : void 0,
|
|
944
944
|
t.$slots.optionImg ? {
|
|
945
945
|
name: "optionImg",
|
|
946
|
-
fn:
|
|
946
|
+
fn: p(() => [
|
|
947
947
|
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
948
948
|
]),
|
|
949
949
|
key: "4"
|
|
950
950
|
} : void 0,
|
|
951
951
|
t.$slots.optionSvg ? {
|
|
952
952
|
name: "optionSvg",
|
|
953
|
-
fn:
|
|
953
|
+
fn: p(() => [
|
|
954
954
|
y(t.$slots, "optionSvg", {}, void 0, !0)
|
|
955
955
|
]),
|
|
956
956
|
key: "5"
|
|
957
957
|
} : void 0,
|
|
958
958
|
t.$slots.optionTable ? {
|
|
959
959
|
name: "optionTable",
|
|
960
|
-
fn:
|
|
960
|
+
fn: p(() => [
|
|
961
961
|
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
962
962
|
]),
|
|
963
963
|
key: "6"
|
|
964
964
|
} : void 0,
|
|
965
965
|
t.$slots.optionLabels ? {
|
|
966
966
|
name: "optionLabels",
|
|
967
|
-
fn:
|
|
967
|
+
fn: p(() => [
|
|
968
968
|
y(t.$slots, "optionLabels", {}, void 0, !0)
|
|
969
969
|
]),
|
|
970
970
|
key: "7"
|
|
971
971
|
} : void 0,
|
|
972
972
|
t.$slots.optionSort ? {
|
|
973
973
|
name: "optionSort",
|
|
974
|
-
fn:
|
|
974
|
+
fn: p(() => [
|
|
975
975
|
y(t.$slots, "optionSort", {}, void 0, !0)
|
|
976
976
|
]),
|
|
977
977
|
key: "8"
|
|
978
978
|
} : void 0,
|
|
979
979
|
t.$slots.optionFullscreen ? {
|
|
980
980
|
name: "optionFullscreen",
|
|
981
|
-
fn:
|
|
982
|
-
y(t.$slots, "optionFullscreen",
|
|
981
|
+
fn: p(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
982
|
+
y(t.$slots, "optionFullscreen", N(I({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
983
983
|
]),
|
|
984
984
|
key: "9"
|
|
985
985
|
} : void 0,
|
|
986
986
|
t.$slots.optionAnnotator ? {
|
|
987
987
|
name: "optionAnnotator",
|
|
988
|
-
fn:
|
|
989
|
-
y(t.$slots, "optionAnnotator",
|
|
988
|
+
fn: p(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
989
|
+
y(t.$slots, "optionAnnotator", N(I({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
990
990
|
]),
|
|
991
991
|
key: "10"
|
|
992
992
|
} : void 0,
|
|
993
993
|
t.$slots.optionAltCopy ? {
|
|
994
994
|
name: "optionAltCopy",
|
|
995
|
-
fn:
|
|
996
|
-
y(t.$slots, "optionAltCopy",
|
|
995
|
+
fn: p(({ altCopy: a }) => [
|
|
996
|
+
y(t.$slots, "optionAltCopy", N(I({ altCopy: a })), void 0, !0)
|
|
997
997
|
]),
|
|
998
998
|
key: "11"
|
|
999
999
|
} : void 0
|
|
1000
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) :
|
|
1000
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : f("", !0),
|
|
1001
1001
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (n(), r("div", {
|
|
1002
1002
|
key: 5,
|
|
1003
1003
|
ref_key: "chartLegend",
|
|
1004
|
-
ref:
|
|
1004
|
+
ref: ze
|
|
1005
1005
|
}, [
|
|
1006
1006
|
(n(), H(Bt, {
|
|
1007
|
-
key: `legend_top_${
|
|
1007
|
+
key: `legend_top_${Ne.value}`,
|
|
1008
1008
|
legendSet: P.value,
|
|
1009
1009
|
config: mt.value,
|
|
1010
1010
|
onClickMarker: l[0] || (l[0] = ({ legend: a }) => Z(a.id))
|
|
1011
|
-
},
|
|
1012
|
-
item:
|
|
1011
|
+
}, Le({
|
|
1012
|
+
item: p(({ legend: a, index: o }) => [
|
|
1013
1013
|
s("div", {
|
|
1014
1014
|
onClick: (g) => Z(a.id),
|
|
1015
|
-
style: b(`opacity:${
|
|
1015
|
+
style: b(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
1016
1016
|
}, k(a.name) + ": " + k(i(ge)(
|
|
1017
1017
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
1018
1018
|
a.value,
|
|
@@ -1025,21 +1025,21 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1025
1025
|
{ datapoint: a, seriesIndex: o }
|
|
1026
1026
|
)), 13, pl)
|
|
1027
1027
|
]),
|
|
1028
|
-
legendToggle:
|
|
1028
|
+
legendToggle: p(() => [
|
|
1029
1029
|
P.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !i(we) ? (n(), H(Et, {
|
|
1030
1030
|
key: 0,
|
|
1031
1031
|
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1032
1032
|
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1033
1033
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
1034
|
-
checked:
|
|
1034
|
+
checked: $.value.length > 0,
|
|
1035
1035
|
onToggle: Ct
|
|
1036
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) :
|
|
1036
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) : f("", !0)
|
|
1037
1037
|
]),
|
|
1038
1038
|
_: 2
|
|
1039
1039
|
}, [
|
|
1040
1040
|
t.$slots.pattern ? {
|
|
1041
1041
|
name: "legend-pattern",
|
|
1042
|
-
fn:
|
|
1042
|
+
fn: p(({ legend: a, index: o }) => [
|
|
1043
1043
|
ie(Dt, {
|
|
1044
1044
|
shape: a.shape,
|
|
1045
1045
|
radius: 30,
|
|
@@ -1051,7 +1051,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1051
1051
|
key: "0"
|
|
1052
1052
|
} : void 0
|
|
1053
1053
|
]), 1032, ["legendSet", "config"]))
|
|
1054
|
-
], 512)) :
|
|
1054
|
+
], 512)) : f("", !0),
|
|
1055
1055
|
s("div", fl, [
|
|
1056
1056
|
(n(), r("svg", {
|
|
1057
1057
|
ref_key: "svgRef",
|
|
@@ -1086,7 +1086,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}, [
|
|
1088
1088
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
1089
|
-
], 8, gl)) :
|
|
1089
|
+
], 8, gl)) : f("", !0),
|
|
1090
1090
|
(n(!0), r(D, null, B(w.value, (a, o) => (n(), r("linearGradient", {
|
|
1091
1091
|
x1: "0%",
|
|
1092
1092
|
y1: "0%",
|
|
@@ -1113,7 +1113,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1113
1113
|
patternId: `pattern_${S.value}_${a.absoluteIndex}`
|
|
1114
1114
|
}), void 0, !0)
|
|
1115
1115
|
]))), 256))
|
|
1116
|
-
])) :
|
|
1116
|
+
])) : f("", !0),
|
|
1117
1117
|
e.value.style.chart.layout.bars.rowColor ? (n(!0), r(D, { key: 2 }, B(w.value, (a, o) => (n(), r("g", null, [
|
|
1118
1118
|
s("rect", {
|
|
1119
1119
|
x: 0,
|
|
@@ -1124,15 +1124,15 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1124
1124
|
rx: e.value.style.chart.layout.bars.rowRadius,
|
|
1125
1125
|
style: { pointerEvents: "none" }
|
|
1126
1126
|
}, null, 8, xl)
|
|
1127
|
-
]))), 256)) :
|
|
1127
|
+
]))), 256)) : f("", !0),
|
|
1128
1128
|
(n(!0), r(D, null, B(w.value, (a, o) => (n(), r("g", null, [
|
|
1129
1129
|
s("rect", {
|
|
1130
|
-
x: i(
|
|
1131
|
-
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 :
|
|
1130
|
+
x: i(V)(
|
|
1131
|
+
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : O(a.value) <= 0 ? 1e-4 : O(a.value)) : c.value.left
|
|
1132
1132
|
),
|
|
1133
1133
|
y: c.value.top + (x.value + d.value) * o + A.value[o] * L.value,
|
|
1134
|
-
width: i(
|
|
1135
|
-
|
|
1134
|
+
width: i(V)(
|
|
1135
|
+
O(a.value) <= 0 ? 1e-4 : O(a.value)
|
|
1136
1136
|
),
|
|
1137
1137
|
height: d.value <= 0 ? 1e-4 : d.value,
|
|
1138
1138
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
@@ -1142,12 +1142,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1142
1142
|
]))), 256)),
|
|
1143
1143
|
(n(!0), r(D, null, B(w.value, (a, o) => (n(), r("g", null, [
|
|
1144
1144
|
s("rect", {
|
|
1145
|
-
x: i(
|
|
1146
|
-
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 :
|
|
1145
|
+
x: i(V)(
|
|
1146
|
+
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : O(a.value) <= 0 ? 1e-4 : O(a.value)) : c.value.left
|
|
1147
1147
|
),
|
|
1148
1148
|
y: c.value.top + (x.value + d.value) * o + A.value[o] * L.value,
|
|
1149
|
-
width: i(
|
|
1150
|
-
|
|
1149
|
+
width: i(V)(
|
|
1150
|
+
O(a.value) <= 0 ? 1e-4 : O(a.value)
|
|
1151
1151
|
),
|
|
1152
1152
|
height: d.value <= 0 ? 1e-4 : d.value,
|
|
1153
1153
|
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${S.value}_${o})` : i(et)(
|
|
@@ -1158,15 +1158,15 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1158
1158
|
stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
|
|
1159
1159
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
1160
1160
|
class: te({ animated: e.value.useCssAnimation })
|
|
1161
|
-
}, null, 10,
|
|
1161
|
+
}, null, 10, $l),
|
|
1162
1162
|
t.$slots.pattern ? (n(), r("rect", {
|
|
1163
1163
|
key: 0,
|
|
1164
|
-
x: i(
|
|
1165
|
-
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 :
|
|
1164
|
+
x: i(V)(
|
|
1165
|
+
J.value ? c.value.left + c.value.width / 2 - (a.sign === 1 ? 0 : O(a.value) <= 0 ? 1e-4 : O(a.value)) : c.value.left
|
|
1166
1166
|
),
|
|
1167
1167
|
y: c.value.top + (x.value + d.value) * o + A.value[o] * L.value,
|
|
1168
|
-
width: i(
|
|
1169
|
-
|
|
1168
|
+
width: i(V)(
|
|
1169
|
+
O(a.value) <= 0 ? 1e-4 : O(a.value)
|
|
1170
1170
|
),
|
|
1171
1171
|
height: d.value <= 0 ? 1e-4 : d.value,
|
|
1172
1172
|
fill: `url(#pattern_${S.value}_${a.absoluteIndex})`,
|
|
@@ -1174,7 +1174,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1174
1174
|
stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
|
|
1175
1175
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
1176
1176
|
class: te({ animated: e.value.useCssAnimation })
|
|
1177
|
-
}, null, 10,
|
|
1177
|
+
}, null, 10, _l)) : f("", !0),
|
|
1178
1178
|
(!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== w.value.length - 1 ? (n(), r("line", {
|
|
1179
1179
|
key: 1,
|
|
1180
1180
|
x1: E.value,
|
|
@@ -1188,7 +1188,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1188
1188
|
transition: "none !important",
|
|
1189
1189
|
animation: "none !important"
|
|
1190
1190
|
}
|
|
1191
|
-
}, null, 8, Tl)) :
|
|
1191
|
+
}, null, 8, Tl)) : f("", !0),
|
|
1192
1192
|
J.value && e.value.style.chart.layout.separators.show ? (n(), r("line", {
|
|
1193
1193
|
key: 2,
|
|
1194
1194
|
x1: c.value.left + c.value.width / 2,
|
|
@@ -1198,7 +1198,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1198
1198
|
stroke: e.value.style.chart.layout.separators.color,
|
|
1199
1199
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
1200
1200
|
"stroke-linecap": "round"
|
|
1201
|
-
}, null, 8, Ll)) :
|
|
1201
|
+
}, null, 8, Ll)) : f("", !0)
|
|
1202
1202
|
]))), 256)),
|
|
1203
1203
|
s("g", {
|
|
1204
1204
|
ref_key: "parentLabels",
|
|
@@ -1215,7 +1215,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1215
1215
|
rx: 1,
|
|
1216
1216
|
fill: a.color,
|
|
1217
1217
|
style: { animation: "none !important", transition: "none !important" }
|
|
1218
|
-
}, null, 8, Pl)) :
|
|
1218
|
+
}, null, 8, Pl)) : f("", !0),
|
|
1219
1219
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), r("text", {
|
|
1220
1220
|
key: 1,
|
|
1221
1221
|
y: ne(a, o).y,
|
|
@@ -1225,35 +1225,35 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1225
1225
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
1226
1226
|
"text-anchor": "start",
|
|
1227
1227
|
innerHTML: i(tt)({
|
|
1228
|
-
content: `${
|
|
1228
|
+
content: `${$t(a, o)}`,
|
|
1229
1229
|
fontSize: e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1230
1230
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
1231
1231
|
x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1232
1232
|
y: ne(a, o).y,
|
|
1233
1233
|
translateY: !1
|
|
1234
1234
|
})
|
|
1235
|
-
}, null, 8, Al)) :
|
|
1235
|
+
}, null, 8, Al)) : f("", !0),
|
|
1236
1236
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (n(), r("text", {
|
|
1237
1237
|
key: 2,
|
|
1238
|
-
y: ne(a, o).y + i(Ha)(
|
|
1238
|
+
y: ne(a, o).y + i(Ha)($t(a, o)) * e.value.style.chart.layout.bars.parentLabels.fontSize * 1.1,
|
|
1239
1239
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1240
1240
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
1241
1241
|
x: e.value.style.chart.layout.bars.parentLabels.offsetX + e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
1242
1242
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
1243
1243
|
"text-anchor": "start"
|
|
1244
|
-
}, k(pa(a, o)), 9, zl)) :
|
|
1244
|
+
}, k(pa(a, o)), 9, zl)) : f("", !0)
|
|
1245
1245
|
]))), 256))
|
|
1246
1246
|
], 512),
|
|
1247
1247
|
s("g", {
|
|
1248
1248
|
ref_key: "childLabels",
|
|
1249
|
-
ref:
|
|
1249
|
+
ref: Ve
|
|
1250
1250
|
}, [
|
|
1251
1251
|
(n(!0), r(D, null, B(ra.value, (a, o) => (n(), r("g", Nl, [
|
|
1252
1252
|
(a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (n(), r("text", {
|
|
1253
1253
|
key: 0,
|
|
1254
1254
|
"text-anchor": "start",
|
|
1255
1255
|
x: Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX),
|
|
1256
|
-
y: i(
|
|
1256
|
+
y: i(V)(c.value.top + (x.value + d.value) * o + d.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value),
|
|
1257
1257
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1258
1258
|
fill: "transparent",
|
|
1259
1259
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal",
|
|
@@ -1263,10 +1263,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1263
1263
|
fontSize: e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
1264
1264
|
fill: "transparent",
|
|
1265
1265
|
x: Math.abs(e.value.style.chart.layout.bars.nameLabels.offsetX),
|
|
1266
|
-
y: i(
|
|
1266
|
+
y: i(V)(c.value.top + (x.value + d.value) * o + d.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2 + A.value[o] * L.value),
|
|
1267
1267
|
translateY: !0
|
|
1268
1268
|
})
|
|
1269
|
-
}, null, 8, Il)) :
|
|
1269
|
+
}, null, 8, Il)) : f("", !0)
|
|
1270
1270
|
]))), 256))
|
|
1271
1271
|
], 512),
|
|
1272
1272
|
s("g", null, [
|
|
@@ -1287,12 +1287,12 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1287
1287
|
y: c.value.top + (x.value + d.value) * o + d.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 3 + A.value[o] * L.value,
|
|
1288
1288
|
translateY: !0
|
|
1289
1289
|
})
|
|
1290
|
-
}, null, 8, Ol)) :
|
|
1290
|
+
}, null, 8, Ol)) : f("", !0)
|
|
1291
1291
|
]))), 256))
|
|
1292
1292
|
]),
|
|
1293
1293
|
s("g", {
|
|
1294
1294
|
ref_key: "dataLabels",
|
|
1295
|
-
ref:
|
|
1295
|
+
ref: Oe
|
|
1296
1296
|
}, [
|
|
1297
1297
|
(n(!0), r(D, null, B(w.value, (a, o) => (n(), r("g", Fl, [
|
|
1298
1298
|
s("text", {
|
|
@@ -1314,47 +1314,47 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1314
1314
|
y: c.value.top + (x.value + d.value) * o - x.value / 2 + A.value[o] * L.value,
|
|
1315
1315
|
width: E.value,
|
|
1316
1316
|
height: d.value + x.value <= 0 ? 1e-4 : d.value + x.value,
|
|
1317
|
-
fill:
|
|
1317
|
+
fill: Ue.value === a.id ? i(et)(
|
|
1318
1318
|
e.value.style.chart.layout.highlighter.color,
|
|
1319
1319
|
e.value.style.chart.layout.highlighter.opacity
|
|
1320
1320
|
) : "transparent",
|
|
1321
1321
|
onMouseenter: (g) => Lt(a, o, "pointer"),
|
|
1322
1322
|
onMouseleave: (g) => Tt({ datapoint: a, seriesIndex: o }),
|
|
1323
|
-
onClick: (g) =>
|
|
1323
|
+
onClick: (g) => _t({ datapoint: a, seriesIndex: o })
|
|
1324
1324
|
}, null, 40, Dl)
|
|
1325
1325
|
]))), 256)),
|
|
1326
1326
|
y(t.$slots, "svg", {
|
|
1327
1327
|
svg: {
|
|
1328
1328
|
...W.value,
|
|
1329
|
-
isPrintingImg: i(
|
|
1329
|
+
isPrintingImg: i(Re) | i(Xe) | Ce.value,
|
|
1330
1330
|
isPrintingSvg: xe.value
|
|
1331
1331
|
}
|
|
1332
1332
|
}, void 0, !0)
|
|
1333
1333
|
], 512)
|
|
1334
1334
|
], 46, yl)),
|
|
1335
1335
|
t.$slots.hint ? (n(), r("div", Bl, [
|
|
1336
|
-
y(t.$slots, "hint",
|
|
1337
|
-
])) :
|
|
1336
|
+
y(t.$slots, "hint", N(I({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: je.value })), void 0, !0)
|
|
1337
|
+
])) : f("", !0)
|
|
1338
1338
|
]),
|
|
1339
1339
|
t.$slots.watermark ? (n(), r("div", El, [
|
|
1340
|
-
y(t.$slots, "watermark",
|
|
1341
|
-
])) :
|
|
1340
|
+
y(t.$slots, "watermark", N(I({ isPrinting: i(Re) || i(Xe) || Ce.value || xe.value })), void 0, !0)
|
|
1341
|
+
])) : f("", !0),
|
|
1342
1342
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (n(), r("div", {
|
|
1343
1343
|
key: 7,
|
|
1344
1344
|
ref_key: "chartLegend",
|
|
1345
|
-
ref:
|
|
1345
|
+
ref: ze
|
|
1346
1346
|
}, [
|
|
1347
1347
|
(n(), H(Bt, {
|
|
1348
|
-
key: `legend_bottom_${
|
|
1348
|
+
key: `legend_bottom_${Ne.value}`,
|
|
1349
1349
|
legendSet: P.value,
|
|
1350
1350
|
config: mt.value,
|
|
1351
1351
|
isCursorPointer: Y.value,
|
|
1352
1352
|
onClickMarker: l[1] || (l[1] = ({ legend: a }) => Z(a.id))
|
|
1353
|
-
},
|
|
1354
|
-
item:
|
|
1353
|
+
}, Le({
|
|
1354
|
+
item: p(({ legend: a, index: o }) => [
|
|
1355
1355
|
s("div", {
|
|
1356
1356
|
onClick: (g) => Z(a.id),
|
|
1357
|
-
style: b(`opacity:${
|
|
1357
|
+
style: b(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
1358
1358
|
}, k(a.name) + ": " + k(i(ge)(
|
|
1359
1359
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
1360
1360
|
a.value,
|
|
@@ -1367,22 +1367,22 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1367
1367
|
{ datapoint: a, seriesIndex: o }
|
|
1368
1368
|
)), 13, Rl)
|
|
1369
1369
|
]),
|
|
1370
|
-
legendToggle:
|
|
1370
|
+
legendToggle: p(() => [
|
|
1371
1371
|
P.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !i(we) ? (n(), H(Et, {
|
|
1372
1372
|
key: 0,
|
|
1373
1373
|
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1374
1374
|
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
1375
1375
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
1376
|
-
checked:
|
|
1376
|
+
checked: $.value.length > 0,
|
|
1377
1377
|
isCursorPointer: Y.value,
|
|
1378
1378
|
onToggle: Ct
|
|
1379
|
-
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) :
|
|
1379
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : f("", !0)
|
|
1380
1380
|
]),
|
|
1381
1381
|
_: 2
|
|
1382
1382
|
}, [
|
|
1383
1383
|
t.$slots.pattern ? {
|
|
1384
1384
|
name: "legend-pattern",
|
|
1385
|
-
fn:
|
|
1385
|
+
fn: p(({ legend: a, index: o }) => [
|
|
1386
1386
|
ie(Dt, {
|
|
1387
1387
|
shape: a.shape,
|
|
1388
1388
|
radius: 30,
|
|
@@ -1394,7 +1394,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1394
1394
|
key: "0"
|
|
1395
1395
|
} : void 0
|
|
1396
1396
|
]), 1032, ["legendSet", "config", "isCursorPointer"]))
|
|
1397
|
-
], 512)) :
|
|
1397
|
+
], 512)) : f("", !0),
|
|
1398
1398
|
y(t.$slots, "legend", { legend: P.value }, void 0, !0),
|
|
1399
1399
|
t.$slots.source ? (n(), r("div", {
|
|
1400
1400
|
key: 8,
|
|
@@ -1403,10 +1403,10 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1403
1403
|
dir: "auto"
|
|
1404
1404
|
}, [
|
|
1405
1405
|
y(t.$slots, "source", {}, void 0, !0)
|
|
1406
|
-
], 512)) :
|
|
1406
|
+
], 512)) : f("", !0),
|
|
1407
1407
|
ie(i(Ut), {
|
|
1408
1408
|
teleportTo: e.value.style.chart.tooltip.teleportTo,
|
|
1409
|
-
show: T.value.showTooltip && be.value &&
|
|
1409
|
+
show: T.value.showTooltip && be.value && $.value.length < C.dataset.length,
|
|
1410
1410
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1411
1411
|
color: e.value.style.chart.tooltip.color,
|
|
1412
1412
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1417,30 +1417,33 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1417
1417
|
position: e.value.style.chart.tooltip.position,
|
|
1418
1418
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1419
1419
|
parent: R.value,
|
|
1420
|
-
content:
|
|
1420
|
+
content: Ae.value,
|
|
1421
1421
|
isFullscreen: Q.value,
|
|
1422
1422
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
1423
1423
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1424
1424
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
1425
1425
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1426
1426
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1427
|
-
isA11yMode:
|
|
1427
|
+
isA11yMode: Fe.value === "keyboard",
|
|
1428
1428
|
a11yPosition: it.value
|
|
1429
1429
|
}, {
|
|
1430
|
-
"tooltip-before":
|
|
1431
|
-
y(t.$slots, "tooltip-before",
|
|
1430
|
+
"tooltip-before": p(() => [
|
|
1431
|
+
y(t.$slots, "tooltip-before", N(I({ ..._e.value })), void 0, !0)
|
|
1432
|
+
]),
|
|
1433
|
+
tooltip: p(() => [
|
|
1434
|
+
y(t.$slots, "tooltip", N(I({ ..._e.value })), void 0, !0)
|
|
1432
1435
|
]),
|
|
1433
|
-
"tooltip-after":
|
|
1434
|
-
y(t.$slots, "tooltip-after",
|
|
1436
|
+
"tooltip-after": p(() => [
|
|
1437
|
+
y(t.$slots, "tooltip-after", N(I({ ..._e.value })), void 0, !0)
|
|
1435
1438
|
]),
|
|
1436
1439
|
_: 3
|
|
1437
1440
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
1438
|
-
|
|
1441
|
+
Pe.value && e.value.userOptions.buttons.table ? (n(), H(Fa(Te.value.component), Ot({ key: 9 }, Te.value.props, {
|
|
1439
1442
|
ref_key: "tableUnit",
|
|
1440
1443
|
ref: ve,
|
|
1441
1444
|
onClose: Ke
|
|
1442
|
-
}),
|
|
1443
|
-
content:
|
|
1445
|
+
}), Le({
|
|
1446
|
+
content: p(() => [
|
|
1444
1447
|
s("div", {
|
|
1445
1448
|
ref_key: "tableContainer",
|
|
1446
1449
|
ref: yt,
|
|
@@ -1448,7 +1451,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1448
1451
|
style: b(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
|
|
1449
1452
|
}, [
|
|
1450
1453
|
s("div", Xl, [
|
|
1451
|
-
e.value.table.useDialog ?
|
|
1454
|
+
e.value.table.useDialog ? f("", !0) : (n(), r("div", {
|
|
1452
1455
|
key: 0,
|
|
1453
1456
|
role: "button",
|
|
1454
1457
|
tabindex: "0",
|
|
@@ -1467,7 +1470,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1467
1470
|
class: te({ "vue-ui-responsive": i(ga) })
|
|
1468
1471
|
}, [
|
|
1469
1472
|
s("table", Hl, [
|
|
1470
|
-
e.value.table.useDialog ?
|
|
1473
|
+
e.value.table.useDialog ? f("", !0) : (n(), r("caption", {
|
|
1471
1474
|
key: 0,
|
|
1472
1475
|
style: b({
|
|
1473
1476
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -1477,14 +1480,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1477
1480
|
class: "vue-ui-data-table__caption"
|
|
1478
1481
|
}, [
|
|
1479
1482
|
Ft(k(e.value.style.chart.title.text) + " ", 1),
|
|
1480
|
-
e.value.style.chart.title.subtitle.text ? (n(), r("span", Ul, k(e.value.style.chart.title.subtitle.text), 1)) :
|
|
1483
|
+
e.value.style.chart.title.subtitle.text ? (n(), r("span", Ul, k(e.value.style.chart.title.subtitle.text), 1)) : f("", !0)
|
|
1481
1484
|
], 4)),
|
|
1482
1485
|
s("thead", null, [
|
|
1483
1486
|
s("tr", {
|
|
1484
1487
|
role: "row",
|
|
1485
1488
|
style: b(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
1486
1489
|
}, [
|
|
1487
|
-
(n(!0), r(D, null, B(
|
|
1490
|
+
(n(!0), r(D, null, B(F.value.head, (a) => (n(), r("th", {
|
|
1488
1491
|
style: b(`outline:${e.value.table.th.outline}`)
|
|
1489
1492
|
}, [
|
|
1490
1493
|
s("div", Wl, k(a), 1)
|
|
@@ -1515,7 +1518,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1515
1518
|
])
|
|
1516
1519
|
]),
|
|
1517
1520
|
s("tbody", null, [
|
|
1518
|
-
(n(!0), r(D, null, B(
|
|
1521
|
+
(n(!0), r(D, null, B(F.value.body, (a, o) => (n(), r("tr", {
|
|
1519
1522
|
class: te({
|
|
1520
1523
|
"vue-ui-data-table__tbody__row": !0,
|
|
1521
1524
|
"vue-ui-data-table__tbody__row-even": o % 2 === 0,
|
|
@@ -1526,20 +1529,20 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1526
1529
|
s("td", {
|
|
1527
1530
|
class: "vue-ui-data-table__tbody__td",
|
|
1528
1531
|
style: b(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
1529
|
-
"data-cell":
|
|
1532
|
+
"data-cell": F.value.head[0] ?? ""
|
|
1530
1533
|
}, [
|
|
1531
1534
|
s("div", Kl, [
|
|
1532
1535
|
a.color ? (n(), r("span", {
|
|
1533
1536
|
key: 0,
|
|
1534
1537
|
style: b(`color:${a.color};margin-right:3px`)
|
|
1535
|
-
}, "⬤", 4)) :
|
|
1538
|
+
}, "⬤", 4)) : f("", !0),
|
|
1536
1539
|
s("span", null, k(a.parentName), 1)
|
|
1537
1540
|
])
|
|
1538
1541
|
], 12, Gl),
|
|
1539
1542
|
s("td", {
|
|
1540
1543
|
class: "vue-ui-data-table__tbody__td",
|
|
1541
1544
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1542
|
-
"data-cell":
|
|
1545
|
+
"data-cell": F.value.head[1] ?? ""
|
|
1543
1546
|
}, [
|
|
1544
1547
|
s("div", Yl, k(e.value.table.td.prefix) + k(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(
|
|
1545
1548
|
e.value.table.td.roundingValue
|
|
@@ -1548,7 +1551,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1548
1551
|
s("td", {
|
|
1549
1552
|
class: "vue-ui-data-table__tbody__td",
|
|
1550
1553
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1551
|
-
"data-cell":
|
|
1554
|
+
"data-cell": F.value.head[2] ?? ""
|
|
1552
1555
|
}, [
|
|
1553
1556
|
s("div", Zl, k(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(
|
|
1554
1557
|
e.value.table.td.roundingPercentage
|
|
@@ -1557,14 +1560,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1557
1560
|
s("td", {
|
|
1558
1561
|
class: "vue-ui-data-table__tbody__td",
|
|
1559
1562
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1560
|
-
"data-cell":
|
|
1563
|
+
"data-cell": F.value.head[3] ?? ""
|
|
1561
1564
|
}, [
|
|
1562
1565
|
s("div", Ql, k(a.childName), 1)
|
|
1563
1566
|
], 12, Jl),
|
|
1564
1567
|
s("td", {
|
|
1565
1568
|
class: "vue-ui-data-table__tbody__td",
|
|
1566
1569
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1567
|
-
"data-cell":
|
|
1570
|
+
"data-cell": F.value.head[4] ?? ""
|
|
1568
1571
|
}, [
|
|
1569
1572
|
s("div", to, k(e.value.table.td.prefix) + k(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(
|
|
1570
1573
|
e.value.table.td.roundingValue
|
|
@@ -1573,7 +1576,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1573
1576
|
s("td", {
|
|
1574
1577
|
class: "vue-ui-data-table__tbody__td",
|
|
1575
1578
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1576
|
-
"data-cell":
|
|
1579
|
+
"data-cell": F.value.head[5] ?? ""
|
|
1577
1580
|
}, [
|
|
1578
1581
|
s("div", lo, k(["", NaN, void 0].includes(
|
|
1579
1582
|
a.childPercentageToParent
|
|
@@ -1584,7 +1587,7 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1584
1587
|
s("td", {
|
|
1585
1588
|
class: "vue-ui-data-table__tbody__td",
|
|
1586
1589
|
style: b(`outline:${e.value.table.td.outline}`),
|
|
1587
|
-
"data-cell":
|
|
1590
|
+
"data-cell": F.value.head[6] ?? ""
|
|
1588
1591
|
}, [
|
|
1589
1592
|
s("div", no, k(["", NaN, void 0].includes(
|
|
1590
1593
|
a.childPercentageToTotal
|
|
@@ -1603,14 +1606,14 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1603
1606
|
}, [
|
|
1604
1607
|
e.value.table.useDialog ? {
|
|
1605
1608
|
name: "title",
|
|
1606
|
-
fn:
|
|
1607
|
-
Ft(k(
|
|
1609
|
+
fn: p(() => [
|
|
1610
|
+
Ft(k(Te.value.title), 1)
|
|
1608
1611
|
]),
|
|
1609
1612
|
key: "0"
|
|
1610
1613
|
} : void 0,
|
|
1611
1614
|
e.value.table.useDialog ? {
|
|
1612
1615
|
name: "actions",
|
|
1613
|
-
fn:
|
|
1616
|
+
fn: p(() => [
|
|
1614
1617
|
s("button", {
|
|
1615
1618
|
tabindex: "0",
|
|
1616
1619
|
class: "vue-ui-user-options-button",
|
|
@@ -1619,19 +1622,19 @@ const dl = ["id"], hl = ["id"], pl = ["onClick"], fl = { style: { position: "rel
|
|
|
1619
1622
|
}, [
|
|
1620
1623
|
ie(i(lt), {
|
|
1621
1624
|
name: "fileCsv",
|
|
1622
|
-
stroke:
|
|
1625
|
+
stroke: Te.value.props.color
|
|
1623
1626
|
}, null, 8, ["stroke"])
|
|
1624
1627
|
], 4)
|
|
1625
1628
|
]),
|
|
1626
1629
|
key: "1"
|
|
1627
1630
|
} : void 0
|
|
1628
|
-
]), 1040)) :
|
|
1631
|
+
]), 1040)) : f("", !0),
|
|
1629
1632
|
y(t.$slots, "skeleton", {}, () => [
|
|
1630
|
-
i(we) ? (n(), H(Qa, { key: 0 })) :
|
|
1633
|
+
i(we) ? (n(), H(Qa, { key: 0 })) : f("", !0)
|
|
1631
1634
|
], !0)
|
|
1632
1635
|
], 46, dl));
|
|
1633
1636
|
}
|
|
1634
|
-
}, Po = /* @__PURE__ */ cl(uo, [["__scopeId", "data-v-
|
|
1637
|
+
}, Po = /* @__PURE__ */ cl(uo, [["__scopeId", "data-v-f72565c5"]]);
|
|
1635
1638
|
export {
|
|
1636
1639
|
Po as default
|
|
1637
1640
|
};
|