vue-data-ui 3.25.8 → 3.25.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/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
- package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
- package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
- package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
- package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
- package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
- package/dist/components/vue-ui-3d-bar.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-hill.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-label.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-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-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/composables.js +1 -1
- package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
- package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
- package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
- package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
- package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
- package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +5 -5
- package/dist/types/vue-data-ui.d.ts +5 -5
- package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
- package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
- package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
- package/dist/vue-data-ui.js +66 -66
- package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
- package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
- package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
- package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
- package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
- package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
- package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
- package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
- package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
- package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
- package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
- package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
- package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
- package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
- package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
- package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
- package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
- package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
- package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
- package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
- package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
- package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
- package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
- package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
- package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
- package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
- package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
- package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
- package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
- package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
- package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
- package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
- package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
- package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
- package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
- package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
- package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
- package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
- package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
- package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
- package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
- package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
- package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
- package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
- package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
- package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
- package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
- package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
- package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
- package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
- package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
- package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
- package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
- package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
- package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
- package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
- package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
- package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
- package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
- package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
- package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
- package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
- package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
- package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
- package/package.json +3 -3
- package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
- package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
- package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
- package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
- package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
- package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
- package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
- package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
- package/dist/vue-ui-waffle-D6_cGi1-.js +0 -1621
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, Pt as s, S as c, Ut as l, Wt as ee, X as u, Yt as te,
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { l as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as
|
|
2
|
+
import { $ as t, Ct as n, D as r, G as i, Jt as a, Lt as o, Pt as s, S as c, Ut as l, Wt as ee, X as u, Yt as te, Z as ne, Zt as re, b as d, bt as ie, i as ae, lt as oe, mt as se, nt as ce, q as le, t as ue, w as de } from "./lib-Dql7cqyA.js";
|
|
3
|
+
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as me } from "./useConfig-D32D002m.js";
|
|
5
|
+
import { t as he } from "./usePrinter-hohanNCX.js";
|
|
6
|
+
import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as ve } from "./useNestedProp-Chvyfpl-.js";
|
|
8
|
+
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as be } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
+
import { t as xe } from "./useTransitions-g_zBREk2.js";
|
|
11
|
+
import { t as Se } from "./img-BkMKbWsI.js";
|
|
12
|
+
import { n as Ce } from "./Title-CPHi-evi.js";
|
|
13
|
+
import { t as we } from "./Shape-CIqU-p2F.js";
|
|
14
|
+
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
|
+
import { l as Ee, t as De } from "./useResponsive-ZtArZtUf.js";
|
|
16
|
+
import { t as Oe } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
+
import { t as ke } from "./vue-ui-accordion-DmkL8A59.js";
|
|
18
|
+
import { t as Ae } from "./BaseLegendToggle-CXQrLjd-.js";
|
|
19
|
+
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
20
|
+
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
|
+
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
|
+
import { t as Pe } from "./useTableResponsive-BAqJPR68.js";
|
|
23
|
+
import { t as Fe } from "./Legend-X4kF4PvW.js";
|
|
24
|
+
import { t as Ie } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
|
|
25
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as Be, guardReactiveProps as v, mergeProps as Ve, nextTick as He, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Ue, onMounted as We, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ge, toDisplayString as E, toRefs as Ke, unref as D, useCssVars as qe, useSlots as Je, watch as Ye, withCtx as O, withKeys as Xe } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-horizontal-bar.vue
|
|
27
|
-
var
|
|
27
|
+
var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et = ["onClick"], tt = { style: { position: "relative" } }, nt = [
|
|
28
28
|
"xmlns",
|
|
29
29
|
"viewBox",
|
|
30
30
|
"aria-describedby"
|
|
31
|
-
],
|
|
31
|
+
], rt = ["width", "height"], it = { key: 1 }, at = [
|
|
32
32
|
"y",
|
|
33
33
|
"width",
|
|
34
34
|
"height",
|
|
35
35
|
"fill",
|
|
36
36
|
"rx"
|
|
37
|
-
],
|
|
37
|
+
], ot = [
|
|
38
38
|
"x",
|
|
39
39
|
"y",
|
|
40
40
|
"width",
|
|
41
41
|
"height",
|
|
42
42
|
"fill",
|
|
43
43
|
"rx"
|
|
44
|
-
],
|
|
44
|
+
], st = [
|
|
45
45
|
"x",
|
|
46
46
|
"y",
|
|
47
47
|
"width",
|
|
@@ -50,7 +50,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
50
50
|
"rx",
|
|
51
51
|
"stroke",
|
|
52
52
|
"stroke-width"
|
|
53
|
-
],
|
|
53
|
+
], ct = [
|
|
54
54
|
"x",
|
|
55
55
|
"y",
|
|
56
56
|
"width",
|
|
@@ -59,48 +59,48 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
59
59
|
"rx",
|
|
60
60
|
"stroke",
|
|
61
61
|
"stroke-width"
|
|
62
|
-
],
|
|
62
|
+
], lt = [
|
|
63
63
|
"stroke",
|
|
64
64
|
"stroke-width",
|
|
65
65
|
"d"
|
|
66
|
-
],
|
|
66
|
+
], ut = [
|
|
67
67
|
"stroke",
|
|
68
68
|
"stroke-width",
|
|
69
69
|
"d"
|
|
70
|
-
],
|
|
70
|
+
], dt = [
|
|
71
71
|
"y",
|
|
72
72
|
"height",
|
|
73
73
|
"width",
|
|
74
74
|
"fill"
|
|
75
|
-
],
|
|
75
|
+
], ft = [
|
|
76
76
|
"transform",
|
|
77
77
|
"font-size",
|
|
78
78
|
"fill",
|
|
79
79
|
"font-weight",
|
|
80
80
|
"innerHTML"
|
|
81
|
-
],
|
|
81
|
+
], pt = [
|
|
82
82
|
"transform",
|
|
83
83
|
"font-size",
|
|
84
84
|
"fill",
|
|
85
85
|
"font-weight"
|
|
86
|
-
],
|
|
86
|
+
], mt = [
|
|
87
87
|
"transform",
|
|
88
88
|
"font-size",
|
|
89
89
|
"font-weight",
|
|
90
90
|
"innerHTML"
|
|
91
|
-
],
|
|
91
|
+
], ht = [
|
|
92
92
|
"transform",
|
|
93
93
|
"font-size",
|
|
94
94
|
"fill",
|
|
95
95
|
"font-weight",
|
|
96
96
|
"innerHTML"
|
|
97
|
-
],
|
|
97
|
+
], gt = [
|
|
98
98
|
"transform",
|
|
99
99
|
"text-anchor",
|
|
100
100
|
"font-size",
|
|
101
101
|
"fill",
|
|
102
102
|
"font-weight"
|
|
103
|
-
],
|
|
103
|
+
], _t = [
|
|
104
104
|
"y",
|
|
105
105
|
"width",
|
|
106
106
|
"height",
|
|
@@ -108,7 +108,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
108
108
|
"onMouseenter",
|
|
109
109
|
"onMouseleave",
|
|
110
110
|
"onClick"
|
|
111
|
-
],
|
|
111
|
+
], vt = {
|
|
112
112
|
key: 0,
|
|
113
113
|
style: {
|
|
114
114
|
position: "absolute",
|
|
@@ -118,59 +118,59 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
118
118
|
},
|
|
119
119
|
"data-dom-to-png-ignore": "",
|
|
120
120
|
"aria-hidden": "true"
|
|
121
|
-
},
|
|
122
|
-
key:
|
|
121
|
+
}, yt = {
|
|
122
|
+
key: 7,
|
|
123
123
|
class: "vue-data-ui-watermark"
|
|
124
|
-
},
|
|
124
|
+
}, bt = ["onClick"], xt = { style: "width:100%;padding-top: 36px;position:relative" }, St = { class: "vue-ui-data-table" }, Ct = { key: 0 }, wt = { style: { width: "100%" } }, Tt = ["data-cell"], Et = { style: {
|
|
125
125
|
display: "flex",
|
|
126
126
|
"align-items": "center",
|
|
127
127
|
gap: "5px",
|
|
128
128
|
"justify-content": "flex-end",
|
|
129
129
|
width: "100%",
|
|
130
130
|
"padding-right": "3px"
|
|
131
|
-
} },
|
|
131
|
+
} }, Dt = ["data-cell"], Ot = { style: {
|
|
132
132
|
display: "flex",
|
|
133
133
|
"align-items": "center",
|
|
134
134
|
gap: "5px",
|
|
135
135
|
"justify-content": "flex-end",
|
|
136
136
|
width: "100%",
|
|
137
137
|
"padding-right": "3px"
|
|
138
|
-
} },
|
|
138
|
+
} }, kt = ["data-cell"], At = { style: {
|
|
139
139
|
display: "flex",
|
|
140
140
|
"align-items": "center",
|
|
141
141
|
gap: "5px",
|
|
142
142
|
"justify-content": "flex-end",
|
|
143
143
|
width: "100%",
|
|
144
144
|
"padding-right": "3px"
|
|
145
|
-
} },
|
|
145
|
+
} }, jt = ["data-cell"], Mt = { style: {
|
|
146
146
|
display: "flex",
|
|
147
147
|
"align-items": "center",
|
|
148
148
|
gap: "5px",
|
|
149
149
|
"justify-content": "flex-end",
|
|
150
150
|
width: "100%",
|
|
151
151
|
"padding-right": "3px"
|
|
152
|
-
} },
|
|
152
|
+
} }, Nt = ["data-cell"], Pt = { style: {
|
|
153
153
|
display: "flex",
|
|
154
154
|
"align-items": "center",
|
|
155
155
|
gap: "5px",
|
|
156
156
|
"justify-content": "flex-end",
|
|
157
157
|
width: "100%",
|
|
158
158
|
"padding-right": "3px"
|
|
159
|
-
} },
|
|
159
|
+
} }, Ft = ["data-cell"], It = { style: {
|
|
160
160
|
display: "flex",
|
|
161
161
|
"align-items": "center",
|
|
162
162
|
gap: "5px",
|
|
163
163
|
"justify-content": "flex-end",
|
|
164
164
|
width: "100%",
|
|
165
165
|
"padding-right": "3px"
|
|
166
|
-
} },
|
|
166
|
+
} }, Lt = ["data-cell"], Rt = { style: {
|
|
167
167
|
display: "flex",
|
|
168
168
|
"align-items": "center",
|
|
169
169
|
gap: "5px",
|
|
170
170
|
"justify-content": "flex-end",
|
|
171
171
|
width: "100%",
|
|
172
172
|
"padding-right": "3px"
|
|
173
|
-
} },
|
|
173
|
+
} }, zt = /*#__PURE__*/ Te({
|
|
174
174
|
__name: "vue-ui-horizontal-bar",
|
|
175
175
|
props: {
|
|
176
176
|
config: {
|
|
@@ -191,28 +191,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
191
191
|
"copyAlt",
|
|
192
192
|
"selectDatapoint"
|
|
193
193
|
],
|
|
194
|
-
setup(e, { expose:
|
|
195
|
-
|
|
196
|
-
let
|
|
194
|
+
setup(e, { expose: Te, emit: Ze }) {
|
|
195
|
+
qe((e) => ({ v3eb323c0: e.tdo }));
|
|
196
|
+
let zt = Be(() => import("./Tooltip-hhrkQ3Lk.js")), Bt = Be(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Vt = Be(() => import("./PenAndPaper-Cd3nItcO.js").then((e) => e.t)), Ht = Be(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), Ut = Be(() => import("./PackageVersion-CZZayD-D.js").then((e) => e.t)), Wt = Be(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_vertical_bar: Gt } = me(), { isThemeValid: Kt, warnInvalidTheme: qt } = ye(), Jt = Je(), k = e, Yt = p({
|
|
197
197
|
get() {
|
|
198
198
|
return !!k.dataset && k.dataset.length;
|
|
199
199
|
},
|
|
200
200
|
set(e) {
|
|
201
201
|
return e;
|
|
202
202
|
}
|
|
203
|
-
}), A = C(
|
|
203
|
+
}), A = C(le()), Xt = C(!1), Zt = C(""), Qt = C(null), $t = C(0), j = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(null), an = C(0), on = C(0), sn = C(null), cn = C(null), ln = C(null), un = C(null), dn = C(null), M = C([]), fn = C({
|
|
204
204
|
none: 0,
|
|
205
205
|
asc: 1,
|
|
206
206
|
desc: 2
|
|
207
|
-
}),
|
|
207
|
+
}), pn = C(0), mn = C(0), hn = null, gn = null, N = C(null), _n = C({
|
|
208
208
|
x: 0,
|
|
209
209
|
y: 0
|
|
210
|
-
}), vn = C("pointer"), yn =
|
|
211
|
-
|
|
210
|
+
}), vn = C("pointer"), yn = Ze, P = C(An()), F = p(() => P.value.style.chart.layout.bars), I = p(() => P.value.style.chart.layout), L = p(() => P.value.style.chart.tooltip), R = p(() => P.value.style.chart);
|
|
211
|
+
fe({
|
|
212
212
|
config: () => P.value,
|
|
213
213
|
dataset: () => k.dataset,
|
|
214
214
|
component: "VueUiHorizontalBar",
|
|
215
|
-
rules: [
|
|
215
|
+
rules: [pe.emptyArray, {
|
|
216
216
|
test: (e) => e.length > 50 || e.some((e) => e.children && e.children.length > 50),
|
|
217
217
|
message: [
|
|
218
218
|
"👀 There are > 50 series / bars, which will probably force users to scroll. Consider:",
|
|
@@ -223,7 +223,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
223
223
|
]
|
|
224
224
|
}]
|
|
225
225
|
});
|
|
226
|
-
let { transitionEnabled: z } =
|
|
226
|
+
let { transitionEnabled: z } = xe({
|
|
227
227
|
config: () => P.value.transitions,
|
|
228
228
|
dataset: () => k.dataset
|
|
229
229
|
}), bn = p(() => P.value.userOptions.useCursorPointer), xn = p(() => k.config?.skeletonDataset ?? [
|
|
@@ -257,7 +257,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
257
257
|
value: 1,
|
|
258
258
|
color: "#d9d9d9"
|
|
259
259
|
}
|
|
260
|
-
]), Sn = p(() =>
|
|
260
|
+
]), Sn = p(() => re({
|
|
261
261
|
defaultConfig: {
|
|
262
262
|
useCssAnimation: !1,
|
|
263
263
|
userOptions: { show: !1 },
|
|
@@ -294,35 +294,35 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
294
294
|
} }
|
|
295
295
|
},
|
|
296
296
|
userConfig: P.value.skeletonConfig ?? {}
|
|
297
|
-
})), { loading: Cn, FINAL_DATASET: wn, manualLoading: Tn } =
|
|
298
|
-
...
|
|
297
|
+
})), { loading: Cn, FINAL_DATASET: wn, manualLoading: Tn } = ge({
|
|
298
|
+
...Ke(k),
|
|
299
299
|
FINAL_CONFIG: P,
|
|
300
300
|
prepareConfig: An,
|
|
301
301
|
callback: () => {
|
|
302
302
|
Promise.resolve().then(async () => {
|
|
303
|
-
H.value.showTable = P.value.table.show,
|
|
303
|
+
H.value.showTable = P.value.table.show, Kn();
|
|
304
304
|
});
|
|
305
305
|
},
|
|
306
306
|
skeletonDataset: xn.value,
|
|
307
|
-
skeletonConfig:
|
|
307
|
+
skeletonConfig: re({
|
|
308
308
|
defaultConfig: P.value,
|
|
309
309
|
userConfig: Sn.value
|
|
310
310
|
})
|
|
311
|
-
}), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } =
|
|
311
|
+
}), { userOptionsVisible: En, setUserOptionsVisibility: Dn, keepUserOptionState: On } = Me({ config: P.value }), { svgRef: kn } = Ne({ config: R.value.title });
|
|
312
312
|
function An() {
|
|
313
|
-
let e =
|
|
313
|
+
let e = ve({
|
|
314
314
|
userConfig: k.config,
|
|
315
|
-
defaultConfig:
|
|
315
|
+
defaultConfig: Gt
|
|
316
316
|
}), t = {}, n = e.theme;
|
|
317
317
|
if (n) {
|
|
318
|
-
if (!
|
|
318
|
+
if (!Kt.value(e)) qt(e), t = e;
|
|
319
319
|
else {
|
|
320
|
-
let r =
|
|
321
|
-
userConfig:
|
|
320
|
+
let r = ve({
|
|
321
|
+
userConfig: Ie[n] || k.config,
|
|
322
322
|
defaultConfig: e
|
|
323
323
|
});
|
|
324
324
|
t = {
|
|
325
|
-
...
|
|
325
|
+
...ve({
|
|
326
326
|
userConfig: k.config,
|
|
327
327
|
defaultConfig: r
|
|
328
328
|
}),
|
|
@@ -330,68 +330,79 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
} else t = e;
|
|
333
|
-
return k.config &&
|
|
333
|
+
return k.config && ie(k.config, "events.datapointEnter") ? t.events.datapointEnter = k.config.events.datapointEnter : t.events.datapointEnter = null, k.config && ie(k.config, "events.datapointLeave") ? t.events.datapointLeave = k.config.events.datapointLeave : t.events.datapointLeave = null, k.config && ie(k.config, "events.datapointClick") ? t.events.datapointClick = k.config.events.datapointClick : t.events.datapointClick = null, t;
|
|
334
334
|
}
|
|
335
335
|
let B = C(R.value.width), jn = C(R.value.height), V = C(F.value.gap);
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
function Mn(e) {
|
|
337
|
+
let t = ne(e);
|
|
338
|
+
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
339
|
+
}
|
|
340
|
+
let Nn = Mn(k.config);
|
|
341
|
+
Ye(() => k.config, (e, t) => {
|
|
342
|
+
let n = Mn(e), r = n !== Nn;
|
|
343
|
+
Nn = n;
|
|
344
|
+
let i = An();
|
|
345
|
+
if (!r) {
|
|
346
|
+
P.value.style.chart.tooltip = i.style.chart.tooltip, H.value.showTooltip = P.value.style.chart.tooltip.show;
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
Cn.value || (P.value = i), En.value = !P.value.userOptions.showOnChartHover, an.value += 1, on.value += 1, H.value.showTable = P.value.table.show, pn.value = fn.value[F.value.sort] ?? 0, H.value.showTooltip = L.value.show, B.value = R.value.width, jn.value = R.value.height, V.value = F.value.gap;
|
|
350
|
+
}, { deep: !0 }), Ye(() => k.dataset, (e) => {
|
|
339
351
|
Array.isArray(e) && e.length > 0 && (Tn.value = !1);
|
|
340
352
|
}, { deep: !0 });
|
|
341
|
-
let { isPrinting:
|
|
353
|
+
let { isPrinting: Pn, isImaging: Fn, generatePdf: In, generateImage: Ln } = he({
|
|
342
354
|
elementId: `vue-ui-vertical-bar_${A.value}`,
|
|
343
355
|
fileName: R.value.title.text || "vue-ui-vertical-bar",
|
|
344
356
|
options: P.value.userOptions.print
|
|
345
|
-
}),
|
|
346
|
-
function
|
|
347
|
-
if (j.value && (s(k.dataset) && (
|
|
357
|
+
}), Rn = p(() => P.value.userOptions.show && !R.value.title.text), zn = p(() => de(P.value.customPalette)), Bn = C(null), Vn = p(() => P.value.table.responsiveBreakpoint), Hn = p(() => P.value.debug), Un = C(0), Wn = C(null), Gn = C(null);
|
|
358
|
+
function Kn() {
|
|
359
|
+
if (j.value && (s(k.dataset) && (ce({
|
|
348
360
|
componentName: "VueUiVerticalBar",
|
|
349
361
|
type: "dataset",
|
|
350
|
-
debug:
|
|
351
|
-
}),
|
|
352
|
-
let e =
|
|
353
|
-
let { width: e, height: t } =
|
|
362
|
+
debug: Hn.value
|
|
363
|
+
}), Yt.value = !1, Tn.value = !0), s(k.dataset) || (Tn.value = P.value.loading), P.value.responsive)) {
|
|
364
|
+
let e = Ee(() => {
|
|
365
|
+
let { width: e, height: t } = De({
|
|
354
366
|
chart: j.value,
|
|
355
|
-
title: R.value.title.text ?
|
|
356
|
-
legend: R.value.legend.show ?
|
|
357
|
-
source:
|
|
358
|
-
noTitle:
|
|
367
|
+
title: R.value.title.text ? en.value : null,
|
|
368
|
+
legend: R.value.legend.show ? tn.value : null,
|
|
369
|
+
source: nn.value,
|
|
370
|
+
noTitle: rn.value
|
|
359
371
|
});
|
|
360
|
-
|
|
372
|
+
Un.value = t / 3, requestAnimationFrame(async () => {
|
|
361
373
|
jn.value = t, B.value = e;
|
|
362
374
|
});
|
|
363
375
|
});
|
|
364
|
-
|
|
365
|
-
|
|
376
|
+
Wn.value && (Gn.value && Wn.value.unobserve(Gn.value), Wn.value.disconnect()), Wn.value = new ResizeObserver(e), He(() => {
|
|
377
|
+
Gn.value = j.value?.parentNode, Gn.value && Wn.value.observe(Gn.value);
|
|
366
378
|
});
|
|
367
379
|
}
|
|
368
380
|
}
|
|
369
|
-
|
|
370
|
-
|
|
381
|
+
Ue(() => {
|
|
382
|
+
Wn.value && (Gn.value && Wn.value.unobserve(Gn.value), Wn.value.disconnect());
|
|
371
383
|
});
|
|
372
384
|
let H = C({
|
|
373
385
|
showTable: P.value.table.show,
|
|
374
|
-
sortDesc: F.value.sort === "desc",
|
|
375
386
|
showTooltip: L.value.show
|
|
376
|
-
}),
|
|
377
|
-
!e.value && !e.children &&
|
|
387
|
+
}), qn = p(() => pn.value === 0), Jn = p(() => pn.value === 2), U = p(() => (wn.value.forEach((e, t) => {
|
|
388
|
+
!e.value && !e.children && ce({
|
|
378
389
|
componentName: "VueUiVerticalBar",
|
|
379
390
|
type: "datasetAttributeEmpty",
|
|
380
391
|
property: `value (index ${t})`,
|
|
381
|
-
debug:
|
|
382
|
-
}), e.children && (s(e.children) ?
|
|
392
|
+
debug: Hn.value
|
|
393
|
+
}), e.children && (s(e.children) ? ce({
|
|
383
394
|
componentName: "VueUiVerticalBar",
|
|
384
395
|
type: "datasetAttributeEmpty",
|
|
385
396
|
property: `children (index ${t})`,
|
|
386
|
-
debug:
|
|
397
|
+
debug: Hn.value
|
|
387
398
|
}) : e.children.forEach((e, t) => {
|
|
388
|
-
[null, void 0].includes(e.name) &&
|
|
399
|
+
[null, void 0].includes(e.name) && ce({
|
|
389
400
|
componentName: "VueUiVerticalBar",
|
|
390
401
|
type: "datasetSerieAttribute",
|
|
391
402
|
property: "name",
|
|
392
403
|
key: "children",
|
|
393
404
|
index: t,
|
|
394
|
-
debug:
|
|
405
|
+
debug: Hn.value
|
|
395
406
|
});
|
|
396
407
|
}));
|
|
397
408
|
}), wn.value.map((e, t) => {
|
|
@@ -406,10 +417,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
406
417
|
sign: a,
|
|
407
418
|
hasChildren: r,
|
|
408
419
|
isChild: !1,
|
|
409
|
-
segregate: () =>
|
|
420
|
+
segregate: () => cr(n),
|
|
410
421
|
isSegregated: M.value.includes(n),
|
|
411
|
-
color: c(e.color) ||
|
|
412
|
-
children: !e.children || !e.children.length ? [] : e.children.toSorted(
|
|
422
|
+
color: c(e.color) || zn.value[t] || o[t] || o[t % o.length],
|
|
423
|
+
children: !e.children || !e.children.length ? [] : e.children.toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, s) => ({
|
|
413
424
|
...r,
|
|
414
425
|
value: d(Math.abs(r.value)),
|
|
415
426
|
absoluteIndex: t,
|
|
@@ -421,14 +432,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
421
432
|
parentSign: a,
|
|
422
433
|
id: `vertical_child_${t}_${s}_${A.value}`,
|
|
423
434
|
childIndex: s,
|
|
424
|
-
color: c(r.color) || c(e.color) ||
|
|
435
|
+
color: c(r.color) || c(e.color) || zn.value[t] || o[t] || o[t % o.length]
|
|
425
436
|
})).map((t, n) => ({
|
|
426
437
|
...t,
|
|
427
438
|
isFirstChild: n === 0,
|
|
428
439
|
isLastChild: n === e.children.length - 1
|
|
429
440
|
}))
|
|
430
441
|
};
|
|
431
|
-
}).toSorted(
|
|
442
|
+
}).toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value))), W = p(() => U.value.filter((e) => !M.value.includes(e.id))), G = p(() => W.value.flatMap((e) => e.hasChildren ? e.children : e)), Yn = p(() => U.value.flatMap((e) => e.hasChildren ? e.children : e)), Xn = p(() => W.value.flatMap((e) => e.children && e.children.length > 0 ? e.children.length : 1).reduce((e, t) => e + t, 0)), Zn = p(() => ({
|
|
432
443
|
cy: "vertical-bar-div-legend",
|
|
433
444
|
backgroundColor: R.value.legend.backgroundColor,
|
|
434
445
|
color: R.value.legend.color,
|
|
@@ -442,7 +453,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
442
453
|
}), e;
|
|
443
454
|
}), J = p(() => {
|
|
444
455
|
let e = Math.max(0, ...q.value) * K.value;
|
|
445
|
-
return (jn.value - 24 - (
|
|
456
|
+
return (jn.value - 24 - (Xn.value - 1) * V.value - e) / Xn.value;
|
|
446
457
|
}), Y = p(() => ({
|
|
447
458
|
width: B.value,
|
|
448
459
|
height: jn.value,
|
|
@@ -452,45 +463,45 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
452
463
|
right: 64 + F.value.paddingRight,
|
|
453
464
|
bottom: 12
|
|
454
465
|
}
|
|
455
|
-
})),
|
|
456
|
-
function
|
|
457
|
-
|
|
458
|
-
if (!
|
|
459
|
-
|
|
466
|
+
})), Qn = C(0);
|
|
467
|
+
function $n() {
|
|
468
|
+
He(() => {
|
|
469
|
+
if (!dn.value) {
|
|
470
|
+
Qn.value = 0;
|
|
460
471
|
return;
|
|
461
472
|
}
|
|
462
|
-
let e = Array.from(
|
|
473
|
+
let e = Array.from(dn.value.querySelectorAll("text")).reduce((e, t) => {
|
|
463
474
|
let n = t.getBBox?.().width ?? t.getComputedTextLength();
|
|
464
475
|
return n > e ? n : e;
|
|
465
476
|
}, 0);
|
|
466
|
-
|
|
477
|
+
Qn.value = e + 12;
|
|
467
478
|
});
|
|
468
479
|
}
|
|
469
|
-
|
|
480
|
+
Ye(() => [
|
|
470
481
|
G.value,
|
|
471
482
|
B.value,
|
|
472
483
|
jn.value,
|
|
473
484
|
F.value.nameLabels,
|
|
474
485
|
F.value.offsetX
|
|
475
|
-
], () =>
|
|
476
|
-
|
|
486
|
+
], () => $n(), { deep: !0 }), We(() => {
|
|
487
|
+
$n();
|
|
477
488
|
});
|
|
478
|
-
function
|
|
489
|
+
function er() {
|
|
479
490
|
return typeof document > "u" ? null : (hn || (hn = document.createElement("canvas"), gn = hn.getContext("2d")), gn);
|
|
480
491
|
}
|
|
481
|
-
function
|
|
482
|
-
let t = String(e ?? ""), n = F.value, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = P.value.style.fontFamily, o =
|
|
492
|
+
function tr(e) {
|
|
493
|
+
let t = String(e ?? ""), n = F.value, r = n.dataLabels.fontSize, i = n.dataLabels.bold ? 700 : 400, a = P.value.style.fontFamily, o = er();
|
|
483
494
|
return o ? (o.font = `${i} ${r}px ${a}`, o.measureText(t).width) : t.length * r * .6;
|
|
484
495
|
}
|
|
485
|
-
function
|
|
496
|
+
function nr() {
|
|
486
497
|
let e = W.value.flatMap((e) => e.children && e.children.length ? e.children.map((e) => Math.abs(e.value)) : Math.abs(e.value));
|
|
487
498
|
return e.length ? Math.max(...e) : 0;
|
|
488
499
|
}
|
|
489
|
-
let
|
|
500
|
+
let rr = p(() => {
|
|
490
501
|
mn.value;
|
|
491
|
-
let e = F.value, t =
|
|
502
|
+
let e = F.value, t = Qn.value + Math.abs(e.nameLabels.offsetX) + e.offsetX, n = Y.value.width - Y.value.padding.right, r = Math.max(0, n - t - e.offsetX), i = Y.value.width - 40, a = nr(), o = G.value.map((e, t) => ({
|
|
492
503
|
serie: e,
|
|
493
|
-
textWidth:
|
|
504
|
+
textWidth: tr(Er(e.value, e, t, e.sign))
|
|
494
505
|
}));
|
|
495
506
|
if (!o.length || r <= 0) return {
|
|
496
507
|
left: 0,
|
|
@@ -528,17 +539,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
528
539
|
left: 0,
|
|
529
540
|
right: Math.ceil(Math.min(r, -u))
|
|
530
541
|
};
|
|
531
|
-
}),
|
|
532
|
-
function
|
|
542
|
+
}), ir = p(() => rr.value.right), ar = p(() => rr.value.left);
|
|
543
|
+
function or() {
|
|
533
544
|
mn.value += 1;
|
|
534
545
|
}
|
|
535
|
-
|
|
536
|
-
typeof document
|
|
537
|
-
}),
|
|
538
|
-
typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone",
|
|
546
|
+
We(() => {
|
|
547
|
+
typeof document < "u" && document.fonts && (document.fonts.ready.then(or), document.fonts.addEventListener?.("loadingdone", or));
|
|
548
|
+
}), Ue(() => {
|
|
549
|
+
typeof document < "u" && document.fonts && document.fonts.removeEventListener?.("loadingdone", or), hn = null, gn = null;
|
|
539
550
|
});
|
|
540
551
|
let X = p(() => {
|
|
541
|
-
let e =
|
|
552
|
+
let e = Qn.value + Math.abs(F.value.nameLabels.offsetX) + ar.value + F.value.offsetX, t = Y.value.width - Y.value.padding.right, n = Math.max(0, t - e - ir.value - F.value.offsetX);
|
|
542
553
|
return {
|
|
543
554
|
top: Y.value.padding.top,
|
|
544
555
|
bottom: Y.value.padding.top + Y.value.height,
|
|
@@ -548,12 +559,12 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
548
559
|
fullHeight: Y.value.padding.top + Y.value.padding.bottom + Y.value.height
|
|
549
560
|
};
|
|
550
561
|
});
|
|
551
|
-
function
|
|
562
|
+
function sr() {
|
|
552
563
|
M.value.length ? M.value = [] : U.value.forEach((e) => {
|
|
553
564
|
M.value.push(e.id);
|
|
554
565
|
}), yn("selectLegend", W.value);
|
|
555
566
|
}
|
|
556
|
-
async function
|
|
567
|
+
async function cr(e) {
|
|
557
568
|
if (M.value.includes(e)) M.value = M.value.filter((t) => t !== e);
|
|
558
569
|
else {
|
|
559
570
|
if (M.value.length === U.value.length - 1) return;
|
|
@@ -561,34 +572,34 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
561
572
|
}
|
|
562
573
|
yn("selectLegend", W.value);
|
|
563
574
|
}
|
|
564
|
-
function
|
|
565
|
-
return U.value.length ? U.value.find((t) => t.name === e) || (
|
|
575
|
+
function lr(e) {
|
|
576
|
+
return U.value.length ? U.value.find((t) => t.name === e) || (Hn.value && console.warn(`VueUiHorizontalBar - Series name not found "${e}"`), null) : (Hn.value && console.warn("VueUiHorizontalBar - There are no series to show."), null);
|
|
566
577
|
}
|
|
567
|
-
function
|
|
568
|
-
let t =
|
|
569
|
-
t !== null && M.value.includes(t.id) &&
|
|
578
|
+
function ur(e) {
|
|
579
|
+
let t = lr(e);
|
|
580
|
+
t !== null && M.value.includes(t.id) && cr(t.id);
|
|
570
581
|
}
|
|
571
|
-
function
|
|
572
|
-
let t =
|
|
573
|
-
t !== null && (M.value.includes(t.id) ||
|
|
582
|
+
function dr(e) {
|
|
583
|
+
let t = lr(e);
|
|
584
|
+
t !== null && (M.value.includes(t.id) || cr(t.id));
|
|
574
585
|
}
|
|
575
586
|
let Z = p(() => W.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
|
|
576
|
-
function
|
|
587
|
+
function fr(e, t = !1, n = 0) {
|
|
577
588
|
return t ? u({
|
|
578
589
|
v: d(Math.abs(e) / Z.value * 100),
|
|
579
590
|
s: "%",
|
|
580
591
|
r: n
|
|
581
592
|
}) : Math.abs(e) / Z.value;
|
|
582
593
|
}
|
|
583
|
-
let
|
|
594
|
+
let pr = p(() => G.value.map((e) => e.sign).includes(-1)), mr = p(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
|
|
584
595
|
function Q(e) {
|
|
585
|
-
let t = e /
|
|
586
|
-
return d(X.value.width / (
|
|
596
|
+
let t = e / mr.value;
|
|
597
|
+
return d(X.value.width / (pr.value ? 2 : 1) * t);
|
|
587
598
|
}
|
|
588
|
-
function
|
|
599
|
+
function hr(e) {
|
|
589
600
|
return Q(e) + X.value.left;
|
|
590
601
|
}
|
|
591
|
-
function
|
|
602
|
+
function gr(e, t) {
|
|
592
603
|
let n = W.value.find((t) => t.id === e.parentId);
|
|
593
604
|
return {
|
|
594
605
|
y: X.value.top + (V.value + J.value) * t + q.value[t] * K.value - K.value + F.value.parentLabels.fontSize,
|
|
@@ -598,58 +609,58 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
598
609
|
NaN,
|
|
599
610
|
null
|
|
600
611
|
].includes(n.value) ? "" : n.sign === 1 ? n.value : -n.value,
|
|
601
|
-
percentageToTotal: isNaN(n.value / Z.value) ? "" :
|
|
612
|
+
percentageToTotal: isNaN(n.value / Z.value) ? "" : fr(n.value, !0, F.value.dataLabels.percentage.roundingPercentage),
|
|
602
613
|
sign: n.sign
|
|
603
614
|
};
|
|
604
615
|
}
|
|
605
|
-
function
|
|
616
|
+
function _r() {
|
|
606
617
|
return W.value;
|
|
607
618
|
}
|
|
608
|
-
function
|
|
609
|
-
return
|
|
619
|
+
function vr(e, t) {
|
|
620
|
+
return gr(e, t).name;
|
|
610
621
|
}
|
|
611
|
-
function
|
|
612
|
-
let n =
|
|
613
|
-
return
|
|
622
|
+
function yr(e, t) {
|
|
623
|
+
let n = gr(e, t);
|
|
624
|
+
return Er(n.value, n, t, e.parentSign || e.sign);
|
|
614
625
|
}
|
|
615
|
-
let
|
|
616
|
-
function
|
|
626
|
+
let br = C(null), xr = C(null);
|
|
627
|
+
function Sr({ datapoint: e, seriesIndex: t }) {
|
|
617
628
|
yn("selectDatapoint", e), P.value.events.datapointClick && P.value.events.datapointClick({
|
|
618
629
|
datapoint: e,
|
|
619
630
|
seriesIndex: t
|
|
620
631
|
});
|
|
621
632
|
}
|
|
622
|
-
function
|
|
633
|
+
function Cr({ datapoint: e, seriesIndex: t }) {
|
|
623
634
|
P.value.events.datapointLeave && P.value.events.datapointLeave({
|
|
624
635
|
datapoint: e,
|
|
625
636
|
seriesIndex: t
|
|
626
|
-
}),
|
|
637
|
+
}), Qt.value = null, Xt.value = !1, br.value = null, N.value === t && (N.value = null);
|
|
627
638
|
}
|
|
628
|
-
function
|
|
639
|
+
function wr(e, t, r = "pointer") {
|
|
629
640
|
vn.value = r, P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
630
641
|
datpoint: e,
|
|
631
642
|
seriesIndex: t
|
|
632
|
-
}), N.value = t,
|
|
643
|
+
}), N.value = t, Qt.value = e, xr.value = {
|
|
633
644
|
datapoint: e,
|
|
634
645
|
seriesIndex: t,
|
|
635
646
|
series: U.value,
|
|
636
647
|
config: P.value
|
|
637
|
-
},
|
|
648
|
+
}, Xt.value = !0, br.value = e.id;
|
|
638
649
|
let i = "", a = e.isChild ? e.parentName : e.name, o = e.isChild ? e.name : "", s = L.value.customFormat;
|
|
639
|
-
n(s) &&
|
|
650
|
+
n(s) && oe(() => s({
|
|
640
651
|
datapoint: e,
|
|
641
652
|
series: U.value,
|
|
642
653
|
config: P.value,
|
|
643
654
|
seriesIndex: t
|
|
644
|
-
})) ?
|
|
655
|
+
})) ? Zt.value = s({
|
|
645
656
|
datapoint: e,
|
|
646
657
|
series: U.value,
|
|
647
658
|
config: P.value,
|
|
648
659
|
seriesIndex: t
|
|
649
660
|
}) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
650
|
-
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${
|
|
661
|
+
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Jt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${A.value}_${e.absoluteIndex})"/>` : ""}</svg> ${a}</div>
|
|
651
662
|
${o ? `<div>${o}</div>` : ""}
|
|
652
|
-
</div>`, L.value.showValue && (i += `<div>${P.value.translations.value}: <b>${
|
|
663
|
+
</div>`, L.value.showValue && (i += `<div>${P.value.translations.value}: <b>${ae(F.value.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, u({
|
|
653
664
|
p: L.value.prefix,
|
|
654
665
|
v: e.sign === 1 ? e.value : -e.value,
|
|
655
666
|
s: L.value.suffix,
|
|
@@ -665,11 +676,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
665
676
|
v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
|
|
666
677
|
s: "%",
|
|
667
678
|
r: L.value.roundingPercentage
|
|
668
|
-
})}</b></div>`)),
|
|
679
|
+
})}</b></div>`)), Zt.value = `<div style="text-align:left">${i}</div>`);
|
|
669
680
|
}
|
|
670
|
-
function
|
|
681
|
+
function Tr({ legend: e, index: t }) {
|
|
671
682
|
let n = R.value.legend;
|
|
672
|
-
return n.showValue ? `${e.name}: ${
|
|
683
|
+
return n.showValue ? `${e.name}: ${ae(F.value.dataLabels.value.formatter, e.value, u({
|
|
673
684
|
p: n.prefix,
|
|
674
685
|
v: e.value,
|
|
675
686
|
s: n.suffix,
|
|
@@ -679,9 +690,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
679
690
|
seriesIndex: t
|
|
680
691
|
})}` : e.name;
|
|
681
692
|
}
|
|
682
|
-
function
|
|
693
|
+
function Er(e, t, n, r) {
|
|
683
694
|
if (!F.value.dataLabels.value.show) return "";
|
|
684
|
-
let i =
|
|
695
|
+
let i = ae(F.value.dataLabels.value.formatter, d(r === -1 && e >= 0 ? -e : e), u({
|
|
685
696
|
p: F.value.dataLabels.value.prefix,
|
|
686
697
|
v: d(r === -1 && e >= 0 ? -e : e),
|
|
687
698
|
s: F.value.dataLabels.value.suffix,
|
|
@@ -689,7 +700,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
689
700
|
}), {
|
|
690
701
|
datapoint: t,
|
|
691
702
|
seriesIndex: n
|
|
692
|
-
}), a = `(${
|
|
703
|
+
}), a = `(${fr(e, !0, F.value.dataLabels.percentage.roundingPercentage)})`;
|
|
693
704
|
return `${i}${F.value.dataLabels.percentage.show ? ` ${a}` : ""}`;
|
|
694
705
|
}
|
|
695
706
|
let $ = p(() => ({
|
|
@@ -731,7 +742,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
731
742
|
childPercentageToTotal: ""
|
|
732
743
|
})
|
|
733
744
|
}));
|
|
734
|
-
function
|
|
745
|
+
function Dr(e = null) {
|
|
735
746
|
let n = [
|
|
736
747
|
[R.value.title.text],
|
|
737
748
|
[R.value.title.subtitle.text],
|
|
@@ -750,41 +761,41 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
750
761
|
title: R.value.title.text || "vue-ui-vertical-bar"
|
|
751
762
|
});
|
|
752
763
|
}
|
|
753
|
-
let
|
|
754
|
-
function
|
|
755
|
-
|
|
764
|
+
let Or = C(!1);
|
|
765
|
+
function kr(e) {
|
|
766
|
+
Or.value = e, $t.value += 1;
|
|
756
767
|
}
|
|
757
|
-
function
|
|
768
|
+
function Ar() {
|
|
758
769
|
H.value.showTable = !H.value.showTable;
|
|
759
770
|
}
|
|
760
|
-
|
|
771
|
+
We(() => {
|
|
761
772
|
[
|
|
762
773
|
"none",
|
|
763
774
|
"asc",
|
|
764
775
|
"desc"
|
|
765
|
-
].includes(F.value.sort) ||
|
|
776
|
+
].includes(F.value.sort) || ce({
|
|
766
777
|
componentName: "VueUiVerticalBar",
|
|
767
778
|
type: "attributeWrongValue",
|
|
768
779
|
property: "style.chart.layout.bars.sort",
|
|
769
780
|
key: F.value.sort
|
|
770
|
-
}),
|
|
781
|
+
}), pn.value = fn.value[F.value.sort] ?? 0;
|
|
771
782
|
});
|
|
772
|
-
function
|
|
773
|
-
|
|
783
|
+
function jr() {
|
|
784
|
+
pn.value += 1, pn.value > 2 && (pn.value = 0);
|
|
774
785
|
}
|
|
775
|
-
function
|
|
776
|
-
|
|
786
|
+
function Mr() {
|
|
787
|
+
jr();
|
|
777
788
|
}
|
|
778
|
-
function
|
|
789
|
+
function Nr() {
|
|
779
790
|
H.value.showTooltip = !H.value.showTooltip;
|
|
780
791
|
}
|
|
781
|
-
let
|
|
782
|
-
function
|
|
783
|
-
|
|
792
|
+
let Pr = C(!1);
|
|
793
|
+
function Fr() {
|
|
794
|
+
Pr.value = !Pr.value;
|
|
784
795
|
}
|
|
785
|
-
async function
|
|
796
|
+
async function Ir({ scale: e = 2 } = {}) {
|
|
786
797
|
if (!j.value) return;
|
|
787
|
-
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
798
|
+
let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
|
|
788
799
|
domElement: j.value,
|
|
789
800
|
base64: !0,
|
|
790
801
|
img: !0,
|
|
@@ -799,17 +810,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
799
810
|
aspectRatio: r
|
|
800
811
|
};
|
|
801
812
|
}
|
|
802
|
-
let
|
|
813
|
+
let Lr = p(() => {
|
|
803
814
|
let e = P.value.table.useDialog && !P.value.table.show, t = H.value.showTable;
|
|
804
815
|
return {
|
|
805
|
-
component: e ?
|
|
816
|
+
component: e ? Wt : ke,
|
|
806
817
|
title: `${R.value.title.text}${R.value.title.subtitle.text ? `: ${R.value.title.subtitle.text}` : ""}`,
|
|
807
818
|
props: e ? {
|
|
808
819
|
backgroundColor: P.value.table.th.backgroundColor,
|
|
809
820
|
color: P.value.table.th.color,
|
|
810
821
|
headerColor: P.value.table.th.color,
|
|
811
822
|
headerBg: P.value.table.th.backgroundColor,
|
|
812
|
-
isFullscreen:
|
|
823
|
+
isFullscreen: Or.value,
|
|
813
824
|
fullscreenParent: j.value,
|
|
814
825
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
815
826
|
isCursorPointer: bn.value
|
|
@@ -830,17 +841,17 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
830
841
|
}
|
|
831
842
|
};
|
|
832
843
|
});
|
|
833
|
-
|
|
834
|
-
P.value.table.show || (e && P.value.table.useDialog &&
|
|
844
|
+
Ye(() => H.value.showTable, (e) => {
|
|
845
|
+
P.value.table.show || (e && P.value.table.useDialog && cn.value ? cn.value.open() : "close" in cn.value && cn.value.close());
|
|
835
846
|
});
|
|
836
|
-
let { isResponsive:
|
|
837
|
-
function
|
|
838
|
-
H.value.showTable = !1,
|
|
847
|
+
let { isResponsive: Rr } = Pe(Bn, Vn);
|
|
848
|
+
function zr() {
|
|
849
|
+
H.value.showTable = !1, ln.value && ln.value.setTableIconState(!1);
|
|
839
850
|
}
|
|
840
|
-
let
|
|
851
|
+
let Br = p(() => U.value.map((e, t) => ({
|
|
841
852
|
...e,
|
|
842
853
|
shape: "square",
|
|
843
|
-
display: `${e.name}: ${
|
|
854
|
+
display: `${e.name}: ${ae(F.value.dataLabels.value.formatter, e.value, u({
|
|
844
855
|
p: R.value.legend.prefix,
|
|
845
856
|
v: e.value,
|
|
846
857
|
s: R.value.legend.suffix,
|
|
@@ -849,22 +860,22 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
849
860
|
datapoint: e,
|
|
850
861
|
seriesIndex: t
|
|
851
862
|
})}`
|
|
852
|
-
}))),
|
|
863
|
+
}))), Vr = p(() => R.value.backgroundColor), Hr = p(() => R.value.legend), Ur = p(() => R.value.title), Wr = p(() => Br.value.map((e) => ({
|
|
853
864
|
...e,
|
|
854
865
|
name: e.display
|
|
855
|
-
}))), { isCallbackImaging:
|
|
866
|
+
}))), { isCallbackImaging: Gr, isCallbackSvg: Kr, generateSvg: qr, onGenerateImage: Jr } = be({
|
|
856
867
|
svg: kn,
|
|
857
|
-
title:
|
|
858
|
-
legend:
|
|
859
|
-
legendItems:
|
|
860
|
-
backgroundColor:
|
|
868
|
+
title: Ur,
|
|
869
|
+
legend: Hr,
|
|
870
|
+
legendItems: Wr,
|
|
871
|
+
backgroundColor: Vr,
|
|
861
872
|
getSvgCallback: () => P.value.userOptions.callbacks.svg,
|
|
862
|
-
generateImage:
|
|
873
|
+
generateImage: Ln
|
|
863
874
|
});
|
|
864
|
-
function
|
|
875
|
+
function Yr() {
|
|
865
876
|
console.warn("[autoSize]: this legacy method can be safely removed as it has no impact.");
|
|
866
877
|
}
|
|
867
|
-
async function
|
|
878
|
+
async function Xr() {
|
|
868
879
|
if (yn("copyAlt", {
|
|
869
880
|
config: P.value,
|
|
870
881
|
dataset: W.value
|
|
@@ -877,54 +888,54 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
877
888
|
dataset: W.value
|
|
878
889
|
}));
|
|
879
890
|
}
|
|
880
|
-
let
|
|
881
|
-
function
|
|
882
|
-
N.value = null,
|
|
891
|
+
let Zr = C(!1);
|
|
892
|
+
function Qr() {
|
|
893
|
+
N.value = null, Zr.value = !0;
|
|
883
894
|
}
|
|
884
|
-
function
|
|
885
|
-
N.value = null,
|
|
895
|
+
function $r() {
|
|
896
|
+
N.value = null, Xt.value = !1, Zr.value = !1;
|
|
886
897
|
}
|
|
887
|
-
function
|
|
898
|
+
function ei() {
|
|
888
899
|
if (N.value === null) return;
|
|
889
900
|
let e = G.value[N.value];
|
|
890
|
-
e &&
|
|
901
|
+
e && Cr({
|
|
891
902
|
datapoint: e,
|
|
892
903
|
seriesIndex: N.value
|
|
893
904
|
}), N.value = null, vn.value = "pointer";
|
|
894
905
|
}
|
|
895
|
-
function
|
|
896
|
-
if (!kn.value ||
|
|
906
|
+
function ti(e) {
|
|
907
|
+
if (!kn.value || Pr.value || document.activeElement !== kn.value) return;
|
|
897
908
|
let t = e.key === "ArrowRight" || e.key === "ArrowDown", n = e.key === "ArrowLeft" || e.key === "ArrowUp", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
898
909
|
if (!t && !n && !r && !i) return;
|
|
899
910
|
let a = G.value.length;
|
|
900
911
|
if (!a) return;
|
|
901
912
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
902
|
-
|
|
913
|
+
ei();
|
|
903
914
|
return;
|
|
904
915
|
}
|
|
905
916
|
if (r) {
|
|
906
917
|
if (N.value === null) return;
|
|
907
918
|
let e = G.value[N.value];
|
|
908
919
|
if (!e) return;
|
|
909
|
-
|
|
920
|
+
Sr({
|
|
910
921
|
datapoint: e,
|
|
911
922
|
seriesIndex: N.value
|
|
912
923
|
});
|
|
913
924
|
return;
|
|
914
925
|
}
|
|
915
|
-
let o = N.value, s =
|
|
926
|
+
let o = N.value, s = Qt.value ? G.value.findIndex((e) => e.id === Qt.value.id) : null;
|
|
916
927
|
o !== null && o >= 0 && o < a ? t ? (o += 1, o >= a && (o = 0)) : n && (--o, o < 0 && (o = a - 1)) : s !== null && s >= 0 && s < a ? (o = t ? s + 1 : s - 1, o >= a && (o = 0), o < 0 && (o = a - 1)) : o = t ? 0 : a - 1;
|
|
917
928
|
let c = G.value[o];
|
|
918
|
-
c && (N.value = o,
|
|
929
|
+
c && (N.value = o, ni(c), wr(c, o, "keyboard"));
|
|
919
930
|
}
|
|
920
|
-
function
|
|
931
|
+
function ni(e) {
|
|
921
932
|
if (!e) return;
|
|
922
933
|
let t = X.value.right, n = X.value.top + (V.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
|
|
923
934
|
if (!Number.isFinite(t) || !Number.isFinite(n)) return;
|
|
924
935
|
let r = a(t, n, kn.value);
|
|
925
936
|
r && (_n.value = r);
|
|
926
937
|
}
|
|
927
|
-
let
|
|
938
|
+
let ri = p(() => ({
|
|
928
939
|
head: $.value.head,
|
|
929
940
|
body: $.value.body.map((e) => [
|
|
930
941
|
e.parentName,
|
|
@@ -960,24 +971,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
960
971
|
caption: P.value.a11y.translations.tableCaption,
|
|
961
972
|
notice: P.value.a11y.translations.tableAvailable
|
|
962
973
|
}));
|
|
963
|
-
return
|
|
964
|
-
autoSize:
|
|
965
|
-
getData:
|
|
966
|
-
getImage:
|
|
967
|
-
generatePdf:
|
|
968
|
-
generateCsv:
|
|
969
|
-
generateImage:
|
|
970
|
-
generateSvg:
|
|
971
|
-
hideSeries:
|
|
972
|
-
showSeries:
|
|
973
|
-
toggleTable:
|
|
974
|
-
toggleSort:
|
|
975
|
-
toggleTooltip:
|
|
976
|
-
toggleAnnotator:
|
|
977
|
-
toggleFullscreen:
|
|
978
|
-
copyAlt:
|
|
974
|
+
return Te({
|
|
975
|
+
autoSize: Yr,
|
|
976
|
+
getData: _r,
|
|
977
|
+
getImage: Ir,
|
|
978
|
+
generatePdf: In,
|
|
979
|
+
generateCsv: Dr,
|
|
980
|
+
generateImage: Ln,
|
|
981
|
+
generateSvg: qr,
|
|
982
|
+
hideSeries: dr,
|
|
983
|
+
showSeries: ur,
|
|
984
|
+
toggleTable: Ar,
|
|
985
|
+
toggleSort: Mr,
|
|
986
|
+
toggleTooltip: Nr,
|
|
987
|
+
toggleAnnotator: Fr,
|
|
988
|
+
toggleFullscreen: kr,
|
|
989
|
+
copyAlt: Xr
|
|
979
990
|
}), (e, t) => (S(), g("div", {
|
|
980
|
-
class: y(`vue-data-ui-component vue-ui-vertical-bar ${
|
|
991
|
+
class: y(`vue-data-ui-component vue-ui-vertical-bar ${Or.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${P.value.useCssAnimation ? "" : "vue-ui-dna"} ${P.value.responsive ? "vue-ui-vertical-bar-autosize" : ""}`),
|
|
981
992
|
ref_key: "verticalBarChart",
|
|
982
993
|
ref: j,
|
|
983
994
|
id: `vue-ui-vertical-bar_${A.value}`,
|
|
@@ -988,14 +999,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
988
999
|
_("p", {
|
|
989
1000
|
id: `chart-instructions-${A.value}`,
|
|
990
1001
|
class: "sr-only"
|
|
991
|
-
}, E(P.value.a11y.translations.keyboardNavigation), 9,
|
|
992
|
-
|
|
1002
|
+
}, E(P.value.a11y.translations.keyboardNavigation), 9, $e),
|
|
1003
|
+
ri.value.body.length ? (S(), m(je, {
|
|
993
1004
|
key: 0,
|
|
994
1005
|
uid: A.value,
|
|
995
|
-
head:
|
|
996
|
-
body:
|
|
997
|
-
caption:
|
|
998
|
-
notice:
|
|
1006
|
+
head: ri.value.head,
|
|
1007
|
+
body: ri.value.body,
|
|
1008
|
+
caption: ri.value.caption,
|
|
1009
|
+
notice: ri.value.notice
|
|
999
1010
|
}, null, 8, [
|
|
1000
1011
|
"uid",
|
|
1001
1012
|
"head",
|
|
@@ -1003,15 +1014,15 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1003
1014
|
"caption",
|
|
1004
1015
|
"notice"
|
|
1005
1016
|
])) : h("", !0),
|
|
1006
|
-
P.value.userOptions.buttons.annotator ? (S(), m(D(
|
|
1017
|
+
P.value.userOptions.buttons.annotator ? (S(), m(D(Vt), {
|
|
1007
1018
|
key: 1,
|
|
1008
1019
|
svgRef: D(kn),
|
|
1009
1020
|
backgroundColor: R.value.backgroundColor,
|
|
1010
1021
|
color: R.value.color,
|
|
1011
|
-
active:
|
|
1022
|
+
active: Pr.value,
|
|
1012
1023
|
isCursorPointer: bn.value,
|
|
1013
1024
|
palette: P.value.userOptions.annotatorPalette,
|
|
1014
|
-
onClose:
|
|
1025
|
+
onClose: Fr
|
|
1015
1026
|
}, {
|
|
1016
1027
|
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
1017
1028
|
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(v({ color: t })), void 0, !0)]),
|
|
@@ -1028,20 +1039,20 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1028
1039
|
"isCursorPointer",
|
|
1029
1040
|
"palette"
|
|
1030
1041
|
])) : h("", !0),
|
|
1031
|
-
|
|
1042
|
+
Rn.value ? (S(), g("div", {
|
|
1032
1043
|
key: 2,
|
|
1033
1044
|
ref_key: "noTitle",
|
|
1034
|
-
ref:
|
|
1045
|
+
ref: rn,
|
|
1035
1046
|
class: "vue-data-ui-no-title-space",
|
|
1036
1047
|
style: "height:36px; width: 100%;background:transparent"
|
|
1037
1048
|
}, null, 512)) : h("", !0),
|
|
1038
1049
|
R.value.title.text ? (S(), g("div", {
|
|
1039
1050
|
key: 3,
|
|
1040
1051
|
ref_key: "chartTitle",
|
|
1041
|
-
ref:
|
|
1052
|
+
ref: en,
|
|
1042
1053
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
1043
|
-
}, [(S(), m(
|
|
1044
|
-
key: `title_${
|
|
1054
|
+
}, [(S(), m(Ce, {
|
|
1055
|
+
key: `title_${an.value}`,
|
|
1045
1056
|
config: {
|
|
1046
1057
|
title: {
|
|
1047
1058
|
cy: "vertical-bar-div-title",
|
|
@@ -1053,14 +1064,14 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1053
1064
|
}
|
|
1054
1065
|
}
|
|
1055
1066
|
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
1056
|
-
P.value.userOptions.show &&
|
|
1067
|
+
P.value.userOptions.show && Yt.value && (D(On) || D(En)) ? (S(), m(D(Ht), {
|
|
1057
1068
|
ref_key: "userOptionsRef",
|
|
1058
|
-
ref:
|
|
1069
|
+
ref: ln,
|
|
1059
1070
|
backgroundColor: R.value.backgroundColor,
|
|
1060
1071
|
color: R.value.color,
|
|
1061
|
-
key: `user_options_${
|
|
1062
|
-
isImaging: D(
|
|
1063
|
-
isPrinting: D(
|
|
1072
|
+
key: `user_options_${$t.value}`,
|
|
1073
|
+
isImaging: D(Fn),
|
|
1074
|
+
isPrinting: D(Pn),
|
|
1064
1075
|
uid: A.value,
|
|
1065
1076
|
hasTooltip: P.value.userOptions.buttons.tooltip && L.value.show,
|
|
1066
1077
|
hasPdf: P.value.userOptions.buttons.pdf,
|
|
@@ -1071,29 +1082,29 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1071
1082
|
hasSort: P.value.userOptions.buttons.sort,
|
|
1072
1083
|
hasFullscreen: P.value.userOptions.buttons.fullscreen,
|
|
1073
1084
|
hasAltCopy: P.value.userOptions.buttons.altCopy,
|
|
1074
|
-
isFullscreen:
|
|
1085
|
+
isFullscreen: Or.value,
|
|
1075
1086
|
isTooltip: H.value.showTooltip,
|
|
1076
1087
|
titles: { ...P.value.userOptions.buttonTitles },
|
|
1077
1088
|
chartElement: j.value,
|
|
1078
1089
|
position: P.value.userOptions.position,
|
|
1079
1090
|
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
1080
|
-
isAnnotation:
|
|
1091
|
+
isAnnotation: Pr.value,
|
|
1081
1092
|
callbacks: P.value.userOptions.callbacks,
|
|
1082
1093
|
printScale: P.value.userOptions.print.scale,
|
|
1083
1094
|
tableDialog: P.value.table.useDialog,
|
|
1084
1095
|
isCursorPointer: bn.value,
|
|
1085
|
-
onToggleFullscreen:
|
|
1086
|
-
onGeneratePdf: D(
|
|
1087
|
-
onGenerateCsv:
|
|
1088
|
-
onGenerateImage: D(
|
|
1089
|
-
onGenerateSvg: D(
|
|
1090
|
-
onToggleTable:
|
|
1091
|
-
onToggleSort:
|
|
1092
|
-
onToggleTooltip:
|
|
1093
|
-
onToggleAnnotator:
|
|
1094
|
-
onCopyAlt:
|
|
1096
|
+
onToggleFullscreen: kr,
|
|
1097
|
+
onGeneratePdf: D(In),
|
|
1098
|
+
onGenerateCsv: Dr,
|
|
1099
|
+
onGenerateImage: D(Jr),
|
|
1100
|
+
onGenerateSvg: D(qr),
|
|
1101
|
+
onToggleTable: Ar,
|
|
1102
|
+
onToggleSort: Mr,
|
|
1103
|
+
onToggleTooltip: Nr,
|
|
1104
|
+
onToggleAnnotator: Fr,
|
|
1105
|
+
onCopyAlt: Xr,
|
|
1095
1106
|
style: x({ visibility: D(On) ? D(En) ? "visible" : "hidden" : "visible" })
|
|
1096
|
-
},
|
|
1107
|
+
}, Le({ _: 2 }, [
|
|
1097
1108
|
e.$slots.menuIcon ? {
|
|
1098
1109
|
name: "menuIcon",
|
|
1099
1110
|
fn: O(({ isOpen: t, color: n }) => [T(e.$slots, "menuIcon", b(v({
|
|
@@ -1174,30 +1185,31 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1174
1185
|
key: "13"
|
|
1175
1186
|
} : void 0
|
|
1176
1187
|
]), 1032, /* @__PURE__ */ "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.onGenerateImage.onGenerateSvg.style".split("."))) : h("", !0),
|
|
1177
|
-
R.value.legend.show && R.value.legend.position === "top" ? (
|
|
1178
|
-
|
|
1188
|
+
e.$slots.legend && R.value.legend.show && R.value.legend.position === "top" ? T(e.$slots, "legend", { legend: U.value }, void 0, !0, 5) : h("", !0),
|
|
1189
|
+
!e.$slots.legend && R.value.legend.show && R.value.legend.position === "top" ? (S(), g("div", {
|
|
1190
|
+
key: 6,
|
|
1179
1191
|
ref_key: "chartLegend",
|
|
1180
|
-
ref:
|
|
1181
|
-
}, [(S(), m(
|
|
1182
|
-
key: `legend_top_${
|
|
1192
|
+
ref: tn
|
|
1193
|
+
}, [(S(), m(Fe, {
|
|
1194
|
+
key: `legend_top_${on.value}`,
|
|
1183
1195
|
legendSet: U.value,
|
|
1184
|
-
config:
|
|
1185
|
-
onClickMarker: t[0] ||= ({ legend: e }) =>
|
|
1186
|
-
},
|
|
1196
|
+
config: Zn.value,
|
|
1197
|
+
onClickMarker: t[0] ||= ({ legend: e }) => cr(e.id)
|
|
1198
|
+
}, Le({
|
|
1187
1199
|
item: O(({ legend: e, index: t }) => [_("div", {
|
|
1188
|
-
onClick: (t) =>
|
|
1200
|
+
onClick: (t) => cr(e.id),
|
|
1189
1201
|
style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
|
|
1190
|
-
}, E(
|
|
1202
|
+
}, E(Tr({
|
|
1191
1203
|
legend: e,
|
|
1192
1204
|
index: t
|
|
1193
|
-
})), 13,
|
|
1194
|
-
legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(
|
|
1205
|
+
})), 13, et)]),
|
|
1206
|
+
legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(Ae, {
|
|
1195
1207
|
key: 0,
|
|
1196
1208
|
backgroundColor: R.value.legend.selectAllToggle.backgroundColor,
|
|
1197
1209
|
color: R.value.legend.selectAllToggle.color,
|
|
1198
1210
|
fontSize: R.value.legend.fontSize,
|
|
1199
1211
|
checked: M.value.length > 0,
|
|
1200
|
-
onToggle:
|
|
1212
|
+
onToggle: sr
|
|
1201
1213
|
}, null, 8, [
|
|
1202
1214
|
"backgroundColor",
|
|
1203
1215
|
"color",
|
|
@@ -1207,7 +1219,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1207
1219
|
_: 2
|
|
1208
1220
|
}, [e.$slots.pattern ? {
|
|
1209
1221
|
name: "legend-pattern",
|
|
1210
|
-
fn: O(({ legend: e, index: t }) => [
|
|
1222
|
+
fn: O(({ legend: e, index: t }) => [ze(we, {
|
|
1211
1223
|
shape: e.shape,
|
|
1212
1224
|
radius: 30,
|
|
1213
1225
|
stroke: "none",
|
|
@@ -1219,28 +1231,28 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1219
1231
|
}, null, 8, ["shape", "fill"])]),
|
|
1220
1232
|
key: "0"
|
|
1221
1233
|
} : void 0]), 1032, ["legendSet", "config"]))], 512)) : h("", !0),
|
|
1222
|
-
_("div",
|
|
1234
|
+
_("div", tt, [(S(), g("svg", {
|
|
1223
1235
|
ref_key: "svgRef",
|
|
1224
1236
|
ref: kn,
|
|
1225
|
-
xmlns: D(
|
|
1237
|
+
xmlns: D(ue),
|
|
1226
1238
|
class: y({
|
|
1227
|
-
"vue-data-ui-fullscreen--on":
|
|
1228
|
-
"vue-data-ui-fulscreen--off": !
|
|
1239
|
+
"vue-data-ui-fullscreen--on": Or.value,
|
|
1240
|
+
"vue-data-ui-fulscreen--off": !Or.value,
|
|
1229
1241
|
"vue-data-ui-no-transition": !D(z)
|
|
1230
1242
|
}),
|
|
1231
1243
|
viewBox: `0 0 ${B.value} ${jn.value}`,
|
|
1232
1244
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${R.value.color}`),
|
|
1233
1245
|
tabindex: "0",
|
|
1234
1246
|
"aria-describedby": `chart-instructions-${A.value}`,
|
|
1235
|
-
onFocus:
|
|
1236
|
-
onBlur:
|
|
1237
|
-
onKeydown:
|
|
1247
|
+
onFocus: Qr,
|
|
1248
|
+
onBlur: $r,
|
|
1249
|
+
onKeydown: ti
|
|
1238
1250
|
}, [_("g", {
|
|
1239
1251
|
ref_key: "G",
|
|
1240
|
-
ref:
|
|
1252
|
+
ref: sn,
|
|
1241
1253
|
class: "vue-data-ui-g"
|
|
1242
1254
|
}, [
|
|
1243
|
-
|
|
1255
|
+
ze(D(Ut)),
|
|
1244
1256
|
e.$slots["chart-background"] ? (S(), g("foreignObject", {
|
|
1245
1257
|
key: 0,
|
|
1246
1258
|
x: 0,
|
|
@@ -1248,8 +1260,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1248
1260
|
width: B.value,
|
|
1249
1261
|
height: jn.value,
|
|
1250
1262
|
style: { pointerEvents: "none" }
|
|
1251
|
-
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8,
|
|
1252
|
-
_("defs", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), m(
|
|
1263
|
+
}, [T(e.$slots, "chart-background", {}, void 0, !0)], 8, rt)) : h("", !0),
|
|
1264
|
+
_("defs", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), m(Oe, {
|
|
1253
1265
|
t: "linear",
|
|
1254
1266
|
x1: "0%",
|
|
1255
1267
|
y1: "0%",
|
|
@@ -1267,7 +1279,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1267
1279
|
1
|
|
1268
1280
|
]]
|
|
1269
1281
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1270
|
-
e.$slots.pattern ? (S(), g("g",
|
|
1282
|
+
e.$slots.pattern ? (S(), g("g", it, [(S(!0), g(f, null, w(G.value, (t) => (S(), g("defs", null, [T(e.$slots, "pattern", Ve({ ref_for: !0 }, {
|
|
1271
1283
|
seriesIndex: t.absoluteIndex,
|
|
1272
1284
|
patternId: `pattern_${A.value}_${t.absoluteIndex}`
|
|
1273
1285
|
}), void 0, !0)]))), 256))])) : h("", !0),
|
|
@@ -1280,19 +1292,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1280
1292
|
rx: F.value.rowRadius,
|
|
1281
1293
|
style: { pointerEvents: "none" },
|
|
1282
1294
|
class: y({ "vue-data-ui-transition": D(z) })
|
|
1283
|
-
}, null, 10,
|
|
1295
|
+
}, null, 10, at)]))), 128)) : h("", !0),
|
|
1284
1296
|
(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", { key: `underlayer_${e.id}` }, [_("rect", {
|
|
1285
|
-
x: D(d)(
|
|
1297
|
+
x: D(d)(pr.value ? X.value.left + X.value.width / 2 - (e.sign === 1 ? 0 : Q(e.value) <= 0 ? 1e-4 : Q(e.value)) : X.value.left),
|
|
1286
1298
|
y: X.value.top + (V.value + J.value) * t + q.value[t] * K.value,
|
|
1287
1299
|
width: D(d)(Q(e.value) <= 0 ? 1e-4 : Q(e.value)),
|
|
1288
1300
|
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1289
1301
|
fill: F.value.underlayerColor,
|
|
1290
1302
|
rx: F.value.borderRadius,
|
|
1291
1303
|
class: y({ "vue-data-ui-transition": D(z) })
|
|
1292
|
-
}, null, 10,
|
|
1304
|
+
}, null, 10, ot)]))), 128)),
|
|
1293
1305
|
(S(!0), g(f, null, w(G.value, (t, n) => (S(), g("g", { key: `barloop_${t.id}` }, [
|
|
1294
1306
|
_("rect", {
|
|
1295
|
-
x: D(d)(
|
|
1307
|
+
x: D(d)(pr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1296
1308
|
y: X.value.top + (V.value + J.value) * n + q.value[n] * K.value,
|
|
1297
1309
|
width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1298
1310
|
height: J.value <= 0 ? 1e-4 : J.value,
|
|
@@ -1301,10 +1313,10 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1301
1313
|
stroke: F.value.useStroke ? t.color : "none",
|
|
1302
1314
|
"stroke-width": F.value.useStroke ? F.value.strokeWidth : 0,
|
|
1303
1315
|
class: y({ "vue-data-ui-transition": D(z) })
|
|
1304
|
-
}, null, 10,
|
|
1316
|
+
}, null, 10, st),
|
|
1305
1317
|
e.$slots.pattern ? (S(), g("rect", {
|
|
1306
1318
|
key: 0,
|
|
1307
|
-
x: D(d)(
|
|
1319
|
+
x: D(d)(pr.value ? X.value.left + X.value.width / 2 - (t.sign === 1 ? 0 : Q(t.value) <= 0 ? 1e-4 : Q(t.value)) : X.value.left),
|
|
1308
1320
|
y: X.value.top + (V.value + J.value) * n + q.value[n] * K.value,
|
|
1309
1321
|
width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1310
1322
|
height: J.value <= 0 ? 1e-4 : J.value,
|
|
@@ -1313,7 +1325,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1313
1325
|
stroke: F.value.useStroke ? t.color : "none",
|
|
1314
1326
|
"stroke-width": F.value.useStroke ? F.value.strokeWidth : 0,
|
|
1315
1327
|
class: y({ "vue-data-ui-transition": D(z) })
|
|
1316
|
-
}, null, 10,
|
|
1328
|
+
}, null, 10, ct)) : h("", !0),
|
|
1317
1329
|
(!t.isChild || t.isLastChild) && I.value.separators.show && n !== G.value.length - 1 ? (S(), g("path", {
|
|
1318
1330
|
key: 1,
|
|
1319
1331
|
stroke: I.value.separators.color,
|
|
@@ -1321,19 +1333,19 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1321
1333
|
"stroke-linecap": "round",
|
|
1322
1334
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1323
1335
|
d: `M${B.value}, ${J.value + V.value / 2 + X.value.top + (V.value + J.value) * n + q.value[n] * K.value} ${I.value.separators.fullWidth ? 0 : X.value.left}, ${J.value + V.value / 2 + X.value.top + (V.value + J.value) * n + q.value[n] * K.value}`
|
|
1324
|
-
}, null, 10,
|
|
1325
|
-
|
|
1336
|
+
}, null, 10, lt)) : h("", !0),
|
|
1337
|
+
pr.value && I.value.separators.show ? (S(), g("path", {
|
|
1326
1338
|
key: 2,
|
|
1327
1339
|
stroke: I.value.separators.color,
|
|
1328
1340
|
"stroke-width": I.value.separators.strokeWidth,
|
|
1329
1341
|
"stroke-linecap": "round",
|
|
1330
1342
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1331
1343
|
d: `M${X.value.left + X.value.width / 2}, ${X.value.top} ${X.value.left + X.value.width / 2}, ${X.value.bottom}`
|
|
1332
|
-
}, null, 10,
|
|
1344
|
+
}, null, 10, ut)) : h("", !0)
|
|
1333
1345
|
]))), 128)),
|
|
1334
1346
|
_("g", {
|
|
1335
1347
|
ref_key: "parentLabels",
|
|
1336
|
-
ref:
|
|
1348
|
+
ref: un
|
|
1337
1349
|
}, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1338
1350
|
key: `pn_${e.id}`,
|
|
1339
1351
|
class: "vue-ui-horizontal-bar-parent-label"
|
|
@@ -1342,43 +1354,43 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1342
1354
|
key: 0,
|
|
1343
1355
|
class: y(["vue-ui-horizontal-bar-parent-marker", { "vue-data-ui-transition": D(z) }]),
|
|
1344
1356
|
x: 2,
|
|
1345
|
-
y:
|
|
1357
|
+
y: gr(e, t).y - F.value.parentLabels.fontSize / 1.5,
|
|
1346
1358
|
height: F.value.parentLabels.fontSize / 1.5,
|
|
1347
1359
|
width: F.value.parentLabels.fontSize / 1.5,
|
|
1348
1360
|
rx: 1,
|
|
1349
1361
|
fill: e.color
|
|
1350
|
-
}, null, 10,
|
|
1362
|
+
}, null, 10, dt)) : h("", !0),
|
|
1351
1363
|
e.isChild && e.childIndex === 0 && F.value.parentLabels.show ? (S(), g("text", {
|
|
1352
1364
|
key: 1,
|
|
1353
1365
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1354
|
-
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${
|
|
1366
|
+
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${gr(e, t).y})`,
|
|
1355
1367
|
"font-size": F.value.parentLabels.fontSize,
|
|
1356
1368
|
fill: F.value.parentLabels.color,
|
|
1357
1369
|
"font-weight": F.value.parentLabels.bold ? "bold" : "normal",
|
|
1358
1370
|
"text-anchor": "start",
|
|
1359
1371
|
innerHTML: D(i)({
|
|
1360
|
-
content: `${
|
|
1372
|
+
content: `${vr(e, t)}`,
|
|
1361
1373
|
fontSize: F.value.parentLabels.fontSize,
|
|
1362
1374
|
fill: I.value.bars.parentLabels.color,
|
|
1363
1375
|
x: 0,
|
|
1364
1376
|
y: 0,
|
|
1365
1377
|
translateY: !1
|
|
1366
1378
|
})
|
|
1367
|
-
}, null, 10,
|
|
1379
|
+
}, null, 10, ft)) : h("", !0),
|
|
1368
1380
|
e.isChild && e.childIndex === 0 && F.value.parentLabels.show ? (S(), g("text", {
|
|
1369
1381
|
key: 2,
|
|
1370
1382
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1371
|
-
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${
|
|
1383
|
+
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${gr(e, t).y + D(se)(vr(e, t)) * F.value.parentLabels.fontSize * 1.1})`,
|
|
1372
1384
|
"font-size": F.value.parentLabels.fontSize,
|
|
1373
1385
|
fill: F.value.parentLabels.color,
|
|
1374
1386
|
"font-weight": F.value.dataLabels.bold ? "bold" : "normal",
|
|
1375
1387
|
"text-anchor": "start"
|
|
1376
|
-
}, E(
|
|
1388
|
+
}, E(yr(e, t)), 11, pt)) : h("", !0)
|
|
1377
1389
|
]))), 128))], 512),
|
|
1378
1390
|
_("g", {
|
|
1379
1391
|
ref_key: "childLabels",
|
|
1380
|
-
ref:
|
|
1381
|
-
}, [(S(!0), g(f, null, w(
|
|
1392
|
+
ref: dn
|
|
1393
|
+
}, [(S(!0), g(f, null, w(Yn.value, (e, t) => (S(), g("g", {
|
|
1382
1394
|
key: `cl_${e.id}`,
|
|
1383
1395
|
class: "vue-ui-horizontal-bar-child-label"
|
|
1384
1396
|
}, [(e.isChild || !e.hasChildren) && F.value.nameLabels.show ? (S(), g("text", {
|
|
@@ -1398,7 +1410,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1398
1410
|
y: 0,
|
|
1399
1411
|
translateY: !0
|
|
1400
1412
|
})
|
|
1401
|
-
}, null, 10,
|
|
1413
|
+
}, null, 10, mt)) : h("", !0)]))), 128))], 512),
|
|
1402
1414
|
_("g", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1403
1415
|
key: `vislab_${e.id}`,
|
|
1404
1416
|
class: "vue-ui-horizontal-bar-child-label"
|
|
@@ -1418,71 +1430,72 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1418
1430
|
y: 0,
|
|
1419
1431
|
translateY: !0
|
|
1420
1432
|
})
|
|
1421
|
-
}, null, 10,
|
|
1433
|
+
}, null, 10, ht)) : h("", !0)]))), 128))]),
|
|
1422
1434
|
_("g", null, [(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", {
|
|
1423
1435
|
key: `sdl_${e.id}`,
|
|
1424
1436
|
class: "vue-ui-horizontal-bar-child-label"
|
|
1425
1437
|
}, [_("text", {
|
|
1426
1438
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1427
|
-
transform: `translate(${
|
|
1428
|
-
"text-anchor": !
|
|
1439
|
+
transform: `translate(${pr.value ? X.value.left + X.value.width / 2 + (e.sign === 1 ? -12 : 12) + (e.sign === 1 ? -I.value.bars.dataLabels.offsetX : I.value.bars.dataLabels.offsetX) : Math.min(hr(e.value) + 3 + R.value.layout.bars.dataLabels.offsetX, X.value.right - 2)},${X.value.top + (V.value + J.value) * t + J.value / 2 + q.value[t] * K.value + F.value.dataLabels.fontSize / 3})`,
|
|
1440
|
+
"text-anchor": !pr.value || e.sign === -1 ? "start" : "end",
|
|
1429
1441
|
"font-size": F.value.dataLabels.fontSize,
|
|
1430
1442
|
fill: F.value.dataLabels.color,
|
|
1431
1443
|
"font-weight": F.value.dataLabels.bold ? "bold" : "normal"
|
|
1432
|
-
}, E(
|
|
1444
|
+
}, E(Er(e.value, e, t, e.sign)), 11, gt)]))), 128))]),
|
|
1433
1445
|
(S(!0), g(f, null, w(G.value, (e, t) => (S(), g("g", null, [_("rect", {
|
|
1434
1446
|
x: 0,
|
|
1435
1447
|
y: X.value.top + (V.value + J.value) * t - V.value / 2 + q.value[t] * K.value,
|
|
1436
1448
|
width: B.value,
|
|
1437
1449
|
height: J.value + V.value <= 0 ? 1e-4 : J.value + V.value,
|
|
1438
|
-
fill:
|
|
1439
|
-
onMouseenter: (n) =>
|
|
1440
|
-
onMouseleave: (n) =>
|
|
1450
|
+
fill: br.value === e.id ? D(l)(I.value.highlighter.color, I.value.highlighter.opacity) : "transparent",
|
|
1451
|
+
onMouseenter: (n) => wr(e, t, "pointer"),
|
|
1452
|
+
onMouseleave: (n) => Cr({
|
|
1441
1453
|
datapoint: e,
|
|
1442
1454
|
seriesIndex: t
|
|
1443
1455
|
}),
|
|
1444
|
-
onClick: (n) =>
|
|
1456
|
+
onClick: (n) => Sr({
|
|
1445
1457
|
datapoint: e,
|
|
1446
1458
|
seriesIndex: t
|
|
1447
1459
|
})
|
|
1448
|
-
}, null, 40,
|
|
1460
|
+
}, null, 40, _t)]))), 256)),
|
|
1449
1461
|
T(e.$slots, "svg", { svg: {
|
|
1450
1462
|
...Y.value,
|
|
1451
1463
|
drawingArea: X.value,
|
|
1452
|
-
isPrintingImg: D(
|
|
1453
|
-
isPrintingSvg: D(
|
|
1464
|
+
isPrintingImg: D(Pn) || D(Fn) || D(Gr),
|
|
1465
|
+
isPrintingSvg: D(Kr)
|
|
1454
1466
|
} }, void 0, !0)
|
|
1455
|
-
], 512)], 46,
|
|
1467
|
+
], 512)], 46, nt)), e.$slots.hint ? (S(), g("div", vt, [T(e.$slots, "hint", b(v({
|
|
1456
1468
|
hint: P.value.a11y.translations.keyboardNavigation,
|
|
1457
|
-
isVisible:
|
|
1469
|
+
isVisible: Zr.value
|
|
1458
1470
|
})), void 0, !0)])) : h("", !0)]),
|
|
1459
|
-
e.$slots.watermark ? (S(), g("div",
|
|
1460
|
-
R.value.legend.show && R.value.legend.position === "bottom" ? (
|
|
1461
|
-
|
|
1471
|
+
e.$slots.watermark ? (S(), g("div", yt, [T(e.$slots, "watermark", b(v({ isPrinting: D(Pn) || D(Fn) || D(Gr) || D(Kr) })), void 0, !0)])) : h("", !0),
|
|
1472
|
+
e.$slots.legend && R.value.legend.show && R.value.legend.position === "bottom" ? T(e.$slots, "legend", { legend: U.value }, void 0, !0, 8) : h("", !0),
|
|
1473
|
+
!e.$slots.legend && R.value.legend.show && R.value.legend.position === "bottom" ? (S(), g("div", {
|
|
1474
|
+
key: 9,
|
|
1462
1475
|
ref_key: "chartLegend",
|
|
1463
|
-
ref:
|
|
1464
|
-
}, [(S(), m(
|
|
1465
|
-
key: `legend_bottom_${
|
|
1476
|
+
ref: tn
|
|
1477
|
+
}, [(S(), m(Fe, {
|
|
1478
|
+
key: `legend_bottom_${on.value}`,
|
|
1466
1479
|
legendSet: U.value,
|
|
1467
|
-
config:
|
|
1480
|
+
config: Zn.value,
|
|
1468
1481
|
isCursorPointer: bn.value,
|
|
1469
|
-
onClickMarker: t[1] ||= ({ legend: e }) =>
|
|
1470
|
-
},
|
|
1482
|
+
onClickMarker: t[1] ||= ({ legend: e }) => cr(e.id)
|
|
1483
|
+
}, Le({
|
|
1471
1484
|
item: O(({ legend: e, index: t }) => [_("div", {
|
|
1472
|
-
onClick: (t) =>
|
|
1485
|
+
onClick: (t) => cr(e.id),
|
|
1473
1486
|
style: x(`opacity:${M.value.includes(e.id) ? .5 : 1}`)
|
|
1474
|
-
}, E(
|
|
1487
|
+
}, E(Tr({
|
|
1475
1488
|
legend: e,
|
|
1476
1489
|
index: t
|
|
1477
|
-
})), 13,
|
|
1478
|
-
legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(
|
|
1490
|
+
})), 13, bt)]),
|
|
1491
|
+
legendToggle: O(() => [U.value.length > 2 && R.value.legend.selectAllToggle.show && !D(Cn) ? (S(), m(Ae, {
|
|
1479
1492
|
key: 0,
|
|
1480
1493
|
backgroundColor: R.value.legend.selectAllToggle.backgroundColor,
|
|
1481
1494
|
color: R.value.legend.selectAllToggle.color,
|
|
1482
1495
|
fontSize: R.value.legend.fontSize,
|
|
1483
1496
|
checked: M.value.length > 0,
|
|
1484
1497
|
isCursorPointer: bn.value,
|
|
1485
|
-
onToggle:
|
|
1498
|
+
onToggle: sr
|
|
1486
1499
|
}, null, 8, [
|
|
1487
1500
|
"backgroundColor",
|
|
1488
1501
|
"color",
|
|
@@ -1493,7 +1506,7 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1493
1506
|
_: 2
|
|
1494
1507
|
}, [e.$slots.pattern ? {
|
|
1495
1508
|
name: "legend-pattern",
|
|
1496
|
-
fn: O(({ legend: e, index: t }) => [
|
|
1509
|
+
fn: O(({ legend: e, index: t }) => [ze(we, {
|
|
1497
1510
|
shape: e.shape,
|
|
1498
1511
|
radius: 30,
|
|
1499
1512
|
stroke: "none",
|
|
@@ -1509,16 +1522,15 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1509
1522
|
"config",
|
|
1510
1523
|
"isCursorPointer"
|
|
1511
1524
|
]))], 512)) : h("", !0),
|
|
1512
|
-
T(e.$slots, "legend", { legend: U.value }, void 0, !0),
|
|
1513
1525
|
e.$slots.source ? (S(), g("div", {
|
|
1514
|
-
key:
|
|
1526
|
+
key: 10,
|
|
1515
1527
|
ref_key: "source",
|
|
1516
|
-
ref:
|
|
1528
|
+
ref: nn,
|
|
1517
1529
|
dir: "auto"
|
|
1518
1530
|
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1519
|
-
|
|
1531
|
+
ze(D(zt), {
|
|
1520
1532
|
teleportTo: L.value.teleportTo,
|
|
1521
|
-
show: H.value.showTooltip &&
|
|
1533
|
+
show: H.value.showTooltip && Xt.value && M.value.length < k.dataset.length,
|
|
1522
1534
|
backgroundColor: L.value.backgroundColor,
|
|
1523
1535
|
color: L.value.color,
|
|
1524
1536
|
borderRadius: L.value.borderRadius,
|
|
@@ -1530,8 +1542,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1530
1542
|
offsetX: L.value.offsetX,
|
|
1531
1543
|
offsetY: L.value.offsetY,
|
|
1532
1544
|
parent: j.value,
|
|
1533
|
-
content:
|
|
1534
|
-
isFullscreen:
|
|
1545
|
+
content: Zt.value,
|
|
1546
|
+
isFullscreen: Or.value,
|
|
1535
1547
|
isCustom: L.value.customFormat && typeof L.value.customFormat == "function",
|
|
1536
1548
|
smooth: L.value.smooth,
|
|
1537
1549
|
backdropFilter: L.value.backdropFilter,
|
|
@@ -1540,9 +1552,9 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1540
1552
|
isA11yMode: vn.value === "keyboard",
|
|
1541
1553
|
a11yPosition: _n.value
|
|
1542
1554
|
}, {
|
|
1543
|
-
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...
|
|
1544
|
-
tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...
|
|
1545
|
-
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...
|
|
1555
|
+
"tooltip-before": O(() => [T(e.$slots, "tooltip-before", b(v({ ...xr.value })), void 0, !0)]),
|
|
1556
|
+
tooltip: O(() => [T(e.$slots, "tooltip", b(v({ ...xr.value })), void 0, !0)]),
|
|
1557
|
+
"tooltip-after": O(() => [T(e.$slots, "tooltip-after", b(v({ ...xr.value })), void 0, !0)]),
|
|
1546
1558
|
_: 3
|
|
1547
1559
|
}, 8, [
|
|
1548
1560
|
"teleportTo",
|
|
@@ -1568,24 +1580,24 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1568
1580
|
"isA11yMode",
|
|
1569
1581
|
"a11yPosition"
|
|
1570
1582
|
]),
|
|
1571
|
-
|
|
1583
|
+
Yt.value && P.value.userOptions.buttons.table ? (S(), m(Ge(Lr.value.component), Ve({ key: 11 }, Lr.value.props, {
|
|
1572
1584
|
ref_key: "tableUnit",
|
|
1573
|
-
ref:
|
|
1574
|
-
onClose:
|
|
1575
|
-
}),
|
|
1585
|
+
ref: cn,
|
|
1586
|
+
onClose: zr
|
|
1587
|
+
}), Le({
|
|
1576
1588
|
content: O(() => [_("div", {
|
|
1577
1589
|
ref_key: "tableContainer",
|
|
1578
|
-
ref:
|
|
1590
|
+
ref: Bn,
|
|
1579
1591
|
class: "vue-ui-vertical-bar-table atom-data-table",
|
|
1580
1592
|
style: x(`${P.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
|
|
1581
|
-
}, [_("div",
|
|
1593
|
+
}, [_("div", xt, [P.value.table.useDialog ? h("", !0) : (S(), g("div", {
|
|
1582
1594
|
key: 0,
|
|
1583
1595
|
role: "button",
|
|
1584
1596
|
tabindex: "0",
|
|
1585
1597
|
style: x(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:${bn.value ? "pointer" : "default"}; background:${P.value.table.th.backgroundColor};`),
|
|
1586
|
-
onClick:
|
|
1587
|
-
onKeypress:
|
|
1588
|
-
}, [
|
|
1598
|
+
onClick: zr,
|
|
1599
|
+
onKeypress: Xe(zr, ["enter"])
|
|
1600
|
+
}, [ze(D(Bt), {
|
|
1589
1601
|
name: "close",
|
|
1590
1602
|
stroke: P.value.table.th.color,
|
|
1591
1603
|
"stroke-width": 2
|
|
@@ -1594,8 +1606,8 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1594
1606
|
width: "100%",
|
|
1595
1607
|
"container-type": "inline-size"
|
|
1596
1608
|
},
|
|
1597
|
-
class: y({ "vue-ui-responsive": D(
|
|
1598
|
-
}, [_("table",
|
|
1609
|
+
class: y({ "vue-ui-responsive": D(Rr) })
|
|
1610
|
+
}, [_("table", St, [
|
|
1599
1611
|
P.value.table.useDialog ? h("", !0) : (S(), g("caption", {
|
|
1600
1612
|
key: 0,
|
|
1601
1613
|
style: x({
|
|
@@ -1604,11 +1616,11 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1604
1616
|
outline: P.value.table.th.outline
|
|
1605
1617
|
}),
|
|
1606
1618
|
class: "vue-ui-data-table__caption"
|
|
1607
|
-
}, [
|
|
1619
|
+
}, [Re(E(R.value.title.text) + " ", 1), R.value.title.subtitle.text ? (S(), g("span", Ct, E(R.value.title.subtitle.text), 1)) : h("", !0)], 4)),
|
|
1608
1620
|
_("thead", null, [_("tr", {
|
|
1609
1621
|
role: "row",
|
|
1610
1622
|
style: x(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color}`)
|
|
1611
|
-
}, [(S(!0), g(f, null, w($.value.head, (e) => (S(), g("th", { style: x(`outline:${P.value.table.th.outline}`) }, [_("div",
|
|
1623
|
+
}, [(S(!0), g(f, null, w($.value.head, (e) => (S(), g("th", { style: x(`outline:${P.value.table.th.outline}`) }, [_("div", wt, E(e), 1)], 4))), 256))], 4), _("tr", null, [
|
|
1612
1624
|
_("th", { style: x(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color};outline:${P.value.table.th.outline}`) }, null, 4),
|
|
1613
1625
|
_("th", { style: x(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color};outline:${P.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " ∑ " + E(P.value.table.td.prefix) + E(isNaN(Z.value) ? "" : Z.value.toFixed(P.value.table.td.roundingValue)) + E(P.value.table.td.suffix), 5),
|
|
1614
1626
|
_("th", { style: x(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color};outline:${P.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`) }, " 100% ", 4),
|
|
@@ -1629,83 +1641,83 @@ var Xe = /* @__PURE__ */ e({ default: () => Rt }), Ze = ["id"], Qe = ["id"], $e
|
|
|
1629
1641
|
class: "vue-ui-data-table__tbody__td",
|
|
1630
1642
|
style: x(`outline:${P.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
1631
1643
|
"data-cell": $.value.head[0] ?? ""
|
|
1632
|
-
}, [_("div",
|
|
1644
|
+
}, [_("div", Et, [e.color ? (S(), g("span", {
|
|
1633
1645
|
key: 0,
|
|
1634
1646
|
style: x(`color:${e.color};margin-right:3px`)
|
|
1635
|
-
}, "⬤", 4)) : h("", !0), _("span", null, E(e.parentName), 1)])], 12,
|
|
1647
|
+
}, "⬤", 4)) : h("", !0), _("span", null, E(e.parentName), 1)])], 12, Tt),
|
|
1636
1648
|
_("td", {
|
|
1637
1649
|
class: "vue-ui-data-table__tbody__td",
|
|
1638
1650
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1639
1651
|
"data-cell": $.value.head[1] ?? ""
|
|
1640
|
-
}, [_("div",
|
|
1652
|
+
}, [_("div", Ot, E(P.value.table.td.prefix) + E([
|
|
1641
1653
|
"",
|
|
1642
1654
|
NaN,
|
|
1643
1655
|
void 0
|
|
1644
|
-
].includes(e.parentValue) ? "" : e.parentValue.toFixed(P.value.table.td.roundingValue)) + E(P.value.table.td.suffix), 1)], 12,
|
|
1656
|
+
].includes(e.parentValue) ? "" : e.parentValue.toFixed(P.value.table.td.roundingValue)) + E(P.value.table.td.suffix), 1)], 12, Dt),
|
|
1645
1657
|
_("td", {
|
|
1646
1658
|
class: "vue-ui-data-table__tbody__td",
|
|
1647
1659
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1648
1660
|
"data-cell": $.value.head[2] ?? ""
|
|
1649
|
-
}, [_("div",
|
|
1661
|
+
}, [_("div", At, E([
|
|
1650
1662
|
"",
|
|
1651
1663
|
NaN,
|
|
1652
1664
|
void 0
|
|
1653
|
-
].includes(e.percentageToTotal) ? "" : `${(e.percentageToTotal * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12,
|
|
1665
|
+
].includes(e.percentageToTotal) ? "" : `${(e.percentageToTotal * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12, kt),
|
|
1654
1666
|
_("td", {
|
|
1655
1667
|
class: "vue-ui-data-table__tbody__td",
|
|
1656
1668
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1657
1669
|
"data-cell": $.value.head[3] ?? ""
|
|
1658
|
-
}, [_("div",
|
|
1670
|
+
}, [_("div", Mt, E(e.childName), 1)], 12, jt),
|
|
1659
1671
|
_("td", {
|
|
1660
1672
|
class: "vue-ui-data-table__tbody__td",
|
|
1661
1673
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1662
1674
|
"data-cell": $.value.head[4] ?? ""
|
|
1663
|
-
}, [_("div",
|
|
1675
|
+
}, [_("div", Pt, E(P.value.table.td.prefix) + E([
|
|
1664
1676
|
"",
|
|
1665
1677
|
NaN,
|
|
1666
1678
|
void 0
|
|
1667
|
-
].includes(e.childValue) ? "" : e.childValue.toFixed(P.value.table.td.roundingValue)) + E(P.value.table.td.suffix), 1)], 12,
|
|
1679
|
+
].includes(e.childValue) ? "" : e.childValue.toFixed(P.value.table.td.roundingValue)) + E(P.value.table.td.suffix), 1)], 12, Nt),
|
|
1668
1680
|
_("td", {
|
|
1669
1681
|
class: "vue-ui-data-table__tbody__td",
|
|
1670
1682
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1671
1683
|
"data-cell": $.value.head[5] ?? ""
|
|
1672
|
-
}, [_("div",
|
|
1684
|
+
}, [_("div", It, E([
|
|
1673
1685
|
"",
|
|
1674
1686
|
NaN,
|
|
1675
1687
|
void 0
|
|
1676
|
-
].includes(e.childPercentageToParent) ? "" : `${(e.childPercentageToParent * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12,
|
|
1688
|
+
].includes(e.childPercentageToParent) ? "" : `${(e.childPercentageToParent * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12, Ft),
|
|
1677
1689
|
_("td", {
|
|
1678
1690
|
class: "vue-ui-data-table__tbody__td",
|
|
1679
1691
|
style: x(`outline:${P.value.table.td.outline}`),
|
|
1680
1692
|
"data-cell": $.value.head[6] ?? ""
|
|
1681
|
-
}, [_("div",
|
|
1693
|
+
}, [_("div", Rt, E([
|
|
1682
1694
|
"",
|
|
1683
1695
|
NaN,
|
|
1684
1696
|
void 0
|
|
1685
|
-
].includes(e.childPercentageToTotal) ? "" : `${(e.childPercentageToTotal * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12,
|
|
1697
|
+
].includes(e.childPercentageToTotal) ? "" : `${(e.childPercentageToTotal * 100).toFixed(P.value.table.td.roundingPercentage)}%`), 1)], 12, Lt)
|
|
1686
1698
|
], 6))), 256))])
|
|
1687
1699
|
])], 2)])], 4)]),
|
|
1688
1700
|
_: 2
|
|
1689
1701
|
}, [P.value.table.useDialog ? {
|
|
1690
1702
|
name: "title",
|
|
1691
|
-
fn: O(() => [
|
|
1703
|
+
fn: O(() => [Re(E(Lr.value.title), 1)]),
|
|
1692
1704
|
key: "0"
|
|
1693
1705
|
} : void 0, P.value.table.useDialog ? {
|
|
1694
1706
|
name: "actions",
|
|
1695
1707
|
fn: O(() => [_("button", {
|
|
1696
1708
|
tabindex: "0",
|
|
1697
1709
|
class: "vue-ui-user-options-button",
|
|
1698
|
-
onClick: t[2] ||= (e) =>
|
|
1710
|
+
onClick: t[2] ||= (e) => Dr(P.value.userOptions.callbacks.csv),
|
|
1699
1711
|
style: x({ cursor: bn.value ? "pointer" : "default" })
|
|
1700
|
-
}, [
|
|
1712
|
+
}, [ze(D(Bt), {
|
|
1701
1713
|
name: "fileCsv",
|
|
1702
|
-
stroke:
|
|
1714
|
+
stroke: Lr.value.props.color
|
|
1703
1715
|
}, null, 8, ["stroke"])], 4)]),
|
|
1704
1716
|
key: "1"
|
|
1705
1717
|
} : void 0]), 1040)) : h("", !0),
|
|
1706
|
-
T(e.$slots, "skeleton", {}, () => [D(Cn) ? (S(), m(
|
|
1707
|
-
], 46,
|
|
1718
|
+
T(e.$slots, "skeleton", {}, () => [D(Cn) ? (S(), m(_e, { key: 0 })) : h("", !0)], !0)
|
|
1719
|
+
], 46, Qe));
|
|
1708
1720
|
}
|
|
1709
|
-
}, [["__scopeId", "data-v-
|
|
1721
|
+
}, [["__scopeId", "data-v-4bdb8874"]]);
|
|
1710
1722
|
//#endregion
|
|
1711
|
-
export {
|
|
1723
|
+
export { Ze as n, zt as t };
|