vue-data-ui 3.9.12 → 3.9.13
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-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.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-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-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-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
- package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
- package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as wl } from "./
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as $l } from "./
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
|
|
1
|
+
import { defineAsyncComponent as L, useSlots as Jt, computed as v, ref as i, toRefs as Kt, watch as J, shallowRef as lt, onMounted as Qt, onBeforeUnmount as Zt, createElementBlock as c, openBlock as r, unref as d, normalizeStyle as ae, normalizeClass as at, createBlock as E, createCommentVNode as C, createElementVNode as k, createVNode as oe, withCtx as f, renderSlot as h, normalizeProps as x, guardReactiveProps as $, createSlots as Ae, Fragment as T, renderList as z, mergeProps as xe, toDisplayString as ne, Teleport as el, resolveDynamicComponent as tl, createTextVNode as ot, nextTick as ll } from "vue";
|
|
2
|
+
import { c as al, t as ol, i as nl, j as R, o as nt, g as $e, l as ul, k as rl, a as K, d as D, X as sl, s as il, h as cl, x as vl, m as dl, v as fl, r as hl, G as pl, y as gl, _ as yl } from "./lib-BwysEpWI.js";
|
|
3
|
+
import { b as bl } from "./labelUtils-PMU3ZGCb.js";
|
|
4
|
+
import { t as ml, u as Cl } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as kl, a as Te } from "./useNestedProp--5lL-kf1.js";
|
|
6
|
+
import { u as wl, B as Al } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as xl } from "./usePrinter-BJzHDpYF.js";
|
|
8
|
+
import { u as $l } from "./useSvgExport-ByUukOZt.js";
|
|
9
|
+
import { u as Tl } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
|
+
import { u as Fl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as Il } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import Sl from "./img-DKigoPDs.js";
|
|
13
|
+
import { _ as _l } from "./Shape-DAHhCEdg.js";
|
|
14
|
+
import Bl from "./Title-BhURirpm.js";
|
|
15
|
+
import Ol from "./Legend-D6z73edh.js";
|
|
16
|
+
import { _ as Dl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { rect: { rounded: !1, stroke: "#1A1A1A" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, rt = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { rect: { rounded: !1, stroke: "#FFF8E1", useGradient: !1 } }, legend: { color: "#424242", backgroundColor: "#FFF8E1" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, st = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { rect: { rounded: !1, stroke: "#1E1E1E", useGradient: !1 } }, legend: { color: "#BDBDBD", backgroundColor: "#1E1E1E" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, it = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { rect: { rounded: !1, stroke: "#66CC66", useGradient: !1 } }, legend: { color: "#99AA99", backgroundColor: "#1A1A1A" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, ct = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { rect: { rounding: 4, stroke: "#fbfafa" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, vt = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { rect: { rounded: !1, stroke: "#404C5A", useGradient: !1 } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, dt = {
|
|
17
18
|
default: {},
|
|
18
19
|
dark: ut,
|
|
19
20
|
celebration: rt,
|
|
20
|
-
celebrationNight:
|
|
21
|
-
hack:
|
|
22
|
-
zen:
|
|
23
|
-
concrete:
|
|
24
|
-
},
|
|
21
|
+
celebrationNight: st,
|
|
22
|
+
hack: it,
|
|
23
|
+
zen: ct,
|
|
24
|
+
concrete: vt
|
|
25
|
+
}, ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
25
26
|
__proto__: null,
|
|
26
27
|
celebration: rt,
|
|
27
|
-
celebrationNight:
|
|
28
|
-
concrete:
|
|
28
|
+
celebrationNight: st,
|
|
29
|
+
concrete: vt,
|
|
29
30
|
dark: ut,
|
|
30
|
-
default:
|
|
31
|
-
hack:
|
|
32
|
-
zen:
|
|
33
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
31
|
+
default: dt,
|
|
32
|
+
hack: it,
|
|
33
|
+
zen: ct
|
|
34
|
+
}, Symbol.toStringTag, { value: "Module" })), Pl = ["id"], Ll = ["id"], El = ["xmlns", "viewBox"], zl = ["id"], Nl = ["stop-color"], Vl = ["stop-color"], Ml = ["id"], Rl = ["x", "y", "height", "width"], Ul = ["height", "width"], Gl = { key: 0 }, Wl = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], jl = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], ql = { key: 1 }, Hl = ["rx", "x", "y", "height", "width", "fill", "filter"], Xl = ["textContent", "x", "y", "font-size", "fill", "filter"], Yl = ["x", "y", "height", "width", "onMouseover", "onMouseleave", "onClick"], Jl = {
|
|
34
35
|
key: 4,
|
|
35
36
|
class: "vue-data-ui-watermark"
|
|
36
|
-
},
|
|
37
|
+
}, Kl = ["id"], Ql = ["onClick"], Zl = ["innerHTML"], ea = {
|
|
37
38
|
__name: "vue-ui-waffle",
|
|
38
39
|
props: {
|
|
39
40
|
config: {
|
|
@@ -50,14 +51,14 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
emits: ["selectLegend"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
55
|
-
...
|
|
54
|
+
setup(ft, { expose: ht, emit: pt }) {
|
|
55
|
+
const gt = L(() => import("./Tooltip-TDyKgLB6.js")), yt = L(() => import("./BaseIcon-4i3dd7Ty.js")), bt = L(() => import("./DataTable-WrXCJkfE.js")), mt = L(() => import("./vue-ui-accordion-tQNKwbVi.js")), Ct = L(() => import("./UserOptions-CzJWRC4s.js")), kt = L(() => import("./PenAndPaper-DxIUvoQ8.js")), wt = L(() => import("./PackageVersion-D3cMhAlf.js")), At = L(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_waffle: xt } = kl(), { isThemeValid: $t, warnInvalidTheme: Tt } = Tl(), m = ft, Ft = Jt(), ue = v(() => !!m.dataset && m.dataset.length), b = i(al()), re = i(!1), se = i(""), U = i(null), Fe = i(0), F = i(null), Ie = i(null), Se = i(null), _e = i(null), Be = i(null), Oe = i(0), De = i(0), Pe = i(0), Le = i(!1), j = i(null), ie = i(null), e = i(fe()), { loading: Ee, FINAL_DATASET: Q, manualLoading: ce } = wl({
|
|
56
|
+
...Kt(m),
|
|
56
57
|
FINAL_CONFIG: e,
|
|
57
|
-
prepareConfig:
|
|
58
|
+
prepareConfig: fe,
|
|
58
59
|
callback: () => {
|
|
59
60
|
Promise.resolve().then(async () => {
|
|
60
|
-
|
|
61
|
+
p.value = he();
|
|
61
62
|
});
|
|
62
63
|
},
|
|
63
64
|
skeletonDataset: [
|
|
@@ -77,7 +78,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
77
78
|
color: "#CACACA"
|
|
78
79
|
}
|
|
79
80
|
],
|
|
80
|
-
skeletonConfig:
|
|
81
|
+
skeletonConfig: ol({
|
|
81
82
|
defaultConfig: e.value,
|
|
82
83
|
userConfig: {
|
|
83
84
|
useCustomCells: !1,
|
|
@@ -103,37 +104,37 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
})
|
|
106
|
-
}), { userOptionsVisible: ve, setUserOptionsVisibility:
|
|
107
|
-
function
|
|
108
|
-
const t =
|
|
107
|
+
}), { userOptionsVisible: ve, setUserOptionsVisibility: ze, keepUserOptionState: Ne } = Fl({ config: e.value }), { svgRef: de } = Il({ config: e.value.style.chart.title });
|
|
108
|
+
function fe() {
|
|
109
|
+
const t = Te({
|
|
109
110
|
userConfig: m.config,
|
|
110
|
-
defaultConfig:
|
|
111
|
+
defaultConfig: xt
|
|
111
112
|
}), l = t.theme;
|
|
112
113
|
if (!l) return t;
|
|
113
114
|
if (!$t.value(t))
|
|
114
|
-
return
|
|
115
|
-
const a =
|
|
116
|
-
userConfig:
|
|
115
|
+
return Tt(t), t;
|
|
116
|
+
const a = Te({
|
|
117
|
+
userConfig: dt[l] || m.config,
|
|
117
118
|
defaultConfig: t
|
|
118
|
-
}), o =
|
|
119
|
+
}), o = Te({
|
|
119
120
|
userConfig: m.config,
|
|
120
121
|
defaultConfig: a
|
|
121
122
|
});
|
|
122
123
|
return {
|
|
123
124
|
...o,
|
|
124
|
-
customPalette: o.customPalette.length ? o.customPalette :
|
|
125
|
+
customPalette: o.customPalette.length ? o.customPalette : nl[l] || R
|
|
125
126
|
};
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
-
Ee.value || (e.value =
|
|
128
|
+
J(() => m.config, (t) => {
|
|
129
|
+
Ee.value || (e.value = fe()), ve.value = !e.value.userOptions.showOnChartHover, Me(), Oe.value += 1, De.value += 1, Pe.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
129
130
|
}, { deep: !0 });
|
|
130
|
-
const P =
|
|
131
|
-
function
|
|
132
|
-
if (
|
|
131
|
+
const P = lt(null), G = lt(null), Ve = v(() => !!e.value.debug);
|
|
132
|
+
function Me() {
|
|
133
|
+
if (nt(m.dataset) ? ($e({
|
|
133
134
|
componentName: "VueUiWaffle",
|
|
134
135
|
type: "dataset",
|
|
135
136
|
debug: Ve.value
|
|
136
|
-
}),
|
|
137
|
+
}), ue.value = !1, ce.value = !0) : m.dataset.forEach((t, l) => {
|
|
137
138
|
ul({
|
|
138
139
|
datasetObject: t,
|
|
139
140
|
requiredAttributes: ["name", "values"]
|
|
@@ -146,42 +147,42 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
146
147
|
debug: Ve.value
|
|
147
148
|
});
|
|
148
149
|
});
|
|
149
|
-
}),
|
|
150
|
-
const t =
|
|
151
|
-
const { width: l, height: a } =
|
|
150
|
+
}), nt(m.dataset) || (ce.value = e.value.loading), e.value.responsive) {
|
|
151
|
+
const t = ml(() => {
|
|
152
|
+
const { width: l, height: a } = Cl({
|
|
152
153
|
chart: F.value,
|
|
153
|
-
title: e.value.style.chart.title.text ?
|
|
154
|
-
legend: e.value.style.chart.legend.show ?
|
|
155
|
-
source:
|
|
156
|
-
noTitle:
|
|
154
|
+
title: e.value.style.chart.title.text ? Ie.value : null,
|
|
155
|
+
legend: e.value.style.chart.legend.show ? Se.value : null,
|
|
156
|
+
source: _e.value,
|
|
157
|
+
noTitle: Be.value
|
|
157
158
|
});
|
|
158
159
|
requestAnimationFrame(() => {
|
|
159
|
-
|
|
160
|
+
N.value.width = l, N.value.height = a, I.value.width = l, I.value.height = a;
|
|
160
161
|
});
|
|
161
162
|
});
|
|
162
163
|
P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect()), P.value = new ResizeObserver(t), G.value = F.value.parentNode, P.value.observe(G.value);
|
|
163
164
|
}
|
|
164
165
|
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
}),
|
|
166
|
+
Qt(() => {
|
|
167
|
+
Le.value = !0, Me();
|
|
168
|
+
}), Zt(() => {
|
|
168
169
|
P.value && (G.value && P.value.unobserve(G.value), P.value.disconnect());
|
|
169
170
|
});
|
|
170
|
-
const { isPrinting:
|
|
171
|
+
const { isPrinting: Re, isImaging: Ue, generatePdf: Ge, generateImage: We } = xl({
|
|
171
172
|
elementId: `vue-ui-waffle_${b.value}`,
|
|
172
173
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle",
|
|
173
174
|
options: e.value.userOptions.print
|
|
174
|
-
}),
|
|
175
|
+
}), It = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = v(() => rl(e.value.customPalette)), w = i({
|
|
175
176
|
showTable: e.value.table.show,
|
|
176
177
|
showTooltip: e.value.style.chart.tooltip.show
|
|
177
178
|
});
|
|
178
|
-
|
|
179
|
+
J(e, () => {
|
|
179
180
|
w.value = {
|
|
180
181
|
showTable: e.value.table.show,
|
|
181
182
|
showTooltip: e.value.style.chart.tooltip.show
|
|
182
183
|
};
|
|
183
184
|
}, { immediate: !0 });
|
|
184
|
-
const
|
|
185
|
+
const N = i({
|
|
185
186
|
height: 512,
|
|
186
187
|
width: 512
|
|
187
188
|
}), I = i({
|
|
@@ -189,62 +190,62 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
189
190
|
left: 0,
|
|
190
191
|
height: 512,
|
|
191
192
|
width: 512
|
|
192
|
-
}), S = v(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size),
|
|
193
|
-
function
|
|
194
|
-
const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A,
|
|
195
|
-
let
|
|
196
|
-
for (;
|
|
197
|
-
let A =
|
|
198
|
-
|
|
193
|
+
}), S = v(() => (I.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), _ = v(() => (I.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), St = v(() => Math.max(1e-4, I.value.width / e.value.style.chart.layout.grid.size)), qe = v(() => Math.max(1e-4, I.value.height / e.value.style.chart.layout.grid.size));
|
|
194
|
+
function He(t) {
|
|
195
|
+
const l = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((A, we) => A + we, 0), o = t.map((A) => A / a * l), n = o.map(Math.floor), u = o.map((A) => A % 1);
|
|
196
|
+
let g = l - n.reduce((A, we) => A + we, 0);
|
|
197
|
+
for (; g > 0; ) {
|
|
198
|
+
let A = u.indexOf(Math.max(...u));
|
|
199
|
+
n[A] += 1, u[A] = 0, g -= 1;
|
|
199
200
|
}
|
|
200
|
-
return
|
|
201
|
+
return n;
|
|
201
202
|
}
|
|
202
203
|
const q = i(!1);
|
|
203
|
-
function
|
|
204
|
-
return q.value =
|
|
204
|
+
function he() {
|
|
205
|
+
return q.value = Q.value.flatMap((t) => t.values.reduce((l, a) => l + a, 0)).reduce((t, l) => t + l, 0) === 0, Q.value.map((t, l) => ({
|
|
205
206
|
...t,
|
|
206
|
-
color:
|
|
207
|
+
color: dl(t.color) || je.value[l] || R[l] || R[l % R.length],
|
|
207
208
|
uid: `serie_${l}`,
|
|
208
209
|
absoluteIndex: l
|
|
209
210
|
}));
|
|
210
211
|
}
|
|
211
|
-
const pe = v(() =>
|
|
212
|
-
|
|
212
|
+
const pe = v(() => he()), p = i(pe.value);
|
|
213
|
+
J(() => m.dataset, (t) => {
|
|
213
214
|
Array.isArray(t) && t.length > 0 && (ce.value = !1);
|
|
214
|
-
}, { immediate: !0 }),
|
|
215
|
-
|
|
215
|
+
}, { immediate: !0 }), J(() => m.dataset, (t) => {
|
|
216
|
+
p.value = he();
|
|
216
217
|
}, { deep: !0 });
|
|
217
|
-
const
|
|
218
|
-
const t =
|
|
219
|
-
return
|
|
220
|
-
}),
|
|
221
|
-
const t =
|
|
222
|
-
return
|
|
223
|
-
}), H = v(() => (
|
|
218
|
+
const _t = v(() => {
|
|
219
|
+
const t = p.value.filter((l, a) => !y.value.includes(l.uid)).map((l, a) => q.value ? 1 : (l.values || []).reduce((o, n) => o + n, 0));
|
|
220
|
+
return He(t);
|
|
221
|
+
}), Bt = v(() => {
|
|
222
|
+
const t = p.value.map((l, a) => q.value ? 1 : (l.values || []).reduce((o, n) => o + n));
|
|
223
|
+
return He(t);
|
|
224
|
+
}), H = v(() => (Q.value.forEach((t, l) => {
|
|
224
225
|
[null, void 0].includes(t.values) && $e({
|
|
225
226
|
componentName: "VueUiWaffle",
|
|
226
227
|
type: "datasetSerieAttribute",
|
|
227
228
|
property: "values (number[])",
|
|
228
229
|
index: l
|
|
229
230
|
});
|
|
230
|
-
}),
|
|
231
|
+
}), p.value.filter((t, l) => !y.value.includes(t.uid)).map((t, l) => ({
|
|
231
232
|
absoluteIndex: t.absoluteIndex,
|
|
232
233
|
uid: t.uid,
|
|
233
234
|
name: t.name,
|
|
234
235
|
color: t.color,
|
|
235
236
|
value: (t.values || []).reduce((a, o) => a + o, 0),
|
|
236
237
|
absoluteValues: t.values || [],
|
|
237
|
-
proportion:
|
|
238
|
-
})))), ge = v(() =>
|
|
238
|
+
proportion: _t.value[l]
|
|
239
|
+
})))), ge = v(() => p.value.map((t, l) => ({
|
|
239
240
|
absoluteIndex: t.absoluteIndex,
|
|
240
241
|
uid: t.uid,
|
|
241
242
|
name: t.name,
|
|
242
243
|
color: t.color,
|
|
243
244
|
value: (t.values || []).reduce((a, o) => a + o, 0),
|
|
244
245
|
absoluteValues: t.values || [],
|
|
245
|
-
proportion:
|
|
246
|
+
proportion: Bt.value[l]
|
|
246
247
|
})));
|
|
247
|
-
function
|
|
248
|
+
function Ot() {
|
|
248
249
|
return ge.value.map((t) => ({
|
|
249
250
|
name: t.name,
|
|
250
251
|
color: t.color,
|
|
@@ -252,19 +253,19 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
252
253
|
proportion: t.proportion
|
|
253
254
|
}));
|
|
254
255
|
}
|
|
255
|
-
const
|
|
256
|
+
const Dt = v(() => {
|
|
256
257
|
let t = 0;
|
|
257
258
|
return H.value.map((l, a) => {
|
|
258
|
-
const o = t,
|
|
259
|
-
for (let
|
|
260
|
-
|
|
261
|
-
return t =
|
|
259
|
+
const o = t, n = o + l.proportion, u = [];
|
|
260
|
+
for (let g = Math.floor(o); g < Math.floor(n); g += 1)
|
|
261
|
+
u.push(g);
|
|
262
|
+
return t = n, {
|
|
262
263
|
...l,
|
|
263
264
|
start: o,
|
|
264
|
-
rects:
|
|
265
|
+
rects: u
|
|
265
266
|
};
|
|
266
267
|
});
|
|
267
|
-
}), s = v(() =>
|
|
268
|
+
}), s = v(() => Dt.value.flatMap((t, l) => t.rects.map((a, o) => ({
|
|
268
269
|
isFirst: o === 0,
|
|
269
270
|
isLongEnough: a.length > 2,
|
|
270
271
|
name: t.name,
|
|
@@ -288,150 +289,174 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
288
289
|
y: (e.value.style.chart.layout.grid.vertical ? a : l) * (_.value + e.value.style.chart.layout.grid.spaceBetween) + I.value.top
|
|
289
290
|
});
|
|
290
291
|
return t;
|
|
291
|
-
}), y = i([]), X = i(!1),
|
|
292
|
-
function
|
|
292
|
+
}), y = i([]), X = i(!1), Xe = i(null), Ye = i(null);
|
|
293
|
+
function Z(t) {
|
|
293
294
|
if (q.value) return;
|
|
294
295
|
if (!e.value.useAnimation) {
|
|
295
|
-
y.value.includes(t) ? y.value = y.value.filter((
|
|
296
|
+
y.value.includes(t) ? y.value = y.value.filter((n) => n !== t) : y.value.length < V.value.length - 1 && V.value.length > 1 && y.value.push(t);
|
|
296
297
|
return;
|
|
297
298
|
}
|
|
298
|
-
const l = pe.value.find((
|
|
299
|
+
const l = pe.value.find((n) => n.uid === t).values.reduce((n, u) => n + u, 0), a = p.value.find((n) => n.uid === t).values.reduce((n, u) => n + u, 0);
|
|
299
300
|
let o = a;
|
|
300
301
|
if (!(a === 0 && l === 0)) {
|
|
301
302
|
if (y.value.includes(t)) {
|
|
302
|
-
let
|
|
303
|
-
o >
|
|
304
|
-
...
|
|
305
|
-
values: [
|
|
306
|
-
} :
|
|
307
|
-
...
|
|
303
|
+
let u = function() {
|
|
304
|
+
o > n ? (cancelAnimationFrame(Xe.value), p.value = p.value.map((g, A) => g.uid === t ? {
|
|
305
|
+
...g,
|
|
306
|
+
values: [n]
|
|
307
|
+
} : g), X.value = !1) : (X.value = !0, o += n * 0.025, p.value = p.value.map((g, A) => g.uid === t ? {
|
|
308
|
+
...g,
|
|
308
309
|
values: [o]
|
|
309
|
-
} :
|
|
310
|
+
} : g), Xe.value = requestAnimationFrame(u));
|
|
310
311
|
};
|
|
311
|
-
y.value = y.value.filter((
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
} else if (y.value.length <
|
|
315
|
-
let
|
|
316
|
-
o < a / 100 ? (cancelAnimationFrame(
|
|
317
|
-
...
|
|
312
|
+
y.value = y.value.filter((g) => g !== t);
|
|
313
|
+
const n = l;
|
|
314
|
+
u();
|
|
315
|
+
} else if (y.value.length < V.value.length - 1 && V.value.length > 1) {
|
|
316
|
+
let n = function() {
|
|
317
|
+
o < a / 100 ? (cancelAnimationFrame(Ye.value), y.value.push(t), p.value = p.value.map((u, g) => u.uid === t ? {
|
|
318
|
+
...u,
|
|
318
319
|
values: [0]
|
|
319
|
-
} :
|
|
320
|
-
...
|
|
320
|
+
} : u), X.value = !1) : (X.value = !0, o /= 1.15, p.value = p.value.map((u) => u.uid === t ? {
|
|
321
|
+
...u,
|
|
321
322
|
values: [o]
|
|
322
|
-
} :
|
|
323
|
+
} : u), Ye.value = requestAnimationFrame(n));
|
|
323
324
|
};
|
|
324
|
-
|
|
325
|
+
n();
|
|
325
326
|
}
|
|
326
|
-
|
|
327
|
-
name:
|
|
328
|
-
color:
|
|
329
|
-
value:
|
|
330
|
-
proportion:
|
|
327
|
+
Mt("selectLegend", H.value.map((n) => ({
|
|
328
|
+
name: n.name,
|
|
329
|
+
color: n.color,
|
|
330
|
+
value: n.value,
|
|
331
|
+
proportion: n.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
|
|
331
332
|
})));
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
|
-
function
|
|
335
|
+
function Je(t) {
|
|
335
336
|
if (!ge.value.length)
|
|
336
337
|
return e.value.debug && console.warn("VueUiWaffle - There are no series to show."), null;
|
|
337
338
|
const l = ge.value.find((a) => a.name === t);
|
|
338
339
|
return l || (e.value.debug && console.warn(`VueUiWaffle - Series name not found "${t}"`), null);
|
|
339
340
|
}
|
|
340
|
-
function Dt(t) {
|
|
341
|
-
const l = Ye(t);
|
|
342
|
-
l !== null && y.value.includes(l.uid) && Q(l.uid);
|
|
343
|
-
}
|
|
344
341
|
function Pt(t) {
|
|
345
|
-
const l =
|
|
346
|
-
l !== null &&
|
|
342
|
+
const l = Je(t);
|
|
343
|
+
l !== null && y.value.includes(l.uid) && Z(l.uid);
|
|
347
344
|
}
|
|
348
|
-
|
|
349
|
-
const
|
|
345
|
+
function Lt(t) {
|
|
346
|
+
const l = Je(t);
|
|
347
|
+
l !== null && (y.value.includes(l.uid) || Z(l.uid));
|
|
348
|
+
}
|
|
349
|
+
function ye({
|
|
350
|
+
val: t,
|
|
351
|
+
percentage: l,
|
|
352
|
+
showVal: a,
|
|
353
|
+
showPercentage: o
|
|
354
|
+
}) {
|
|
355
|
+
const n = e.value.style.chart.layout.labels.dataLabels;
|
|
356
|
+
return bl({
|
|
357
|
+
config: n,
|
|
358
|
+
val: t,
|
|
359
|
+
percentage: l,
|
|
360
|
+
showVal: a,
|
|
361
|
+
showPercentage: o
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
const V = v(() => p.value.map((t, l) => {
|
|
365
|
+
const a = (t.values || []).reduce((n, u) => n + u, 0), o = a / p.value.map((n) => (n.values || []).reduce((u, g) => u + g, 0)).reduce((n, u) => n + u, 0);
|
|
350
366
|
return {
|
|
351
367
|
name: t.name,
|
|
352
|
-
color: t.color ||
|
|
368
|
+
color: t.color || je[l] || R[l] || R[l % R.length],
|
|
353
369
|
value: a,
|
|
354
370
|
proportion: o,
|
|
355
371
|
uid: t.uid,
|
|
356
372
|
shape: "square"
|
|
357
373
|
};
|
|
358
|
-
}).map((t, l) =>
|
|
359
|
-
|
|
360
|
-
opacity: y.value.includes(t.uid) ? 0.5 : 1,
|
|
361
|
-
segregate: () => Q(t.uid),
|
|
362
|
-
isSegregated: y.value.includes(t.uid),
|
|
363
|
-
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? J(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
|
|
374
|
+
}).map((t, l) => {
|
|
375
|
+
const a = K(e.value.style.chart.layout.labels.dataLabels.formatter, t.value, D({
|
|
364
376
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
365
377
|
v: t.value,
|
|
366
378
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
367
379
|
r: e.value.style.chart.legend.roundingValue
|
|
368
|
-
}), { datapoint: t, index: l })
|
|
369
|
-
|
|
380
|
+
}), { datapoint: t, index: l }), o = isNaN(t.value / B.value) ? "-" : D({ v: t.value / B.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage }), n = ye({
|
|
381
|
+
val: a,
|
|
382
|
+
percentage: o,
|
|
383
|
+
showVal: e.value.style.chart.legend.showValue,
|
|
384
|
+
showPercentage: e.value.style.chart.legend.showPercentage
|
|
385
|
+
});
|
|
386
|
+
return console.log({ display: n, percentageDisplay: o }), {
|
|
387
|
+
...t,
|
|
388
|
+
opacity: y.value.includes(t.uid) ? 0.5 : 1,
|
|
389
|
+
segregate: () => Z(t.uid),
|
|
390
|
+
isSegregated: y.value.includes(t.uid),
|
|
391
|
+
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${n}`
|
|
392
|
+
};
|
|
393
|
+
})), Et = v(() => ({
|
|
370
394
|
cy: "waffle-div-legend",
|
|
371
395
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
372
396
|
color: e.value.style.chart.legend.color,
|
|
373
397
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
374
398
|
paddingBottom: 12,
|
|
375
399
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
376
|
-
})), B = v(() => H.value.map((t) => t.value).reduce((t, l) => t + l, 0)),
|
|
377
|
-
function
|
|
400
|
+
})), B = v(() => H.value.map((t) => t.value).reduce((t, l) => t + l, 0)), be = i(null), me = i(null);
|
|
401
|
+
function zt(t) {
|
|
378
402
|
const l = s.value[t];
|
|
379
403
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: l.serieIndex });
|
|
380
404
|
}
|
|
381
|
-
function
|
|
405
|
+
function Nt(t) {
|
|
382
406
|
const l = s.value[t];
|
|
383
|
-
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }),
|
|
407
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: l.serieIndex }), me.value = null, re.value = !1, U.value = null;
|
|
384
408
|
}
|
|
385
409
|
function Vt(t) {
|
|
386
410
|
if (y.value.length === m.dataset.length) return;
|
|
387
411
|
const l = s.value[t];
|
|
388
|
-
|
|
412
|
+
be.value = {
|
|
389
413
|
datapoint: l,
|
|
390
414
|
seriesIndex: l.absoluteIndex,
|
|
391
|
-
series:
|
|
415
|
+
series: p.value,
|
|
392
416
|
config: e.value
|
|
393
|
-
}, e.value.events.datapointEnter &&
|
|
417
|
+
}, e.value.events.datapointEnter && me.value !== l.serieIndex && e.value.events.datapointEnter({ datapoint: l, seriesIndex: l.serieIndex }), me.value = l.serieIndex, re.value = !0, U.value = s.value[t].serieIndex;
|
|
394
418
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
395
|
-
if (
|
|
419
|
+
if (gl(a) && yl(() => a({
|
|
396
420
|
seriesIndex: s.value[t].absoluteIndex,
|
|
397
421
|
datapoint: l,
|
|
398
|
-
series:
|
|
422
|
+
series: p.value,
|
|
399
423
|
config: e.value
|
|
400
424
|
})))
|
|
401
425
|
se.value = a({
|
|
402
426
|
seriesIndex: s.value[t].absoluteIndex,
|
|
403
427
|
datapoint: l,
|
|
404
|
-
series:
|
|
428
|
+
series: p.value,
|
|
405
429
|
config: e.value
|
|
406
430
|
});
|
|
407
431
|
else {
|
|
408
432
|
let o = "";
|
|
409
|
-
|
|
410
|
-
e.value.style.chart.
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
433
|
+
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${l.color}" />${Ft.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${b.value}_${l.absoluteIndex})"/>` : ""}</svg>`, o += `<b>${ye({
|
|
434
|
+
showVal: e.value.style.chart.tooltip.showValue,
|
|
435
|
+
showPercentage: e.value.style.chart.tooltip.showPercentage,
|
|
436
|
+
val: `<span>${K(
|
|
437
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
438
|
+
l.value,
|
|
439
|
+
D({
|
|
440
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
441
|
+
v: l.value,
|
|
442
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
443
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
444
|
+
}),
|
|
445
|
+
{
|
|
446
|
+
datapoint: l,
|
|
447
|
+
seriesIndex: s.value[t].absoluteIndex,
|
|
448
|
+
series: p.value
|
|
449
|
+
}
|
|
450
|
+
)}</span>`,
|
|
451
|
+
percentage: `<span>${D({
|
|
452
|
+
v: q.value ? 1 / Q.value.length * 100 : l.value / B.value * 100,
|
|
426
453
|
s: "%",
|
|
427
454
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
428
|
-
})
|
|
429
|
-
|
|
430
|
-
}
|
|
431
|
-
se.value = o;
|
|
455
|
+
})}</span>`
|
|
456
|
+
})}</b></div>`, se.value = o;
|
|
432
457
|
}
|
|
433
458
|
}
|
|
434
|
-
const
|
|
459
|
+
const Mt = pt, O = v(() => {
|
|
435
460
|
const t = H.value.map((a) => ({
|
|
436
461
|
name: a.name,
|
|
437
462
|
color: a.color
|
|
@@ -441,11 +466,11 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
441
466
|
function ee(t) {
|
|
442
467
|
return e.value.useBlurOnHover && ![null, void 0].includes(U.value) && U.value !== t ? `url(#blur_${b.value})` : "";
|
|
443
468
|
}
|
|
444
|
-
function
|
|
469
|
+
function Rt(t, l) {
|
|
445
470
|
return e.value.style.chart.layout.labels.captions.show ? s.value.length && !X.value && !e.value.style.chart.layout.grid.vertical && (s.value[t].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || s.value[t].isAbsoluteFirst && t % e.value.style.chart.layout.grid.size === 0 && s.value[t].absoluteStartIndex) : !1;
|
|
446
471
|
}
|
|
447
|
-
function
|
|
448
|
-
const a =
|
|
472
|
+
function Ut(t, l = null) {
|
|
473
|
+
const a = K(
|
|
449
474
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
450
475
|
s.value[t].value,
|
|
451
476
|
D({
|
|
@@ -455,22 +480,26 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
455
480
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
456
481
|
}),
|
|
457
482
|
{ datapoint: s.value[t], position: l }
|
|
458
|
-
), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }),
|
|
459
|
-
|
|
460
|
-
|
|
483
|
+
), o = D({ v: s.value[t].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage }), n = (e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? pl({ source: s.value[t].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[t].name) + (e.value.style.chart.layout.labels.captions.showPercentage || e.value.style.chart.layout.labels.captions.showValue ? ":" : ""), u = e.value.style.chart.layout.labels.captions.showSerieName ? n : "", g = ye({
|
|
484
|
+
val: a,
|
|
485
|
+
percentage: o,
|
|
486
|
+
showVal: e.value.style.chart.layout.labels.captions.showValue,
|
|
487
|
+
showPercentage: e.value.style.chart.layout.labels.captions.showPercentage
|
|
488
|
+
});
|
|
489
|
+
return `${u} ${g}`;
|
|
461
490
|
}
|
|
462
|
-
function
|
|
463
|
-
|
|
464
|
-
const l = O.value.head.map((
|
|
465
|
-
|
|
466
|
-
], [O.value.body[
|
|
491
|
+
function Ce(t = null) {
|
|
492
|
+
ll(() => {
|
|
493
|
+
const l = O.value.head.map((n, u) => [[
|
|
494
|
+
n.name
|
|
495
|
+
], [O.value.body[u]], [isNaN(O.value.body[u] / B.value) ? "-" : O.value.body[u] / B.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), o = fl(a);
|
|
467
496
|
t ? t(o) : hl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
468
497
|
});
|
|
469
498
|
}
|
|
470
499
|
const te = v(() => {
|
|
471
500
|
const t = [
|
|
472
501
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
473
|
-
|
|
502
|
+
K(
|
|
474
503
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
475
504
|
B.value,
|
|
476
505
|
D({
|
|
@@ -481,23 +510,23 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
481
510
|
})
|
|
482
511
|
),
|
|
483
512
|
"100%"
|
|
484
|
-
], l = O.value.head.map((
|
|
513
|
+
], l = O.value.head.map((n, u) => [
|
|
485
514
|
{
|
|
486
|
-
color:
|
|
487
|
-
name:
|
|
515
|
+
color: n.color,
|
|
516
|
+
name: n.name
|
|
488
517
|
},
|
|
489
|
-
|
|
518
|
+
K(
|
|
490
519
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
491
|
-
O.value.body[
|
|
520
|
+
O.value.body[u],
|
|
492
521
|
D({
|
|
493
522
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
494
|
-
v: O.value.body[
|
|
523
|
+
v: O.value.body[u],
|
|
495
524
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
496
525
|
r: e.value.table.td.roundingValue
|
|
497
526
|
})
|
|
498
527
|
),
|
|
499
|
-
isNaN(O.value.body[
|
|
500
|
-
v: O.value.body[
|
|
528
|
+
isNaN(O.value.body[u] / B.value) ? "-" : D({
|
|
529
|
+
v: O.value.body[u] / B.value * 100,
|
|
501
530
|
s: "%",
|
|
502
531
|
r: e.value.table.td.roundingPercentage
|
|
503
532
|
})
|
|
@@ -526,25 +555,25 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
526
555
|
colNames: o
|
|
527
556
|
};
|
|
528
557
|
}), M = i(!1);
|
|
529
|
-
function
|
|
530
|
-
M.value = t,
|
|
558
|
+
function Ke(t) {
|
|
559
|
+
M.value = t, Fe.value += 1;
|
|
531
560
|
}
|
|
532
|
-
function
|
|
561
|
+
function Qe() {
|
|
533
562
|
w.value.showTable = !w.value.showTable;
|
|
534
563
|
}
|
|
535
|
-
function
|
|
564
|
+
function Ze() {
|
|
536
565
|
w.value.showTooltip = !w.value.showTooltip;
|
|
537
566
|
}
|
|
538
567
|
const le = i(!1);
|
|
539
|
-
function
|
|
568
|
+
function ke() {
|
|
540
569
|
le.value = !le.value;
|
|
541
570
|
}
|
|
542
|
-
async function
|
|
571
|
+
async function Gt({ scale: t = 2 } = {}) {
|
|
543
572
|
if (!F.value) return;
|
|
544
|
-
const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri:
|
|
573
|
+
const { width: l, height: a } = F.value.getBoundingClientRect(), o = l / a, { imageUri: n, base64: u } = await Sl({ domElement: F.value, base64: !0, img: !0, scale: t });
|
|
545
574
|
return {
|
|
546
|
-
imageUri:
|
|
547
|
-
base64:
|
|
575
|
+
imageUri: n,
|
|
576
|
+
base64: u,
|
|
548
577
|
title: e.value.style.chart.title.text,
|
|
549
578
|
width: l,
|
|
550
579
|
height: a,
|
|
@@ -554,7 +583,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
554
583
|
const Y = v(() => {
|
|
555
584
|
const t = e.value.table.useDialog && !e.value.table.show, l = w.value.showTable;
|
|
556
585
|
return {
|
|
557
|
-
component: t ?
|
|
586
|
+
component: t ? At : mt,
|
|
558
587
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
559
588
|
props: t ? {
|
|
560
589
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -581,94 +610,94 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
581
610
|
}
|
|
582
611
|
};
|
|
583
612
|
});
|
|
584
|
-
|
|
613
|
+
J(() => w.value.showTable, (t) => {
|
|
585
614
|
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
586
615
|
});
|
|
587
|
-
function
|
|
616
|
+
function et() {
|
|
588
617
|
w.value.showTable = !1, ie.value && ie.value.setTableIconState(!1);
|
|
589
618
|
}
|
|
590
|
-
const
|
|
619
|
+
const Wt = v(() => V.value.map((t) => ({
|
|
591
620
|
...t,
|
|
592
621
|
name: t.display
|
|
593
|
-
}))),
|
|
622
|
+
}))), jt = v(() => e.value.style.chart.backgroundColor), qt = v(() => e.value.style.chart.legend), Ht = v(() => e.value.style.chart.title), { exportSvg: Xt, getSvg: Yt } = $l({
|
|
594
623
|
svg: de,
|
|
595
|
-
title:
|
|
596
|
-
legend:
|
|
597
|
-
legendItems:
|
|
598
|
-
backgroundColor:
|
|
624
|
+
title: Ht,
|
|
625
|
+
legend: qt,
|
|
626
|
+
legendItems: Wt,
|
|
627
|
+
backgroundColor: jt
|
|
599
628
|
});
|
|
600
|
-
async function
|
|
629
|
+
async function tt({ isCb: t }) {
|
|
601
630
|
if (t) {
|
|
602
|
-
const { blob: l, url: a, text: o, dataUrl:
|
|
603
|
-
e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl:
|
|
631
|
+
const { blob: l, url: a, text: o, dataUrl: n } = await Yt();
|
|
632
|
+
e.value.userOptions.callbacks.svg({ blob: l, url: a, text: o, dataUrl: n });
|
|
604
633
|
} else
|
|
605
|
-
|
|
634
|
+
Xt();
|
|
606
635
|
}
|
|
607
636
|
return ht({
|
|
608
|
-
getData:
|
|
609
|
-
getImage:
|
|
610
|
-
generatePdf:
|
|
611
|
-
generateCsv:
|
|
612
|
-
generateImage:
|
|
613
|
-
generateSvg:
|
|
614
|
-
hideSeries:
|
|
615
|
-
showSeries:
|
|
616
|
-
toggleTable:
|
|
617
|
-
toggleTooltip:
|
|
618
|
-
toggleAnnotator:
|
|
619
|
-
toggleFullscreen:
|
|
620
|
-
}), (t, l) => (
|
|
621
|
-
class:
|
|
637
|
+
getData: Ot,
|
|
638
|
+
getImage: Gt,
|
|
639
|
+
generatePdf: Ge,
|
|
640
|
+
generateCsv: Ce,
|
|
641
|
+
generateImage: We,
|
|
642
|
+
generateSvg: tt,
|
|
643
|
+
hideSeries: Lt,
|
|
644
|
+
showSeries: Pt,
|
|
645
|
+
toggleTable: Qe,
|
|
646
|
+
toggleTooltip: Ze,
|
|
647
|
+
toggleAnnotator: ke,
|
|
648
|
+
toggleFullscreen: Ke
|
|
649
|
+
}), (t, l) => (r(), c("div", {
|
|
650
|
+
class: at(`vue-data-ui-component vue-ui-waffle ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
622
651
|
ref_key: "waffleChart",
|
|
623
652
|
ref: F,
|
|
624
653
|
id: `vue-ui-waffle_${b.value}`,
|
|
625
654
|
style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
626
|
-
onMouseenter: l[2] || (l[2] = () =>
|
|
627
|
-
onMouseleave: l[3] || (l[3] = () =>
|
|
655
|
+
onMouseenter: l[2] || (l[2] = () => d(ze)(!0)),
|
|
656
|
+
onMouseleave: l[3] || (l[3] = () => d(ze)(!1))
|
|
628
657
|
}, [
|
|
629
|
-
e.value.userOptions.buttons.annotator ? (
|
|
658
|
+
e.value.userOptions.buttons.annotator ? (r(), E(d(kt), {
|
|
630
659
|
key: 0,
|
|
631
|
-
svgRef:
|
|
660
|
+
svgRef: d(de),
|
|
632
661
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
633
662
|
color: e.value.style.chart.color,
|
|
634
663
|
active: le.value,
|
|
635
|
-
onClose:
|
|
664
|
+
onClose: ke
|
|
636
665
|
}, {
|
|
637
666
|
"annotator-action-close": f(() => [
|
|
638
|
-
|
|
667
|
+
h(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
639
668
|
]),
|
|
640
669
|
"annotator-action-color": f(({ color: a }) => [
|
|
641
|
-
|
|
670
|
+
h(t.$slots, "annotator-action-color", x($({ color: a })), void 0, !0)
|
|
642
671
|
]),
|
|
643
672
|
"annotator-action-draw": f(({ mode: a }) => [
|
|
644
|
-
|
|
673
|
+
h(t.$slots, "annotator-action-draw", x($({ mode: a })), void 0, !0)
|
|
645
674
|
]),
|
|
646
675
|
"annotator-action-undo": f(({ disabled: a }) => [
|
|
647
|
-
|
|
676
|
+
h(t.$slots, "annotator-action-undo", x($({ disabled: a })), void 0, !0)
|
|
648
677
|
]),
|
|
649
678
|
"annotator-action-redo": f(({ disabled: a }) => [
|
|
650
|
-
|
|
679
|
+
h(t.$slots, "annotator-action-redo", x($({ disabled: a })), void 0, !0)
|
|
651
680
|
]),
|
|
652
681
|
"annotator-action-delete": f(({ disabled: a }) => [
|
|
653
|
-
|
|
682
|
+
h(t.$slots, "annotator-action-delete", x($({ disabled: a })), void 0, !0)
|
|
654
683
|
]),
|
|
655
684
|
_: 3
|
|
656
685
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : C("", !0),
|
|
657
|
-
|
|
686
|
+
It.value ? (r(), c("div", {
|
|
658
687
|
key: 1,
|
|
659
688
|
ref_key: "noTitle",
|
|
660
|
-
ref:
|
|
689
|
+
ref: Be,
|
|
661
690
|
class: "vue-data-ui-no-title-space",
|
|
662
691
|
style: "height:36px; width: 100%;background:transparent"
|
|
663
692
|
}, null, 512)) : C("", !0),
|
|
664
|
-
e.value.style.chart.title.text ? (
|
|
693
|
+
e.value.style.chart.title.text ? (r(), c("div", {
|
|
665
694
|
key: 2,
|
|
666
695
|
ref_key: "chartTitle",
|
|
667
|
-
ref:
|
|
696
|
+
ref: Ie,
|
|
668
697
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
669
698
|
}, [
|
|
670
|
-
(
|
|
671
|
-
key: `title_${
|
|
699
|
+
(r(), E(Bl, {
|
|
700
|
+
key: `title_${Oe.value}`,
|
|
672
701
|
config: {
|
|
673
702
|
title: {
|
|
674
703
|
cy: "waffle-title",
|
|
@@ -683,15 +712,15 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
683
712
|
], 512)) : C("", !0),
|
|
684
713
|
k("div", {
|
|
685
714
|
id: `legend-top-${b.value}`
|
|
686
|
-
}, null, 8,
|
|
687
|
-
e.value.userOptions.show &&
|
|
715
|
+
}, null, 8, Ll),
|
|
716
|
+
e.value.userOptions.show && ue.value && (d(Ne) || d(ve)) ? (r(), E(d(Ct), {
|
|
688
717
|
ref_key: "userOptionsRef",
|
|
689
718
|
ref: ie,
|
|
690
|
-
key: `user_options_${
|
|
719
|
+
key: `user_options_${Fe.value}`,
|
|
691
720
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
692
721
|
color: e.value.style.chart.color,
|
|
693
|
-
isPrinting:
|
|
694
|
-
isImaging:
|
|
722
|
+
isPrinting: d(Re),
|
|
723
|
+
isImaging: d(Ue),
|
|
695
724
|
uid: b.value,
|
|
696
725
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
697
726
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -710,93 +739,93 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
710
739
|
callbacks: e.value.userOptions.callbacks,
|
|
711
740
|
printScale: e.value.userOptions.print.scale,
|
|
712
741
|
tableDialog: e.value.table.useDialog,
|
|
713
|
-
onToggleFullscreen:
|
|
714
|
-
onGeneratePdf:
|
|
715
|
-
onGenerateCsv:
|
|
716
|
-
onGenerateImage:
|
|
717
|
-
onGenerateSvg:
|
|
718
|
-
onToggleTable:
|
|
719
|
-
onToggleTooltip:
|
|
720
|
-
onToggleAnnotator:
|
|
742
|
+
onToggleFullscreen: Ke,
|
|
743
|
+
onGeneratePdf: d(Ge),
|
|
744
|
+
onGenerateCsv: Ce,
|
|
745
|
+
onGenerateImage: d(We),
|
|
746
|
+
onGenerateSvg: tt,
|
|
747
|
+
onToggleTable: Qe,
|
|
748
|
+
onToggleTooltip: Ze,
|
|
749
|
+
onToggleAnnotator: ke,
|
|
721
750
|
style: ae({
|
|
722
|
-
visibility:
|
|
751
|
+
visibility: d(Ne) ? d(ve) ? "visible" : "hidden" : "visible"
|
|
723
752
|
})
|
|
724
|
-
},
|
|
753
|
+
}, Ae({ _: 2 }, [
|
|
725
754
|
t.$slots.menuIcon ? {
|
|
726
755
|
name: "menuIcon",
|
|
727
756
|
fn: f(({ isOpen: a, color: o }) => [
|
|
728
|
-
|
|
757
|
+
h(t.$slots, "menuIcon", x($({ isOpen: a, color: o })), void 0, !0)
|
|
729
758
|
]),
|
|
730
759
|
key: "0"
|
|
731
760
|
} : void 0,
|
|
732
761
|
t.$slots.optionTooltip ? {
|
|
733
762
|
name: "optionTooltip",
|
|
734
763
|
fn: f(() => [
|
|
735
|
-
|
|
764
|
+
h(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
736
765
|
]),
|
|
737
766
|
key: "1"
|
|
738
767
|
} : void 0,
|
|
739
768
|
t.$slots.optionPdf ? {
|
|
740
769
|
name: "optionPdf",
|
|
741
770
|
fn: f(() => [
|
|
742
|
-
|
|
771
|
+
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
743
772
|
]),
|
|
744
773
|
key: "2"
|
|
745
774
|
} : void 0,
|
|
746
775
|
t.$slots.optionCsv ? {
|
|
747
776
|
name: "optionCsv",
|
|
748
777
|
fn: f(() => [
|
|
749
|
-
|
|
778
|
+
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
750
779
|
]),
|
|
751
780
|
key: "3"
|
|
752
781
|
} : void 0,
|
|
753
782
|
t.$slots.optionImg ? {
|
|
754
783
|
name: "optionImg",
|
|
755
784
|
fn: f(() => [
|
|
756
|
-
|
|
785
|
+
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
757
786
|
]),
|
|
758
787
|
key: "4"
|
|
759
788
|
} : void 0,
|
|
760
789
|
t.$slots.optionSvg ? {
|
|
761
790
|
name: "optionSvg",
|
|
762
791
|
fn: f(() => [
|
|
763
|
-
|
|
792
|
+
h(t.$slots, "optionSvg", {}, void 0, !0)
|
|
764
793
|
]),
|
|
765
794
|
key: "5"
|
|
766
795
|
} : void 0,
|
|
767
796
|
t.$slots.optionTable ? {
|
|
768
797
|
name: "optionTable",
|
|
769
798
|
fn: f(() => [
|
|
770
|
-
|
|
799
|
+
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
771
800
|
]),
|
|
772
801
|
key: "6"
|
|
773
802
|
} : void 0,
|
|
774
803
|
t.$slots.optionFullscreen ? {
|
|
775
804
|
name: "optionFullscreen",
|
|
776
805
|
fn: f(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
777
|
-
|
|
806
|
+
h(t.$slots, "optionFullscreen", x($({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
778
807
|
]),
|
|
779
808
|
key: "7"
|
|
780
809
|
} : void 0,
|
|
781
810
|
t.$slots.optionAnnotator ? {
|
|
782
811
|
name: "optionAnnotator",
|
|
783
812
|
fn: f(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
784
|
-
|
|
813
|
+
h(t.$slots, "optionAnnotator", x($({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
785
814
|
]),
|
|
786
815
|
key: "8"
|
|
787
816
|
} : void 0
|
|
788
817
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : C("", !0),
|
|
789
|
-
(
|
|
818
|
+
(r(), c("svg", {
|
|
790
819
|
ref_key: "svgRef",
|
|
791
820
|
ref: de,
|
|
792
|
-
xmlns:
|
|
793
|
-
class:
|
|
794
|
-
viewBox: `0 0 ${
|
|
821
|
+
xmlns: d(sl),
|
|
822
|
+
class: at({ "vue-data-ui-fullscreen--on": M.value, "vue-data-ui-fulscreen--off": !M.value }),
|
|
823
|
+
viewBox: `0 0 ${N.value.width <= 0 ? 10 : N.value.width} ${N.value.height <= 0 ? 10 : N.value.height}`,
|
|
795
824
|
style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
796
825
|
}, [
|
|
797
|
-
oe(
|
|
826
|
+
oe(d(wt)),
|
|
798
827
|
k("defs", null, [
|
|
799
|
-
(
|
|
828
|
+
(r(!0), c(T, null, z(s.value, (a, o) => (r(), c("radialGradient", {
|
|
800
829
|
cx: "50%",
|
|
801
830
|
cy: "50%",
|
|
802
831
|
r: "50%",
|
|
@@ -806,13 +835,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
806
835
|
}, [
|
|
807
836
|
k("stop", {
|
|
808
837
|
offset: "0%",
|
|
809
|
-
"stop-color":
|
|
810
|
-
}, null, 8,
|
|
838
|
+
"stop-color": d(il)(d(cl)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
839
|
+
}, null, 8, Nl),
|
|
811
840
|
k("stop", {
|
|
812
841
|
offset: "100%",
|
|
813
842
|
"stop-color": a.color
|
|
814
|
-
}, null, 8,
|
|
815
|
-
], 8,
|
|
843
|
+
}, null, 8, Vl)
|
|
844
|
+
], 8, zl))), 256))
|
|
816
845
|
]),
|
|
817
846
|
k("defs", null, [
|
|
818
847
|
k("filter", {
|
|
@@ -830,18 +859,18 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
830
859
|
type: "saturate",
|
|
831
860
|
values: "0"
|
|
832
861
|
}, null, -1)
|
|
833
|
-
])], 8,
|
|
862
|
+
])], 8, Ml)
|
|
834
863
|
]),
|
|
835
|
-
e.value.useCustomCells && s.value.length ? (
|
|
864
|
+
e.value.useCustomCells && s.value.length ? (r(!0), c(T, { key: 0 }, z(W.value, (a, o) => (r(), c("foreignObject", {
|
|
836
865
|
x: a.x,
|
|
837
866
|
y: a.y,
|
|
838
867
|
height: _.value <= 0 ? 1e-4 : _.value,
|
|
839
868
|
width: S.value <= 0 ? 1e-4 : S.value,
|
|
840
869
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
841
870
|
}, [
|
|
842
|
-
|
|
843
|
-
], 8,
|
|
844
|
-
!s.value.length && !e.value.useCustomCells ? (
|
|
871
|
+
h(t.$slots, "cell", xe({ ref_for: !0 }, { cell: { ...a, color: s.value[o].color, ...s.value[o] }, isSelected: [null, void 0].includes(U.value) ? !0 : s.value[o].serieIndex === U.value }), void 0, !0)
|
|
872
|
+
], 8, Rl))), 256)) : C("", !0),
|
|
873
|
+
!s.value.length && !e.value.useCustomCells ? (r(), c("rect", {
|
|
845
874
|
key: 1,
|
|
846
875
|
x: 12,
|
|
847
876
|
y: 12,
|
|
@@ -850,13 +879,13 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
850
879
|
rx: 3,
|
|
851
880
|
fill: "none",
|
|
852
881
|
stroke: "black"
|
|
853
|
-
}, null, 8,
|
|
854
|
-
t.$slots.pattern ? (
|
|
855
|
-
(
|
|
856
|
-
|
|
882
|
+
}, null, 8, Ul)) : s.value.length && !e.value.useCustomCells ? (r(), c(T, { key: 2 }, [
|
|
883
|
+
t.$slots.pattern ? (r(), c("g", Gl, [
|
|
884
|
+
(r(!0), c(T, null, z(pe.value, (a) => (r(), c("defs", null, [
|
|
885
|
+
h(t.$slots, "pattern", xe({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${b.value}_${a.absoluteIndex}` }), void 0, !0)
|
|
857
886
|
]))), 256))
|
|
858
887
|
])) : C("", !0),
|
|
859
|
-
(
|
|
888
|
+
(r(!0), c(T, null, z(W.value, (a, o) => (r(), c("rect", {
|
|
860
889
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
861
890
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
862
891
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -866,8 +895,8 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
866
895
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
867
896
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
868
897
|
filter: ee(s.value[o].serieIndex)
|
|
869
|
-
}, null, 8,
|
|
870
|
-
(
|
|
898
|
+
}, null, 8, Wl))), 256)),
|
|
899
|
+
(r(!0), c(T, null, z(W.value, (a, o) => (r(), c("rect", {
|
|
871
900
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
872
901
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
873
902
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -877,9 +906,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
877
906
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
878
907
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
879
908
|
filter: ee(s.value[o].serieIndex)
|
|
880
|
-
}, null, 8,
|
|
881
|
-
t.$slots.pattern ? (
|
|
882
|
-
(
|
|
909
|
+
}, null, 8, jl))), 256)),
|
|
910
|
+
t.$slots.pattern ? (r(), c("g", ql, [
|
|
911
|
+
(r(!0), c(T, null, z(W.value, (a, o) => (r(), c("rect", {
|
|
883
912
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
884
913
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
885
914
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -888,65 +917,65 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
888
917
|
fill: `url(#pattern_${b.value}_${s.value[o].absoluteIndex})`,
|
|
889
918
|
stroke: "none",
|
|
890
919
|
filter: ee(s.value[o].serieIndex)
|
|
891
|
-
}, null, 8,
|
|
920
|
+
}, null, 8, Hl))), 256))
|
|
892
921
|
])) : C("", !0)
|
|
893
922
|
], 64)) : C("", !0),
|
|
894
|
-
(
|
|
895
|
-
|
|
923
|
+
(r(!0), c(T, null, z(W.value, (a, o) => (r(), c(T, null, [
|
|
924
|
+
Rt(o, a) ? (r(), c("text", {
|
|
896
925
|
key: `datalabel_${o}`,
|
|
897
|
-
textContent:
|
|
926
|
+
textContent: ne(Ut(o, a)),
|
|
898
927
|
x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2 + 6,
|
|
899
|
-
y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 +
|
|
928
|
+
y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2 + qe.value / 2 + e.value.style.chart.layout.labels.captions.fontSize / 3,
|
|
900
929
|
"font-size": e.value.style.chart.layout.labels.captions.fontSize,
|
|
901
|
-
fill:
|
|
930
|
+
fill: d(vl)(s.value[o].color),
|
|
902
931
|
filter: ee(s.value[o].serieIndex)
|
|
903
|
-
}, null, 8,
|
|
932
|
+
}, null, 8, Xl)) : C("", !0)
|
|
904
933
|
], 64))), 256)),
|
|
905
|
-
(
|
|
934
|
+
(r(!0), c(T, null, z(W.value, (a, o) => (r(), c("rect", {
|
|
906
935
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
907
936
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
908
|
-
height:
|
|
909
|
-
width:
|
|
937
|
+
height: qe.value,
|
|
938
|
+
width: St.value,
|
|
910
939
|
fill: "transparent",
|
|
911
940
|
stroke: "none",
|
|
912
|
-
onMouseover: (
|
|
913
|
-
onMouseleave: (
|
|
914
|
-
onClick: (
|
|
915
|
-
}, null, 40,
|
|
916
|
-
|
|
917
|
-
], 14,
|
|
918
|
-
t.$slots.watermark ? (
|
|
919
|
-
|
|
941
|
+
onMouseover: (n) => Vt(o),
|
|
942
|
+
onMouseleave: (n) => Nt(o),
|
|
943
|
+
onClick: (n) => zt(o)
|
|
944
|
+
}, null, 40, Yl))), 256)),
|
|
945
|
+
h(t.$slots, "svg", { svg: N.value }, void 0, !0)
|
|
946
|
+
], 14, El)),
|
|
947
|
+
t.$slots.watermark ? (r(), c("div", Jl, [
|
|
948
|
+
h(t.$slots, "watermark", x($({ isPrinting: d(Re) || d(Ue) })), void 0, !0)
|
|
920
949
|
])) : C("", !0),
|
|
921
950
|
k("div", {
|
|
922
951
|
id: `legend-bottom-${b.value}`
|
|
923
|
-
}, null, 8,
|
|
924
|
-
|
|
952
|
+
}, null, 8, Kl),
|
|
953
|
+
Le.value ? (r(), E(el, {
|
|
925
954
|
key: 5,
|
|
926
955
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${b.value}` : `#legend-bottom-${b.value}`
|
|
927
956
|
}, [
|
|
928
957
|
k("div", {
|
|
929
958
|
ref_key: "chartLegend",
|
|
930
|
-
ref:
|
|
959
|
+
ref: Se
|
|
931
960
|
}, [
|
|
932
|
-
e.value.style.chart.legend.show ? (
|
|
933
|
-
key: `legend_${
|
|
934
|
-
legendSet:
|
|
961
|
+
e.value.style.chart.legend.show ? (r(), E(Ol, {
|
|
962
|
+
key: `legend_${Pe.value}`,
|
|
963
|
+
legendSet: V.value,
|
|
935
964
|
config: Et.value,
|
|
936
|
-
onClickMarker: l[0] || (l[0] = ({ legend: a }) =>
|
|
937
|
-
},
|
|
965
|
+
onClickMarker: l[0] || (l[0] = ({ legend: a }) => Z(a.uid))
|
|
966
|
+
}, Ae({
|
|
938
967
|
item: f(({ legend: a }) => [
|
|
939
968
|
k("div", {
|
|
940
969
|
onClick: (o) => a.segregate(),
|
|
941
970
|
style: ae(`opacity:${y.value.includes(a.uid) ? 0.5 : 1}`)
|
|
942
|
-
},
|
|
971
|
+
}, ne(a.display), 13, Ql)
|
|
943
972
|
]),
|
|
944
973
|
_: 2
|
|
945
974
|
}, [
|
|
946
975
|
t.$slots.pattern ? {
|
|
947
976
|
name: "legend-pattern",
|
|
948
977
|
fn: f(({ legend: a, index: o }) => [
|
|
949
|
-
oe(
|
|
978
|
+
oe(_l, {
|
|
950
979
|
shape: a.shape,
|
|
951
980
|
radius: 30,
|
|
952
981
|
stroke: "none",
|
|
@@ -956,22 +985,22 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
956
985
|
]),
|
|
957
986
|
key: "0"
|
|
958
987
|
} : void 0
|
|
959
|
-
]), 1032, ["legendSet", "config"])) :
|
|
988
|
+
]), 1032, ["legendSet", "config"])) : h(t.$slots, "legend", {
|
|
960
989
|
key: 1,
|
|
961
|
-
legend:
|
|
990
|
+
legend: V.value
|
|
962
991
|
}, void 0, !0)
|
|
963
992
|
], 512)
|
|
964
993
|
], 8, ["to"])) : C("", !0),
|
|
965
|
-
t.$slots.source ? (
|
|
994
|
+
t.$slots.source ? (r(), c("div", {
|
|
966
995
|
key: 6,
|
|
967
996
|
ref_key: "source",
|
|
968
|
-
ref:
|
|
997
|
+
ref: _e,
|
|
969
998
|
dir: "auto"
|
|
970
999
|
}, [
|
|
971
|
-
|
|
1000
|
+
h(t.$slots, "source", {}, void 0, !0)
|
|
972
1001
|
], 512)) : C("", !0),
|
|
973
|
-
oe(
|
|
974
|
-
show: w.value.showTooltip &&
|
|
1002
|
+
oe(d(gt), {
|
|
1003
|
+
show: w.value.showTooltip && re.value && y.value.length < m.dataset.length,
|
|
975
1004
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
976
1005
|
color: e.value.style.chart.tooltip.color,
|
|
977
1006
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -991,37 +1020,37 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
991
1020
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
992
1021
|
}, {
|
|
993
1022
|
"tooltip-before": f(() => [
|
|
994
|
-
|
|
1023
|
+
h(t.$slots, "tooltip-before", x($({ ...be.value })), void 0, !0)
|
|
995
1024
|
]),
|
|
996
1025
|
"tooltip-after": f(() => [
|
|
997
|
-
|
|
1026
|
+
h(t.$slots, "tooltip-after", x($({ ...be.value })), void 0, !0)
|
|
998
1027
|
]),
|
|
999
1028
|
_: 3
|
|
1000
1029
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1001
|
-
|
|
1030
|
+
ue.value && e.value.userOptions.buttons.table ? (r(), E(tl(Y.value.component), xe({ key: 7 }, Y.value.props, {
|
|
1002
1031
|
ref_key: "tableUnit",
|
|
1003
1032
|
ref: j,
|
|
1004
|
-
onClose:
|
|
1005
|
-
}),
|
|
1033
|
+
onClose: et
|
|
1034
|
+
}), Ae({
|
|
1006
1035
|
content: f(() => [
|
|
1007
|
-
(
|
|
1008
|
-
key: `table_${
|
|
1036
|
+
(r(), E(d(bt), {
|
|
1037
|
+
key: `table_${De.value}`,
|
|
1009
1038
|
colNames: te.value.colNames,
|
|
1010
1039
|
head: te.value.head,
|
|
1011
1040
|
body: te.value.body,
|
|
1012
1041
|
config: te.value.config,
|
|
1013
1042
|
title: e.value.table.useDialog ? "" : Y.value.title,
|
|
1014
1043
|
withCloseButton: !e.value.table.useDialog,
|
|
1015
|
-
onClose:
|
|
1044
|
+
onClose: et
|
|
1016
1045
|
}, {
|
|
1017
1046
|
th: f(({ th: a }) => [
|
|
1018
1047
|
k("div", {
|
|
1019
1048
|
innerHTML: a,
|
|
1020
1049
|
style: { display: "flex", "align-items": "center" }
|
|
1021
|
-
}, null, 8,
|
|
1050
|
+
}, null, 8, Zl)
|
|
1022
1051
|
]),
|
|
1023
1052
|
td: f(({ td: a }) => [
|
|
1024
|
-
|
|
1053
|
+
ot(ne(a.name || a), 1)
|
|
1025
1054
|
]),
|
|
1026
1055
|
_: 1
|
|
1027
1056
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1031,7 +1060,7 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1031
1060
|
e.value.table.useDialog ? {
|
|
1032
1061
|
name: "title",
|
|
1033
1062
|
fn: f(() => [
|
|
1034
|
-
|
|
1063
|
+
ot(ne(Y.value.title), 1)
|
|
1035
1064
|
]),
|
|
1036
1065
|
key: "0"
|
|
1037
1066
|
} : void 0,
|
|
@@ -1041,9 +1070,9 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1041
1070
|
k("button", {
|
|
1042
1071
|
tabindex: "0",
|
|
1043
1072
|
class: "vue-ui-user-options-button",
|
|
1044
|
-
onClick: l[1] || (l[1] = (a) =>
|
|
1073
|
+
onClick: l[1] || (l[1] = (a) => Ce(e.value.userOptions.callbacks.csv))
|
|
1045
1074
|
}, [
|
|
1046
|
-
oe(
|
|
1075
|
+
oe(d(yt), {
|
|
1047
1076
|
name: "excel",
|
|
1048
1077
|
stroke: Y.value.props.color
|
|
1049
1078
|
}, null, 8, ["stroke"])
|
|
@@ -1052,15 +1081,15 @@ const ut = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
1052
1081
|
key: "1"
|
|
1053
1082
|
} : void 0
|
|
1054
1083
|
]), 1040)) : C("", !0),
|
|
1055
|
-
|
|
1056
|
-
], 46,
|
|
1084
|
+
d(Ee) ? (r(), E(Al, { key: 8 })) : C("", !0)
|
|
1085
|
+
], 46, Pl));
|
|
1057
1086
|
}
|
|
1058
|
-
},
|
|
1087
|
+
}, ta = /* @__PURE__ */ Dl(ea, [["__scopeId", "data-v-075d5318"]]), ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1059
1088
|
__proto__: null,
|
|
1060
|
-
default:
|
|
1089
|
+
default: ta
|
|
1061
1090
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1062
1091
|
export {
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1092
|
+
ba as a,
|
|
1093
|
+
ma as b,
|
|
1094
|
+
ta as v
|
|
1066
1095
|
};
|