vue-data-ui 3.3.3 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-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-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-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { useCssVars as Kt, defineAsyncComponent as K, useSlots as
|
|
2
|
-
import { c as aa, t as la, b as oa, p as
|
|
1
|
+
import { useCssVars as Kt, defineAsyncComponent as K, useSlots as Qt, computed as g, ref as i, toRefs as Jt, watch as ze, shallowRef as ct, onMounted as Ve, nextTick as he, onBeforeUnmount as Zt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as X, createBlock as G, createCommentVNode as y, renderSlot as _, createVNode as Q, createSlots as pe, withCtx as m, normalizeProps as J, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as dt, resolveDynamicComponent as ea, withKeys as ta, createTextVNode as ht } from "vue";
|
|
2
|
+
import { c as aa, t as la, b as oa, p as W, O as Oe, e as na, x as L, o as Ie, f as ue, h as Fe, a as se, d as D, X as ua, s as Me, i as sa, P as ra, Q as ia, G as va, H as ca } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as da, u as ha } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as pa, a as pt } from "./useNestedProp-
|
|
4
|
+
import { u as pa, a as pt } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as ga, B as fa } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as ya } from "./usePrinter-
|
|
6
|
+
import { u as ya } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as ba } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as ma } from "./useTableResponsive-Cbx-ACcP.js";
|
|
9
9
|
import { u as ka } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as xa } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { t as _a } from "./themes-Dw-dDudK.js";
|
|
12
|
-
import gt from "./Legend-
|
|
13
|
-
import wa from "./vue-ui-accordion-
|
|
14
|
-
import $a from "./Title-
|
|
15
|
-
import { _ as ft } from "./Shape-
|
|
16
|
-
import Ca from "./img-
|
|
12
|
+
import gt from "./Legend-C8u37J42.js";
|
|
13
|
+
import wa from "./vue-ui-accordion-BKkTS12x.js";
|
|
14
|
+
import $a from "./Title-CFmv95In.js";
|
|
15
|
+
import { _ as ft } from "./Shape-BhNvlGIN.js";
|
|
16
|
+
import Ca from "./img-CFY3JivG.js";
|
|
17
17
|
import { _ as Ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "width", "height"], Aa = ["id"], za = ["stop-color"], Va = ["stop-color"],
|
|
18
|
+
const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "width", "height"], Aa = ["id"], za = ["stop-color"], Va = ["stop-color"], Oa = { key: 1 }, Ia = ["x", "y", "width", "height", "fill", "rx"], Fa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ma = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = { class: "vue-ui-horizontal-bar-child-label" }, Ea = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ua = ["x", "y", "font-size", "fill", "font-weight"], Xa = { class: "vue-ui-horizontal-bar-parent-label" }, Ga = ["x", "y", "font-size", "fill", "font-weight"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ha = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], ja = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
}, qa = ["onClick"], Ya = { style: "width:100%;padding-top: 36px;position:relative" }, Ka = { class: "vue-ui-data-table" },
|
|
21
|
+
}, qa = ["onClick"], Ya = { style: "width:100%;padding-top: 36px;position:relative" }, Ka = { class: "vue-ui-data-table" }, Qa = { key: 0 }, Ja = { style: { width: "100%" } }, Za = ["data-cell"], el = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, tl = ["data-cell"], al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ll = ["data-cell"], ol = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, nl = ["data-cell"], ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sl = ["data-cell"], rl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, il = ["data-cell"], vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, cl = ["data-cell"], dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, hl = {
|
|
22
22
|
__name: "vue-ui-vertical-bar",
|
|
23
23
|
props: {
|
|
24
24
|
config: {
|
|
@@ -39,22 +39,22 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
39
39
|
Kt((t) => ({
|
|
40
40
|
v4fa4c7ee: t.tdo
|
|
41
41
|
}));
|
|
42
|
-
const kt = K(() => import("./Tooltip-
|
|
42
|
+
const kt = K(() => import("./Tooltip-Cs4v8OnI.js")), De = K(() => import("./BaseIcon-B5KaGWWC.js")), xt = K(() => import("./PenAndPaper-Dj2diYr0.js")), _t = K(() => import("./UserOptions-C0YT60JN.js")), wt = K(() => import("./PackageVersion-VpPtLYhK.js")), $t = K(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_vertical_bar: Ct } = pa(), Tt = Qt(), b = yt, ge = g({
|
|
43
43
|
get() {
|
|
44
44
|
return !!b.dataset && b.dataset.length;
|
|
45
45
|
},
|
|
46
46
|
set(t) {
|
|
47
47
|
return t;
|
|
48
48
|
}
|
|
49
|
-
}), S = i(aa()), fe = i(!1), ye = i(""), ae = i(0), St = i(null),
|
|
49
|
+
}), S = i(aa()), fe = i(!1), ye = i(""), ae = i(0), St = i(null), Be = i(0), P = i(null), Re = i(null), be = i(null), Ee = i(null), Ue = i(null), Xe = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), Lt = mt, e = i(Ce()), Pt = g(() => [
|
|
50
50
|
{ name: "", value: 6, color: "#d9d9d9" },
|
|
51
51
|
{ name: "", value: 5, color: "#d9d9d9" },
|
|
52
52
|
{ name: "", value: 4, color: "#d9d9d9" },
|
|
53
53
|
{ name: "", value: 3, color: "#d9d9d9" },
|
|
54
54
|
{ name: "", value: 2, color: "#d9d9d9" },
|
|
55
55
|
{ name: "", value: 1, color: "#d9d9d9" }
|
|
56
|
-
]), { loading:
|
|
57
|
-
...
|
|
56
|
+
]), { loading: Ge, FINAL_DATASET: xe, manualLoading: _e } = ga({
|
|
57
|
+
...Jt(b),
|
|
58
58
|
FINAL_CONFIG: e,
|
|
59
59
|
prepareConfig: Ce,
|
|
60
60
|
callback: () => {
|
|
@@ -109,7 +109,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
})
|
|
112
|
-
}), { userOptionsVisible: we, setUserOptionsVisibility:
|
|
112
|
+
}), { userOptionsVisible: we, setUserOptionsVisibility: We, keepUserOptionState: He } = ka({ config: e.value }), { svgRef: $e } = xa({ config: e.value.style.chart.title });
|
|
113
113
|
function Ce() {
|
|
114
114
|
const t = pt({
|
|
115
115
|
userConfig: b.config,
|
|
@@ -121,11 +121,11 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
121
121
|
userConfig: _a.vue_ui_vertical_bar[t.theme] || b.config,
|
|
122
122
|
defaultConfig: t
|
|
123
123
|
}),
|
|
124
|
-
customPalette: oa[t.theme] ||
|
|
125
|
-
} : l = t, b.config &&
|
|
124
|
+
customPalette: oa[t.theme] || W
|
|
125
|
+
} : l = t, b.config && Oe(b.config, "events.datapointEnter") ? l.events.datapointEnter = b.config.events.datapointEnter : l.events.datapointEnter = null, b.config && Oe(b.config, "events.datapointLeave") ? l.events.datapointLeave = b.config.events.datapointLeave : l.events.datapointLeave = null, b.config && Oe(b.config, "events.datapointClick") ? l.events.datapointClick = b.config.events.datapointClick : l.events.datapointClick = null, l;
|
|
126
126
|
}
|
|
127
127
|
ze(() => b.config, (t) => {
|
|
128
|
-
|
|
128
|
+
Ge.value || (e.value = Ce()), we.value = !e.value.userOptions.showOnChartHover, et(), Xe.value += 1, me.value += 1, p.value = e.value.style.chart.layout.bars.height, k.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
129
129
|
}, { deep: !0 }), ze(() => b.dataset, (t) => {
|
|
130
130
|
Array.isArray(t) && t.length > 0 && (_e.value = !1), q();
|
|
131
131
|
}, { deep: !0 });
|
|
@@ -133,7 +133,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
133
133
|
elementId: `vue-ui-vertical-bar_${S.value}`,
|
|
134
134
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar",
|
|
135
135
|
options: e.value.userOptions.print
|
|
136
|
-
}), Nt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
136
|
+
}), Nt = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = g(() => na(e.value.customPalette)), Je = i(null), At = g(() => e.value.table.responsiveBreakpoint), I = ct(null), j = ct(null), re = i("0 0 10 10"), N = g(() => {
|
|
137
137
|
const [t, l, a, o] = re.value.split(" ").map(Number);
|
|
138
138
|
return { x: t, y: l, width: a, height: o };
|
|
139
139
|
});
|
|
@@ -183,11 +183,11 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
183
183
|
});
|
|
184
184
|
const ie = g(() => !!e.value.debug), Te = i(0);
|
|
185
185
|
function et() {
|
|
186
|
-
if (
|
|
186
|
+
if (Ie(b.dataset) && (ue({
|
|
187
187
|
componentName: "VueUiVerticalBar",
|
|
188
188
|
type: "dataset",
|
|
189
189
|
debug: ie.value
|
|
190
|
-
}), ge.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0),
|
|
190
|
+
}), ge.value = !1, _e.value = !0), ae.value = xe.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), Ie(b.dataset) || (_e.value = e.value.loading), e.value.responsive) {
|
|
191
191
|
const t = da(() => {
|
|
192
192
|
const { width: l, height: a } = ha({
|
|
193
193
|
chart: P.value,
|
|
@@ -202,23 +202,23 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
202
202
|
p.value = (a - o) / ae.value, await he(), F();
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect()), I.value = new ResizeObserver(t), j.value = P.value.parentNode, I.value.observe(j.value), e.value.autoSize && F();
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
Zt(() => {
|
|
209
|
-
|
|
209
|
+
I.value && (j.value && I.value.unobserve(j.value), I.value.disconnect());
|
|
210
210
|
});
|
|
211
211
|
const $ = i({
|
|
212
212
|
showTable: e.value.table.show,
|
|
213
213
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
214
214
|
showTooltip: e.value.style.chart.tooltip.show
|
|
215
|
-
}), tt = g(() => $.value.sortDesc),
|
|
215
|
+
}), tt = g(() => $.value.sortDesc), O = g(() => (xe.value.forEach((t, l) => {
|
|
216
216
|
!t.value && !t.children && ue({
|
|
217
217
|
componentName: "VueUiVerticalBar",
|
|
218
218
|
type: "datasetAttributeEmpty",
|
|
219
219
|
property: `value (index ${l})`,
|
|
220
220
|
debug: ie.value
|
|
221
|
-
}), t.children && (
|
|
221
|
+
}), t.children && (Ie(t.children) ? ue({
|
|
222
222
|
componentName: "VueUiVerticalBar",
|
|
223
223
|
type: "datasetAttributeEmpty",
|
|
224
224
|
property: `children (index ${l})`,
|
|
@@ -247,7 +247,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
247
247
|
isChild: !1,
|
|
248
248
|
segregate: () => oe(a),
|
|
249
249
|
isSegregated: A.value.includes(a),
|
|
250
|
-
color: Fe(t.color) ||
|
|
250
|
+
color: Fe(t.color) || Qe.value[l] || W[l] || W[l % W.length],
|
|
251
251
|
children: !t.children || !t.children.length ? [] : t.children.toSorted(ve.value ? () => 0 : (c, x) => tt.value ? x.value - c.value : c.value - x.value).map((c, x) => ({
|
|
252
252
|
...c,
|
|
253
253
|
value: L(Math.abs(c.value)),
|
|
@@ -260,7 +260,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
260
260
|
parentSign: w,
|
|
261
261
|
id: `vertical_child_${l}_${x}_${S.value}`,
|
|
262
262
|
childIndex: x,
|
|
263
|
-
color: Fe(c.color) || Fe(t.color) ||
|
|
263
|
+
color: Fe(c.color) || Fe(t.color) || Qe.value[l] || W[l] || W[l % W.length]
|
|
264
264
|
})).map((c, x) => ({
|
|
265
265
|
...c,
|
|
266
266
|
isFirstChild: x === 0,
|
|
@@ -292,36 +292,36 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
292
292
|
width: C.value.width - (C.value.padding.left + C.value.padding.right)
|
|
293
293
|
}));
|
|
294
294
|
async function q() {
|
|
295
|
-
ae.value =
|
|
295
|
+
ae.value = B.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
|
|
296
296
|
}
|
|
297
297
|
const A = i([]);
|
|
298
298
|
async function oe(t) {
|
|
299
299
|
if (A.value.includes(t))
|
|
300
300
|
A.value = A.value.filter((l) => l !== t);
|
|
301
301
|
else {
|
|
302
|
-
if (A.value.length ===
|
|
302
|
+
if (A.value.length === O.value.length - 1) return;
|
|
303
303
|
A.value.push(t);
|
|
304
304
|
}
|
|
305
|
-
q(), await he(), e.value.autoSize && F(), Lt("selectLegend",
|
|
305
|
+
q(), await he(), e.value.autoSize && F(), Lt("selectLegend", B.value);
|
|
306
306
|
}
|
|
307
|
-
const
|
|
307
|
+
const B = g(() => O.value.filter((t) => !A.value.includes(t.id))), V = g(() => B.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
308
308
|
function ot(t, l = !1, a = 0) {
|
|
309
|
-
return l ?
|
|
309
|
+
return l ? D({
|
|
310
310
|
v: L(Math.abs(t) / V.value * 100),
|
|
311
311
|
s: "%",
|
|
312
312
|
r: a
|
|
313
313
|
}) : Math.abs(t) / V.value;
|
|
314
314
|
}
|
|
315
|
-
const R = g(() =>
|
|
315
|
+
const R = g(() => B.value.flatMap((t) => t.hasChildren ? t.children : t)), E = g(() => R.value.map((t) => t.sign).includes(-1)), Vt = g(() => Math.max(...B.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
|
|
316
316
|
function T(t) {
|
|
317
317
|
const l = t / Vt.value;
|
|
318
318
|
return r.value.width / (E.value ? 2 : 1) * l;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Ot(t) {
|
|
321
321
|
return T(t) + r.value.left;
|
|
322
322
|
}
|
|
323
323
|
function ne(t, l) {
|
|
324
|
-
const a =
|
|
324
|
+
const a = B.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, f = a.children.length * (k.value + p.value);
|
|
325
325
|
return {
|
|
326
326
|
y: o + f / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
327
327
|
name: a.name,
|
|
@@ -330,8 +330,8 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
330
330
|
sign: a.sign
|
|
331
331
|
};
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
return
|
|
333
|
+
function It() {
|
|
334
|
+
return B.value;
|
|
335
335
|
}
|
|
336
336
|
const Se = i(null), Le = i(null);
|
|
337
337
|
function Ft({ datapoint: t, seriesIndex: l }) {
|
|
@@ -340,23 +340,23 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
340
340
|
function Mt({ datapoint: t, seriesIndex: l }) {
|
|
341
341
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), St.value = null, fe.value = !1, Se.value = null;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
343
|
+
function Dt(t, l) {
|
|
344
344
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Le.value = {
|
|
345
345
|
datapoint: t,
|
|
346
346
|
seriesIndex: l,
|
|
347
|
-
series:
|
|
347
|
+
series: O.value,
|
|
348
348
|
config: e.value
|
|
349
349
|
}, fe.value = !0, Se.value = t.id;
|
|
350
350
|
let a = "";
|
|
351
351
|
const o = t.isChild ? t.parentName : t.name, f = t.isChild ? t.name : "", w = e.value.style.chart.tooltip.customFormat;
|
|
352
352
|
va(w) && ca(() => w({
|
|
353
353
|
datapoint: t,
|
|
354
|
-
series:
|
|
354
|
+
series: O.value,
|
|
355
355
|
config: e.value,
|
|
356
356
|
seriesIndex: l
|
|
357
357
|
})) ? ye.value = w({
|
|
358
358
|
datapoint: t,
|
|
359
|
-
series:
|
|
359
|
+
series: O.value,
|
|
360
360
|
config: e.value,
|
|
361
361
|
seriesIndex: l
|
|
362
362
|
}) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
@@ -365,18 +365,18 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
365
365
|
</div>`, e.value.style.chart.tooltip.showValue && (a += `<div>${e.value.translations.value}: <b>${se(
|
|
366
366
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
367
367
|
t.sign === 1 ? t.value : -t.value,
|
|
368
|
-
|
|
368
|
+
D({
|
|
369
369
|
p: e.value.style.chart.tooltip.prefix,
|
|
370
370
|
v: t.sign === 1 ? t.value : -t.value,
|
|
371
371
|
s: e.value.style.chart.tooltip.suffix,
|
|
372
372
|
r: e.value.style.chart.tooltip.roundingValue
|
|
373
373
|
}),
|
|
374
374
|
{ datapoint: t, seriesIndex: l }
|
|
375
|
-
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${
|
|
375
|
+
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (a += `<div>${e.value.translations.percentageToTotal} : <b>${D({
|
|
376
376
|
v: Math.abs(t.value) / V.value * 100,
|
|
377
377
|
s: "%",
|
|
378
378
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
379
|
-
})}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${
|
|
379
|
+
})}</b></div>`, t.isChild && (a += `<div>${e.value.translations.percentageToSerie}: <b>${D({
|
|
380
380
|
v: Math.abs(t.value) / Math.abs(t.parentValue) * 100,
|
|
381
381
|
s: "%",
|
|
382
382
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -388,7 +388,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
388
388
|
const f = se(
|
|
389
389
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
390
390
|
L(o === -1 && t >= 0 ? -t : t),
|
|
391
|
-
|
|
391
|
+
D({
|
|
392
392
|
p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
|
|
393
393
|
v: L(o === -1 && t >= 0 ? -t : t),
|
|
394
394
|
s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
|
|
@@ -451,12 +451,12 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
451
451
|
}
|
|
452
452
|
const U = i(!1);
|
|
453
453
|
function ut(t) {
|
|
454
|
-
U.value = t,
|
|
454
|
+
U.value = t, Be.value += 1;
|
|
455
455
|
}
|
|
456
456
|
function st() {
|
|
457
457
|
$.value.showTable = !$.value.showTable;
|
|
458
458
|
}
|
|
459
|
-
const
|
|
459
|
+
const Bt = i({
|
|
460
460
|
none: 0,
|
|
461
461
|
asc: 1,
|
|
462
462
|
desc: 2
|
|
@@ -467,7 +467,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
467
467
|
type: "attributeWrongValue",
|
|
468
468
|
property: "style.chart.layout.bars.sort",
|
|
469
469
|
key: e.value.style.chart.layout.bars.sort
|
|
470
|
-
}), M.value =
|
|
470
|
+
}), M.value = Bt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ve.value = M.value === 0;
|
|
471
471
|
});
|
|
472
472
|
function Rt() {
|
|
473
473
|
M.value += 1, M.value > 2 && (M.value = 0);
|
|
@@ -527,17 +527,17 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
527
527
|
ze(() => $.value.showTable, (t) => {
|
|
528
528
|
e.value.table.show || (t && e.value.table.useDialog && le.value ? le.value.open() : "close" in le.value && le.value.close());
|
|
529
529
|
});
|
|
530
|
-
const { isResponsive: Ut } = ma(
|
|
530
|
+
const { isResponsive: Ut } = ma(Je, At);
|
|
531
531
|
function Ae() {
|
|
532
532
|
$.value.showTable = !1, ke.value && ke.value.setTableIconState(!1);
|
|
533
533
|
}
|
|
534
|
-
const Xt = g(() =>
|
|
534
|
+
const Xt = g(() => O.value.map((t, l) => ({
|
|
535
535
|
...t,
|
|
536
536
|
shape: "square",
|
|
537
537
|
display: `${t.name}: ${se(
|
|
538
538
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
539
539
|
t.value,
|
|
540
|
-
|
|
540
|
+
D({
|
|
541
541
|
p: e.value.style.chart.legend.prefix,
|
|
542
542
|
v: t.value,
|
|
543
543
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -545,15 +545,15 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
545
545
|
}),
|
|
546
546
|
{ datapoint: t, seriesIndex: l }
|
|
547
547
|
)}`
|
|
548
|
-
}))),
|
|
548
|
+
}))), Gt = g(() => e.value.style.chart.backgroundColor), Wt = g(() => e.value.style.chart.legend), Ht = g(() => e.value.style.chart.title), jt = g(() => Xt.value.map((t) => ({
|
|
549
549
|
...t,
|
|
550
550
|
name: t.display
|
|
551
551
|
}))), { exportSvg: qt, getSvg: Yt } = ba({
|
|
552
552
|
svg: $e,
|
|
553
553
|
title: Ht,
|
|
554
|
-
legend:
|
|
554
|
+
legend: Wt,
|
|
555
555
|
legendItems: jt,
|
|
556
|
-
backgroundColor:
|
|
556
|
+
backgroundColor: Gt
|
|
557
557
|
});
|
|
558
558
|
async function vt({ isCb: t }) {
|
|
559
559
|
if (t) {
|
|
@@ -565,7 +565,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
565
565
|
return bt({
|
|
566
566
|
autoSize: F,
|
|
567
567
|
// v3
|
|
568
|
-
getData:
|
|
568
|
+
getData: It,
|
|
569
569
|
getImage: Et,
|
|
570
570
|
recalculateHeight: q,
|
|
571
571
|
generatePdf: Ye,
|
|
@@ -583,10 +583,10 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
583
583
|
ref: P,
|
|
584
584
|
id: `vue-ui-vertical-bar_${S.value}`,
|
|
585
585
|
style: d(`padding-top:${e.value.responsive && e.value.autoSize ? `${Te.value / 2}px` : "0"}; font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? e.value.autoSize ? `height:calc(100% - ${Te.value}px` : "height: 100%" : ""}`),
|
|
586
|
-
onMouseenter: l[3] || (l[3] = () => s(
|
|
587
|
-
onMouseleave: l[4] || (l[4] = () => s(
|
|
586
|
+
onMouseenter: l[3] || (l[3] = () => s(We)(!0)),
|
|
587
|
+
onMouseleave: l[4] || (l[4] = () => s(We)(!1))
|
|
588
588
|
}, [
|
|
589
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
589
|
+
e.value.userOptions.buttons.annotator ? (u(), G(s(xt), {
|
|
590
590
|
key: 0,
|
|
591
591
|
svgRef: s($e),
|
|
592
592
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -607,7 +607,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
607
607
|
ref: Re,
|
|
608
608
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
609
609
|
}, [
|
|
610
|
-
(u(),
|
|
610
|
+
(u(), G($a, {
|
|
611
611
|
key: `title_${Xe.value}`,
|
|
612
612
|
config: {
|
|
613
613
|
title: {
|
|
@@ -621,10 +621,10 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
621
621
|
}
|
|
622
622
|
}, null, 8, ["config"]))
|
|
623
623
|
], 512)) : y("", !0),
|
|
624
|
-
e.value.userOptions.show && ge.value && (s(He) || s(we)) ? (u(),
|
|
624
|
+
e.value.userOptions.show && ge.value && (s(He) || s(we)) ? (u(), G(s(_t), {
|
|
625
625
|
ref_key: "userOptionsRef",
|
|
626
626
|
ref: ke,
|
|
627
|
-
key: `user_options_${
|
|
627
|
+
key: `user_options_${Be.value}`,
|
|
628
628
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
629
629
|
color: e.value.style.chart.color,
|
|
630
630
|
isImaging: s(qe),
|
|
@@ -664,7 +664,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
664
664
|
t.$slots.menuIcon ? {
|
|
665
665
|
name: "menuIcon",
|
|
666
666
|
fn: m(({ isOpen: a, color: o }) => [
|
|
667
|
-
_(t.$slots, "menuIcon",
|
|
667
|
+
_(t.$slots, "menuIcon", J(Z({ isOpen: a, color: o })), void 0, !0)
|
|
668
668
|
]),
|
|
669
669
|
key: "0"
|
|
670
670
|
} : void 0,
|
|
@@ -720,14 +720,14 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
720
720
|
t.$slots.optionFullscreen ? {
|
|
721
721
|
name: "optionFullscreen",
|
|
722
722
|
fn: m(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
723
|
-
_(t.$slots, "optionFullscreen",
|
|
723
|
+
_(t.$slots, "optionFullscreen", J(Z({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
724
724
|
]),
|
|
725
725
|
key: "8"
|
|
726
726
|
} : void 0,
|
|
727
727
|
t.$slots.optionAnnotator ? {
|
|
728
728
|
name: "optionAnnotator",
|
|
729
729
|
fn: m(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
730
|
-
_(t.$slots, "optionAnnotator",
|
|
730
|
+
_(t.$slots, "optionAnnotator", J(Z({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
731
731
|
]),
|
|
732
732
|
key: "9"
|
|
733
733
|
} : void 0
|
|
@@ -737,9 +737,9 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
737
737
|
ref_key: "chartLegend",
|
|
738
738
|
ref: be
|
|
739
739
|
}, [
|
|
740
|
-
(u(),
|
|
740
|
+
(u(), G(gt, {
|
|
741
741
|
key: `legend_top_${me.value}`,
|
|
742
|
-
legendSet:
|
|
742
|
+
legendSet: O.value,
|
|
743
743
|
config: at.value,
|
|
744
744
|
onClickMarker: l[0] || (l[0] = ({ legend: a }) => oe(a.id))
|
|
745
745
|
}, pe({
|
|
@@ -750,7 +750,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
750
750
|
}, h(a.name) + ": " + h(s(se)(
|
|
751
751
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
752
752
|
a.value,
|
|
753
|
-
s(
|
|
753
|
+
s(D)({
|
|
754
754
|
p: e.value.style.chart.legend.prefix,
|
|
755
755
|
v: a.value,
|
|
756
756
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -764,7 +764,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
764
764
|
t.$slots.pattern ? {
|
|
765
765
|
name: "legend-pattern",
|
|
766
766
|
fn: m(({ legend: a, index: o }) => [
|
|
767
|
-
|
|
767
|
+
Q(ft, {
|
|
768
768
|
shape: a.shape,
|
|
769
769
|
radius: 30,
|
|
770
770
|
stroke: "none",
|
|
@@ -789,7 +789,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
789
789
|
ref: H,
|
|
790
790
|
class: "vue-data-ui-g"
|
|
791
791
|
}, [
|
|
792
|
-
|
|
792
|
+
Q(s(wt)),
|
|
793
793
|
t.$slots["chart-background"] ? (u(), v("foreignObject", {
|
|
794
794
|
key: 0,
|
|
795
795
|
x: N.value.x,
|
|
@@ -818,7 +818,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
818
818
|
"stop-color": s(Me)(s(sa)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
819
819
|
}, null, 8, Va)
|
|
820
820
|
], 8, Aa))), 256)),
|
|
821
|
-
t.$slots.pattern ? (u(), v("g",
|
|
821
|
+
t.$slots.pattern ? (u(), v("g", Oa, [
|
|
822
822
|
(u(!0), v(ee, null, te(R.value, (a) => (u(), v("defs", null, [
|
|
823
823
|
_(t.$slots, "pattern", dt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${S.value}_${a.absoluteIndex}` }), void 0, !0)
|
|
824
824
|
]))), 256))
|
|
@@ -832,7 +832,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
832
832
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
833
833
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
834
834
|
class: X({ animated: e.value.useCssAnimation })
|
|
835
|
-
}, null, 10,
|
|
835
|
+
}, null, 10, Ia)
|
|
836
836
|
]))), 256)),
|
|
837
837
|
(u(!0), v(ee, null, te(R.value, (a, o) => (u(), v("g", null, [
|
|
838
838
|
n("rect", {
|
|
@@ -868,7 +868,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
868
868
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
869
869
|
"stroke-linecap": "round",
|
|
870
870
|
style: { transition: "none !important", animation: "none !important" }
|
|
871
|
-
}, null, 8,
|
|
871
|
+
}, null, 8, Da)) : y("", !0),
|
|
872
872
|
E.value && e.value.style.chart.layout.separators.show ? (u(), v("line", {
|
|
873
873
|
key: 2,
|
|
874
874
|
x1: r.value.left + r.value.width / 2,
|
|
@@ -878,10 +878,10 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
878
878
|
stroke: e.value.style.chart.layout.separators.color,
|
|
879
879
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
880
880
|
"stroke-linecap": "round"
|
|
881
|
-
}, null, 8,
|
|
881
|
+
}, null, 8, Ba)) : y("", !0),
|
|
882
882
|
n("g", Ra, [
|
|
883
883
|
n("text", {
|
|
884
|
-
x: E.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) :
|
|
884
|
+
x: E.value ? r.value.left + r.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Ot(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
885
885
|
y: r.value.top + (k.value + p.value) * o + p.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
886
886
|
"text-anchor": !E.value || a.sign === -1 ? "start" : "end",
|
|
887
887
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
@@ -907,7 +907,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
907
907
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
908
908
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
909
909
|
"text-anchor": "start"
|
|
910
|
-
}, h(ne(a, o).name), 9,
|
|
910
|
+
}, h(ne(a, o).name), 9, Ga)) : y("", !0),
|
|
911
911
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), v("text", {
|
|
912
912
|
key: 1,
|
|
913
913
|
x: e.value.autoSize ? void 0 : N.value.x + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -916,7 +916,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
916
916
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
917
917
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
918
918
|
"text-anchor": "start"
|
|
919
|
-
}, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9,
|
|
919
|
+
}, h(nt(ne(a, o).value), ne(a, o), o, a.parentSign || a.sign), 9, Wa)) : y("", !0)
|
|
920
920
|
]),
|
|
921
921
|
n("rect", {
|
|
922
922
|
x: N.value.x,
|
|
@@ -924,7 +924,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
924
924
|
width: N.value.width,
|
|
925
925
|
height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
|
|
926
926
|
fill: Se.value === a.id ? s(Me)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
927
|
-
onMouseenter: (f) =>
|
|
927
|
+
onMouseenter: (f) => Dt(a, o),
|
|
928
928
|
onMouseleave: (f) => Mt({ datapoint: a, seriesIndex: o }),
|
|
929
929
|
onClick: (f) => Ft({ datapoint: a, seriesIndex: o })
|
|
930
930
|
}, null, 40, Ha)
|
|
@@ -933,16 +933,16 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
933
933
|
], 512)
|
|
934
934
|
], 14, Pa)),
|
|
935
935
|
t.$slots.watermark ? (u(), v("div", ja, [
|
|
936
|
-
_(t.$slots, "watermark",
|
|
936
|
+
_(t.$slots, "watermark", J(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
|
|
937
937
|
])) : y("", !0),
|
|
938
938
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
|
|
939
939
|
key: 6,
|
|
940
940
|
ref_key: "chartLegend",
|
|
941
941
|
ref: be
|
|
942
942
|
}, [
|
|
943
|
-
(u(),
|
|
943
|
+
(u(), G(gt, {
|
|
944
944
|
key: `legend_bottom_${me.value}`,
|
|
945
|
-
legendSet:
|
|
945
|
+
legendSet: O.value,
|
|
946
946
|
config: at.value,
|
|
947
947
|
onClickMarker: l[1] || (l[1] = ({ legend: a }) => oe(a.id))
|
|
948
948
|
}, pe({
|
|
@@ -953,7 +953,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
953
953
|
}, h(a.name) + ": " + h(s(se)(
|
|
954
954
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
955
955
|
a.value,
|
|
956
|
-
s(
|
|
956
|
+
s(D)({
|
|
957
957
|
p: e.value.style.chart.legend.prefix,
|
|
958
958
|
v: a.value,
|
|
959
959
|
s: e.value.style.chart.legend.suffix,
|
|
@@ -967,7 +967,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
967
967
|
t.$slots.pattern ? {
|
|
968
968
|
name: "legend-pattern",
|
|
969
969
|
fn: m(({ legend: a, index: o }) => [
|
|
970
|
-
|
|
970
|
+
Q(ft, {
|
|
971
971
|
shape: a.shape,
|
|
972
972
|
radius: 30,
|
|
973
973
|
stroke: "none",
|
|
@@ -979,7 +979,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
979
979
|
} : void 0
|
|
980
980
|
]), 1032, ["legendSet", "config"]))
|
|
981
981
|
], 512)) : y("", !0),
|
|
982
|
-
_(t.$slots, "legend", { legend:
|
|
982
|
+
_(t.$slots, "legend", { legend: O.value }, void 0, !0),
|
|
983
983
|
t.$slots.source ? (u(), v("div", {
|
|
984
984
|
key: 7,
|
|
985
985
|
ref_key: "source",
|
|
@@ -988,7 +988,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
988
988
|
}, [
|
|
989
989
|
_(t.$slots, "source", {}, void 0, !0)
|
|
990
990
|
], 512)) : y("", !0),
|
|
991
|
-
|
|
991
|
+
Q(s(kt), {
|
|
992
992
|
show: $.value.showTooltip && fe.value && A.value.length < b.dataset.length,
|
|
993
993
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
994
994
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1009,14 +1009,14 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1009
1009
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1010
1010
|
}, {
|
|
1011
1011
|
"tooltip-before": m(() => [
|
|
1012
|
-
_(t.$slots, "tooltip-before",
|
|
1012
|
+
_(t.$slots, "tooltip-before", J(Z({ ...Le.value })), void 0, !0)
|
|
1013
1013
|
]),
|
|
1014
1014
|
"tooltip-after": m(() => [
|
|
1015
|
-
_(t.$slots, "tooltip-after",
|
|
1015
|
+
_(t.$slots, "tooltip-after", J(Z({ ...Le.value })), void 0, !0)
|
|
1016
1016
|
]),
|
|
1017
1017
|
_: 3
|
|
1018
1018
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1019
|
-
ge.value && e.value.userOptions.buttons.table ? (u(),
|
|
1019
|
+
ge.value && e.value.userOptions.buttons.table ? (u(), G(ea(de.value.component), dt({ key: 8 }, de.value.props, {
|
|
1020
1020
|
ref_key: "tableUnit",
|
|
1021
1021
|
ref: le,
|
|
1022
1022
|
onClose: Ae
|
|
@@ -1024,7 +1024,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1024
1024
|
content: m(() => [
|
|
1025
1025
|
n("div", {
|
|
1026
1026
|
ref_key: "tableContainer",
|
|
1027
|
-
ref:
|
|
1027
|
+
ref: Je,
|
|
1028
1028
|
class: "vue-ui-vertical-bar-table atom-data-table",
|
|
1029
1029
|
style: d(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px"}`)
|
|
1030
1030
|
}, [
|
|
@@ -1037,7 +1037,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1037
1037
|
onClick: Ae,
|
|
1038
1038
|
onKeypress: ta(Ae, ["enter"])
|
|
1039
1039
|
}, [
|
|
1040
|
-
|
|
1040
|
+
Q(s(De), {
|
|
1041
1041
|
name: "close",
|
|
1042
1042
|
stroke: e.value.table.th.color,
|
|
1043
1043
|
"stroke-width": 2
|
|
@@ -1054,7 +1054,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1054
1054
|
class: "vue-ui-data-table__caption"
|
|
1055
1055
|
}, [
|
|
1056
1056
|
ht(h(e.value.style.chart.title.text) + " ", 1),
|
|
1057
|
-
e.value.style.chart.title.subtitle.text ? (u(), v("span",
|
|
1057
|
+
e.value.style.chart.title.subtitle.text ? (u(), v("span", Qa, h(e.value.style.chart.title.subtitle.text), 1)) : y("", !0)
|
|
1058
1058
|
], 4)),
|
|
1059
1059
|
n("thead", null, [
|
|
1060
1060
|
n("tr", {
|
|
@@ -1064,7 +1064,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1064
1064
|
(u(!0), v(ee, null, te(z.value.head, (a) => (u(), v("th", {
|
|
1065
1065
|
style: d(`outline:${e.value.table.th.outline}`)
|
|
1066
1066
|
}, [
|
|
1067
|
-
n("div",
|
|
1067
|
+
n("div", Ja, h(a), 1)
|
|
1068
1068
|
], 4))), 256))
|
|
1069
1069
|
], 4),
|
|
1070
1070
|
n("tr", null, [
|
|
@@ -1175,7 +1175,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1175
1175
|
class: "vue-ui-user-options-button",
|
|
1176
1176
|
onClick: l[2] || (l[2] = (a) => Pe(e.value.userOptions.callbacks.csv))
|
|
1177
1177
|
}, [
|
|
1178
|
-
|
|
1178
|
+
Q(s(De), {
|
|
1179
1179
|
name: "excel",
|
|
1180
1180
|
stroke: de.value.props.color
|
|
1181
1181
|
}, null, 8, ["stroke"])
|
|
@@ -1184,7 +1184,7 @@ const Sa = ["id"], La = ["onClick"], Pa = ["xmlns", "viewBox"], Na = ["x", "widt
|
|
|
1184
1184
|
key: "1"
|
|
1185
1185
|
} : void 0
|
|
1186
1186
|
]), 1040)) : y("", !0),
|
|
1187
|
-
s(
|
|
1187
|
+
s(Ge) ? (u(), G(fa, { key: 9 })) : y("", !0)
|
|
1188
1188
|
], 46, Sa));
|
|
1189
1189
|
}
|
|
1190
1190
|
}, Al = /* @__PURE__ */ Ta(hl, [["__scopeId", "data-v-1ea4e17d"]]);
|