vue-data-ui 3.16.4 → 3.17.0
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/README.md +64 -46
- package/dist/{PackageVersion-1BHnPIBZ.js → PackageVersion-B3kmPxTR.js} +1 -1
- package/dist/{Slicer-DUycDH_N.js → Slicer-CIHwwuNR.js} +107 -110
- package/dist/SlicerPreview-BIvxyb5W.js +1484 -0
- package/dist/{Tooltip-Bf-kM3_A.js → Tooltip-C8KGyqQk.js} +19 -17
- 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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1 -1
- package/dist/{useConfig-CpJA0VZa.js → useConfig-ChRble71.js} +1 -0
- package/dist/{useObjectBindings-DToqZaRC.js → useObjectBindings-BVFCsss5.js} +1 -1
- package/dist/utils.js +1 -1
- package/dist/{vue-data-ui-D28lrXzG.js → vue-data-ui-BX3I-ZQt.js} +67 -67
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-BOrQb1Zm.js → vue-ui-3d-bar-DsSxN6Xl.js} +2 -2
- package/dist/{vue-ui-accordion-BF4v32wv.js → vue-ui-accordion-CnDW2UQL.js} +1 -1
- package/dist/{vue-ui-age-pyramid-txthNdz1.js → vue-ui-age-pyramid-DgAJXx1F.js} +112 -109
- package/dist/{vue-ui-annotator-U961V1Kc.js → vue-ui-annotator-BA4hRkfX.js} +2 -2
- package/dist/{vue-ui-bullet-BboXC-yM.js → vue-ui-bullet-BCuT1zVr.js} +2 -2
- package/dist/{vue-ui-bump-oRhoxgeR.js → vue-ui-bump-BTnwgB5Q.js} +2 -2
- package/dist/{vue-ui-candlestick-RAgVO1Hl.js → vue-ui-candlestick-BMvM7WIc.js} +148 -145
- package/dist/{vue-ui-carousel-table-BFqP05En.js → vue-ui-carousel-table-DCtWIG49.js} +2 -2
- package/dist/{vue-ui-chestnut-ComiA10N.js → vue-ui-chestnut-DJ0R3Aqx.js} +2 -2
- package/dist/{vue-ui-chord-D9dLOTr5.js → vue-ui-chord-BbWToSBq.js} +2 -2
- package/dist/{vue-ui-circle-pack-pqOFrf-X.js → vue-ui-circle-pack-CwuEfQPE.js} +117 -114
- package/dist/{vue-ui-cursor-BmAytuMu.js → vue-ui-cursor-C4MnK_CE.js} +2 -2
- package/dist/{vue-ui-dag-CuJNCfFw.js → vue-ui-dag-HKbeFOit.js} +2 -2
- package/dist/{vue-ui-dashboard-DDuu-xwh.js → vue-ui-dashboard-DTYz-idn.js} +65 -65
- package/dist/{vue-ui-digits-DYKnwhao.js → vue-ui-digits-CrFH4BlD.js} +2 -2
- package/dist/{vue-ui-donut-CbD2wI-a.js → vue-ui-donut-B1C7vzFY.js} +100 -97
- package/dist/{vue-ui-donut-evolution-BdA0k4Eg.js → vue-ui-donut-evolution-BUIQwZ-c.js} +3 -3
- package/dist/{vue-ui-dumbbell-CPbXszE_.js → vue-ui-dumbbell-Bq-X5L24.js} +2 -2
- package/dist/{vue-ui-flow-RyxU8f22.js → vue-ui-flow-DUn9hp_J.js} +141 -138
- package/dist/{vue-ui-funnel-Cda_iN_h.js → vue-ui-funnel-CNF2ULOQ.js} +2 -2
- package/dist/{vue-ui-galaxy-BNUPKqkV.js → vue-ui-galaxy-BzlU9OSU.js} +75 -72
- package/dist/{vue-ui-gauge-CihaQBsc.js → vue-ui-gauge-aF_V6ynK.js} +2 -2
- package/dist/{vue-ui-geo-Da95dDom.js → vue-ui-geo-xaZvHjAP.js} +116 -113
- package/dist/{vue-ui-gizmo-DzHN0cW5.js → vue-ui-gizmo-BGvS_AHj.js} +2 -2
- package/dist/{vue-ui-heatmap-DqQiO1Oz.js → vue-ui-heatmap-B_BmpyVy.js} +191 -188
- package/dist/{vue-ui-history-plot-DqeaH_61.js → vue-ui-history-plot-DsoLp3aL.js} +124 -121
- package/dist/{vue-ui-horizontal-bar-CX6TPm9_.js → vue-ui-horizontal-bar-JVjE88ZW.js} +218 -215
- package/dist/{vue-ui-kpi-OxZqguE4.js → vue-ui-kpi-B-v1zpd4.js} +2 -2
- package/dist/{vue-ui-mini-loader-DSQ9kcmW.js → vue-ui-mini-loader-CPfZsqWP.js} +1 -1
- package/dist/{vue-ui-molecule-CTm126iW.js → vue-ui-molecule-Di9_wsME.js} +61 -58
- package/dist/{vue-ui-mood-radar-C0E6bq6E.js → vue-ui-mood-radar-CetQpdnu.js} +2 -2
- package/dist/{vue-ui-nested-donuts-Bh0ZICKK.js → vue-ui-nested-donuts-Y-UMjjYV.js} +131 -128
- package/dist/{vue-ui-onion-QsjwjlCa.js → vue-ui-onion-MM3QZLzF.js} +142 -139
- package/dist/{vue-ui-parallel-coordinate-plot-wJcWVLAC.js → vue-ui-parallel-coordinate-plot-CcHmB0MQ.js} +91 -88
- package/dist/{vue-ui-quadrant-lJ7T6q87.js → vue-ui-quadrant-CQIMUggy.js} +58 -55
- package/dist/{vue-ui-quick-chart-CEMQYbSC.js → vue-ui-quick-chart-lwGufdDj.js} +235 -232
- package/dist/{vue-ui-radar-d7b-Y40r.js → vue-ui-radar-CS74L65M.js} +117 -114
- package/dist/{vue-ui-rating-hudM2QS0.js → vue-ui-rating-DiLLVHq3.js} +1 -1
- package/dist/{vue-ui-relation-circle-_PoDqM8x.js → vue-ui-relation-circle-D3dO8RTC.js} +2 -2
- package/dist/{vue-ui-ridgeline-BU_EA8-u.js → vue-ui-ridgeline-Dpvq9yp2.js} +2 -2
- package/dist/{vue-ui-rings-BQKtt-FQ.js → vue-ui-rings-D-45pPpZ.js} +122 -119
- package/dist/{vue-ui-scatter-Bh95G7ZD.js → vue-ui-scatter-BzCjfGB9.js} +121 -118
- package/dist/{vue-ui-skeleton-BIw-u4zp.js → vue-ui-skeleton-Dai-bZZw.js} +2 -2
- package/dist/{vue-ui-smiley-CQ_rGHFe.js → vue-ui-smiley-BioqmYwT.js} +1 -1
- package/dist/{vue-ui-spark-trend-D4QxExdm.js → vue-ui-spark-trend-DiC9V0VU.js} +2 -2
- package/dist/{vue-ui-sparkbar-BmiEOs4E.js → vue-ui-sparkbar-D6EsbW6u.js} +2 -2
- package/dist/{vue-ui-sparkgauge-hwEkTICS.js → vue-ui-sparkgauge-BHDXZgJH.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-DEkO_5i3.js → vue-ui-sparkhistogram-DzuOjuNH.js} +2 -2
- package/dist/{vue-ui-sparkline-DFnG0CrA.js → vue-ui-sparkline-B-zOqzrC.js} +288 -276
- package/dist/{vue-ui-sparkstackbar-CQqUPbkU.js → vue-ui-sparkstackbar-bqKzIKSg.js} +147 -144
- package/dist/{vue-ui-stackbar-BcP_TA9R.js → vue-ui-stackbar-DPfxqQUG.js} +435 -424
- package/dist/{vue-ui-stackline-Bnuj-z-G.js → vue-ui-stackline-Ctqe1OuF.js} +627 -609
- package/dist/{vue-ui-strip-plot-B-tszwir.js → vue-ui-strip-plot-Dg2URhvc.js} +72 -69
- package/dist/{vue-ui-table-heatmap-DU7w6PrX.js → vue-ui-table-heatmap-Da6sqBlI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DHjZyVAg.js → vue-ui-table-sparkline-Bkv6Qz6V.js} +2 -2
- package/dist/{vue-ui-table-BVQyX-Yx.js → vue-ui-table-xrD-xqis.js} +3 -3
- package/dist/{vue-ui-thermometer-ZED83TXZ.js → vue-ui-thermometer-D7VVeA2i.js} +2 -2
- package/dist/{vue-ui-timer-Xg7H9EaE.js → vue-ui-timer-D7XYgZfb.js} +2 -2
- package/dist/{vue-ui-tiremarks-BDoU-BcX.js → vue-ui-tiremarks-i6e8GTI9.js} +2 -2
- package/dist/{vue-ui-treemap-BcS1k9hJ.js → vue-ui-treemap-D8Mbfeuc.js} +220 -217
- package/dist/{vue-ui-waffle-CSvzbC5u.js → vue-ui-waffle-7rVD530d.js} +123 -120
- package/dist/{vue-ui-wheel-BrLKEar8.js → vue-ui-wheel-HQNWtsvJ.js} +2 -2
- package/dist/{vue-ui-word-cloud-D05ZR0u7.js → vue-ui-word-cloud-DFAEbzUa.js} +159 -156
- package/dist/{vue-ui-world-CtPJIK5c.js → vue-ui-world-YvmrdfIm.js} +86 -83
- package/dist/vue-ui-xy-canvas-CEaAQ_tr.js +1819 -0
- package/dist/{vue-ui-xy-5mNo0EDu.js → vue-ui-xy-n4juEarQ.js} +402 -398
- package/package.json +1 -1
- package/dist/SlicerPreview-DTjwV0iY.js +0 -1372
- package/dist/vue-ui-xy-canvas-CaoWw3AU.js +0 -1810
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as I, computed as g, ref as r, toRefs as Mt, watch as
|
|
2
|
-
import { j as Vt, t as Ye, o as qe, q as Gt, K as
|
|
1
|
+
import { defineAsyncComponent as I, computed as g, ref as r, toRefs as Mt, watch as te, shallowRef as We, onMounted as Nt, onBeforeUnmount as Ke, watchEffect as Et, openBlock as u, createElementBlock as v, unref as n, normalizeStyle as le, normalizeClass as Xe, createElementVNode as f, toDisplayString as T, createBlock as R, createCommentVNode as p, withCtx as c, renderSlot as y, normalizeProps as x, guardReactiveProps as w, createSlots as je, createVNode as he, Fragment as O, renderList as M, resolveDynamicComponent as Bt, mergeProps as Ut, createTextVNode as ge, nextTick as pe } from "vue";
|
|
2
|
+
import { j as Vt, t as Ye, o as qe, q as Gt, K as k, X as Ht, u as be, v as Je, k as N, l as E, a0 as Wt, a1 as Kt, T as Xt, U as jt, a3 as Yt } from "./lib-DBptbyyI.js";
|
|
3
3
|
import { t as Qe, u as qt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Jt } from "./useConfig-
|
|
4
|
+
import { u as Jt } from "./useConfig-ChRble71.js";
|
|
5
5
|
import { u as Qt, B as Zt } from "./BaseScanner-BhhkKVoj.js";
|
|
6
6
|
import { u as el } from "./usePrinter-CEpYU3r5.js";
|
|
7
7
|
import { u as tl } from "./useSvgExport-ByUukOZt.js";
|
|
@@ -41,7 +41,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
41
41
|
},
|
|
42
42
|
emits: ["copyAlt"],
|
|
43
43
|
setup(xe, { expose: Ze, emit: et }) {
|
|
44
|
-
const tt = I(() => import("./Tooltip-
|
|
44
|
+
const tt = I(() => import("./Tooltip-C8KGyqQk.js")), lt = I(() => import("./BaseIcon-Cb3zzG6s.js")), at = I(() => import("./vue-ui-accordion-CnDW2UQL.js")), ot = I(() => import("./DataTable-DT2kIdQ6.js")), st = I(() => import("./PenAndPaper-Ct3qJ4lA.js")), it = I(() => import("./UserOptions-rW2fRf3V.js")), ut = I(() => import("./PackageVersion-B3kmPxTR.js")), nt = I(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_age_pyramid: rt } = Jt(), { isThemeValid: vt, warnInvalidTheme: dt } = ll(), b = xe, yt = et, we = g(() => !!b.dataset && b.dataset.length), C = r(Vt()), V = r(!1), ae = r(""), P = r(null), ke = r(0), $ = r(null), Ce = r(null), Ae = r(null), Te = r(null), $e = r(0), Le = r(0), oe = r(null), G = r(null), se = r(null), q = r(!1), J = r(!1), L = r(null), _e = r({ x: 0, y: 0 }), H = r("pointer"), ie = r(!1), e = r(re()), W = g(() => e.value.userOptions.useCursorPointer), ct = g(() => Ye({
|
|
45
45
|
defaultConfig: {
|
|
46
46
|
userOptions: { show: !1 },
|
|
47
47
|
table: { show: !1 },
|
|
@@ -73,10 +73,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
userConfig: e.value.skeletonConfig ?? {}
|
|
76
|
-
})), { loading: Se, FINAL_DATASET: Q, manualLoading:
|
|
76
|
+
})), { loading: Se, FINAL_DATASET: Q, manualLoading: ue } = Qt({
|
|
77
77
|
...Mt(b),
|
|
78
78
|
FINAL_CONFIG: e,
|
|
79
|
-
prepareConfig:
|
|
79
|
+
prepareConfig: re,
|
|
80
80
|
skeletonDataset: b.config?.skeletonDataset ?? [
|
|
81
81
|
["_", 9, 2, 2],
|
|
82
82
|
["_", 8, 3, 3],
|
|
@@ -93,8 +93,8 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
93
93
|
defaultConfig: e.value,
|
|
94
94
|
userConfig: ct.value
|
|
95
95
|
})
|
|
96
|
-
}), { userOptionsVisible:
|
|
97
|
-
function
|
|
96
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ie, keepUserOptionState: Oe } = al({ config: e.value }), { svgRef: z } = ol({ config: e.value.style.title });
|
|
97
|
+
function re() {
|
|
98
98
|
const t = me({
|
|
99
99
|
userConfig: b.config,
|
|
100
100
|
defaultConfig: rt
|
|
@@ -111,10 +111,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
111
111
|
defaultConfig: l
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
Se.value || (e.value =
|
|
116
|
-
}, { deep: !0 }),
|
|
117
|
-
Array.isArray(t) && t.length > 0 && (
|
|
114
|
+
te(() => b.config, (t) => {
|
|
115
|
+
Se.value || (e.value = re()), ne.value = !e.value.userOptions.showOnChartHover, Pe(), $e.value += 1, Le.value += 1, A.value.showTable = e.value.table.show, A.value.showTooltip = e.value.style.tooltip.show;
|
|
116
|
+
}, { deep: !0 }), te(() => b.dataset, (t) => {
|
|
117
|
+
Array.isArray(t) && t.length > 0 && (ue.value = !1);
|
|
118
118
|
}, { deep: !0 });
|
|
119
119
|
const _ = We(null), B = We(null);
|
|
120
120
|
Nt(() => {
|
|
@@ -126,7 +126,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
126
126
|
componentName: "VueUiAgePyramid",
|
|
127
127
|
type: "dataset",
|
|
128
128
|
debug: ft.value
|
|
129
|
-
}),
|
|
129
|
+
}), ue.value = !0), qe(b.dataset) || (ue.value = e.value.loading), e.value.responsive) {
|
|
130
130
|
const t = Qe(() => {
|
|
131
131
|
const { width: a, height: l } = qt({
|
|
132
132
|
chart: $.value,
|
|
@@ -144,7 +144,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
144
144
|
Ke(() => {
|
|
145
145
|
_.value && (B.value && _.value.unobserve(B.value), _.value.disconnect());
|
|
146
146
|
});
|
|
147
|
-
const { isPrinting:
|
|
147
|
+
const { isPrinting: ve, isImaging: de, generatePdf: ze, generateImage: Fe } = el({
|
|
148
148
|
elementId: `vue-ui-age-pyramid_${C.value}`,
|
|
149
149
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
150
150
|
options: e.value.userOptions.print
|
|
@@ -152,7 +152,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
152
152
|
showTable: e.value.table.show,
|
|
153
153
|
showTooltip: e.value.style.tooltip.show
|
|
154
154
|
});
|
|
155
|
-
|
|
155
|
+
te(e, () => {
|
|
156
156
|
A.value = {
|
|
157
157
|
showTable: e.value.table.show,
|
|
158
158
|
showTooltip: e.value.style.tooltip.show
|
|
@@ -165,7 +165,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
165
165
|
Z.value = t;
|
|
166
166
|
}, 100);
|
|
167
167
|
Et((t) => {
|
|
168
|
-
const a =
|
|
168
|
+
const a = oe.value;
|
|
169
169
|
if (!a) return;
|
|
170
170
|
const l = new ResizeObserver((o) => {
|
|
171
171
|
bt(o[0].contentRect.height);
|
|
@@ -216,7 +216,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
216
216
|
let o;
|
|
217
217
|
return t < 0, o = Math.round(t / l) * l, o;
|
|
218
218
|
}
|
|
219
|
-
const K = g(() => Math.max(...Q.value.flatMap((t) => t.slice(-2).map((a) =>
|
|
219
|
+
const K = g(() => Math.max(...Q.value.flatMap((t) => t.slice(-2).map((a) => k(a))))), U = g(() => Q.value.length), wt = g(() => Q.value.map((t) => ({
|
|
220
220
|
segment: t[0],
|
|
221
221
|
age: t[1],
|
|
222
222
|
left: {
|
|
@@ -237,7 +237,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
237
237
|
y: l,
|
|
238
238
|
color: e.value.style.layout.bars.left.color,
|
|
239
239
|
x: s.value.leftChart.right - t.left.proportionToMax * s.value.leftChart.width,
|
|
240
|
-
width:
|
|
240
|
+
width: k(t.left.proportionToMax * s.value.leftChart.width),
|
|
241
241
|
height: o
|
|
242
242
|
},
|
|
243
243
|
right: {
|
|
@@ -245,11 +245,11 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
245
245
|
y: l,
|
|
246
246
|
color: e.value.style.layout.bars.right.color,
|
|
247
247
|
x: s.value.rightChart.left,
|
|
248
|
-
width:
|
|
248
|
+
width: k(t.right.proportionToMax * s.value.rightChart.width),
|
|
249
249
|
height: o
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
|
-
})),
|
|
252
|
+
})), ee = r(null);
|
|
253
253
|
function ye(t) {
|
|
254
254
|
const [a, l, o, d] = t;
|
|
255
255
|
return { segment: a, index: l, left: o, right: d };
|
|
@@ -272,7 +272,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
272
272
|
l && (_e.value = l);
|
|
273
273
|
}
|
|
274
274
|
function Re(t, a, l = "pointer") {
|
|
275
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: ye(a), seriesIndex: t }), P.value = t, L.value = t, H.value = l,
|
|
275
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: ye(a), seriesIndex: t }), P.value = t, L.value = t, H.value = l, ee.value = {
|
|
276
276
|
datapoint: a,
|
|
277
277
|
seriesIndex: t,
|
|
278
278
|
series: h.value,
|
|
@@ -290,7 +290,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
290
290
|
series: h.value,
|
|
291
291
|
config: e.value
|
|
292
292
|
})))
|
|
293
|
-
|
|
293
|
+
ae.value = o({
|
|
294
294
|
seriesIndex: t,
|
|
295
295
|
datapoint: {
|
|
296
296
|
segment: a[0],
|
|
@@ -306,25 +306,25 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
306
306
|
const i = h.value[t];
|
|
307
307
|
d += `<div><b>${i.segment}</b></div>`, d += `<div>${e.value.translations.age}: ${N(
|
|
308
308
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
309
|
-
|
|
310
|
-
E({ v:
|
|
309
|
+
k(i.age),
|
|
310
|
+
E({ v: k(i.age) }),
|
|
311
311
|
{ datapoint: a, seriesIndex: t }
|
|
312
312
|
)}</div>`, d += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, d += '<div style="display:flex; flex-direction:row;gap:12px">', d += `<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_${C.value})` : e.value.style.layout.bars.left.color}"/></svg><div>${e.value.translations.female}</div><div><b>${N(
|
|
313
313
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
314
|
-
|
|
315
|
-
E({ v:
|
|
314
|
+
k(i.left.value),
|
|
315
|
+
E({ v: k(i.left.value) }),
|
|
316
316
|
{ datapoint: a, seriesIndex: t }
|
|
317
317
|
)}</b></div></div>`, d += `<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_${C.value})` : e.value.style.layout.bars.right.color}"/></svg><div>${e.value.translations.male}</div><div><b>${N(
|
|
318
318
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
319
|
-
|
|
320
|
-
E({ v:
|
|
319
|
+
k(i.right.value),
|
|
320
|
+
E({ v: k(i.right.value) }),
|
|
321
321
|
{ datapoint: a, seriesIndex: t }
|
|
322
322
|
)}</b></div></div>`, d += "</div>", d += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}"><div>${e.value.translations.total}</div><div><b>${N(
|
|
323
323
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
324
|
-
|
|
325
|
-
E({ v:
|
|
324
|
+
k(i.right.value) + k(i.left.value),
|
|
325
|
+
E({ v: k(i.right.value) + k(i.left.value) }),
|
|
326
326
|
{ datapoint: a, seriesIndex: t }
|
|
327
|
-
)}</b></div></div>`, d += "</div>",
|
|
327
|
+
)}</b></div></div>`, d += "</div>", ae.value = `<div>${d}</div>`;
|
|
328
328
|
}
|
|
329
329
|
V.value = !0, l === "keyboard" && pe(() => {
|
|
330
330
|
Ct(t);
|
|
@@ -397,7 +397,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
397
397
|
}
|
|
398
398
|
const Tt = r([]), $t = r({ start: 0, end: h.value.length });
|
|
399
399
|
sl({
|
|
400
|
-
timeLabelsEls:
|
|
400
|
+
timeLabelsEls: oe,
|
|
401
401
|
timeLabels: Tt,
|
|
402
402
|
slicer: $t,
|
|
403
403
|
configRef: e,
|
|
@@ -440,11 +440,11 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
440
440
|
}
|
|
441
441
|
};
|
|
442
442
|
});
|
|
443
|
-
|
|
443
|
+
te(() => A.value.showTable, (t) => {
|
|
444
444
|
e.value.table.show || (t && e.value.table.useDialog && G.value ? G.value.open() : "close" in G.value && G.value.close());
|
|
445
445
|
});
|
|
446
446
|
function Be() {
|
|
447
|
-
A.value.showTable = !1,
|
|
447
|
+
A.value.showTable = !1, se.value && se.value.setTableIconState(!1);
|
|
448
448
|
}
|
|
449
449
|
const Lt = g(() => e.value.style.backgroundColor), _t = g(() => e.value.style.title), { exportSvg: St, getSvg: It } = tl({
|
|
450
450
|
svg: z,
|
|
@@ -488,10 +488,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
488
488
|
}));
|
|
489
489
|
}
|
|
490
490
|
function Pt() {
|
|
491
|
-
|
|
491
|
+
ie.value = !0;
|
|
492
492
|
}
|
|
493
493
|
function zt() {
|
|
494
|
-
P.value = null, L.value = null, H.value = "pointer", V.value = !1,
|
|
494
|
+
P.value = null, L.value = null, H.value = "pointer", V.value = !1, ie.value = !1;
|
|
495
495
|
}
|
|
496
496
|
function Ft(t) {
|
|
497
497
|
if (!z.value || X.value || document.activeElement !== z.value || !h.value.length) return;
|
|
@@ -530,15 +530,15 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
530
530
|
ref_key: "agePyramid",
|
|
531
531
|
ref: $,
|
|
532
532
|
id: `vue-ui-age-pyramid_${C.value}`,
|
|
533
|
-
style:
|
|
533
|
+
style: le(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
534
534
|
onMouseenter: a[1] || (a[1] = () => n(Ie)(!0)),
|
|
535
535
|
onMouseleave: a[2] || (a[2] = () => n(Ie)(!1))
|
|
536
536
|
}, [
|
|
537
|
-
|
|
537
|
+
f("div", {
|
|
538
538
|
id: `chart-instructions-${C.value}`,
|
|
539
539
|
class: "sr-only"
|
|
540
540
|
}, [
|
|
541
|
-
|
|
541
|
+
f("p", null, T(e.value.a11y.translations.keyboardNavigation), 1)
|
|
542
542
|
], 8, yl),
|
|
543
543
|
F.value?.body?.length ? (u(), R(rl, {
|
|
544
544
|
key: 0,
|
|
@@ -557,23 +557,23 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
557
557
|
isCursorPointer: W.value,
|
|
558
558
|
onClose: fe
|
|
559
559
|
}, {
|
|
560
|
-
"annotator-action-close":
|
|
560
|
+
"annotator-action-close": c(() => [
|
|
561
561
|
y(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
562
562
|
]),
|
|
563
|
-
"annotator-action-color":
|
|
564
|
-
y(t.$slots, "annotator-action-color", w(
|
|
563
|
+
"annotator-action-color": c(({ color: l }) => [
|
|
564
|
+
y(t.$slots, "annotator-action-color", x(w({ color: l })), void 0, !0)
|
|
565
565
|
]),
|
|
566
|
-
"annotator-action-draw":
|
|
567
|
-
y(t.$slots, "annotator-action-draw", w(
|
|
566
|
+
"annotator-action-draw": c(({ mode: l }) => [
|
|
567
|
+
y(t.$slots, "annotator-action-draw", x(w({ mode: l })), void 0, !0)
|
|
568
568
|
]),
|
|
569
|
-
"annotator-action-undo":
|
|
570
|
-
y(t.$slots, "annotator-action-undo", w(
|
|
569
|
+
"annotator-action-undo": c(({ disabled: l }) => [
|
|
570
|
+
y(t.$slots, "annotator-action-undo", x(w({ disabled: l })), void 0, !0)
|
|
571
571
|
]),
|
|
572
|
-
"annotator-action-redo":
|
|
573
|
-
y(t.$slots, "annotator-action-redo", w(
|
|
572
|
+
"annotator-action-redo": c(({ disabled: l }) => [
|
|
573
|
+
y(t.$slots, "annotator-action-redo", x(w({ disabled: l })), void 0, !0)
|
|
574
574
|
]),
|
|
575
|
-
"annotator-action-delete":
|
|
576
|
-
y(t.$slots, "annotator-action-delete", w(
|
|
575
|
+
"annotator-action-delete": c(({ disabled: l }) => [
|
|
576
|
+
y(t.$slots, "annotator-action-delete", x(w({ disabled: l })), void 0, !0)
|
|
577
577
|
]),
|
|
578
578
|
_: 3
|
|
579
579
|
}, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : p("", !0),
|
|
@@ -604,14 +604,14 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
604
604
|
}
|
|
605
605
|
}, null, 8, ["config"]))
|
|
606
606
|
], 512)) : p("", !0),
|
|
607
|
-
e.value.userOptions.show && we.value && (n(Oe) || n(
|
|
607
|
+
e.value.userOptions.show && we.value && (n(Oe) || n(ne)) ? (u(), R(n(it), {
|
|
608
608
|
ref_key: "userOptionsRef",
|
|
609
|
-
ref:
|
|
609
|
+
ref: se,
|
|
610
610
|
key: `user_options_${ke.value}`,
|
|
611
611
|
backgroundColor: e.value.style.backgroundColor,
|
|
612
612
|
color: e.value.style.color,
|
|
613
|
-
isImaging: n(
|
|
614
|
-
isPrinting: n(
|
|
613
|
+
isImaging: n(de),
|
|
614
|
+
isPrinting: n(ve),
|
|
615
615
|
uid: C.value,
|
|
616
616
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
617
617
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -641,89 +641,89 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
641
641
|
onToggleTooltip: Ee,
|
|
642
642
|
onToggleAnnotator: fe,
|
|
643
643
|
onCopyAlt: Ve,
|
|
644
|
-
style:
|
|
645
|
-
visibility: n(Oe) ? n(
|
|
644
|
+
style: le({
|
|
645
|
+
visibility: n(Oe) ? n(ne) ? "visible" : "hidden" : "visible"
|
|
646
646
|
})
|
|
647
647
|
}, je({ _: 2 }, [
|
|
648
648
|
t.$slots.menuIcon ? {
|
|
649
649
|
name: "menuIcon",
|
|
650
|
-
fn:
|
|
651
|
-
y(t.$slots, "menuIcon", w(
|
|
650
|
+
fn: c(({ isOpen: l, color: o }) => [
|
|
651
|
+
y(t.$slots, "menuIcon", x(w({ isOpen: l, color: o })), void 0, !0)
|
|
652
652
|
]),
|
|
653
653
|
key: "0"
|
|
654
654
|
} : void 0,
|
|
655
655
|
t.$slots.optionTooltip ? {
|
|
656
656
|
name: "optionTooltip",
|
|
657
|
-
fn:
|
|
657
|
+
fn: c(() => [
|
|
658
658
|
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
659
659
|
]),
|
|
660
660
|
key: "1"
|
|
661
661
|
} : void 0,
|
|
662
662
|
t.$slots.optionPdf ? {
|
|
663
663
|
name: "optionPdf",
|
|
664
|
-
fn:
|
|
664
|
+
fn: c(() => [
|
|
665
665
|
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
666
666
|
]),
|
|
667
667
|
key: "2"
|
|
668
668
|
} : void 0,
|
|
669
669
|
t.$slots.optionCsv ? {
|
|
670
670
|
name: "optionCsv",
|
|
671
|
-
fn:
|
|
671
|
+
fn: c(() => [
|
|
672
672
|
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
673
673
|
]),
|
|
674
674
|
key: "3"
|
|
675
675
|
} : void 0,
|
|
676
676
|
t.$slots.optionImg ? {
|
|
677
677
|
name: "optionImg",
|
|
678
|
-
fn:
|
|
678
|
+
fn: c(() => [
|
|
679
679
|
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
680
680
|
]),
|
|
681
681
|
key: "4"
|
|
682
682
|
} : void 0,
|
|
683
683
|
t.$slots.optionSvg ? {
|
|
684
684
|
name: "optionSvg",
|
|
685
|
-
fn:
|
|
685
|
+
fn: c(() => [
|
|
686
686
|
y(t.$slots, "optionSvg", {}, void 0, !0)
|
|
687
687
|
]),
|
|
688
688
|
key: "5"
|
|
689
689
|
} : void 0,
|
|
690
690
|
t.$slots.optionTable ? {
|
|
691
691
|
name: "optionTable",
|
|
692
|
-
fn:
|
|
692
|
+
fn: c(() => [
|
|
693
693
|
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
694
694
|
]),
|
|
695
695
|
key: "6"
|
|
696
696
|
} : void 0,
|
|
697
697
|
t.$slots.optionFullscreen ? {
|
|
698
698
|
name: "optionFullscreen",
|
|
699
|
-
fn:
|
|
700
|
-
y(t.$slots, "optionFullscreen", w(
|
|
699
|
+
fn: c(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
700
|
+
y(t.$slots, "optionFullscreen", x(w({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
701
701
|
]),
|
|
702
702
|
key: "7"
|
|
703
703
|
} : void 0,
|
|
704
704
|
t.$slots.optionAnnotator ? {
|
|
705
705
|
name: "optionAnnotator",
|
|
706
|
-
fn:
|
|
707
|
-
y(t.$slots, "optionAnnotator", w(
|
|
706
|
+
fn: c(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
707
|
+
y(t.$slots, "optionAnnotator", x(w({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
708
708
|
]),
|
|
709
709
|
key: "8"
|
|
710
710
|
} : void 0,
|
|
711
711
|
t.$slots.optionAltCopy ? {
|
|
712
712
|
name: "optionAltCopy",
|
|
713
|
-
fn:
|
|
714
|
-
y(t.$slots, "optionAltCopy", w(
|
|
713
|
+
fn: c(({ altCopy: l }) => [
|
|
714
|
+
y(t.$slots, "optionAltCopy", x(w({ altCopy: l })), void 0, !0)
|
|
715
715
|
]),
|
|
716
716
|
key: "9"
|
|
717
717
|
} : void 0
|
|
718
718
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : p("", !0),
|
|
719
|
-
|
|
719
|
+
f("div", cl, [
|
|
720
720
|
(u(), v("svg", {
|
|
721
721
|
ref_key: "svgRef",
|
|
722
722
|
ref: z,
|
|
723
723
|
xmlns: n(Ht),
|
|
724
724
|
class: Xe({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
|
|
725
725
|
viewBox: `0 0 ${m.value.width <= 0 ? 10 : m.value.width} ${m.value.height <= 0 ? 10 : m.value.height}`,
|
|
726
|
-
style:
|
|
726
|
+
style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
|
|
727
727
|
tabindex: "0",
|
|
728
728
|
"aria-describedby": `chart-instructions-${C.value}`,
|
|
729
729
|
onFocus: Pt,
|
|
@@ -743,50 +743,50 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
743
743
|
}, [
|
|
744
744
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
745
745
|
], 8, hl)) : p("", !0),
|
|
746
|
-
|
|
747
|
-
|
|
746
|
+
f("defs", null, [
|
|
747
|
+
f("linearGradient", {
|
|
748
748
|
id: `age_pyramid_left_${C.value}`,
|
|
749
749
|
x1: "0%",
|
|
750
750
|
y1: "0%",
|
|
751
751
|
x2: "100%",
|
|
752
752
|
y2: "0%"
|
|
753
753
|
}, [
|
|
754
|
-
|
|
754
|
+
f("stop", {
|
|
755
755
|
offset: "0%",
|
|
756
756
|
"stop-color": e.value.style.layout.bars.left.color
|
|
757
757
|
}, null, 8, pl),
|
|
758
|
-
|
|
758
|
+
f("stop", {
|
|
759
759
|
offset: "100%",
|
|
760
760
|
"stop-color": n(be)(n(Je)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
761
761
|
}, null, 8, bl)
|
|
762
762
|
], 8, gl),
|
|
763
|
-
|
|
763
|
+
f("linearGradient", {
|
|
764
764
|
id: `age_pyramid_right_${C.value}`,
|
|
765
765
|
x1: "0%",
|
|
766
766
|
y1: "0%",
|
|
767
767
|
x2: "100%",
|
|
768
768
|
y2: "0%"
|
|
769
769
|
}, [
|
|
770
|
-
|
|
770
|
+
f("stop", {
|
|
771
771
|
offset: "0%",
|
|
772
772
|
"stop-color": n(be)(n(Je)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
773
773
|
}, null, 8, xl),
|
|
774
|
-
|
|
774
|
+
f("stop", {
|
|
775
775
|
offset: "100%",
|
|
776
776
|
"stop-color": e.value.style.layout.bars.right.color
|
|
777
777
|
}, null, 8, wl)
|
|
778
778
|
], 8, ml)
|
|
779
779
|
]),
|
|
780
780
|
(u(!0), v(O, null, M(h.value, (l, o) => (u(), v("g", null, [
|
|
781
|
-
|
|
781
|
+
f("rect", {
|
|
782
782
|
x: l.left.x,
|
|
783
783
|
y: l.left.y,
|
|
784
|
-
width: n(
|
|
784
|
+
width: n(k)(l.left.width <= 0 ? 1e-4 : l.left.width),
|
|
785
785
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
786
786
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
787
787
|
rx: e.value.style.layout.bars.borderRadius
|
|
788
788
|
}, null, 8, kl),
|
|
789
|
-
|
|
789
|
+
f("rect", {
|
|
790
790
|
x: l.left.x,
|
|
791
791
|
y: l.left.y,
|
|
792
792
|
width: l.left.width <= 0 ? 1e-4 : l.left.width,
|
|
@@ -794,7 +794,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
794
794
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${C.value})` : l.left.color,
|
|
795
795
|
rx: e.value.style.layout.bars.borderRadius
|
|
796
796
|
}, null, 8, Cl),
|
|
797
|
-
|
|
797
|
+
f("rect", {
|
|
798
798
|
x: l.right.x,
|
|
799
799
|
y: l.right.y,
|
|
800
800
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
@@ -802,7 +802,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
802
802
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
803
803
|
rx: e.value.style.layout.bars.borderRadius
|
|
804
804
|
}, null, 8, Al),
|
|
805
|
-
|
|
805
|
+
f("rect", {
|
|
806
806
|
x: l.right.x,
|
|
807
807
|
y: l.right.y,
|
|
808
808
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
@@ -811,9 +811,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
811
811
|
rx: e.value.style.layout.bars.borderRadius
|
|
812
812
|
}, null, 8, Tl)
|
|
813
813
|
]))), 256)),
|
|
814
|
-
|
|
814
|
+
f("g", null, [
|
|
815
815
|
e.value.style.layout.dataLabels.sideTitles.show ? (u(), v("g", $l, [
|
|
816
|
-
|
|
816
|
+
f("text", {
|
|
817
817
|
x: s.value.left,
|
|
818
818
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
819
819
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.left.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
@@ -821,7 +821,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
821
821
|
"text-anchor": "start",
|
|
822
822
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
823
823
|
}, T(e.value.translations.female), 9, Ll),
|
|
824
|
-
|
|
824
|
+
f("text", {
|
|
825
825
|
x: s.value.right,
|
|
826
826
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
827
827
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.right.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
@@ -850,7 +850,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
850
850
|
])) : p("", !0),
|
|
851
851
|
e.value.style.layout.dataLabels.xAxis.show ? (u(), v("g", Ol, [
|
|
852
852
|
e.value.style.layout.grid.show ? (u(), v("g", Pl, [
|
|
853
|
-
|
|
853
|
+
f("line", {
|
|
854
854
|
x1: S.value.right[0].x,
|
|
855
855
|
x2: S.value.right.at(-1).x,
|
|
856
856
|
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
@@ -859,7 +859,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
859
859
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
860
860
|
"stroke-linecap": "round"
|
|
861
861
|
}, null, 8, zl),
|
|
862
|
-
|
|
862
|
+
f("line", {
|
|
863
863
|
x1: S.value.left[0].x,
|
|
864
864
|
x2: S.value.left.at(-1).x,
|
|
865
865
|
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
@@ -893,9 +893,9 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
893
893
|
"stroke-linecap": "round"
|
|
894
894
|
}, null, 8, Rl)) : p("", !0)
|
|
895
895
|
]))), 256)),
|
|
896
|
-
|
|
896
|
+
f("g", {
|
|
897
897
|
ref_key: "xAxisLabels",
|
|
898
|
-
ref:
|
|
898
|
+
ref: oe
|
|
899
899
|
}, [
|
|
900
900
|
(u(!0), v(O, null, M(S.value.right, (l, o) => (u(), v("text", {
|
|
901
901
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
@@ -928,7 +928,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
928
928
|
{ datapoint: l, seriesIndex: o }
|
|
929
929
|
)), 9, Nl))), 256))
|
|
930
930
|
], 512),
|
|
931
|
-
|
|
931
|
+
f("text", {
|
|
932
932
|
x: s.value.right,
|
|
933
933
|
y: m.value.height,
|
|
934
934
|
"text-anchor": "end",
|
|
@@ -939,7 +939,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
939
939
|
])) : p("", !0)
|
|
940
940
|
]),
|
|
941
941
|
(u(!0), v(O, null, M(xe.dataset, (l, o) => (u(), v("g", null, [
|
|
942
|
-
|
|
942
|
+
f("rect", {
|
|
943
943
|
x: s.value.left,
|
|
944
944
|
y: s.value.top + s.value.height / U.value * o - e.value.style.layout.bars.gap / 2,
|
|
945
945
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
@@ -953,17 +953,17 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
953
953
|
y(t.$slots, "svg", {
|
|
954
954
|
svg: {
|
|
955
955
|
...m.value,
|
|
956
|
-
isPrintingImg: n(
|
|
956
|
+
isPrintingImg: n(ve) | n(de) | q.value,
|
|
957
957
|
isPrintingSvg: J.value
|
|
958
958
|
}
|
|
959
959
|
}, void 0, !0)
|
|
960
960
|
], 46, fl)),
|
|
961
961
|
t.$slots.hint ? (u(), v("div", Ul, [
|
|
962
|
-
y(t.$slots, "hint", w(
|
|
962
|
+
y(t.$slots, "hint", x(w({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ie.value })), void 0, !0)
|
|
963
963
|
])) : p("", !0)
|
|
964
964
|
]),
|
|
965
965
|
t.$slots.watermark ? (u(), v("div", Vl, [
|
|
966
|
-
y(t.$slots, "watermark", w(
|
|
966
|
+
y(t.$slots, "watermark", x(w({ isPrinting: n(ve) || n(de) || q.value || J.value })), void 0, !0)
|
|
967
967
|
])) : p("", !0),
|
|
968
968
|
y(t.$slots, "legend", { legend: h.value }, void 0, !0),
|
|
969
969
|
t.$slots.source ? (u(), v("div", {
|
|
@@ -987,7 +987,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
987
987
|
position: e.value.style.tooltip.position,
|
|
988
988
|
offsetY: e.value.style.tooltip.offsetY,
|
|
989
989
|
parent: $.value,
|
|
990
|
-
content:
|
|
990
|
+
content: ae.value,
|
|
991
991
|
isFullscreen: D.value,
|
|
992
992
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
993
993
|
smooth: e.value.style.tooltip.smooth,
|
|
@@ -997,11 +997,14 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
997
997
|
isA11yMode: H.value === "keyboard",
|
|
998
998
|
a11yPosition: _e.value
|
|
999
999
|
}, {
|
|
1000
|
-
"tooltip-before":
|
|
1001
|
-
y(t.$slots, "tooltip-before", w(
|
|
1000
|
+
"tooltip-before": c(() => [
|
|
1001
|
+
y(t.$slots, "tooltip-before", x(w({ ...ee.value })), void 0, !0)
|
|
1002
1002
|
]),
|
|
1003
|
-
|
|
1004
|
-
y(t.$slots, "tooltip
|
|
1003
|
+
tooltip: c(() => [
|
|
1004
|
+
y(t.$slots, "tooltip", x(w({ ...ee.value })), void 0, !0)
|
|
1005
|
+
]),
|
|
1006
|
+
"tooltip-after": c(() => [
|
|
1007
|
+
y(t.$slots, "tooltip-after", x(w({ ...ee.value })), void 0, !0)
|
|
1005
1008
|
]),
|
|
1006
1009
|
_: 3
|
|
1007
1010
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
|
|
@@ -1010,7 +1013,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
1010
1013
|
ref: G,
|
|
1011
1014
|
onClose: Be
|
|
1012
1015
|
}), je({
|
|
1013
|
-
content:
|
|
1016
|
+
content: c(() => [
|
|
1014
1017
|
(u(), R(n(ot), {
|
|
1015
1018
|
key: `table_${Le.value}`,
|
|
1016
1019
|
colNames: F.value.colNames,
|
|
@@ -1022,10 +1025,10 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
1022
1025
|
isCursorPointer: W.value,
|
|
1023
1026
|
onClose: Be
|
|
1024
1027
|
}, {
|
|
1025
|
-
th:
|
|
1028
|
+
th: c(({ th: l }) => [
|
|
1026
1029
|
ge(T(l), 1)
|
|
1027
1030
|
]),
|
|
1028
|
-
td:
|
|
1031
|
+
td: c(({ td: l }) => [
|
|
1029
1032
|
ge(T(l), 1)
|
|
1030
1033
|
]),
|
|
1031
1034
|
_: 1
|
|
@@ -1035,19 +1038,19 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
1035
1038
|
}, [
|
|
1036
1039
|
e.value.table.useDialog ? {
|
|
1037
1040
|
name: "title",
|
|
1038
|
-
fn:
|
|
1041
|
+
fn: c(() => [
|
|
1039
1042
|
ge(T(j.value.title), 1)
|
|
1040
1043
|
]),
|
|
1041
1044
|
key: "0"
|
|
1042
1045
|
} : void 0,
|
|
1043
1046
|
e.value.table.useDialog ? {
|
|
1044
1047
|
name: "actions",
|
|
1045
|
-
fn:
|
|
1046
|
-
|
|
1048
|
+
fn: c(() => [
|
|
1049
|
+
f("button", {
|
|
1047
1050
|
tabindex: "0",
|
|
1048
1051
|
class: "vue-ui-user-options-button",
|
|
1049
1052
|
onClick: a[0] || (a[0] = (l) => ce(e.value.userOptions.callbacks.csv)),
|
|
1050
|
-
style:
|
|
1053
|
+
style: le({ cursor: W.value ? "pointer" : "default" })
|
|
1051
1054
|
}, [
|
|
1052
1055
|
he(n(lt), {
|
|
1053
1056
|
name: "fileCsv",
|
|
@@ -1063,7 +1066,7 @@ const dl = ["id"], yl = ["id"], cl = { style: { position: "relative" } }, fl = [
|
|
|
1063
1066
|
], !0)
|
|
1064
1067
|
], 46, dl));
|
|
1065
1068
|
}
|
|
1066
|
-
}, ua = /* @__PURE__ */ vl(Gl, [["__scopeId", "data-v-
|
|
1069
|
+
}, ua = /* @__PURE__ */ vl(Gl, [["__scopeId", "data-v-b69c6f22"]]);
|
|
1067
1070
|
export {
|
|
1068
1071
|
ua as default
|
|
1069
1072
|
};
|