vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-bump.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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { defineAsyncComponent as $, computed as h, ref as d, toRefs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as Re, u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { _ as
|
|
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" } } },
|
|
1
|
+
import { defineAsyncComponent as $, computed as h, ref as d, toRefs as kt, watch as j, shallowRef as De, onMounted as wt, onBeforeUnmount as Oe, watchEffect as Tt, 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 m, guardReactiveProps as A, createSlots as Be, createElementVNode as y, Fragment as F, renderList as O, toDisplayString as T, resolveDynamicComponent as _t, mergeProps as Lt, createTextVNode as re, nextTick as $t } from "vue";
|
|
2
|
+
import { c as Ft, t as St, o as Ie, g as Dt, U as b, X as Ot, s as ue, h as Ee, a as z, d as B, v as zt, r as Bt, y as It, _ as Et } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as Re, u as Rt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Pt, a as ne } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as Mt, B as Nt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as Ut } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as Gt } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Ht } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as Wt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import { u as jt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
|
+
import Xt from "./img-6fNF_rG0.js";
|
|
13
|
+
import Yt from "./Title-NgeRXqRA.js";
|
|
14
|
+
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Pe = { userOptions: { show: !1 }, style: { layout: { bars: { gradient: { show: !1 } } } } }, Me = { userOptions: { show: !1 }, style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { bars: { gradient: { show: !1 } }, 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: "#3A3A3A" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Ne = { 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" } } }, Ue = { 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" } } }, Ge = { 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" } } }, He = { 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" } } }, Ve = { 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" } } }, We = { 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" } } }, je = {
|
|
16
16
|
default: {},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
minimal: Pe,
|
|
18
|
+
minimalDark: Me,
|
|
19
|
+
dark: Ne,
|
|
20
|
+
celebration: Ue,
|
|
21
|
+
celebrationNight: Ge,
|
|
22
|
+
hack: He,
|
|
23
|
+
zen: Ve,
|
|
24
|
+
concrete: We
|
|
25
|
+
}, Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
24
26
|
__proto__: null,
|
|
25
|
-
celebration:
|
|
26
|
-
celebrationNight:
|
|
27
|
-
concrete:
|
|
28
|
-
dark:
|
|
29
|
-
default:
|
|
30
|
-
hack:
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
celebration: Ue,
|
|
28
|
+
celebrationNight: Ge,
|
|
29
|
+
concrete: We,
|
|
30
|
+
dark: Ne,
|
|
31
|
+
default: je,
|
|
32
|
+
hack: He,
|
|
33
|
+
minimal: Pe,
|
|
34
|
+
minimalDark: Me,
|
|
35
|
+
zen: Ve
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["x", "y", "width", "height"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = ["id"], ol = ["stop-color"], al = ["stop-color"], sl = ["x", "y", "width", "height", "fill", "rx"], il = ["x", "y", "width", "height", "fill", "rx"], rl = ["x", "y", "width", "height", "fill", "rx"], ul = ["x", "y", "width", "height", "fill", "rx"], nl = { key: 0 }, dl = ["x", "y", "fill", "font-size", "font-weight"], vl = ["x", "y", "fill", "font-size", "font-weight"], cl = { key: 1 }, yl = ["x", "y", "font-size", "fill", "font-weight"], hl = { key: 2 }, fl = { key: 0 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], ml = ["font-size", "fill", "text-anchor", "font-weight", "transform"], Al = ["x", "y", "font-size", "fill", "font-weight"], kl = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], wl = {
|
|
33
37
|
key: 4,
|
|
34
38
|
class: "vue-data-ui-watermark"
|
|
35
|
-
},
|
|
39
|
+
}, Tl = {
|
|
36
40
|
__name: "vue-ui-age-pyramid",
|
|
37
41
|
props: {
|
|
38
42
|
config: {
|
|
@@ -48,9 +52,9 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
|
-
setup(de, { expose:
|
|
52
|
-
const
|
|
53
|
-
...
|
|
55
|
+
setup(de, { expose: Xe }) {
|
|
56
|
+
const Ye = $(() => import("./Tooltip-B6qvABDL.js")), qe = $(() => import("./BaseIcon-4uOct8re.js")), Je = $(() => import("./vue-ui-accordion-DFKaB_05.js")), Ke = $(() => import("./DataTable-DyoDzNNY.js")), Qe = $(() => import("./PenAndPaper-LTuSTmWE.js")), Ze = $(() => import("./UserOptions-CX7Xsusk.js")), et = $(() => import("./PackageVersion-CQxJyGQr.js")), tt = $(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_age_pyramid: lt } = Pt(), { isThemeValid: ot, warnInvalidTheme: at } = Ht(), p = de, ve = h(() => !!p.dataset && p.dataset.length), k = d(Ft()), 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 } = Mt({
|
|
57
|
+
...kt(p),
|
|
54
58
|
FINAL_CONFIG: e,
|
|
55
59
|
prepareConfig: ee,
|
|
56
60
|
skeletonDataset: [
|
|
@@ -65,7 +69,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
65
69
|
["_", 1, 89, 89],
|
|
66
70
|
["_", 0, 144, 144]
|
|
67
71
|
],
|
|
68
|
-
skeletonConfig:
|
|
72
|
+
skeletonConfig: St({
|
|
69
73
|
defaultConfig: e.value,
|
|
70
74
|
userConfig: {
|
|
71
75
|
userOptions: { show: !1 },
|
|
@@ -98,17 +102,17 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
98
102
|
}
|
|
99
103
|
}
|
|
100
104
|
})
|
|
101
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility:
|
|
105
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: Ce, keepUserOptionState: xe } = Vt({ config: e.value }), { svgRef: Z } = Wt({ config: e.value.style.title });
|
|
102
106
|
function ee() {
|
|
103
107
|
const t = ne({
|
|
104
108
|
userConfig: p.config,
|
|
105
|
-
defaultConfig:
|
|
109
|
+
defaultConfig: lt
|
|
106
110
|
}), a = t.theme;
|
|
107
111
|
if (!a) return t;
|
|
108
|
-
if (!
|
|
109
|
-
return
|
|
112
|
+
if (!ot.value(t))
|
|
113
|
+
return at(t), t;
|
|
110
114
|
const l = ne({
|
|
111
|
-
userConfig:
|
|
115
|
+
userConfig: je[a] || p.config,
|
|
112
116
|
defaultConfig: t
|
|
113
117
|
});
|
|
114
118
|
return ne({
|
|
@@ -117,23 +121,23 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
117
121
|
});
|
|
118
122
|
}
|
|
119
123
|
j(() => p.config, (t) => {
|
|
120
|
-
pe.value || (e.value = ee()), Q.value = !e.value.userOptions.showOnChartHover,
|
|
124
|
+
pe.value || (e.value = ee()), Q.value = !e.value.userOptions.showOnChartHover, me(), ge.value += 1, be.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.tooltip.show;
|
|
121
125
|
}, { deep: !0 }), j(() => p.dataset, (t) => {
|
|
122
126
|
Array.isArray(t) && t.length > 0 && (K.value = !1);
|
|
123
127
|
}, { deep: !0 });
|
|
124
128
|
const _ = De(null), I = De(null);
|
|
125
|
-
|
|
126
|
-
|
|
129
|
+
wt(() => {
|
|
130
|
+
me();
|
|
127
131
|
});
|
|
128
|
-
const
|
|
129
|
-
function
|
|
130
|
-
if (Ie(p.dataset) && (
|
|
132
|
+
const st = h(() => !!e.value.debug);
|
|
133
|
+
function me() {
|
|
134
|
+
if (Ie(p.dataset) && (Dt({
|
|
131
135
|
componentName: "VueUiAgePyramid",
|
|
132
136
|
type: "dataset",
|
|
133
|
-
debug:
|
|
137
|
+
debug: st.value
|
|
134
138
|
}), K.value = !0), Ie(p.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
135
139
|
const t = Re(() => {
|
|
136
|
-
const { width: a, height: l } =
|
|
140
|
+
const { width: a, height: l } = Rt({
|
|
137
141
|
chart: w.value,
|
|
138
142
|
title: e.value.style.title.text ? ye.value : null,
|
|
139
143
|
source: he.value,
|
|
@@ -149,16 +153,16 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
149
153
|
Oe(() => {
|
|
150
154
|
_.value && (I.value && _.value.unobserve(I.value), _.value.disconnect());
|
|
151
155
|
});
|
|
152
|
-
const { isPrinting:
|
|
153
|
-
elementId: `vue-ui-age-pyramid_${
|
|
156
|
+
const { isPrinting: Ae, isImaging: ke, generatePdf: we, generateImage: Te } = Ut({
|
|
157
|
+
elementId: `vue-ui-age-pyramid_${k.value}`,
|
|
154
158
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
155
159
|
options: e.value.userOptions.print
|
|
156
|
-
}),
|
|
160
|
+
}), it = h(() => e.value.userOptions.show && !e.value.style.title.text), C = d({
|
|
157
161
|
showTable: e.value.table.show,
|
|
158
162
|
showTooltip: e.value.style.tooltip.show
|
|
159
163
|
});
|
|
160
164
|
j(e, () => {
|
|
161
|
-
|
|
165
|
+
C.value = {
|
|
162
166
|
showTable: e.value.table.show,
|
|
163
167
|
showTooltip: e.value.style.tooltip.show
|
|
164
168
|
};
|
|
@@ -166,14 +170,14 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
166
170
|
const g = d({
|
|
167
171
|
height: e.value.style.height,
|
|
168
172
|
width: e.value.style.width
|
|
169
|
-
}),
|
|
173
|
+
}), rt = h(() => g.value.width), ut = h(() => g.value.height), H = d(0), nt = Re((t) => {
|
|
170
174
|
H.value = t;
|
|
171
175
|
}, 100);
|
|
172
|
-
|
|
176
|
+
Tt((t) => {
|
|
173
177
|
const a = q.value;
|
|
174
178
|
if (!a) return;
|
|
175
179
|
const l = new ResizeObserver((o) => {
|
|
176
|
-
|
|
180
|
+
nt(o[0].contentRect.height);
|
|
177
181
|
});
|
|
178
182
|
l.observe(a), t(() => l.disconnect());
|
|
179
183
|
}), Oe(() => {
|
|
@@ -198,16 +202,16 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
198
202
|
left: a + t / 2 + e.value.style.layout.centerSlit.width
|
|
199
203
|
}
|
|
200
204
|
};
|
|
201
|
-
}),
|
|
202
|
-
const t =
|
|
205
|
+
}), dt = h(() => G.value.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), L = h(() => {
|
|
206
|
+
const t = vt(M.value / 5), a = [], l = [];
|
|
203
207
|
for (let o = 0; o <= 5; o += 1) {
|
|
204
|
-
const n = t * o,
|
|
208
|
+
const n = t * o, x = t * (o - 5);
|
|
205
209
|
a.push({
|
|
206
210
|
value: n,
|
|
207
211
|
x: s.value.left + s.value.width / 2 + e.value.style.layout.centerSlit.width + n / M.value * s.value.leftChart.width
|
|
208
212
|
}), l.push({
|
|
209
|
-
value: Math.abs(
|
|
210
|
-
x: s.value.left + s.value.width / 2 +
|
|
213
|
+
value: Math.abs(x),
|
|
214
|
+
x: s.value.left + s.value.width / 2 + x / M.value * s.value.leftChart.width - e.value.style.layout.centerSlit.width
|
|
211
215
|
});
|
|
212
216
|
}
|
|
213
217
|
return {
|
|
@@ -215,13 +219,13 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
215
219
|
left: l
|
|
216
220
|
};
|
|
217
221
|
});
|
|
218
|
-
function
|
|
222
|
+
function vt(t) {
|
|
219
223
|
if (t === 0) return 0;
|
|
220
224
|
const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
|
|
221
225
|
let o;
|
|
222
226
|
return t < 0, o = Math.round(t / l) * l, o;
|
|
223
227
|
}
|
|
224
|
-
const M = h(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((a) => b(a))))), E = h(() => G.value.length),
|
|
228
|
+
const M = h(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((a) => b(a))))), E = h(() => G.value.length), ct = h(() => G.value.map((t) => ({
|
|
225
229
|
segment: t[0],
|
|
226
230
|
age: t[1],
|
|
227
231
|
left: {
|
|
@@ -232,7 +236,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
232
236
|
value: t[3],
|
|
233
237
|
proportionToMax: t[3] / M.value
|
|
234
238
|
}
|
|
235
|
-
}))), S = h(() =>
|
|
239
|
+
}))), S = h(() => ct.value.map((t, a) => {
|
|
236
240
|
const l = s.value.top + s.value.height / E.value * a, o = s.value.height / E.value - e.value.style.layout.bars.gap;
|
|
237
241
|
return {
|
|
238
242
|
segment: t.segment,
|
|
@@ -259,13 +263,13 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
259
263
|
const [a, l, o, n] = t;
|
|
260
264
|
return { segment: a, index: l, left: o, right: n };
|
|
261
265
|
}
|
|
262
|
-
function
|
|
266
|
+
function yt(t, a) {
|
|
263
267
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: le(a), seriesIndex: t });
|
|
264
268
|
}
|
|
265
|
-
function
|
|
269
|
+
function ht(t, a) {
|
|
266
270
|
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: le(a), seriesIndex: t }), U.value = null, X.value = !1;
|
|
267
271
|
}
|
|
268
|
-
function
|
|
272
|
+
function ft(t, a) {
|
|
269
273
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: le(a), seriesIndex: t }), U.value = t, te.value = {
|
|
270
274
|
datapoint: a,
|
|
271
275
|
seriesIndex: t,
|
|
@@ -273,7 +277,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
273
277
|
config: e.value
|
|
274
278
|
};
|
|
275
279
|
const l = e.value.style.tooltip.customFormat;
|
|
276
|
-
if (
|
|
280
|
+
if (It(l) && Et(() => l({
|
|
277
281
|
seriesIndex: t,
|
|
278
282
|
datapoint: {
|
|
279
283
|
segment: a[0],
|
|
@@ -303,12 +307,12 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
303
307
|
b(n.age),
|
|
304
308
|
B({ v: b(n.age) }),
|
|
305
309
|
{ datapoint: a, seriesIndex: t }
|
|
306
|
-
)}</div>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += '<div style="display:flex; flex-direction:row;gap:12px">', o += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${
|
|
310
|
+
)}</div>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += '<div style="display:flex; flex-direction:row;gap:12px">', o += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${k.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${z(
|
|
307
311
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
308
312
|
b(n.left.value),
|
|
309
313
|
B({ v: b(n.left.value) }),
|
|
310
314
|
{ datapoint: a, seriesIndex: t }
|
|
311
|
-
)}</b></div></div>`, o += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${
|
|
315
|
+
)}</b></div></div>`, o += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${k.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${z(
|
|
312
316
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
313
317
|
b(n.right.value),
|
|
314
318
|
B({ v: b(n.right.value) }),
|
|
@@ -323,15 +327,15 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
323
327
|
X.value = !0;
|
|
324
328
|
}
|
|
325
329
|
function oe(t = null) {
|
|
326
|
-
|
|
327
|
-
const a = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], l = p.dataset.map((
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), n =
|
|
334
|
-
t ? t(n) :
|
|
330
|
+
$t(() => {
|
|
331
|
+
const a = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], l = p.dataset.map((x) => [
|
|
332
|
+
x[0],
|
|
333
|
+
x[1],
|
|
334
|
+
x[2],
|
|
335
|
+
x[3],
|
|
336
|
+
x[2] ?? 0 + x[3] ?? 0
|
|
337
|
+
]), o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), n = zt(o);
|
|
338
|
+
t ? t(n) : Bt({ csvContent: n, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
335
339
|
});
|
|
336
340
|
}
|
|
337
341
|
const V = h(() => {
|
|
@@ -366,45 +370,45 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
366
370
|
D.value = t, ce.value += 1;
|
|
367
371
|
}
|
|
368
372
|
function Le() {
|
|
369
|
-
|
|
373
|
+
C.value.showTable = !C.value.showTable;
|
|
370
374
|
}
|
|
371
375
|
function $e() {
|
|
372
|
-
|
|
376
|
+
C.value.showTooltip = !C.value.showTooltip;
|
|
373
377
|
}
|
|
374
378
|
const W = d(!1);
|
|
375
379
|
function ae() {
|
|
376
380
|
W.value = !W.value;
|
|
377
381
|
}
|
|
378
|
-
async function
|
|
382
|
+
async function gt({ scale: t = 2 } = {}) {
|
|
379
383
|
if (!w.value) return;
|
|
380
|
-
const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64:
|
|
384
|
+
const { width: a, height: l } = w.value.getBoundingClientRect(), o = a / l, { imageUri: n, base64: x } = await Xt({ domElement: w.value, base64: !0, img: !0, scale: t });
|
|
381
385
|
return {
|
|
382
386
|
imageUri: n,
|
|
383
|
-
base64:
|
|
387
|
+
base64: x,
|
|
384
388
|
title: e.value.style.title.text,
|
|
385
389
|
width: a,
|
|
386
390
|
height: l,
|
|
387
391
|
aspectRatio: o
|
|
388
392
|
};
|
|
389
393
|
}
|
|
390
|
-
const
|
|
391
|
-
|
|
394
|
+
const bt = d([]), pt = d({ start: 0, end: S.value.length });
|
|
395
|
+
jt({
|
|
392
396
|
timeLabelsEls: q,
|
|
393
|
-
timeLabels:
|
|
394
|
-
slicer:
|
|
397
|
+
timeLabels: bt,
|
|
398
|
+
slicer: pt,
|
|
395
399
|
configRef: e,
|
|
396
400
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
397
401
|
autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
|
|
398
402
|
isAutoSize: !1,
|
|
399
|
-
width:
|
|
400
|
-
height:
|
|
403
|
+
width: rt,
|
|
404
|
+
height: ut,
|
|
401
405
|
targetClass: ".vue-ui-age-pyramid-x-axis-label",
|
|
402
406
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle
|
|
403
407
|
});
|
|
404
408
|
const N = h(() => {
|
|
405
|
-
const t = e.value.table.useDialog && !e.value.table.show, a =
|
|
409
|
+
const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
|
|
406
410
|
return {
|
|
407
|
-
component: t ?
|
|
411
|
+
component: t ? tt : Je,
|
|
408
412
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
409
413
|
props: t ? {
|
|
410
414
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -431,26 +435,26 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
431
435
|
}
|
|
432
436
|
};
|
|
433
437
|
});
|
|
434
|
-
j(() =>
|
|
438
|
+
j(() => C.value.showTable, (t) => {
|
|
435
439
|
e.value.table.show || (t && e.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
|
|
436
440
|
});
|
|
437
441
|
function Fe() {
|
|
438
|
-
|
|
442
|
+
C.value.showTable = !1, J.value && J.value.setTableIconState(!1);
|
|
439
443
|
}
|
|
440
|
-
const
|
|
444
|
+
const Ct = h(() => e.value.style.backgroundColor), xt = h(() => e.value.style.title), { exportSvg: mt, getSvg: At } = Gt({
|
|
441
445
|
svg: Z,
|
|
442
|
-
title:
|
|
443
|
-
backgroundColor:
|
|
446
|
+
title: xt,
|
|
447
|
+
backgroundColor: Ct
|
|
444
448
|
});
|
|
445
449
|
async function Se({ isCb: t }) {
|
|
446
450
|
if (t) {
|
|
447
|
-
const { blob: a, url: l, text: o, dataUrl: n } = await
|
|
451
|
+
const { blob: a, url: l, text: o, dataUrl: n } = await At();
|
|
448
452
|
e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
|
|
449
453
|
} else
|
|
450
|
-
|
|
454
|
+
mt();
|
|
451
455
|
}
|
|
452
|
-
return
|
|
453
|
-
getImage:
|
|
456
|
+
return Xe({
|
|
457
|
+
getImage: gt,
|
|
454
458
|
generatePdf: we,
|
|
455
459
|
generateCsv: oe,
|
|
456
460
|
generateImage: Te,
|
|
@@ -463,12 +467,12 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
463
467
|
class: ze(`vue-data-ui-component vue-ui-age-pyramid ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
464
468
|
ref_key: "agePyramid",
|
|
465
469
|
ref: w,
|
|
466
|
-
id: `vue-ui-age-pyramid_${
|
|
470
|
+
id: `vue-ui-age-pyramid_${k.value}`,
|
|
467
471
|
style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
468
|
-
onMouseenter: a[1] || (a[1] = () => r(
|
|
469
|
-
onMouseleave: a[2] || (a[2] = () => r(
|
|
472
|
+
onMouseenter: a[1] || (a[1] = () => r(Ce)(!0)),
|
|
473
|
+
onMouseleave: a[2] || (a[2] = () => r(Ce)(!1))
|
|
470
474
|
}, [
|
|
471
|
-
e.value.userOptions.buttons.annotator ? (i(), R(r(
|
|
475
|
+
e.value.userOptions.buttons.annotator ? (i(), R(r(Qe), {
|
|
472
476
|
key: 0,
|
|
473
477
|
svgRef: r(Z),
|
|
474
478
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -480,23 +484,23 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
480
484
|
v(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
481
485
|
]),
|
|
482
486
|
"annotator-action-color": c(({ color: l }) => [
|
|
483
|
-
v(t.$slots, "annotator-action-color",
|
|
487
|
+
v(t.$slots, "annotator-action-color", m(A({ color: l })), void 0, !0)
|
|
484
488
|
]),
|
|
485
489
|
"annotator-action-draw": c(({ mode: l }) => [
|
|
486
|
-
v(t.$slots, "annotator-action-draw",
|
|
490
|
+
v(t.$slots, "annotator-action-draw", m(A({ mode: l })), void 0, !0)
|
|
487
491
|
]),
|
|
488
492
|
"annotator-action-undo": c(({ disabled: l }) => [
|
|
489
|
-
v(t.$slots, "annotator-action-undo",
|
|
493
|
+
v(t.$slots, "annotator-action-undo", m(A({ disabled: l })), void 0, !0)
|
|
490
494
|
]),
|
|
491
495
|
"annotator-action-redo": c(({ disabled: l }) => [
|
|
492
|
-
v(t.$slots, "annotator-action-redo",
|
|
496
|
+
v(t.$slots, "annotator-action-redo", m(A({ disabled: l })), void 0, !0)
|
|
493
497
|
]),
|
|
494
498
|
"annotator-action-delete": c(({ disabled: l }) => [
|
|
495
|
-
v(t.$slots, "annotator-action-delete",
|
|
499
|
+
v(t.$slots, "annotator-action-delete", m(A({ disabled: l })), void 0, !0)
|
|
496
500
|
]),
|
|
497
501
|
_: 3
|
|
498
502
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
499
|
-
|
|
503
|
+
it.value ? (i(), u("div", {
|
|
500
504
|
key: 1,
|
|
501
505
|
ref_key: "noTitle",
|
|
502
506
|
ref: fe,
|
|
@@ -509,7 +513,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
509
513
|
ref: ye,
|
|
510
514
|
style: "width:100%;background:transparent"
|
|
511
515
|
}, [
|
|
512
|
-
(i(), R(
|
|
516
|
+
(i(), R(Yt, {
|
|
513
517
|
key: `title_${ge.value}`,
|
|
514
518
|
config: {
|
|
515
519
|
title: {
|
|
@@ -523,15 +527,15 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
523
527
|
}
|
|
524
528
|
}, null, 8, ["config"]))
|
|
525
529
|
], 512)) : f("", !0),
|
|
526
|
-
e.value.userOptions.show && ve.value && (r(
|
|
530
|
+
e.value.userOptions.show && ve.value && (r(xe) || r(Q)) ? (i(), R(r(Ze), {
|
|
527
531
|
ref_key: "userOptionsRef",
|
|
528
532
|
ref: J,
|
|
529
533
|
key: `user_options_${ce.value}`,
|
|
530
534
|
backgroundColor: e.value.style.backgroundColor,
|
|
531
535
|
color: e.value.style.color,
|
|
532
|
-
isImaging: r(
|
|
533
|
-
isPrinting: r(
|
|
534
|
-
uid:
|
|
536
|
+
isImaging: r(ke),
|
|
537
|
+
isPrinting: r(Ae),
|
|
538
|
+
uid: k.value,
|
|
535
539
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
536
540
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
537
541
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -540,7 +544,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
540
544
|
hasTable: e.value.userOptions.buttons.table,
|
|
541
545
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
542
546
|
isFullscreen: D.value,
|
|
543
|
-
isTooltip:
|
|
547
|
+
isTooltip: C.value.showTooltip,
|
|
544
548
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
545
549
|
chartElement: w.value,
|
|
546
550
|
position: e.value.userOptions.position,
|
|
@@ -558,13 +562,13 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
558
562
|
onToggleTooltip: $e,
|
|
559
563
|
onToggleAnnotator: ae,
|
|
560
564
|
style: se({
|
|
561
|
-
visibility: r(
|
|
565
|
+
visibility: r(xe) ? r(Q) ? "visible" : "hidden" : "visible"
|
|
562
566
|
})
|
|
563
567
|
}, Be({ _: 2 }, [
|
|
564
568
|
t.$slots.menuIcon ? {
|
|
565
569
|
name: "menuIcon",
|
|
566
570
|
fn: c(({ isOpen: l, color: o }) => [
|
|
567
|
-
v(t.$slots, "menuIcon",
|
|
571
|
+
v(t.$slots, "menuIcon", m(A({ isOpen: l, color: o })), void 0, !0)
|
|
568
572
|
]),
|
|
569
573
|
key: "0"
|
|
570
574
|
} : void 0,
|
|
@@ -613,14 +617,14 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
613
617
|
t.$slots.optionFullscreen ? {
|
|
614
618
|
name: "optionFullscreen",
|
|
615
619
|
fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
616
|
-
v(t.$slots, "optionFullscreen",
|
|
620
|
+
v(t.$slots, "optionFullscreen", m(A({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
617
621
|
]),
|
|
618
622
|
key: "7"
|
|
619
623
|
} : void 0,
|
|
620
624
|
t.$slots.optionAnnotator ? {
|
|
621
625
|
name: "optionAnnotator",
|
|
622
626
|
fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
623
|
-
v(t.$slots, "optionAnnotator",
|
|
627
|
+
v(t.$slots, "optionAnnotator", m(A({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
624
628
|
]),
|
|
625
629
|
key: "8"
|
|
626
630
|
} : void 0
|
|
@@ -628,12 +632,12 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
628
632
|
(i(), u("svg", {
|
|
629
633
|
ref_key: "svgRef",
|
|
630
634
|
ref: Z,
|
|
631
|
-
xmlns: r(
|
|
635
|
+
xmlns: r(Ot),
|
|
632
636
|
class: ze({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
633
637
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
634
638
|
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
635
639
|
}, [
|
|
636
|
-
ie(r(
|
|
640
|
+
ie(r(et)),
|
|
637
641
|
t.$slots["chart-background"] ? (i(), u("foreignObject", {
|
|
638
642
|
key: 0,
|
|
639
643
|
x: s.value.left,
|
|
@@ -645,10 +649,10 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
645
649
|
}
|
|
646
650
|
}, [
|
|
647
651
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
648
|
-
], 8,
|
|
652
|
+
], 8, Qt)) : f("", !0),
|
|
649
653
|
y("defs", null, [
|
|
650
654
|
y("linearGradient", {
|
|
651
|
-
id: `age_pyramid_left_${
|
|
655
|
+
id: `age_pyramid_left_${k.value}`,
|
|
652
656
|
x1: "0%",
|
|
653
657
|
y1: "0%",
|
|
654
658
|
x2: "100%",
|
|
@@ -657,14 +661,14 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
657
661
|
y("stop", {
|
|
658
662
|
offset: "0%",
|
|
659
663
|
"stop-color": e.value.style.layout.bars.left.color
|
|
660
|
-
}, null, 8,
|
|
664
|
+
}, null, 8, el),
|
|
661
665
|
y("stop", {
|
|
662
666
|
offset: "100%",
|
|
663
667
|
"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,
|
|
668
|
+
}, null, 8, tl)
|
|
669
|
+
], 8, Zt),
|
|
666
670
|
y("linearGradient", {
|
|
667
|
-
id: `age_pyramid_right_${
|
|
671
|
+
id: `age_pyramid_right_${k.value}`,
|
|
668
672
|
x1: "0%",
|
|
669
673
|
y1: "0%",
|
|
670
674
|
x2: "100%",
|
|
@@ -673,12 +677,12 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
673
677
|
y("stop", {
|
|
674
678
|
offset: "0%",
|
|
675
679
|
"stop-color": r(ue)(r(Ee)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
676
|
-
}, null, 8,
|
|
680
|
+
}, null, 8, ol),
|
|
677
681
|
y("stop", {
|
|
678
682
|
offset: "100%",
|
|
679
683
|
"stop-color": e.value.style.layout.bars.right.color
|
|
680
|
-
}, null, 8,
|
|
681
|
-
], 8,
|
|
684
|
+
}, null, 8, al)
|
|
685
|
+
], 8, ll)
|
|
682
686
|
]),
|
|
683
687
|
(i(!0), u(F, null, O(S.value, (l, o) => (i(), u("g", null, [
|
|
684
688
|
y("rect", {
|
|
@@ -688,15 +692,15 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
688
692
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
689
693
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
690
694
|
rx: e.value.style.layout.bars.borderRadius
|
|
691
|
-
}, null, 8,
|
|
695
|
+
}, null, 8, sl),
|
|
692
696
|
y("rect", {
|
|
693
697
|
x: l.left.x,
|
|
694
698
|
y: l.left.y,
|
|
695
699
|
width: l.left.width <= 0 ? 1e-4 : l.left.width,
|
|
696
700
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
697
|
-
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${
|
|
701
|
+
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${k.value})` : l.left.color,
|
|
698
702
|
rx: e.value.style.layout.bars.borderRadius
|
|
699
|
-
}, null, 8,
|
|
703
|
+
}, null, 8, il),
|
|
700
704
|
y("rect", {
|
|
701
705
|
x: l.right.x,
|
|
702
706
|
y: l.right.y,
|
|
@@ -704,18 +708,18 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
704
708
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
705
709
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
706
710
|
rx: e.value.style.layout.bars.borderRadius
|
|
707
|
-
}, null, 8,
|
|
711
|
+
}, null, 8, rl),
|
|
708
712
|
y("rect", {
|
|
709
713
|
x: l.right.x,
|
|
710
714
|
y: l.right.y,
|
|
711
715
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
712
716
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
713
|
-
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${
|
|
717
|
+
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${k.value})` : l.right.color,
|
|
714
718
|
rx: e.value.style.layout.bars.borderRadius
|
|
715
|
-
}, null, 8,
|
|
719
|
+
}, null, 8, ul)
|
|
716
720
|
]))), 256)),
|
|
717
721
|
y("g", null, [
|
|
718
|
-
e.value.style.layout.dataLabels.sideTitles.show ? (i(), u("g",
|
|
722
|
+
e.value.style.layout.dataLabels.sideTitles.show ? (i(), u("g", nl, [
|
|
719
723
|
y("text", {
|
|
720
724
|
x: s.value.left,
|
|
721
725
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
@@ -723,7 +727,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
723
727
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
724
728
|
"text-anchor": "start",
|
|
725
729
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
726
|
-
}, T(e.value.translations.female), 9,
|
|
730
|
+
}, T(e.value.translations.female), 9, dl),
|
|
727
731
|
y("text", {
|
|
728
732
|
x: s.value.right,
|
|
729
733
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
@@ -731,10 +735,10 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
731
735
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
732
736
|
"text-anchor": "end",
|
|
733
737
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
734
|
-
}, T(e.value.translations.male), 9,
|
|
738
|
+
}, T(e.value.translations.male), 9, vl)
|
|
735
739
|
])) : f("", !0),
|
|
736
|
-
e.value.style.layout.dataLabels.yAxis.show ? (i(), u("g",
|
|
737
|
-
(i(!0), u(F, null, O(
|
|
740
|
+
e.value.style.layout.dataLabels.yAxis.show ? (i(), u("g", cl, [
|
|
741
|
+
(i(!0), u(F, null, O(dt.value, (l, o) => (i(), u(F, null, [
|
|
738
742
|
o % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), u("text", {
|
|
739
743
|
key: 0,
|
|
740
744
|
x: s.value.centerX,
|
|
@@ -748,11 +752,11 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
748
752
|
l,
|
|
749
753
|
r(B)({ v: l }),
|
|
750
754
|
{ datapoint: l, seriesIndex: o }
|
|
751
|
-
)), 9,
|
|
755
|
+
)), 9, yl)) : f("", !0)
|
|
752
756
|
], 64))), 256))
|
|
753
757
|
])) : f("", !0),
|
|
754
|
-
e.value.style.layout.dataLabels.xAxis.show ? (i(), u("g",
|
|
755
|
-
e.value.style.layout.grid.show ? (i(), u("g",
|
|
758
|
+
e.value.style.layout.dataLabels.xAxis.show ? (i(), u("g", hl, [
|
|
759
|
+
e.value.style.layout.grid.show ? (i(), u("g", fl, [
|
|
756
760
|
y("line", {
|
|
757
761
|
x1: L.value.right[0].x,
|
|
758
762
|
x2: L.value.right.at(-1).x,
|
|
@@ -761,7 +765,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
761
765
|
stroke: e.value.style.layout.grid.stroke,
|
|
762
766
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
763
767
|
"stroke-linecap": "round"
|
|
764
|
-
}, null, 8,
|
|
768
|
+
}, null, 8, gl),
|
|
765
769
|
y("line", {
|
|
766
770
|
x1: L.value.left[0].x,
|
|
767
771
|
x2: L.value.left.at(-1).x,
|
|
@@ -770,7 +774,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
770
774
|
stroke: e.value.style.layout.grid.stroke,
|
|
771
775
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
772
776
|
"stroke-linecap": "round"
|
|
773
|
-
}, null, 8,
|
|
777
|
+
}, null, 8, bl)
|
|
774
778
|
])) : f("", !0),
|
|
775
779
|
(i(!0), u(F, null, O(L.value.right, (l, o) => (i(), u("g", null, [
|
|
776
780
|
e.value.style.layout.grid.show ? (i(), u("line", {
|
|
@@ -782,7 +786,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
782
786
|
stroke: e.value.style.layout.grid.stroke,
|
|
783
787
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
784
788
|
"stroke-linecap": "round"
|
|
785
|
-
}, null, 8,
|
|
789
|
+
}, null, 8, pl)) : f("", !0)
|
|
786
790
|
]))), 256)),
|
|
787
791
|
(i(!0), u(F, null, O(L.value.left, (l, o) => (i(), u("g", null, [
|
|
788
792
|
e.value.style.layout.grid.show ? (i(), u("line", {
|
|
@@ -794,7 +798,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
794
798
|
stroke: e.value.style.layout.grid.stroke,
|
|
795
799
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
796
800
|
"stroke-linecap": "round"
|
|
797
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, Cl)) : f("", !0)
|
|
798
802
|
]))), 256)),
|
|
799
803
|
y("g", {
|
|
800
804
|
ref_key: "xAxisLabels",
|
|
@@ -814,7 +818,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
814
818
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
815
819
|
}),
|
|
816
820
|
{ datapoint: l, seriesIndex: o }
|
|
817
|
-
)), 9,
|
|
821
|
+
)), 9, xl))), 256)),
|
|
818
822
|
(i(!0), u(F, null, O(L.value.left, (l, o) => (i(), u("text", {
|
|
819
823
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
820
824
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
@@ -829,7 +833,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
829
833
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
830
834
|
}),
|
|
831
835
|
{ datapoint: l, seriesIndex: o }
|
|
832
|
-
)), 9,
|
|
836
|
+
)), 9, ml))), 256))
|
|
833
837
|
], 512),
|
|
834
838
|
y("text", {
|
|
835
839
|
x: s.value.right,
|
|
@@ -838,7 +842,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
838
842
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
839
843
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
840
844
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
841
|
-
}, T(e.value.style.layout.dataLabels.xAxis.translation), 9,
|
|
845
|
+
}, T(e.value.style.layout.dataLabels.xAxis.translation), 9, Al)
|
|
842
846
|
])) : f("", !0)
|
|
843
847
|
]),
|
|
844
848
|
(i(!0), u(F, null, O(de.dataset, (l, o) => (i(), u("g", null, [
|
|
@@ -848,15 +852,15 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
848
852
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
849
853
|
height: s.value.height / E.value <= 0 ? 1e-4 : s.value.height / E.value,
|
|
850
854
|
fill: U.value !== null && U.value === o ? r(ue)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
851
|
-
onMouseover: (n) =>
|
|
852
|
-
onMouseleave: (n) =>
|
|
853
|
-
onClick: (n) =>
|
|
854
|
-
}, null, 40,
|
|
855
|
+
onMouseover: (n) => ft(o, l),
|
|
856
|
+
onMouseleave: (n) => ht(o, l),
|
|
857
|
+
onClick: (n) => yt(o, l)
|
|
858
|
+
}, null, 40, kl)
|
|
855
859
|
]))), 256)),
|
|
856
860
|
v(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
857
|
-
], 14,
|
|
858
|
-
t.$slots.watermark ? (i(), u("div",
|
|
859
|
-
v(t.$slots, "watermark",
|
|
861
|
+
], 14, Kt)),
|
|
862
|
+
t.$slots.watermark ? (i(), u("div", wl, [
|
|
863
|
+
v(t.$slots, "watermark", m(A({ isPrinting: r(Ae) || r(ke) })), void 0, !0)
|
|
860
864
|
])) : f("", !0),
|
|
861
865
|
v(t.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
862
866
|
t.$slots.source ? (i(), u("div", {
|
|
@@ -867,9 +871,9 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
867
871
|
}, [
|
|
868
872
|
v(t.$slots, "source", {}, void 0, !0)
|
|
869
873
|
], 512)) : f("", !0),
|
|
870
|
-
ie(r(
|
|
874
|
+
ie(r(Ye), {
|
|
871
875
|
teleportTo: e.value.style.tooltip.teleportTo,
|
|
872
|
-
show:
|
|
876
|
+
show: C.value.showTooltip && X.value,
|
|
873
877
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
874
878
|
color: e.value.style.tooltip.color,
|
|
875
879
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -889,20 +893,20 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
889
893
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
890
894
|
}, {
|
|
891
895
|
"tooltip-before": c(() => [
|
|
892
|
-
v(t.$slots, "tooltip-before",
|
|
896
|
+
v(t.$slots, "tooltip-before", m(A({ ...te.value })), void 0, !0)
|
|
893
897
|
]),
|
|
894
898
|
"tooltip-after": c(() => [
|
|
895
|
-
v(t.$slots, "tooltip-after",
|
|
899
|
+
v(t.$slots, "tooltip-after", m(A({ ...te.value })), void 0, !0)
|
|
896
900
|
]),
|
|
897
901
|
_: 3
|
|
898
902
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
899
|
-
ve.value && e.value.userOptions.buttons.table ? (i(), R(
|
|
903
|
+
ve.value && e.value.userOptions.buttons.table ? (i(), R(_t(N.value.component), Lt({ key: 6 }, N.value.props, {
|
|
900
904
|
ref_key: "tableUnit",
|
|
901
905
|
ref: P,
|
|
902
906
|
onClose: Fe
|
|
903
907
|
}), Be({
|
|
904
908
|
content: c(() => [
|
|
905
|
-
(i(), R(r(
|
|
909
|
+
(i(), R(r(Ke), {
|
|
906
910
|
key: `table_${be.value}`,
|
|
907
911
|
colNames: V.value.colNames,
|
|
908
912
|
head: V.value.head,
|
|
@@ -938,7 +942,7 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
938
942
|
class: "vue-ui-user-options-button",
|
|
939
943
|
onClick: a[0] || (a[0] = (l) => oe(e.value.userOptions.callbacks.csv))
|
|
940
944
|
}, [
|
|
941
|
-
ie(r(
|
|
945
|
+
ie(r(qe), {
|
|
942
946
|
name: "excel",
|
|
943
947
|
stroke: N.value.props.color
|
|
944
948
|
}, null, 8, ["stroke"])
|
|
@@ -947,15 +951,15 @@ const Pe = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { gr
|
|
|
947
951
|
key: "1"
|
|
948
952
|
} : void 0
|
|
949
953
|
]), 1040)) : f("", !0),
|
|
950
|
-
r(pe) ? (i(), R(
|
|
951
|
-
], 46,
|
|
954
|
+
r(pe) ? (i(), R(Nt, { key: 7 })) : f("", !0)
|
|
955
|
+
], 46, Jt));
|
|
952
956
|
}
|
|
953
|
-
},
|
|
957
|
+
}, _l = /* @__PURE__ */ qt(Tl, [["__scopeId", "data-v-6f806e68"]]), Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
954
958
|
__proto__: null,
|
|
955
|
-
default:
|
|
959
|
+
default: _l
|
|
956
960
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
957
961
|
export {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
962
|
+
Ul as a,
|
|
963
|
+
Gl as b,
|
|
964
|
+
_l as v
|
|
961
965
|
};
|