vue-data-ui 3.2.2 → 3.2.4
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-BWqgcDpl.js → Arrow-Bb0bGghy.js} +1 -1
- package/dist/{BaseDraggableDialog-Cg4ZF9cb.js → BaseDraggableDialog-CHhZIht2.js} +2 -2
- package/dist/{BaseIcon-e63bhLIi.js → BaseIcon-Bz-1GQhu.js} +10 -3
- package/dist/ColorPicker-B-WUqMoV.js +238 -0
- package/dist/{DataTable-dv6G7Krn.js → DataTable-BvjacRbw.js} +2 -2
- package/dist/{Legend-CVcdvTLM.js → Legend-BpoFJ8fc.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DSmotL8i.js → NonSvgPenAndPaper-l9giyY1Z.js} +3 -3
- package/dist/{PackageVersion-C3Vg-vTM.js → PackageVersion-x4hg0tYe.js} +1 -1
- package/dist/{PenAndPaper-CplrzuG7.js → PenAndPaper-CR8q353D.js} +3 -3
- package/dist/{Shape-D_vfF7sk.js → Shape-C_C_OmqR.js} +1 -1
- package/dist/{Slicer-BO2wNLcR.js → Slicer-BA2GhOmY.js} +63 -63
- package/dist/{SparkTooltip-B82G5-BO.js → SparkTooltip-Dz1PDE_h.js} +1 -1
- package/dist/{Title-DlqxaiIs.js → Title-C__lOIPC.js} +1 -1
- package/dist/{Tooltip-BKqK7z38.js → Tooltip-BOXz8skU.js} +1 -1
- package/dist/{UserOptions-C9IFsUt0.js → UserOptions-DsTgvAok.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 +5 -0
- 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-1edcjS0-.js → dom-to-png-BgvOdfyW.js} +1 -1
- package/dist/{img-A48JwXxj.js → img-DjWwQXVS.js} +1 -1
- package/dist/{lib-CDp2KgIU.js → lib-BEpWEyMm.js} +56 -56
- package/dist/{pdf-BZV8MuXM.js → pdf-YD0ShN36.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +15 -4
- package/dist/types/vue-ui-annotator.d.ts +14 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-C2IsrQqi.js → useAutoSizeLabelsInsideViewbox-BVJkib7z.js} +1 -1
- package/dist/{useNestedProp-Cwtenuui.js → useNestedProp-CLD3Gk9S.js} +17 -13
- package/dist/{usePrinter-DU_Pi3Rq.js → usePrinter-w23K-ezx.js} +2 -2
- package/dist/{vue-data-ui-BHJOTOQY.js → vue-data-ui-boJG_PFN.js} +64 -64
- package/dist/vue-data-ui.js +96 -96
- package/dist/{vue-ui-3d-bar-rxghnZJO.js → vue-ui-3d-bar-HrbA4DmH.js} +6 -6
- package/dist/vue-ui-accordion-Cv7OaVUI.js +78 -0
- package/dist/{vue-ui-age-pyramid-gT_SnI-F.js → vue-ui-age-pyramid-CS5384rT.js} +6 -6
- package/dist/vue-ui-annotator-DOO0qej9.js +2959 -0
- package/dist/{vue-ui-bullet-DREbhLhy.js → vue-ui-bullet-DaauvX3a.js} +15 -15
- package/dist/{vue-ui-candlestick-D4P15Ci1.js → vue-ui-candlestick-DQXu21Mp.js} +33 -33
- package/dist/{vue-ui-carousel-table-C24KX4gd.js → vue-ui-carousel-table-Bh8Vb6ce.js} +4 -4
- package/dist/{vue-ui-chestnut-BbQknrj0.js → vue-ui-chestnut-BgmAUlUz.js} +32 -32
- package/dist/{vue-ui-chord-BM4_D9kI.js → vue-ui-chord-3NX_jwG_.js} +53 -53
- package/dist/{vue-ui-circle-pack-S4Asc9CS.js → vue-ui-circle-pack-Berb37Aa.js} +29 -29
- package/dist/{vue-ui-cursor-F9MXsQ1K.js → vue-ui-cursor-Cbt_0B5t.js} +2 -2
- package/dist/{vue-ui-dashboard-D6LHLdFS.js → vue-ui-dashboard-BzU-96mz.js} +67 -67
- package/dist/{vue-ui-digits-B_8VzLOS.js → vue-ui-digits-ChAz3jSS.js} +2 -2
- package/dist/{vue-ui-donut-B7T8_tP1.js → vue-ui-donut-BBQNmH5y.js} +8 -8
- package/dist/{vue-ui-donut-evolution-DOn-7PnK.js → vue-ui-donut-evolution-BD3_nxd1.js} +55 -55
- package/dist/{vue-ui-dumbbell-Ch66pFUG.js → vue-ui-dumbbell-Ct-YAkFg.js} +7 -7
- package/dist/{vue-ui-flow-DPcsRLJJ.js → vue-ui-flow-CVHjWM9l.js} +63 -63
- package/dist/{vue-ui-funnel-BdcKoacQ.js → vue-ui-funnel-Co79mdnX.js} +36 -36
- package/dist/{vue-ui-galaxy-D3c-O1Op.js → vue-ui-galaxy-D-XFEUfD.js} +46 -46
- package/dist/{vue-ui-gauge-D1zbKzZQ.js → vue-ui-gauge-Cx6eQ1nL.js} +59 -59
- package/dist/{vue-ui-gizmo-CcrANrSX.js → vue-ui-gizmo-D2PHxbS3.js} +3 -3
- package/dist/{vue-ui-heatmap-CcvV9Y14.js → vue-ui-heatmap-D4KCpMN3.js} +7 -7
- package/dist/{vue-ui-history-plot-a0mLhd0L.js → vue-ui-history-plot-Q_Q9g2Es.js} +44 -44
- package/dist/{vue-ui-kpi-BwUpplcm.js → vue-ui-kpi-D7WXGb3K.js} +3 -3
- package/dist/{vue-ui-mini-loader-DBPZOqZA.js → vue-ui-mini-loader-CKMzFSG5.js} +2 -2
- package/dist/{vue-ui-molecule-xsgartoC.js → vue-ui-molecule-Bxs72uED.js} +5 -5
- package/dist/{vue-ui-mood-radar-kl2d5QsL.js → vue-ui-mood-radar-B5wYN9tI.js} +7 -7
- package/dist/{vue-ui-nested-donuts-D9I8_VnP.js → vue-ui-nested-donuts-pt6KriAc.js} +70 -70
- package/dist/{vue-ui-onion-BlxsHavW.js → vue-ui-onion-C8jid2_q.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-DHH6lrbW.js → vue-ui-parallel-coordinate-plot-06wFGFFV.js} +35 -35
- package/dist/{vue-ui-quadrant-DyIQZUPC.js → vue-ui-quadrant-B2dS6aSz.js} +8 -8
- package/dist/{vue-ui-quick-chart-Jfr_Ezh9.js → vue-ui-quick-chart-CrkR07qv.js} +55 -55
- package/dist/{vue-ui-radar-BL_dJV12.js → vue-ui-radar-CkAX2pUE.js} +54 -54
- package/dist/{vue-ui-rating-LiragGSU.js → vue-ui-rating-C0Ubexdn.js} +2 -2
- package/dist/{vue-ui-relation-circle-BrR2W_6V.js → vue-ui-relation-circle-eROPsns9.js} +25 -25
- package/dist/{vue-ui-ridgeline-CpaOYplC.js → vue-ui-ridgeline-AkXpQ6zB.js} +27 -27
- package/dist/{vue-ui-rings-B9TGOwFE.js → vue-ui-rings-DEwCnnwC.js} +38 -38
- package/dist/{vue-ui-scatter-Bq4pSRu_.js → vue-ui-scatter-DzojJVhb.js} +49 -49
- package/dist/{vue-ui-skeleton-BlVnOk2o.js → vue-ui-skeleton-Bp8Ao16B.js} +3 -3
- package/dist/{vue-ui-smiley-DyP9gKYe.js → vue-ui-smiley-DxC8rN5b.js} +2 -2
- package/dist/{vue-ui-spark-trend-Pvdqnqia.js → vue-ui-spark-trend-DqKebrx9.js} +22 -22
- package/dist/{vue-ui-sparkbar-DF6eDrxt.js → vue-ui-sparkbar-BShmZ5Vp.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BR7oFSSF.js → vue-ui-sparkgauge-NX3Z_bFF.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CkOGqy2h.js → vue-ui-sparkhistogram-TBxquo5S.js} +4 -4
- package/dist/{vue-ui-sparkline-DF8bLc-F.js → vue-ui-sparkline-Bw4jxjxk.js} +29 -29
- package/dist/{vue-ui-sparkstackbar-DMkn-0FV.js → vue-ui-sparkstackbar-D8YGkrZ9.js} +3 -3
- package/dist/{vue-ui-stackbar-CUXktGA-.js → vue-ui-stackbar-0Kag52U5.js} +38 -38
- package/dist/{vue-ui-strip-plot-ibdxtil6.js → vue-ui-strip-plot-CU0tiCsd.js} +7 -7
- package/dist/{vue-ui-table-BocHahKB.js → vue-ui-table-B4BTGeKs.js} +17 -17
- package/dist/{vue-ui-table-heatmap-B03YDYck.js → vue-ui-table-heatmap-D-iueyM0.js} +13 -13
- package/dist/{vue-ui-table-sparkline-8mOvfeTL.js → vue-ui-table-sparkline-BnqMY5lk.js} +4 -4
- package/dist/{vue-ui-thermometer-Dq_nJLiU.js → vue-ui-thermometer-Ct3Sr0M1.js} +7 -7
- package/dist/{vue-ui-timer-BLveMseW.js → vue-ui-timer-DsAVvm1H.js} +27 -27
- package/dist/{vue-ui-tiremarks-DMG1_YzV.js → vue-ui-tiremarks-DKNpl_8J.js} +6 -6
- package/dist/{vue-ui-treemap-io-J9w5R.js → vue-ui-treemap-Jdea_p8r.js} +8 -8
- package/dist/{vue-ui-vertical-bar-DqnTF6h2.js → vue-ui-vertical-bar-DE42y9ZI.js} +30 -30
- package/dist/{vue-ui-waffle-X9DHHqlw.js → vue-ui-waffle-CrYeU7zd.js} +75 -75
- package/dist/{vue-ui-wheel-BLBwVpV8.js → vue-ui-wheel-B4Be4Ol6.js} +6 -6
- package/dist/{vue-ui-word-cloud-0GXQqY8G.js → vue-ui-word-cloud-9QkLvAgs.js} +28 -28
- package/dist/{vue-ui-world-5OHPVwxv.js → vue-ui-world-DTwfuIIZ.js} +6 -6
- package/dist/{vue-ui-xy-HW0T1CD8.js → vue-ui-xy-BKzt6d8T.js} +9 -9
- package/dist/{vue-ui-xy-canvas-C4FbbXNQ.js → vue-ui-xy-canvas-BGzMXziC.js} +10 -10
- package/package.json +1 -1
- package/dist/ColorPicker-BO4ntExI.js +0 -135
- package/dist/vue-ui-accordion-BWnxgda4.js +0 -76
- package/dist/vue-ui-annotator-BkHDHfHG.js +0 -2182
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useCssVars as Ut, defineAsyncComponent as K, useSlots as Xt, computed as y, ref as i, toRefs as Wt, watch as Ae, shallowRef as vt, onMounted as ze, nextTick as de, onBeforeUnmount as Gt, createElementBlock as v, openBlock as u, unref as s, normalizeStyle as d, normalizeClass as U, createBlock as X, createCommentVNode as f, renderSlot as _, createVNode as J, createSlots as he, withCtx as m, normalizeProps as Q, guardReactiveProps as Z, createElementVNode as n, toDisplayString as h, Fragment as ee, renderList as te, mergeProps as ct, resolveDynamicComponent as Ht, withKeys as jt, createTextVNode as dt } from "vue";
|
|
2
|
-
import { c as qt, t as Yt, b as Kt, p as W,
|
|
2
|
+
import { c as qt, t as Yt, b as Kt, p as W, B as Ve, e as Jt, q as L, o as Oe, f as ue, h as Fe, a as pe, d as G, X as Qt, s as Ie, i as Zt, x as ea, y as ta, z as aa, A as la } from "./lib-BEpWEyMm.js";
|
|
3
3
|
import { t as oa, u as na } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as ua, a as ht } from "./useNestedProp-
|
|
4
|
+
import { u as ua, a as ht } from "./useNestedProp-CLD3Gk9S.js";
|
|
5
5
|
import { u as sa, B as ra } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as ia } from "./usePrinter-
|
|
6
|
+
import { u as ia } from "./usePrinter-w23K-ezx.js";
|
|
7
7
|
import { u as va } from "./useTableResponsive-Cbx-ACcP.js";
|
|
8
8
|
import { u as ca } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as da } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { t as ha } from "./themes-D3cUNuKw.js";
|
|
11
|
-
import pt from "./Legend-
|
|
12
|
-
import pa from "./vue-ui-accordion-
|
|
13
|
-
import fa from "./Title-
|
|
14
|
-
import { _ as ft } from "./Shape-
|
|
15
|
-
import ga from "./img-
|
|
11
|
+
import pt from "./Legend-BpoFJ8fc.js";
|
|
12
|
+
import pa from "./vue-ui-accordion-Cv7OaVUI.js";
|
|
13
|
+
import fa from "./Title-C__lOIPC.js";
|
|
14
|
+
import { _ as ft } from "./Shape-C_C_OmqR.js";
|
|
15
|
+
import ga from "./img-DjWwQXVS.js";
|
|
16
16
|
import { _ as ya } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Oa = { class: "vue-ui-horizontal-bar-parent-label" }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight"],
|
|
17
|
+
const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "width", "height"], _a = ["id"], wa = ["stop-color"], $a = ["stop-color"], Ca = { key: 1 }, Ta = ["x", "y", "width", "height", "fill", "rx"], Sa = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], La = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = { class: "vue-ui-horizontal-bar-child-label" }, za = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Va = ["x", "y", "font-size", "fill", "font-weight"], Oa = { class: "vue-ui-horizontal-bar-parent-label" }, Fa = ["x", "y", "font-size", "fill", "font-weight"], Ia = ["x", "y", "font-size", "fill", "font-weight"], Ma = ["x", "y", "width", "height", "fill", "onMouseenter", "onMouseleave", "onClick"], Da = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Ba = ["onClick"], Ra = { style: "width:100%;padding-top: 36px;position:relative" }, Ea = { class: "vue-ui-data-table" }, Ua = { key: 0 }, Xa = { style: { width: "100%" } }, Wa = ["data-cell"], Ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ha = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qa = ["data-cell"], Ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ka = ["data-cell"], Ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qa = ["data-cell"], Za = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, el = ["data-cell"], tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, al = ["data-cell"], ll = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ol = {
|
|
@@ -38,14 +38,14 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
38
38
|
Ut((t) => ({
|
|
39
39
|
v27fa778f: t.tdo
|
|
40
40
|
}));
|
|
41
|
-
const mt = K(() => import("./Tooltip-
|
|
41
|
+
const mt = K(() => import("./Tooltip-BOXz8skU.js")), Me = K(() => import("./BaseIcon-Bz-1GQhu.js")), kt = K(() => import("./PenAndPaper-CR8q353D.js")), xt = K(() => import("./UserOptions-DsTgvAok.js")), _t = K(() => import("./PackageVersion-x4hg0tYe.js")), wt = K(() => import("./BaseDraggableDialog-CHhZIht2.js")), { vue_ui_vertical_bar: $t } = ua(), Ct = Xt(), b = gt, fe = y({
|
|
42
42
|
get() {
|
|
43
43
|
return !!b.dataset && b.dataset.length;
|
|
44
44
|
},
|
|
45
45
|
set(t) {
|
|
46
46
|
return t;
|
|
47
47
|
}
|
|
48
|
-
}), S = i(qt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null),
|
|
48
|
+
}), S = i(qt()), ge = i(!1), ye = i(""), ae = i(0), Tt = i(null), De = i(0), P = i(null), Be = i(null), be = i(null), Re = i(null), Ee = i(null), Ue = i(0), me = i(0), H = i(null), le = i(null), ke = i(null), St = bt, e = i($e()), Lt = y(() => [
|
|
49
49
|
{ name: "", value: 6, color: "#d9d9d9" },
|
|
50
50
|
{ name: "", value: 5, color: "#d9d9d9" },
|
|
51
51
|
{ name: "", value: 4, color: "#d9d9d9" },
|
|
@@ -291,7 +291,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
291
291
|
width: C.value.width - (C.value.padding.left + C.value.padding.right)
|
|
292
292
|
}));
|
|
293
293
|
async function q() {
|
|
294
|
-
ae.value =
|
|
294
|
+
ae.value = D.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), e.value.autoSize && await F();
|
|
295
295
|
}
|
|
296
296
|
const A = i([]);
|
|
297
297
|
async function oe(t) {
|
|
@@ -301,9 +301,9 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
301
301
|
if (A.value.length === I.value.length - 1) return;
|
|
302
302
|
A.value.push(t);
|
|
303
303
|
}
|
|
304
|
-
q(), await de(), e.value.autoSize && F(), St("selectLegend",
|
|
304
|
+
q(), await de(), e.value.autoSize && F(), St("selectLegend", D.value);
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const D = y(() => I.value.filter((t) => !A.value.includes(t.id))), V = y(() => D.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
307
307
|
function ot(t, l = !1, a = 0) {
|
|
308
308
|
return l ? G({
|
|
309
309
|
v: L(Math.abs(t) / V.value * 100),
|
|
@@ -311,7 +311,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
311
311
|
r: a
|
|
312
312
|
}) : Math.abs(t) / V.value;
|
|
313
313
|
}
|
|
314
|
-
const B = y(() =>
|
|
314
|
+
const B = y(() => D.value.flatMap((t) => t.hasChildren ? t.children : t)), R = y(() => B.value.map((t) => t.sign).includes(-1)), zt = y(() => Math.max(...D.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
|
|
315
315
|
function T(t) {
|
|
316
316
|
const l = t / zt.value;
|
|
317
317
|
return r.value.width / (R.value ? 2 : 1) * l;
|
|
@@ -320,7 +320,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
320
320
|
return T(t) + r.value.left;
|
|
321
321
|
}
|
|
322
322
|
function ne(t, l) {
|
|
323
|
-
const a =
|
|
323
|
+
const a = D.value.find((w) => w.id === t.parentId), o = r.value.top + (k.value + p.value) * l, g = a.children.length * (k.value + p.value);
|
|
324
324
|
return {
|
|
325
325
|
y: o + g / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
326
326
|
name: a.name,
|
|
@@ -330,7 +330,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
function Ot() {
|
|
333
|
-
return
|
|
333
|
+
return D.value;
|
|
334
334
|
}
|
|
335
335
|
const Te = i(null), Se = i(null);
|
|
336
336
|
function Ft({ datapoint: t, seriesIndex: l }) {
|
|
@@ -339,7 +339,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
339
339
|
function It({ datapoint: t, seriesIndex: l }) {
|
|
340
340
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l }), Tt.value = null, ge.value = !1, Te.value = null;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Mt(t, l) {
|
|
343
343
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datpoint: t, seriesIndex: l }), Se.value = {
|
|
344
344
|
datapoint: t,
|
|
345
345
|
seriesIndex: l,
|
|
@@ -450,29 +450,29 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
450
450
|
}
|
|
451
451
|
const E = i(!1);
|
|
452
452
|
function ut(t) {
|
|
453
|
-
E.value = t,
|
|
453
|
+
E.value = t, De.value += 1;
|
|
454
454
|
}
|
|
455
455
|
function st() {
|
|
456
456
|
$.value.showTable = !$.value.showTable;
|
|
457
457
|
}
|
|
458
|
-
const
|
|
458
|
+
const Dt = i({
|
|
459
459
|
none: 0,
|
|
460
460
|
asc: 1,
|
|
461
461
|
desc: 2
|
|
462
|
-
}),
|
|
462
|
+
}), M = i(0), ie = i(!1);
|
|
463
463
|
ze(() => {
|
|
464
464
|
["none", "asc", "desc"].includes(e.value.style.chart.layout.bars.sort) || ue({
|
|
465
465
|
componentName: "VueUiVerticalBar",
|
|
466
466
|
type: "attributeWrongValue",
|
|
467
467
|
property: "style.chart.layout.bars.sort",
|
|
468
468
|
key: e.value.style.chart.layout.bars.sort
|
|
469
|
-
}),
|
|
469
|
+
}), M.value = Dt.value[e.value.style.chart.layout.bars.sort], $.value.sortDesc = M.value === 2, ie.value = M.value === 0;
|
|
470
470
|
});
|
|
471
471
|
function Bt() {
|
|
472
|
-
|
|
472
|
+
M.value += 1, M.value > 2 && (M.value = 0);
|
|
473
473
|
}
|
|
474
474
|
function rt() {
|
|
475
|
-
Bt(), $.value.sortDesc =
|
|
475
|
+
Bt(), $.value.sortDesc = M.value === 2, ie.value = M.value === 0, q();
|
|
476
476
|
}
|
|
477
477
|
function it() {
|
|
478
478
|
$.value.showTooltip = !$.value.showTooltip;
|
|
@@ -591,7 +591,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
591
591
|
e.value.userOptions.show && fe.value && (s(Ge) || s(we)) ? (u(), X(s(xt), {
|
|
592
592
|
ref_key: "userOptionsRef",
|
|
593
593
|
ref: ke,
|
|
594
|
-
key: `user_options_${
|
|
594
|
+
key: `user_options_${De.value}`,
|
|
595
595
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
596
596
|
color: e.value.style.chart.color,
|
|
597
597
|
isImaging: s(qe),
|
|
@@ -889,15 +889,15 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
889
889
|
width: N.value.width,
|
|
890
890
|
height: p.value + k.value <= 0 ? 1e-4 : p.value + k.value,
|
|
891
891
|
fill: Te.value === a.id ? s(Ie)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
892
|
-
onMouseenter: (g) =>
|
|
892
|
+
onMouseenter: (g) => Mt(a, o),
|
|
893
893
|
onMouseleave: (g) => It({ datapoint: a, seriesIndex: o }),
|
|
894
894
|
onClick: (g) => Ft({ datapoint: a, seriesIndex: o })
|
|
895
|
-
}, null, 40,
|
|
895
|
+
}, null, 40, Ma)
|
|
896
896
|
]))), 256)),
|
|
897
897
|
_(t.$slots, "svg", { svg: N.value }, void 0, !0)
|
|
898
898
|
], 512)
|
|
899
899
|
], 14, ka)),
|
|
900
|
-
t.$slots.watermark ? (u(), v("div",
|
|
900
|
+
t.$slots.watermark ? (u(), v("div", Da, [
|
|
901
901
|
_(t.$slots, "watermark", Q(Z({ isPrinting: s(je) || s(qe) })), void 0, !0)
|
|
902
902
|
])) : f("", !0),
|
|
903
903
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (u(), v("div", {
|
|
@@ -1002,7 +1002,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
1002
1002
|
onClick: Ne,
|
|
1003
1003
|
onKeypress: jt(Ne, ["enter"])
|
|
1004
1004
|
}, [
|
|
1005
|
-
J(s(
|
|
1005
|
+
J(s(Me), {
|
|
1006
1006
|
name: "close",
|
|
1007
1007
|
stroke: e.value.table.th.color,
|
|
1008
1008
|
"stroke-width": 2
|
|
@@ -1140,7 +1140,7 @@ const ba = ["id"], ma = ["onClick"], ka = ["xmlns", "viewBox"], xa = ["x", "widt
|
|
|
1140
1140
|
class: "vue-ui-user-options-button",
|
|
1141
1141
|
onClick: l[2] || (l[2] = (a) => Le(e.value.userOptions.callbacks.csv))
|
|
1142
1142
|
}, [
|
|
1143
|
-
J(s(
|
|
1143
|
+
J(s(Me), {
|
|
1144
1144
|
name: "excel",
|
|
1145
1145
|
stroke: ce.value.props.color
|
|
1146
1146
|
}, null, 8, ["stroke"])
|