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,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as $, computed as h, ref as d, toRefs as Ct, watch as j, shallowRef as De, onMounted as kt, onBeforeUnmount as Oe, watchEffect as At, createElementBlock as u, openBlock as i, unref as r, normalizeStyle as se, normalizeClass as ze, createBlock as R, createCommentVNode as f, renderSlot as v, createVNode as ie, withCtx as c, normalizeProps as C, guardReactiveProps as k, createSlots as Be, createElementVNode as y, Fragment as F, renderList as O, toDisplayString as T, resolveDynamicComponent as wt, mergeProps as Tt, createTextVNode as re, nextTick as _t } from "vue";
|
|
2
|
-
import { c as Lt, t as $t, o as Ie, g as Ft,
|
|
2
|
+
import { c as Lt, t as $t, o as Ie, g as Ft, U as b, X as St, s as ue, h as Ee, a as z, d as B, v as Dt, r as Ot, y as zt, _ as Bt } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as Re, u as It } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Et, a as ne } from "./useNestedProp-
|
|
4
|
+
import { u as Et, a as ne } from "./useNestedProp--5lL-kf1.js";
|
|
5
5
|
import { u as Rt, B as Pt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
-
import { u as Mt } from "./usePrinter-
|
|
6
|
+
import { u as Mt } from "./usePrinter-BJzHDpYF.js";
|
|
7
7
|
import { u as Nt } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as Ut } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { u as Vt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
-
import Wt from "./img-
|
|
13
|
-
import jt from "./Title-
|
|
12
|
+
import Wt from "./img-DKigoPDs.js";
|
|
13
|
+
import jt from "./Title-BhURirpm.js";
|
|
14
14
|
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { grid: { stroke: "#5A5A5A" }, dataLabels: { sideTitles: { color: "#CCCCCC" }, xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, highlighter: { 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" } } }, Me = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { grid: { stroke: "#5D4037" }, dataLabels: { sideTitles: { color: "#424242" }, xAxis: { color: "#424242" }, yAxis: { color: "#424242" } }, bars: { borderRadius: 0, gap: 1, left: { color: "#F57C00" }, right: { color: "#D32F2F" }, gradient: { show: !1 } } }, highlighter: { color: "#424242" }, 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" } } }, Ne = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { grid: { stroke: "#5D4037" }, dataLabels: { sideTitles: { color: "#BDBDBD" }, xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } }, bars: { borderRadius: 0, gap: 1, left: { color: "#F57C00" }, right: { color: "#D32F2F" }, gradient: { show: !1 } } }, highlighter: { color: "#FFF8E1" }, 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" } } }, Ue = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { grid: { stroke: "#5F6A5F" }, dataLabels: { sideTitles: { color: "#AACCAA" }, xAxis: { color: "#5F6A5F" }, yAxis: { color: "#5F6A5F" } }, bars: { borderRadius: 0, gap: 1, left: { color: "#668066" }, right: { color: "#66CC66" }, gradient: { show: !1 } } }, highlighter: { color: "#66CC66" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Ge = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { grid: { stroke: "#5F6A5F" }, dataLabels: { sideTitles: { color: "#8A9892" }, xAxis: { show: !1 }, yAxis: { show: !1 } }, bars: { borderRadius: 6, gap: 1, left: { color: "#DCB482" }, right: { color: "#B9B99D" }, gradient: { show: !0 } } }, highlighter: { color: "#8F837A" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, He = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { grid: { stroke: "#5F6A5F" }, dataLabels: { sideTitles: { color: "#61747E" }, xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } }, bars: { borderRadius: 0, gap: 1, left: { color: "#A1B5A3" }, right: { color: "#7DA9B5" }, gradient: { show: !0, intensity: 10 } } }, highlighter: { color: "#7DA9B5" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Ve = {
|
|
16
16
|
default: {},
|
|
@@ -29,7 +29,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
29
29
|
default: Ve,
|
|
30
30
|
hack: Ue,
|
|
31
31
|
zen: Ge
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })), Yt = ["id"], qt = ["xmlns", "viewBox"],
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" })), Yt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["x", "y", "width", "height"], Kt = ["id"], Qt = ["stop-color"], Zt = ["stop-color"], el = ["id"], tl = ["stop-color"], ll = ["stop-color"], ol = ["x", "y", "width", "height", "fill", "rx"], al = ["x", "y", "width", "height", "fill", "rx"], sl = ["x", "y", "width", "height", "fill", "rx"], il = ["x", "y", "width", "height", "fill", "rx"], rl = { key: 0 }, ul = ["x", "y", "fill", "font-size", "font-weight"], nl = ["x", "y", "fill", "font-size", "font-weight"], dl = { key: 1 }, vl = ["x", "y", "font-size", "fill", "font-weight"], cl = { key: 2 }, yl = { key: 0 }, hl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], xl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ml = ["x", "y", "font-size", "fill", "font-weight"], Cl = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], kl = {
|
|
33
33
|
key: 4,
|
|
34
34
|
class: "vue-data-ui-watermark"
|
|
35
35
|
}, Al = {
|
|
@@ -49,7 +49,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
setup(de, { expose: We }) {
|
|
52
|
-
const je = $(() => import("./Tooltip-
|
|
52
|
+
const je = $(() => import("./Tooltip-TDyKgLB6.js")), Xe = $(() => import("./BaseIcon-4i3dd7Ty.js")), Ye = $(() => import("./vue-ui-accordion-tQNKwbVi.js")), qe = $(() => import("./DataTable-WrXCJkfE.js")), Je = $(() => import("./PenAndPaper-DxIUvoQ8.js")), Ke = $(() => import("./UserOptions-CzJWRC4s.js")), Qe = $(() => import("./PackageVersion-D3cMhAlf.js")), Ze = $(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_age_pyramid: et } = Et(), { isThemeValid: tt, warnInvalidTheme: lt } = Ut(), p = de, ve = h(() => !!p.dataset && p.dataset.length), A = d(Lt()), X = d(!1), Y = d(""), U = d(null), ce = d(0), w = d(null), ye = d(null), he = d(null), fe = d(null), ge = d(0), be = d(0), q = d(null), P = d(null), J = d(null), e = d(ee()), { loading: pe, FINAL_DATASET: G, manualLoading: K } = Rt({
|
|
53
53
|
...Ct(p),
|
|
54
54
|
FINAL_CONFIG: e,
|
|
55
55
|
prepareConfig: ee,
|
|
@@ -98,7 +98,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
})
|
|
101
|
-
}), { userOptionsVisible:
|
|
101
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: xe, keepUserOptionState: me } = Gt({ config: e.value }), { svgRef: Z } = Ht({ config: e.value.style.title });
|
|
102
102
|
function ee() {
|
|
103
103
|
const t = ne({
|
|
104
104
|
userConfig: p.config,
|
|
@@ -117,9 +117,9 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
j(() => p.config, (t) => {
|
|
120
|
-
pe.value || (e.value = ee()),
|
|
120
|
+
pe.value || (e.value = ee()), Q.value = !e.value.userOptions.showOnChartHover, Ce(), ge.value += 1, be.value += 1, x.value.showTable = e.value.table.show, x.value.showTooltip = e.value.style.tooltip.show;
|
|
121
121
|
}, { deep: !0 }), j(() => p.dataset, (t) => {
|
|
122
|
-
Array.isArray(t) && t.length > 0 && (
|
|
122
|
+
Array.isArray(t) && t.length > 0 && (K.value = !1);
|
|
123
123
|
}, { deep: !0 });
|
|
124
124
|
const _ = De(null), I = De(null);
|
|
125
125
|
kt(() => {
|
|
@@ -131,7 +131,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
131
131
|
componentName: "VueUiAgePyramid",
|
|
132
132
|
type: "dataset",
|
|
133
133
|
debug: ot.value
|
|
134
|
-
}),
|
|
134
|
+
}), K.value = !0), Ie(p.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
135
135
|
const t = Re(() => {
|
|
136
136
|
const { width: a, height: l } = It({
|
|
137
137
|
chart: w.value,
|
|
@@ -404,7 +404,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
404
404
|
const N = h(() => {
|
|
405
405
|
const t = e.value.table.useDialog && !e.value.table.show, a = x.value.showTable;
|
|
406
406
|
return {
|
|
407
|
-
component: t ?
|
|
407
|
+
component: t ? Ze : Ye,
|
|
408
408
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
409
409
|
props: t ? {
|
|
410
410
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -435,10 +435,10 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
435
435
|
e.value.table.show || (t && e.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
436
436
|
});
|
|
437
437
|
function Fe() {
|
|
438
|
-
x.value.showTable = !1,
|
|
438
|
+
x.value.showTable = !1, J.value && J.value.setTableIconState(!1);
|
|
439
439
|
}
|
|
440
440
|
const bt = h(() => e.value.style.backgroundColor), pt = h(() => e.value.style.title), { exportSvg: xt, getSvg: mt } = Nt({
|
|
441
|
-
svg:
|
|
441
|
+
svg: Z,
|
|
442
442
|
title: pt,
|
|
443
443
|
backgroundColor: bt
|
|
444
444
|
});
|
|
@@ -468,9 +468,9 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
468
468
|
onMouseenter: a[1] || (a[1] = () => r(xe)(!0)),
|
|
469
469
|
onMouseleave: a[2] || (a[2] = () => r(xe)(!1))
|
|
470
470
|
}, [
|
|
471
|
-
e.value.userOptions.buttons.annotator ? (i(), R(r(
|
|
471
|
+
e.value.userOptions.buttons.annotator ? (i(), R(r(Je), {
|
|
472
472
|
key: 0,
|
|
473
|
-
svgRef: r(
|
|
473
|
+
svgRef: r(Z),
|
|
474
474
|
backgroundColor: e.value.style.backgroundColor,
|
|
475
475
|
color: e.value.style.color,
|
|
476
476
|
active: W.value,
|
|
@@ -523,9 +523,9 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
523
523
|
}
|
|
524
524
|
}, null, 8, ["config"]))
|
|
525
525
|
], 512)) : f("", !0),
|
|
526
|
-
e.value.userOptions.show && ve.value && (r(me) || r(
|
|
526
|
+
e.value.userOptions.show && ve.value && (r(me) || r(Q)) ? (i(), R(r(Ke), {
|
|
527
527
|
ref_key: "userOptionsRef",
|
|
528
|
-
ref:
|
|
528
|
+
ref: J,
|
|
529
529
|
key: `user_options_${ce.value}`,
|
|
530
530
|
backgroundColor: e.value.style.backgroundColor,
|
|
531
531
|
color: e.value.style.color,
|
|
@@ -558,7 +558,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
558
558
|
onToggleTooltip: $e,
|
|
559
559
|
onToggleAnnotator: ae,
|
|
560
560
|
style: se({
|
|
561
|
-
visibility: r(me) ? r(
|
|
561
|
+
visibility: r(me) ? r(Q) ? "visible" : "hidden" : "visible"
|
|
562
562
|
})
|
|
563
563
|
}, Be({ _: 2 }, [
|
|
564
564
|
t.$slots.menuIcon ? {
|
|
@@ -627,13 +627,13 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
627
627
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
628
628
|
(i(), u("svg", {
|
|
629
629
|
ref_key: "svgRef",
|
|
630
|
-
ref:
|
|
630
|
+
ref: Z,
|
|
631
631
|
xmlns: r(St),
|
|
632
632
|
class: ze({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
633
633
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
634
634
|
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
635
635
|
}, [
|
|
636
|
-
ie(r(
|
|
636
|
+
ie(r(Qe)),
|
|
637
637
|
t.$slots["chart-background"] ? (i(), u("foreignObject", {
|
|
638
638
|
key: 0,
|
|
639
639
|
x: s.value.left,
|
|
@@ -645,7 +645,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
645
645
|
}
|
|
646
646
|
}, [
|
|
647
647
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
648
|
-
], 8,
|
|
648
|
+
], 8, Jt)) : f("", !0),
|
|
649
649
|
y("defs", null, [
|
|
650
650
|
y("linearGradient", {
|
|
651
651
|
id: `age_pyramid_left_${A.value}`,
|
|
@@ -657,12 +657,12 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
657
657
|
y("stop", {
|
|
658
658
|
offset: "0%",
|
|
659
659
|
"stop-color": e.value.style.layout.bars.left.color
|
|
660
|
-
}, null, 8,
|
|
660
|
+
}, null, 8, Qt),
|
|
661
661
|
y("stop", {
|
|
662
662
|
offset: "100%",
|
|
663
663
|
"stop-color": r(ue)(r(Ee)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
664
|
-
}, null, 8,
|
|
665
|
-
], 8,
|
|
664
|
+
}, null, 8, Zt)
|
|
665
|
+
], 8, Kt),
|
|
666
666
|
y("linearGradient", {
|
|
667
667
|
id: `age_pyramid_right_${A.value}`,
|
|
668
668
|
x1: "0%",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as L, ref as R, watch as E, onMounted as H, onBeforeUnmount as U, createBlock as x, openBlock as c, Teleport as K, createElementBlock as p, createCommentVNode as a, normalizeStyle as b, normalizeClass as g, createElementVNode as n, renderSlot as B, resolveComponent as v, createVNode as T, withCtx as N, createTextVNode as F, toDisplayString as f, withDirectives as M, vModelCheckbox as G, vModelText as D, withModifiers as A, Fragment as X, renderList as Y } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
4
|
-
import { d as $ } from "./dom-to-png-
|
|
5
|
-
import { u as ee } from "./usePrinter-
|
|
6
|
-
import te from "./BaseIcon-
|
|
7
|
-
import oe from "./vue-ui-accordion-
|
|
2
|
+
import { w as V, t as q, c as J, az as Z } from "./lib-BwysEpWI.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp--5lL-kf1.js";
|
|
4
|
+
import { d as $ } from "./dom-to-png-C2K57N1M.js";
|
|
5
|
+
import { u as ee } from "./usePrinter-BJzHDpYF.js";
|
|
6
|
+
import te from "./BaseIcon-4i3dd7Ty.js";
|
|
7
|
+
import oe from "./vue-ui-accordion-tQNKwbVi.js";
|
|
8
8
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { C as se } from "./ColorPicker-
|
|
9
|
+
import { C as se } from "./ColorPicker-B9oF4-O6.js";
|
|
10
10
|
function ie(e) {
|
|
11
11
|
const o = (y) => e.isMacLike ? y.metaKey : y.ctrlKey, l = (y) => {
|
|
12
12
|
const S = y;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as j, ref as d, computed as i, onMounted as Xe, toRefs as Ye, watch as he, onBeforeUnmount as Je, createElementBlock as n, openBlock as s, unref as r, normalizeStyle as V, normalizeClass as de, createBlock as _, createCommentVNode as c, createElementVNode as $, withCtx as f, renderSlot as v, normalizeProps as b, guardReactiveProps as p, createSlots as Ke, createVNode as Qe, Fragment as G, renderList as q, toDisplayString as T, Teleport as Ze } from "vue";
|
|
2
|
-
import { u as et, a as X } from "./useNestedProp-
|
|
3
|
-
import { c as tt, t as at,
|
|
2
|
+
import { u as et, a as X } from "./useNestedProp--5lL-kf1.js";
|
|
3
|
+
import { c as tt, t as at, q as lt, N as ot, m as st, a as P, d as M, X as rt, o as ge, g as fe, l as nt } from "./lib-BwysEpWI.js";
|
|
4
4
|
import { t as ut, u as it } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as ct } from "./usePrinter-
|
|
5
|
+
import { u as ct } from "./usePrinter-BJzHDpYF.js";
|
|
6
6
|
import { u as vt, B as ht } from "./BaseScanner-BMpwQAfz.js";
|
|
7
7
|
import { u as dt } from "./useSvgExport-ByUukOZt.js";
|
|
8
8
|
import { u as gt } from "./useThemeCheck-DGJ31Vi5.js";
|
|
9
9
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
10
|
import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
-
import yt from "./Legend-
|
|
12
|
-
import bt from "./Title-
|
|
13
|
-
import pt from "./img-
|
|
11
|
+
import yt from "./Legend-D6z73edh.js";
|
|
12
|
+
import bt from "./Title-BhURirpm.js";
|
|
13
|
+
import pt from "./img-DKigoPDs.js";
|
|
14
14
|
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, segments: { baseColor: "#5A5A5A", dataLabels: { color: "#CCCCCC" }, ticks: { stroke: "#5A5A5A" } }, target: { color: "#1A1A1A" }, valueBar: { color: "#CCCCCC", stroke: "#5A5A5A", label: { color: "#CCCCCC" } } } } }, ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#424242" }, ticks: { stroke: "#424242" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#FFF8E1", label: { color: "#424242" } } } } }, be = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, segments: { baseColor: "#D32F2F", dataLabels: { color: "#BDBDBD" }, ticks: { stroke: "#BDBDBD" } }, target: { color: "#3A3A3A" }, valueBar: { color: "#3A3A3A", stroke: "#1E1E1E", label: { color: "#BDBDBD" } } } } }, pe = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#00AA00", dataLabels: { color: "#66CC66" }, ticks: { stroke: "#00AA00" } }, target: { color: "#023602" }, valueBar: { color: "#1b291b", stroke: "#1A1A1A", label: { color: "#66CC66" } } } } }, ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, segments: { baseColor: "#8F837A", dataLabels: { color: "#8A9892" }, ticks: { stroke: "#8F837A" } }, target: { color: "#40403a" }, valueBar: { color: "#8F837A", stroke: "#fbfafa", label: { color: "#8A9892" } } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", legend: { backgroundColor: "#fbfafa", color: "#50606C" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, segments: { baseColor: "#718890", dataLabels: { color: "#50606C" }, ticks: { stroke: "#50606C" } }, target: { color: "#50606C" }, valueBar: { color: "#50606C", stroke: "#fbfafa", label: { color: "#50606C" } } } } }, Ae = {
|
|
16
16
|
default: {},
|
|
@@ -41,7 +41,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
41
41
|
key: 0,
|
|
42
42
|
class: "vue-ui-bullet-legend-item",
|
|
43
43
|
dir: "auto"
|
|
44
|
-
}, Ht = { style: { "margin-right": "2px" } },
|
|
44
|
+
}, Ht = { style: { "margin-right": "2px" } }, Nt = {
|
|
45
45
|
__name: "vue-ui-bullet",
|
|
46
46
|
props: {
|
|
47
47
|
config: {
|
|
@@ -58,7 +58,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", leg
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
setup(we, { expose: Be }) {
|
|
61
|
-
const xe = j(() => import("./PackageVersion-
|
|
61
|
+
const xe = j(() => import("./PackageVersion-D3cMhAlf.js")), _e = j(() => import("./PenAndPaper-DxIUvoQ8.js")), $e = j(() => import("./UserOptions-CzJWRC4s.js")), { vue_ui_bullet: Le } = et(), { isThemeValid: Fe, warnInvalidTheme: Oe } = gt(), L = we, C = d(null), Y = d(null), J = d(0), K = d(null), Q = d(null), Se = d(0), F = d(null), D = d(null), Z = d(!1), w = i({
|
|
62
62
|
get: () => h.value.hasOwnProperty("value"),
|
|
63
63
|
set: (t) => t
|
|
64
64
|
}), O = i(() => h.value.segments ? Array.isArray(h.value.segments) ? h.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|
|
@@ -207,7 +207,7 @@ segments: [
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
})
|
|
210
|
-
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = ft({ config: e.value }), { svgRef:
|
|
210
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: ae, keepUserOptionState: le } = ft({ config: e.value }), { svgRef: N } = mt({ config: e.value.style.chart.title }), x = d({
|
|
211
211
|
width: e.value.style.chart.width,
|
|
212
212
|
height: e.value.style.chart.height
|
|
213
213
|
}), Ee = i(() => x.value.width), Ie = i(() => x.value.height);
|
|
@@ -232,7 +232,7 @@ segments: [
|
|
|
232
232
|
for (let l = 0; l < h.value.segments.length; l += 1)
|
|
233
233
|
t.push(lt(e.value.style.chart.segments.baseColor, l / h.value.segments.length));
|
|
234
234
|
return t;
|
|
235
|
-
}),
|
|
235
|
+
}), R = i(() => O.value ? {
|
|
236
236
|
min: Math.min(...h.value.segments.map((t) => t.from)),
|
|
237
237
|
max: Math.max(...h.value.segments.map((t) => t.to))
|
|
238
238
|
} : { min: 0, max: 1 }), m = d(Pe());
|
|
@@ -240,7 +240,7 @@ segments: [
|
|
|
240
240
|
t.hasOwnProperty("value") && (E.value = !1), e.value.style.chart.animation.show && !B.value ? se(t.value || 0) : m.value = t.value || 0;
|
|
241
241
|
}, { deep: !0 });
|
|
242
242
|
function Pe() {
|
|
243
|
-
return e.value.style.chart.animation.show && !B.value ?
|
|
243
|
+
return e.value.style.chart.animation.show && !B.value ? R.value.min : h.value.value || 0;
|
|
244
244
|
}
|
|
245
245
|
const oe = d(null);
|
|
246
246
|
function se(t) {
|
|
@@ -256,7 +256,7 @@ segments: [
|
|
|
256
256
|
const y = i(() => {
|
|
257
257
|
if (!O.value)
|
|
258
258
|
return [];
|
|
259
|
-
const t = ot(
|
|
259
|
+
const t = ot(R.value.min, R.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
|
|
260
260
|
x: o.value.left + (h.value.target + l) / (t.max + l) * o.value.chartWidth - e.value.style.chart.target.width / 2
|
|
261
261
|
}, u = {
|
|
262
262
|
width: (m.value + l) / (t.max + l) * o.value.chartWidth
|
|
@@ -327,7 +327,7 @@ segments: [
|
|
|
327
327
|
function W() {
|
|
328
328
|
I.value = !I.value;
|
|
329
329
|
}
|
|
330
|
-
async function
|
|
330
|
+
async function Ne({ scale: t = 2 } = {}) {
|
|
331
331
|
if (!C.value) return;
|
|
332
332
|
const { width: l, height: a } = C.value.getBoundingClientRect(), u = l / a, { imageUri: k, base64: g } = await pt({ domElement: C.value, base64: !0, img: !0, scale: t });
|
|
333
333
|
return {
|
|
@@ -339,14 +339,14 @@ segments: [
|
|
|
339
339
|
aspectRatio: u
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
const
|
|
342
|
+
const Re = i(() => U.value.map((t) => ({
|
|
343
343
|
...t,
|
|
344
344
|
name: t.display
|
|
345
345
|
}))), Ue = i(() => e.value.style.chart.backgroundColor), We = i(() => e.value.style.chart.legend), je = i(() => e.value.style.chart.title), { exportSvg: Ve, getSvg: Ge } = dt({
|
|
346
|
-
svg:
|
|
346
|
+
svg: N,
|
|
347
347
|
title: je,
|
|
348
348
|
legend: We,
|
|
349
|
-
legendItems:
|
|
349
|
+
legendItems: Re,
|
|
350
350
|
backgroundColor: Ue
|
|
351
351
|
});
|
|
352
352
|
function ve({ isCb: t }) {
|
|
@@ -354,7 +354,7 @@ segments: [
|
|
|
354
354
|
}
|
|
355
355
|
return Be({
|
|
356
356
|
getData: He,
|
|
357
|
-
getImage:
|
|
357
|
+
getImage: Ne,
|
|
358
358
|
generatePdf: ue,
|
|
359
359
|
generateImage: ie,
|
|
360
360
|
generateSvg: ve,
|
|
@@ -371,7 +371,7 @@ segments: [
|
|
|
371
371
|
}, [
|
|
372
372
|
e.value.userOptions.buttons.annotator ? (s(), _(r(_e), {
|
|
373
373
|
key: 0,
|
|
374
|
-
svgRef: r(
|
|
374
|
+
svgRef: r(N),
|
|
375
375
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
376
376
|
color: e.value.style.chart.color,
|
|
377
377
|
active: I.value,
|
|
@@ -500,7 +500,7 @@ segments: [
|
|
|
500
500
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
501
501
|
(s(), n("svg", {
|
|
502
502
|
ref_key: "svgRef",
|
|
503
|
-
ref:
|
|
503
|
+
ref: N,
|
|
504
504
|
xmlns: r(rt),
|
|
505
505
|
class: de({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value, "vue-ui-bullet-svg": !0 }),
|
|
506
506
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
@@ -655,12 +655,12 @@ segments: [
|
|
|
655
655
|
r(B) ? (s(), _(ht, { key: 7 })) : c("", !0)
|
|
656
656
|
], 46, Ct));
|
|
657
657
|
}
|
|
658
|
-
},
|
|
658
|
+
}, Rt = /* @__PURE__ */ kt(Nt, [["__scopeId", "data-v-7902e6f9"]]), la = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
659
659
|
__proto__: null,
|
|
660
|
-
default:
|
|
660
|
+
default: Rt
|
|
661
661
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
662
662
|
export {
|
|
663
663
|
aa as a,
|
|
664
664
|
la as b,
|
|
665
|
-
|
|
665
|
+
Rt as v
|
|
666
666
|
};
|