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,16 +1,16 @@
|
|
|
1
|
-
import { defineAsyncComponent as _, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as _t, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as A, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as h, renderSlot as g, normalizeProps as R, guardReactiveProps as
|
|
2
|
-
import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as
|
|
1
|
+
import { defineAsyncComponent as _, computed as i, ref as r, toRefs as Ot, watch as E, shallowRef as Ve, onMounted as St, onBeforeUnmount as _t, createElementBlock as c, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as j, createBlock as A, createCommentVNode as p, createElementVNode as I, createVNode as ie, createSlots as Ue, withCtx as h, renderSlot as g, normalizeProps as R, guardReactiveProps as L, Fragment as Y, renderList as X, toDisplayString as z, Teleport as At, resolveDynamicComponent as It, mergeProps as Pt, createTextVNode as Ee, nextTick as Ye } from "vue";
|
|
2
|
+
import { c as Ft, t as Dt, b as Mt, p as Xe, e as Rt, o as Ge, f as ce, h as Lt, d as B, X as zt, a as ve, G as He, P as Bt, Q as Nt, H as Vt } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as Ut, u as Et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Yt, a as We } from "./useNestedProp-
|
|
4
|
+
import { u as Yt, a as We } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as Xt, B as Gt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as Ht } from "./usePrinter-
|
|
6
|
+
import { u as Ht } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as Wt } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import Zt from "./Legend-
|
|
10
|
+
import { u as Qt } from "./useAutoSizeLabelsInsideViewbox-BHq4FD8x.js";
|
|
11
|
+
import Jt from "./img-CFY3JivG.js";
|
|
12
|
+
import Kt from "./Title-CFmv95In.js";
|
|
13
|
+
import Zt from "./Legend-C8u37J42.js";
|
|
14
14
|
import { t as ea } from "./themes-Dw-dDudK.js";
|
|
15
15
|
import { _ as ta } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "height"], sa = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ua = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], ra = ["id"], ia = ["stdDeviation"], ca = ["filter"], va = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], da = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], ha = { key: 2 }, ga = ["onMouseenter", "onMouseleave", "onClick"], pa = ["x", "y", "font-size", "fill", "font-weight"], fa = {
|
|
@@ -33,8 +33,8 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
|
-
setup(je, { expose: qe, emit:
|
|
37
|
-
const
|
|
36
|
+
setup(je, { expose: qe, emit: Qe }) {
|
|
37
|
+
const Je = _(() => import("./Tooltip-Cs4v8OnI.js")), Ke = _(() => import("./BaseIcon-B5KaGWWC.js")), Ze = _(() => import("./vue-ui-accordion-BKkTS12x.js")), et = _(() => import("./DataTable-DOx3zgih.js")), tt = _(() => import("./UserOptions-C0YT60JN.js")), at = _(() => import("./PenAndPaper-Dj2diYr0.js")), lt = _(() => import("./PackageVersion-VpPtLYhK.js")), ot = _(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_onion: nt } = Yt(), C = je, de = i(() => !!C.dataset && C.dataset.length), y = r(Ft()), st = r(null), he = r(0), q = r(!1), Q = r(""), b = r([]), $ = r(null), ge = r(null), pe = r(null), fe = r(null), me = r(null), ye = r(0), be = r(0), ke = r(0), x = r(!1), we = r(!1), N = r(null), e = r(Z()), { loading: k, FINAL_DATASET: Ce, manualLoading: J } = Xt({
|
|
38
38
|
...Ot(C),
|
|
39
39
|
FINAL_CONFIG: e,
|
|
40
40
|
prepareConfig: Z,
|
|
@@ -70,7 +70,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
})
|
|
73
|
-
}), { userOptionsVisible:
|
|
73
|
+
}), { userOptionsVisible: K, setUserOptionsVisibility: $e, keepUserOptionState: xe } = jt({ config: e.value }), { svgRef: G } = qt({ config: e.value.style.chart.title });
|
|
74
74
|
function Z() {
|
|
75
75
|
const t = We({
|
|
76
76
|
userConfig: C.config,
|
|
@@ -85,7 +85,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
85
85
|
} : t;
|
|
86
86
|
}
|
|
87
87
|
E(() => C.config, (t) => {
|
|
88
|
-
k.value || (e.value = Z()),
|
|
88
|
+
k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Ie(), ye.value += 1, be.value += 1, ke.value += 1, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: Te, isImaging: Oe, generatePdf: Se, generateImage: _e } = Ht({
|
|
91
91
|
elementId: `vue-ui-onion_${y.value}`,
|
|
@@ -118,7 +118,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
118
118
|
const it = i({
|
|
119
119
|
get: () => e.value.style.chart.layout.labels.fontSize,
|
|
120
120
|
set: (t) => t
|
|
121
|
-
}), { autoSizeLabels: Ae } =
|
|
121
|
+
}), { autoSizeLabels: Ae } = Qt({
|
|
122
122
|
svgRef: G,
|
|
123
123
|
fontSize: e.value.style.chart.layout.labels.fontSize,
|
|
124
124
|
minFontSize: e.value.style.chart.layout.labels.minFontSize,
|
|
@@ -131,7 +131,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
131
131
|
componentName: "VueUiOnion",
|
|
132
132
|
type: "dataset",
|
|
133
133
|
debug: ct.value
|
|
134
|
-
}),
|
|
134
|
+
}), J.value = !0), Ge(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
|
|
135
135
|
const o = Ut(() => {
|
|
136
136
|
ee && clearTimeout(ee), x.value = !0;
|
|
137
137
|
let { width: a, height: l } = Et({
|
|
@@ -183,7 +183,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
183
183
|
...t,
|
|
184
184
|
percentage: t.percentage || 0,
|
|
185
185
|
targetPercentage: t.percentage || 0,
|
|
186
|
-
color:
|
|
186
|
+
color: Lt(t.color) || rt.value[o] || Xe[o],
|
|
187
187
|
id: a,
|
|
188
188
|
shape: "circle",
|
|
189
189
|
opacity: b.value.includes(a) ? 0.5 : 1,
|
|
@@ -200,7 +200,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
200
200
|
})}`
|
|
201
201
|
}))), V = r(m.value), vt = i(() => e.value.useStartAnimation), dt = r(null), ht = i(() => Math.max(...m.value.map((t) => t.percentage))), ae = r(!1);
|
|
202
202
|
E(() => m.value, Pe, { immediate: !0, deep: !0 }), E(() => C.dataset, (t) => {
|
|
203
|
-
Array.isArray(t) && t.length > 0 && (
|
|
203
|
+
Array.isArray(t) && t.length > 0 && (J.value = !1);
|
|
204
204
|
}, { deep: !0 });
|
|
205
205
|
function Pe() {
|
|
206
206
|
if (vt.value && !ae.value && !k.value) {
|
|
@@ -257,7 +257,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
257
257
|
`.trim()
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
|
-
const mt =
|
|
260
|
+
const mt = Qe;
|
|
261
261
|
function Fe(t) {
|
|
262
262
|
b.value.includes(t) ? b.value = b.value.filter((o) => o !== t) : b.value.push(t), mt("selectLegend", T.value);
|
|
263
263
|
}
|
|
@@ -308,7 +308,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
308
308
|
S.value = void 0, q.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
309
309
|
}
|
|
310
310
|
const ne = r(null);
|
|
311
|
-
function
|
|
311
|
+
function Le({ datapoint: t, seriesIndex: o, show: a = !0 }) {
|
|
312
312
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.absoluteIndex });
|
|
313
313
|
const l = t.absoluteIndex;
|
|
314
314
|
S.value = o, ne.value = {
|
|
@@ -325,7 +325,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
325
325
|
series: m.value,
|
|
326
326
|
config: e.value
|
|
327
327
|
})))
|
|
328
|
-
|
|
328
|
+
Q.value = w({
|
|
329
329
|
seriesIndex: l,
|
|
330
330
|
datapoint: t,
|
|
331
331
|
series: m.value,
|
|
@@ -343,10 +343,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
343
343
|
r: e.value.style.chart.tooltip.roundingValue
|
|
344
344
|
}),
|
|
345
345
|
{ datapoint: t, seriesIndex: o }
|
|
346
|
-
) : ""}${ue && re ? ")" : ""}</div>`,
|
|
346
|
+
) : ""}${ue && re ? ")" : ""}</div>`, Q.value = `<div>${v}</div>`;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function ze() {
|
|
350
350
|
f.value.showTable = !f.value.showTable;
|
|
351
351
|
}
|
|
352
352
|
function Be() {
|
|
@@ -358,7 +358,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
358
358
|
}
|
|
359
359
|
async function bt({ scale: t = 2 } = {}) {
|
|
360
360
|
if (!$.value) return;
|
|
361
|
-
const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: v, base64: w } = await
|
|
361
|
+
const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: v, base64: w } = await Jt({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
362
362
|
return {
|
|
363
363
|
imageUri: v,
|
|
364
364
|
base64: w,
|
|
@@ -425,7 +425,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
425
425
|
generateCsv: oe,
|
|
426
426
|
generateImage: _e,
|
|
427
427
|
generateSvg: Ne,
|
|
428
|
-
toggleTable:
|
|
428
|
+
toggleTable: ze,
|
|
429
429
|
toggleTooltip: Be,
|
|
430
430
|
toggleAnnotator: se,
|
|
431
431
|
toggleFullscreen: De
|
|
@@ -459,7 +459,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
459
459
|
ref: ge,
|
|
460
460
|
style: "width:100%;background:transparent"
|
|
461
461
|
}, [
|
|
462
|
-
(u(), A(
|
|
462
|
+
(u(), A(Kt, {
|
|
463
463
|
key: `title_${ye.value}`,
|
|
464
464
|
config: {
|
|
465
465
|
title: {
|
|
@@ -476,7 +476,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
476
476
|
I("div", {
|
|
477
477
|
id: `legend-top-${y.value}`
|
|
478
478
|
}, null, 8, la),
|
|
479
|
-
e.value.userOptions.show && de.value && (s(xe) || s(
|
|
479
|
+
e.value.userOptions.show && de.value && (s(xe) || s(K)) ? (u(), A(s(tt), {
|
|
480
480
|
ref_key: "details",
|
|
481
481
|
ref: st,
|
|
482
482
|
key: `user_options${he.value}`,
|
|
@@ -507,17 +507,17 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
507
507
|
onGenerateCsv: oe,
|
|
508
508
|
onGenerateImage: s(_e),
|
|
509
509
|
onGenerateSvg: Ne,
|
|
510
|
-
onToggleTable:
|
|
510
|
+
onToggleTable: ze,
|
|
511
511
|
onToggleTooltip: Be,
|
|
512
512
|
onToggleAnnotator: se,
|
|
513
513
|
style: D({
|
|
514
|
-
visibility: s(xe) ? s(
|
|
514
|
+
visibility: s(xe) ? s(K) ? "visible" : "hidden" : "visible"
|
|
515
515
|
})
|
|
516
516
|
}, Ue({ _: 2 }, [
|
|
517
517
|
t.$slots.menuIcon ? {
|
|
518
518
|
name: "menuIcon",
|
|
519
519
|
fn: h(({ isOpen: a, color: l }) => [
|
|
520
|
-
g(t.$slots, "menuIcon", R(
|
|
520
|
+
g(t.$slots, "menuIcon", R(L({ isOpen: a, color: l })), void 0, !0)
|
|
521
521
|
]),
|
|
522
522
|
key: "0"
|
|
523
523
|
} : void 0,
|
|
@@ -559,14 +559,14 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
559
559
|
t.$slots.optionFullscreen ? {
|
|
560
560
|
name: "optionFullscreen",
|
|
561
561
|
fn: h(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
562
|
-
g(t.$slots, "optionFullscreen", R(
|
|
562
|
+
g(t.$slots, "optionFullscreen", R(L({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
563
563
|
]),
|
|
564
564
|
key: "6"
|
|
565
565
|
} : void 0,
|
|
566
566
|
t.$slots.optionAnnotator ? {
|
|
567
567
|
name: "optionAnnotator",
|
|
568
568
|
fn: h(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
569
|
-
g(t.$slots, "optionAnnotator", R(
|
|
569
|
+
g(t.$slots, "optionAnnotator", R(L({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
570
570
|
]),
|
|
571
571
|
key: "7"
|
|
572
572
|
} : void 0
|
|
@@ -574,7 +574,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
574
574
|
(u(), c("svg", {
|
|
575
575
|
ref_key: "svgRef",
|
|
576
576
|
ref: G,
|
|
577
|
-
xmlns: s(
|
|
577
|
+
xmlns: s(zt),
|
|
578
578
|
class: j({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: x.value }),
|
|
579
579
|
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
580
580
|
style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -679,7 +679,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
679
679
|
transform: "rotate(-90deg)",
|
|
680
680
|
transformOrigin: "50% 50%"
|
|
681
681
|
},
|
|
682
|
-
onMouseenter: (v) =>
|
|
682
|
+
onMouseenter: (v) => Le({
|
|
683
683
|
datapoint: a,
|
|
684
684
|
show: !0,
|
|
685
685
|
seriesIndex: l
|
|
@@ -689,7 +689,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
689
689
|
}, null, 40, da))), 256)),
|
|
690
690
|
e.value.style.chart.layout.labels.show ? (u(), c("g", ha, [
|
|
691
691
|
(u(!0), c(Y, null, X(T.value, (a, l) => (u(), c("g", {
|
|
692
|
-
onMouseenter: (v) =>
|
|
692
|
+
onMouseenter: (v) => Le({
|
|
693
693
|
datapoint: a,
|
|
694
694
|
show: !0,
|
|
695
695
|
seriesIndex: l
|
|
@@ -706,11 +706,11 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
706
706
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
707
707
|
fill: e.value.useBlurOnHover && ![null, void 0].includes(S.value) && S.value === l ? a.color : e.value.style.chart.layout.labels.color,
|
|
708
708
|
"font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
709
|
-
},
|
|
709
|
+
}, z(a.name ? a.name + ": " : "") + " " + z(e.value.style.chart.layout.labels.percentage.show ? s(B)({
|
|
710
710
|
v: a.percentage,
|
|
711
711
|
s: "%",
|
|
712
712
|
r: e.value.style.chart.layout.labels.roundingPercentage
|
|
713
|
-
}) : "") + " " +
|
|
713
|
+
}) : "") + " " + z(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${s(ve)(
|
|
714
714
|
e.value.style.chart.layout.labels.value.formatter,
|
|
715
715
|
a.value,
|
|
716
716
|
s(B)({
|
|
@@ -736,7 +736,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
736
736
|
g(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
737
737
|
], 14, oa)),
|
|
738
738
|
t.$slots.watermark ? (u(), c("div", fa, [
|
|
739
|
-
g(t.$slots, "watermark", R(
|
|
739
|
+
g(t.$slots, "watermark", R(L({ isPrinting: s(Te) || s(Oe) })), void 0, !0)
|
|
740
740
|
])) : p("", !0),
|
|
741
741
|
I("div", {
|
|
742
742
|
id: `legend-bottom-${y.value}`
|
|
@@ -761,7 +761,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
761
761
|
"data-cy-legend-item": "",
|
|
762
762
|
onClick: (l) => a.segregate(),
|
|
763
763
|
style: D(`opacity:${b.value.includes(a.id) ? 0.5 : 1}`)
|
|
764
|
-
},
|
|
764
|
+
}, z(a.display), 13, ya))
|
|
765
765
|
]),
|
|
766
766
|
_: 1
|
|
767
767
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -778,7 +778,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
778
778
|
}, [
|
|
779
779
|
g(t.$slots, "source", {}, void 0, !0)
|
|
780
780
|
], 512)) : p("", !0),
|
|
781
|
-
ie(s(
|
|
781
|
+
ie(s(Je), {
|
|
782
782
|
show: f.value.showTooltip && q.value,
|
|
783
783
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
784
784
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -790,7 +790,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
790
790
|
position: e.value.style.chart.tooltip.position,
|
|
791
791
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
792
792
|
parent: $.value,
|
|
793
|
-
content:
|
|
793
|
+
content: Q.value,
|
|
794
794
|
isFullscreen: F.value,
|
|
795
795
|
isCustom: s(He)(e.value.style.chart.tooltip.customFormat),
|
|
796
796
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
@@ -799,10 +799,10 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
799
799
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
800
800
|
}, {
|
|
801
801
|
"tooltip-before": h(() => [
|
|
802
|
-
g(t.$slots, "tooltip-before", R(
|
|
802
|
+
g(t.$slots, "tooltip-before", R(L({ ...ne.value })), void 0, !0)
|
|
803
803
|
]),
|
|
804
804
|
"tooltip-after": h(() => [
|
|
805
|
-
g(t.$slots, "tooltip-after", R(
|
|
805
|
+
g(t.$slots, "tooltip-after", R(L({ ...ne.value })), void 0, !0)
|
|
806
806
|
]),
|
|
807
807
|
_: 3
|
|
808
808
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -823,7 +823,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
823
823
|
onClose: o[2] || (o[2] = (a) => f.value.showTable = !1)
|
|
824
824
|
}, {
|
|
825
825
|
th: h(({ th: a }) => [
|
|
826
|
-
Ee(
|
|
826
|
+
Ee(z(a), 1)
|
|
827
827
|
]),
|
|
828
828
|
td: h(({ td: a }) => [
|
|
829
829
|
I("div", { innerHTML: a }, null, 8, ba)
|
|
@@ -836,7 +836,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
836
836
|
e.value.table.useDialog ? {
|
|
837
837
|
name: "title",
|
|
838
838
|
fn: h(() => [
|
|
839
|
-
Ee(
|
|
839
|
+
Ee(z(U.value.title), 1)
|
|
840
840
|
]),
|
|
841
841
|
key: "0"
|
|
842
842
|
} : void 0,
|
|
@@ -848,7 +848,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
848
848
|
class: "vue-ui-user-options-button",
|
|
849
849
|
onClick: o[1] || (o[1] = (a) => oe(e.value.userOptions.callbacks.csv))
|
|
850
850
|
}, [
|
|
851
|
-
ie(s(
|
|
851
|
+
ie(s(Ke), {
|
|
852
852
|
name: "excel",
|
|
853
853
|
stroke: U.value.props.color
|
|
854
854
|
}, null, 8, ["stroke"])
|
|
@@ -860,7 +860,7 @@ const aa = ["id"], la = ["id"], oa = ["xmlns", "viewBox"], na = ["width", "heigh
|
|
|
860
860
|
s(k) ? (u(), A(Gt, { key: 8 })) : p("", !0)
|
|
861
861
|
], 46, aa));
|
|
862
862
|
}
|
|
863
|
-
},
|
|
863
|
+
}, La = /* @__PURE__ */ ta(ka, [["__scopeId", "data-v-75c2d02d"]]);
|
|
864
864
|
export {
|
|
865
|
-
|
|
865
|
+
La as default
|
|
866
866
|
};
|