vue-data-ui 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
- package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
- package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
- package/dist/PenAndPaper-SZQIAgkg.js +388 -0
- package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +17 -8
- package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
- package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
- package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
- package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
- package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
- package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
- package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
- package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
- package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
- package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
- package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
- package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
- package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
- package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
- package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
- package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
- package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
- package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
- package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
- package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
- package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
- package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
- package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
- package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
- package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
- package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
- package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
- package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
- package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
- package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
- package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
- package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
- package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
- package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
- package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
- package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
- package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
- package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
- package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
- package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
- package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
- package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
- package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
- package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
- package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
- package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
- package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
- package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
- package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
- package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
- package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
- package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
- package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
- package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
- package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
- package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
- package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
- package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
- package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
- package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
- package/package.json +4 -4
- package/dist/PenAndPaper-DSvu9dwa.js +0 -373
- package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
- package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
- package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
- package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
- package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
- package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as bt, t as xt, o as Re, f as mt, x as p, X as wt, s as ne, i as Pe, a as
|
|
1
|
+
import { defineAsyncComponent as $, computed as c, ref as v, toRefs as yt, watch as X, shallowRef as ze, onMounted as ht, onBeforeUnmount as Oe, watchEffect as ct, createElementBlock as n, openBlock as i, unref as u, normalizeStyle as se, normalizeClass as Ie, createBlock as M, createCommentVNode as f, renderSlot as d, createVNode as ie, withCtx as y, normalizeProps as w, guardReactiveProps as k, createSlots as Fe, createElementVNode as h, Fragment as S, renderList as I, toDisplayString as _, resolveDynamicComponent as ft, mergeProps as gt, createTextVNode as ue, nextTick as pt } from "vue";
|
|
2
|
+
import { c as bt, t as xt, o as Re, f as mt, x as p, X as wt, s as ne, i as Pe, a as F, d as R, P as kt, Q as Ct, G as At, H as _t } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as De, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as Lt, a as Me } from "./useNestedProp-
|
|
4
|
+
import { u as Lt, a as Me } from "./useNestedProp-DjGXw6S9.js";
|
|
5
5
|
import { u as $t, B as St } from "./BaseScanner-BgWxam9d.js";
|
|
6
6
|
import { u as zt } from "./usePrinter-DTzqpYKF.js";
|
|
7
7
|
import { u as Ot } from "./useSvgExport-DrjCWun4.js";
|
|
@@ -9,7 +9,7 @@ import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
9
9
|
import { u as Ft } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as Rt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
11
|
import Pt from "./img-BecE5qXd.js";
|
|
12
|
-
import Dt from "./Title-
|
|
12
|
+
import Dt from "./Title-isbiM8i8.js";
|
|
13
13
|
import { t as Mt } from "./themes-AUNCOb2G.js";
|
|
14
14
|
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"], Gt = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Xt = ["stop-color"], jt = ["stop-color"], Yt = ["x", "y", "width", "height", "fill", "rx"], qt = ["x", "y", "width", "height", "fill", "rx"], Qt = ["x", "y", "width", "height", "fill", "rx"], Jt = ["x", "y", "width", "height", "fill", "rx"], Kt = { key: 0 }, Zt = ["x", "y", "fill", "font-size", "font-weight"], el = ["x", "y", "fill", "font-size", "font-weight"], tl = { key: 1 }, ll = ["x", "y", "font-size", "fill", "font-weight"], al = { key: 2 }, ol = { key: 0 }, sl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], vl = ["font-size", "fill", "text-anchor", "font-weight", "transform"], dl = ["x", "y", "font-size", "fill", "font-weight"], yl = ["x", "y", "width", "height", "fill", "onMouseover", "onMouseleave", "onClick"], hl = {
|
|
@@ -32,7 +32,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(re, { expose: Ne }) {
|
|
35
|
-
const Be =
|
|
35
|
+
const Be = $(() => import("./Tooltip-oWCO1HKy.js")), Ee = $(() => import("./BaseIcon-BmMbm4d0.js")), Ue = $(() => import("./vue-ui-accordion-CqhVCfc2.js")), Ge = $(() => import("./DataTable-BT7VF2ua.js")), He = $(() => import("./PenAndPaper-SZQIAgkg.js")), We = $(() => import("./UserOptions-CGnQt6Fd.js")), Ve = $(() => import("./PackageVersion-DQvyATVa.js")), Xe = $(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_age_pyramid: je } = Lt(), x = re, ve = c(() => !!x.dataset && x.dataset.length), C = v(bt()), j = v(!1), Y = v(""), U = v(null), de = v(0), A = v(null), ye = v(null), he = v(null), ce = v(null), fe = v(0), ge = v(0), q = v(null), N = v(null), Q = v(null), e = v(ee()), { loading: pe, FINAL_DATASET: G, manualLoading: J } = $t({
|
|
36
36
|
...yt(x),
|
|
37
37
|
FINAL_CONFIG: e,
|
|
38
38
|
prepareConfig: ee,
|
|
@@ -99,11 +99,11 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
99
99
|
}, { deep: !0 }), X(() => x.dataset, (t) => {
|
|
100
100
|
Array.isArray(t) && t.length > 0 && (J.value = !1);
|
|
101
101
|
}, { deep: !0 });
|
|
102
|
-
const
|
|
102
|
+
const T = ze(null), P = ze(null);
|
|
103
103
|
ht(() => {
|
|
104
104
|
me();
|
|
105
105
|
});
|
|
106
|
-
const Ye =
|
|
106
|
+
const Ye = c(() => !!e.value.debug);
|
|
107
107
|
function me() {
|
|
108
108
|
if (Re(x.dataset) && (mt({
|
|
109
109
|
componentName: "VueUiAgePyramid",
|
|
@@ -112,7 +112,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
112
112
|
}), J.value = !0), Re(x.dataset) || (J.value = e.value.loading), e.value.responsive) {
|
|
113
113
|
const t = De(() => {
|
|
114
114
|
const { width: o, height: l } = Tt({
|
|
115
|
-
chart:
|
|
115
|
+
chart: A.value,
|
|
116
116
|
title: e.value.style.title.text ? ye.value : null,
|
|
117
117
|
source: he.value,
|
|
118
118
|
noTitle: ce.value
|
|
@@ -121,17 +121,17 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
121
121
|
g.value.width = o, g.value.height = l;
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
|
-
|
|
124
|
+
T.value && (P.value && T.value.unobserve(P.value), T.value.disconnect()), T.value = new ResizeObserver(t), P.value = A.value.parentNode, T.value.observe(P.value);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
Oe(() => {
|
|
128
|
-
|
|
128
|
+
T.value && (P.value && T.value.unobserve(P.value), T.value.disconnect());
|
|
129
129
|
});
|
|
130
|
-
const { isPrinting: we, isImaging: ke, generatePdf: Ce, generateImage:
|
|
131
|
-
elementId: `vue-ui-age-pyramid_${
|
|
130
|
+
const { isPrinting: we, isImaging: ke, generatePdf: Ce, generateImage: Ae } = zt({
|
|
131
|
+
elementId: `vue-ui-age-pyramid_${C.value}`,
|
|
132
132
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
133
133
|
options: e.value.userOptions.print
|
|
134
|
-
}), qe =
|
|
134
|
+
}), qe = c(() => e.value.userOptions.show && !e.value.style.title.text), b = v({
|
|
135
135
|
showTable: e.value.table.show,
|
|
136
136
|
showTooltip: e.value.style.tooltip.show
|
|
137
137
|
});
|
|
@@ -144,7 +144,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
144
144
|
const g = v({
|
|
145
145
|
height: e.value.style.height,
|
|
146
146
|
width: e.value.style.width
|
|
147
|
-
}), Qe =
|
|
147
|
+
}), Qe = c(() => g.value.width), Je = c(() => g.value.height), H = v(0), Ke = De((t) => {
|
|
148
148
|
H.value = t;
|
|
149
149
|
}, 100);
|
|
150
150
|
ct((t) => {
|
|
@@ -157,7 +157,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
157
157
|
}), Oe(() => {
|
|
158
158
|
H.value = 0;
|
|
159
159
|
});
|
|
160
|
-
const s =
|
|
160
|
+
const s = c(() => {
|
|
161
161
|
const t = g.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left, o = e.value.style.layout.padding.left, l = g.value.width - e.value.style.layout.padding.right;
|
|
162
162
|
return {
|
|
163
163
|
top: e.value.style.layout.padding.top + e.value.style.layout.dataLabels.sideTitles.fontSize + e.value.style.layout.dataLabels.sideTitles.offsetY + 12,
|
|
@@ -176,7 +176,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
176
176
|
left: o + t / 2 + e.value.style.layout.centerSlit.width
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
|
-
}), Ze =
|
|
179
|
+
}), Ze = c(() => G.value.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), L = c(() => {
|
|
180
180
|
const t = et(B.value / 5), o = [], l = [];
|
|
181
181
|
for (let a = 0; a <= 5; a += 1) {
|
|
182
182
|
const r = t * a, m = t * (a - 5);
|
|
@@ -199,7 +199,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
199
199
|
let a;
|
|
200
200
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
201
201
|
}
|
|
202
|
-
const B =
|
|
202
|
+
const B = c(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((o) => p(o))))), D = c(() => G.value.length), tt = c(() => G.value.map((t) => ({
|
|
203
203
|
segment: t[0],
|
|
204
204
|
age: t[1],
|
|
205
205
|
left: {
|
|
@@ -210,8 +210,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
210
210
|
value: t[3],
|
|
211
211
|
proportionToMax: t[3] / B.value
|
|
212
212
|
}
|
|
213
|
-
}))),
|
|
214
|
-
const l = s.value.top + s.value.height /
|
|
213
|
+
}))), z = c(() => tt.value.map((t, o) => {
|
|
214
|
+
const l = s.value.top + s.value.height / D.value * o, a = s.value.height / D.value - e.value.style.layout.bars.gap;
|
|
215
215
|
return {
|
|
216
216
|
segment: t.segment,
|
|
217
217
|
age: t.age,
|
|
@@ -247,11 +247,11 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
247
247
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: le(o), seriesIndex: t }), U.value = t, te.value = {
|
|
248
248
|
datapoint: o,
|
|
249
249
|
seriesIndex: t,
|
|
250
|
-
series:
|
|
250
|
+
series: z.value,
|
|
251
251
|
config: e.value
|
|
252
252
|
};
|
|
253
253
|
const l = e.value.style.tooltip.customFormat;
|
|
254
|
-
if (
|
|
254
|
+
if (At(l) && _t(() => l({
|
|
255
255
|
seriesIndex: t,
|
|
256
256
|
datapoint: {
|
|
257
257
|
segment: o[0],
|
|
@@ -259,7 +259,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
259
259
|
left: o[2],
|
|
260
260
|
right: o[3]
|
|
261
261
|
},
|
|
262
|
-
series:
|
|
262
|
+
series: z.value,
|
|
263
263
|
config: e.value
|
|
264
264
|
})))
|
|
265
265
|
Y.value = l({
|
|
@@ -270,31 +270,31 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
270
270
|
left: o[2],
|
|
271
271
|
right: o[3]
|
|
272
272
|
},
|
|
273
|
-
series:
|
|
273
|
+
series: z.value,
|
|
274
274
|
config: e.value
|
|
275
275
|
});
|
|
276
276
|
else {
|
|
277
277
|
let a = "";
|
|
278
|
-
const r =
|
|
279
|
-
a += `<div><b>${r.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${
|
|
278
|
+
const r = z.value[t];
|
|
279
|
+
a += `<div><b>${r.segment}</b></div>`, a += `<div>${e.value.translations.age}: ${F(
|
|
280
280
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
281
281
|
p(r.age),
|
|
282
|
-
|
|
282
|
+
R({ v: p(r.age) }),
|
|
283
283
|
{ datapoint: o, seriesIndex: t }
|
|
284
|
-
)}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<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_${
|
|
284
|
+
)}</div>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += '<div style="display:flex; flex-direction:row;gap:12px">', a += `<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>${F(
|
|
285
285
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
286
286
|
p(r.left.value),
|
|
287
|
-
|
|
287
|
+
R({ v: p(r.left.value) }),
|
|
288
288
|
{ datapoint: o, seriesIndex: t }
|
|
289
|
-
)}</b></div></div>`, a += `<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_${
|
|
289
|
+
)}</b></div></div>`, a += `<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>${F(
|
|
290
290
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
291
291
|
p(r.right.value),
|
|
292
|
-
|
|
292
|
+
R({ v: p(r.right.value) }),
|
|
293
293
|
{ datapoint: o, seriesIndex: t }
|
|
294
|
-
)}</b></div></div>`, a += "</div>", a += `<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>${
|
|
294
|
+
)}</b></div></div>`, a += "</div>", a += `<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>${F(
|
|
295
295
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
296
296
|
p(r.right.value) + p(r.left.value),
|
|
297
|
-
|
|
297
|
+
R({ v: p(r.right.value) + p(r.left.value) }),
|
|
298
298
|
{ datapoint: o, seriesIndex: t }
|
|
299
299
|
)}</b></div></div>`, a += "</div>", Y.value = `<div>${a}</div>`;
|
|
300
300
|
}
|
|
@@ -312,7 +312,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
312
312
|
t ? t(r) : Ct({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
const W =
|
|
315
|
+
const W = c(() => {
|
|
316
316
|
const t = [
|
|
317
317
|
e.value.translations.year,
|
|
318
318
|
e.value.translations.age,
|
|
@@ -339,9 +339,9 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
339
339
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
340
340
|
};
|
|
341
341
|
return { head: t, body: o, config: l, colNames: t };
|
|
342
|
-
}),
|
|
343
|
-
function
|
|
344
|
-
|
|
342
|
+
}), O = v(!1);
|
|
343
|
+
function _e(t) {
|
|
344
|
+
O.value = t, de.value += 1;
|
|
345
345
|
}
|
|
346
346
|
function Te() {
|
|
347
347
|
b.value.showTable = !b.value.showTable;
|
|
@@ -354,8 +354,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
354
354
|
V.value = !V.value;
|
|
355
355
|
}
|
|
356
356
|
async function st({ scale: t = 2 } = {}) {
|
|
357
|
-
if (!
|
|
358
|
-
const { width: o, height: l } =
|
|
357
|
+
if (!A.value) return;
|
|
358
|
+
const { width: o, height: l } = A.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await Pt({ domElement: A.value, base64: !0, img: !0, scale: t });
|
|
359
359
|
return {
|
|
360
360
|
imageUri: r,
|
|
361
361
|
base64: m,
|
|
@@ -365,7 +365,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
365
365
|
aspectRatio: a
|
|
366
366
|
};
|
|
367
367
|
}
|
|
368
|
-
const it = v([]), ut = v({ start: 0, end:
|
|
368
|
+
const it = v([]), ut = v({ start: 0, end: z.value.length });
|
|
369
369
|
Rt({
|
|
370
370
|
timeLabelsEls: q,
|
|
371
371
|
timeLabels: it,
|
|
@@ -379,7 +379,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
379
379
|
targetClass: ".vue-ui-age-pyramid-x-axis-label",
|
|
380
380
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle
|
|
381
381
|
});
|
|
382
|
-
const E =
|
|
382
|
+
const E = c(() => {
|
|
383
383
|
const t = e.value.table.useDialog && !e.value.table.show, o = b.value.showTable;
|
|
384
384
|
return {
|
|
385
385
|
component: t ? Xe : Ue,
|
|
@@ -389,8 +389,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
389
389
|
color: e.value.table.th.color,
|
|
390
390
|
headerColor: e.value.table.th.color,
|
|
391
391
|
headerBg: e.value.table.th.backgroundColor,
|
|
392
|
-
isFullscreen:
|
|
393
|
-
fullscreenParent:
|
|
392
|
+
isFullscreen: O.value,
|
|
393
|
+
fullscreenParent: A.value,
|
|
394
394
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
395
395
|
} : {
|
|
396
396
|
hideDetails: !0,
|
|
@@ -415,7 +415,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
415
415
|
function $e() {
|
|
416
416
|
b.value.showTable = !1, Q.value && Q.value.setTableIconState(!1);
|
|
417
417
|
}
|
|
418
|
-
const nt =
|
|
418
|
+
const nt = c(() => e.value.style.backgroundColor), rt = c(() => e.value.style.title), { exportSvg: vt, getSvg: dt } = Ot({
|
|
419
419
|
svg: Z,
|
|
420
420
|
title: rt,
|
|
421
421
|
backgroundColor: nt
|
|
@@ -431,43 +431,63 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
431
431
|
getImage: st,
|
|
432
432
|
generatePdf: Ce,
|
|
433
433
|
generateCsv: ae,
|
|
434
|
-
generateImage:
|
|
434
|
+
generateImage: Ae,
|
|
435
435
|
generateSvg: Se,
|
|
436
436
|
toggleTable: Te,
|
|
437
437
|
toggleTooltip: Le,
|
|
438
438
|
toggleAnnotator: oe,
|
|
439
|
-
toggleFullscreen:
|
|
439
|
+
toggleFullscreen: _e
|
|
440
440
|
}), (t, o) => (i(), n("div", {
|
|
441
|
-
class: Ie(`vue-data-ui-component vue-ui-age-pyramid ${
|
|
441
|
+
class: Ie(`vue-data-ui-component vue-ui-age-pyramid ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
442
442
|
ref_key: "agePyramid",
|
|
443
|
-
ref:
|
|
444
|
-
id: `vue-ui-age-pyramid_${
|
|
443
|
+
ref: A,
|
|
444
|
+
id: `vue-ui-age-pyramid_${C.value}`,
|
|
445
445
|
style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
446
446
|
onMouseenter: o[1] || (o[1] = () => u(be)(!0)),
|
|
447
447
|
onMouseleave: o[2] || (o[2] = () => u(be)(!1))
|
|
448
448
|
}, [
|
|
449
|
-
e.value.userOptions.buttons.annotator ? (i(),
|
|
449
|
+
e.value.userOptions.buttons.annotator ? (i(), M(u(He), {
|
|
450
450
|
key: 0,
|
|
451
451
|
svgRef: u(Z),
|
|
452
452
|
backgroundColor: e.value.style.backgroundColor,
|
|
453
453
|
color: e.value.style.color,
|
|
454
454
|
active: V.value,
|
|
455
455
|
onClose: oe
|
|
456
|
-
},
|
|
456
|
+
}, {
|
|
457
|
+
"annotator-action-close": y(() => [
|
|
458
|
+
d(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
459
|
+
]),
|
|
460
|
+
"annotator-action-color": y(({ color: l }) => [
|
|
461
|
+
d(t.$slots, "annotator-action-color", w(k({ color: l })), void 0, !0)
|
|
462
|
+
]),
|
|
463
|
+
"annotator-action-draw": y(({ mode: l }) => [
|
|
464
|
+
d(t.$slots, "annotator-action-draw", w(k({ mode: l })), void 0, !0)
|
|
465
|
+
]),
|
|
466
|
+
"annotator-action-undo": y(({ disabled: l }) => [
|
|
467
|
+
d(t.$slots, "annotator-action-undo", w(k({ disabled: l })), void 0, !0)
|
|
468
|
+
]),
|
|
469
|
+
"annotator-action-redo": y(({ disabled: l }) => [
|
|
470
|
+
d(t.$slots, "annotator-action-redo", w(k({ disabled: l })), void 0, !0)
|
|
471
|
+
]),
|
|
472
|
+
"annotator-action-delete": y(({ disabled: l }) => [
|
|
473
|
+
d(t.$slots, "annotator-action-delete", w(k({ disabled: l })), void 0, !0)
|
|
474
|
+
]),
|
|
475
|
+
_: 3
|
|
476
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
457
477
|
qe.value ? (i(), n("div", {
|
|
458
478
|
key: 1,
|
|
459
479
|
ref_key: "noTitle",
|
|
460
480
|
ref: ce,
|
|
461
481
|
class: "vue-data-ui-no-title-space",
|
|
462
482
|
style: "height:36px; width: 100%;background:transparent"
|
|
463
|
-
}, null, 512)) :
|
|
483
|
+
}, null, 512)) : f("", !0),
|
|
464
484
|
e.value.style.title.text ? (i(), n("div", {
|
|
465
485
|
key: 2,
|
|
466
486
|
ref_key: "chartTitle",
|
|
467
487
|
ref: ye,
|
|
468
488
|
style: "width:100%;background:transparent"
|
|
469
489
|
}, [
|
|
470
|
-
(i(),
|
|
490
|
+
(i(), M(Dt, {
|
|
471
491
|
key: `title_${fe.value}`,
|
|
472
492
|
config: {
|
|
473
493
|
title: {
|
|
@@ -480,8 +500,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
480
500
|
}
|
|
481
501
|
}
|
|
482
502
|
}, null, 8, ["config"]))
|
|
483
|
-
], 512)) :
|
|
484
|
-
e.value.userOptions.show && ve.value && (u(xe) || u(K)) ? (i(),
|
|
503
|
+
], 512)) : f("", !0),
|
|
504
|
+
e.value.userOptions.show && ve.value && (u(xe) || u(K)) ? (i(), M(u(We), {
|
|
485
505
|
ref_key: "userOptionsRef",
|
|
486
506
|
ref: Q,
|
|
487
507
|
key: `user_options_${de.value}`,
|
|
@@ -489,7 +509,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
489
509
|
color: e.value.style.color,
|
|
490
510
|
isImaging: u(ke),
|
|
491
511
|
isPrinting: u(we),
|
|
492
|
-
uid:
|
|
512
|
+
uid: C.value,
|
|
493
513
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
494
514
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
495
515
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -497,20 +517,20 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
497
517
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
498
518
|
hasTable: e.value.userOptions.buttons.table,
|
|
499
519
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
500
|
-
isFullscreen:
|
|
520
|
+
isFullscreen: O.value,
|
|
501
521
|
isTooltip: b.value.showTooltip,
|
|
502
522
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
503
|
-
chartElement:
|
|
523
|
+
chartElement: A.value,
|
|
504
524
|
position: e.value.userOptions.position,
|
|
505
525
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
506
526
|
isAnnotation: V.value,
|
|
507
527
|
callbacks: e.value.userOptions.callbacks,
|
|
508
528
|
printScale: e.value.userOptions.print.scale,
|
|
509
529
|
tableDialog: e.value.table.useDialog,
|
|
510
|
-
onToggleFullscreen:
|
|
530
|
+
onToggleFullscreen: _e,
|
|
511
531
|
onGeneratePdf: u(Ce),
|
|
512
532
|
onGenerateCsv: ae,
|
|
513
|
-
onGenerateImage: u(
|
|
533
|
+
onGenerateImage: u(Ae),
|
|
514
534
|
onGenerateSvg: Se,
|
|
515
535
|
onToggleTable: Te,
|
|
516
536
|
onToggleTooltip: Le,
|
|
@@ -521,73 +541,73 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
521
541
|
}, Fe({ _: 2 }, [
|
|
522
542
|
t.$slots.menuIcon ? {
|
|
523
543
|
name: "menuIcon",
|
|
524
|
-
fn:
|
|
525
|
-
|
|
544
|
+
fn: y(({ isOpen: l, color: a }) => [
|
|
545
|
+
d(t.$slots, "menuIcon", w(k({ isOpen: l, color: a })), void 0, !0)
|
|
526
546
|
]),
|
|
527
547
|
key: "0"
|
|
528
548
|
} : void 0,
|
|
529
549
|
t.$slots.optionTooltip ? {
|
|
530
550
|
name: "optionTooltip",
|
|
531
|
-
fn:
|
|
532
|
-
|
|
551
|
+
fn: y(() => [
|
|
552
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
533
553
|
]),
|
|
534
554
|
key: "1"
|
|
535
555
|
} : void 0,
|
|
536
556
|
t.$slots.optionPdf ? {
|
|
537
557
|
name: "optionPdf",
|
|
538
|
-
fn:
|
|
539
|
-
|
|
558
|
+
fn: y(() => [
|
|
559
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
540
560
|
]),
|
|
541
561
|
key: "2"
|
|
542
562
|
} : void 0,
|
|
543
563
|
t.$slots.optionCsv ? {
|
|
544
564
|
name: "optionCsv",
|
|
545
|
-
fn:
|
|
546
|
-
|
|
565
|
+
fn: y(() => [
|
|
566
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
547
567
|
]),
|
|
548
568
|
key: "3"
|
|
549
569
|
} : void 0,
|
|
550
570
|
t.$slots.optionImg ? {
|
|
551
571
|
name: "optionImg",
|
|
552
|
-
fn:
|
|
553
|
-
|
|
572
|
+
fn: y(() => [
|
|
573
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
554
574
|
]),
|
|
555
575
|
key: "4"
|
|
556
576
|
} : void 0,
|
|
557
577
|
t.$slots.optionSvg ? {
|
|
558
578
|
name: "optionSvg",
|
|
559
|
-
fn:
|
|
560
|
-
|
|
579
|
+
fn: y(() => [
|
|
580
|
+
d(t.$slots, "optionSvg", {}, void 0, !0)
|
|
561
581
|
]),
|
|
562
582
|
key: "5"
|
|
563
583
|
} : void 0,
|
|
564
584
|
t.$slots.optionTable ? {
|
|
565
585
|
name: "optionTable",
|
|
566
|
-
fn:
|
|
567
|
-
|
|
586
|
+
fn: y(() => [
|
|
587
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
568
588
|
]),
|
|
569
589
|
key: "6"
|
|
570
590
|
} : void 0,
|
|
571
591
|
t.$slots.optionFullscreen ? {
|
|
572
592
|
name: "optionFullscreen",
|
|
573
|
-
fn:
|
|
574
|
-
|
|
593
|
+
fn: y(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
594
|
+
d(t.$slots, "optionFullscreen", w(k({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
575
595
|
]),
|
|
576
596
|
key: "7"
|
|
577
597
|
} : void 0,
|
|
578
598
|
t.$slots.optionAnnotator ? {
|
|
579
599
|
name: "optionAnnotator",
|
|
580
|
-
fn:
|
|
581
|
-
|
|
600
|
+
fn: y(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
601
|
+
d(t.$slots, "optionAnnotator", w(k({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
582
602
|
]),
|
|
583
603
|
key: "8"
|
|
584
604
|
} : void 0
|
|
585
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
605
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
586
606
|
(i(), n("svg", {
|
|
587
607
|
ref_key: "svgRef",
|
|
588
608
|
ref: Z,
|
|
589
609
|
xmlns: u(wt),
|
|
590
|
-
class: Ie({ "vue-data-ui-fullscreen--on":
|
|
610
|
+
class: Ie({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
591
611
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
592
612
|
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
593
613
|
}, [
|
|
@@ -602,44 +622,44 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
602
622
|
pointerEvents: "none"
|
|
603
623
|
}
|
|
604
624
|
}, [
|
|
605
|
-
|
|
606
|
-
], 8, Ut)) :
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
id: `age_pyramid_left_${
|
|
625
|
+
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
626
|
+
], 8, Ut)) : f("", !0),
|
|
627
|
+
h("defs", null, [
|
|
628
|
+
h("linearGradient", {
|
|
629
|
+
id: `age_pyramid_left_${C.value}`,
|
|
610
630
|
x1: "0%",
|
|
611
631
|
y1: "0%",
|
|
612
632
|
x2: "100%",
|
|
613
633
|
y2: "0%"
|
|
614
634
|
}, [
|
|
615
|
-
|
|
635
|
+
h("stop", {
|
|
616
636
|
offset: "0%",
|
|
617
637
|
"stop-color": e.value.style.layout.bars.left.color
|
|
618
638
|
}, null, 8, Ht),
|
|
619
|
-
|
|
639
|
+
h("stop", {
|
|
620
640
|
offset: "100%",
|
|
621
641
|
"stop-color": u(ne)(u(Pe)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
622
642
|
}, null, 8, Wt)
|
|
623
643
|
], 8, Gt),
|
|
624
|
-
|
|
625
|
-
id: `age_pyramid_right_${
|
|
644
|
+
h("linearGradient", {
|
|
645
|
+
id: `age_pyramid_right_${C.value}`,
|
|
626
646
|
x1: "0%",
|
|
627
647
|
y1: "0%",
|
|
628
648
|
x2: "100%",
|
|
629
649
|
y2: "0%"
|
|
630
650
|
}, [
|
|
631
|
-
|
|
651
|
+
h("stop", {
|
|
632
652
|
offset: "0%",
|
|
633
653
|
"stop-color": u(ne)(u(Pe)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
634
654
|
}, null, 8, Xt),
|
|
635
|
-
|
|
655
|
+
h("stop", {
|
|
636
656
|
offset: "100%",
|
|
637
657
|
"stop-color": e.value.style.layout.bars.right.color
|
|
638
658
|
}, null, 8, jt)
|
|
639
659
|
], 8, Vt)
|
|
640
660
|
]),
|
|
641
|
-
(i(!0), n(
|
|
642
|
-
|
|
661
|
+
(i(!0), n(S, null, I(z.value, (l, a) => (i(), n("g", null, [
|
|
662
|
+
h("rect", {
|
|
643
663
|
x: l.left.x,
|
|
644
664
|
y: l.left.y,
|
|
645
665
|
width: u(p)(l.left.width <= 0 ? 1e-4 : l.left.width),
|
|
@@ -647,15 +667,15 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
647
667
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
648
668
|
rx: e.value.style.layout.bars.borderRadius
|
|
649
669
|
}, null, 8, Yt),
|
|
650
|
-
|
|
670
|
+
h("rect", {
|
|
651
671
|
x: l.left.x,
|
|
652
672
|
y: l.left.y,
|
|
653
673
|
width: l.left.width <= 0 ? 1e-4 : l.left.width,
|
|
654
674
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
655
|
-
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${
|
|
675
|
+
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${C.value})` : l.left.color,
|
|
656
676
|
rx: e.value.style.layout.bars.borderRadius
|
|
657
677
|
}, null, 8, qt),
|
|
658
|
-
|
|
678
|
+
h("rect", {
|
|
659
679
|
x: l.right.x,
|
|
660
680
|
y: l.right.y,
|
|
661
681
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
@@ -663,74 +683,74 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
663
683
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
664
684
|
rx: e.value.style.layout.bars.borderRadius
|
|
665
685
|
}, null, 8, Qt),
|
|
666
|
-
|
|
686
|
+
h("rect", {
|
|
667
687
|
x: l.right.x,
|
|
668
688
|
y: l.right.y,
|
|
669
689
|
width: l.right.width <= 0 ? 1e-4 : l.right.width,
|
|
670
690
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
671
|
-
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${
|
|
691
|
+
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${C.value})` : l.right.color,
|
|
672
692
|
rx: e.value.style.layout.bars.borderRadius
|
|
673
693
|
}, null, 8, Jt)
|
|
674
694
|
]))), 256)),
|
|
675
|
-
|
|
695
|
+
h("g", null, [
|
|
676
696
|
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g", Kt, [
|
|
677
|
-
|
|
697
|
+
h("text", {
|
|
678
698
|
x: s.value.left,
|
|
679
699
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
680
700
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.left.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
681
701
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
682
702
|
"text-anchor": "start",
|
|
683
703
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
684
|
-
},
|
|
685
|
-
|
|
704
|
+
}, _(e.value.translations.female), 9, Zt),
|
|
705
|
+
h("text", {
|
|
686
706
|
x: s.value.right,
|
|
687
707
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
688
708
|
fill: e.value.style.layout.dataLabels.sideTitles.useSideColor ? e.value.style.layout.bars.right.color : e.value.style.layout.dataLabels.sideTitles.color,
|
|
689
709
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
690
710
|
"text-anchor": "end",
|
|
691
711
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
692
|
-
},
|
|
693
|
-
])) :
|
|
712
|
+
}, _(e.value.translations.male), 9, el)
|
|
713
|
+
])) : f("", !0),
|
|
694
714
|
e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g", tl, [
|
|
695
|
-
(i(!0), n(
|
|
715
|
+
(i(!0), n(S, null, I(Ze.value, (l, a) => (i(), n(S, null, [
|
|
696
716
|
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), n("text", {
|
|
697
717
|
key: 0,
|
|
698
718
|
x: s.value.centerX,
|
|
699
|
-
y: s.value.top + s.value.height /
|
|
719
|
+
y: s.value.top + s.value.height / D.value * a + e.value.style.layout.dataLabels.yAxis.fontSize / 3,
|
|
700
720
|
"text-anchor": "middle",
|
|
701
721
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
702
722
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
703
723
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
704
|
-
},
|
|
724
|
+
}, _(u(F)(
|
|
705
725
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
706
726
|
l,
|
|
707
|
-
u(
|
|
727
|
+
u(R)({ v: l }),
|
|
708
728
|
{ datapoint: l, seriesIndex: a }
|
|
709
|
-
)), 9, ll)) :
|
|
729
|
+
)), 9, ll)) : f("", !0)
|
|
710
730
|
], 64))), 256))
|
|
711
|
-
])) :
|
|
731
|
+
])) : f("", !0),
|
|
712
732
|
e.value.style.layout.dataLabels.xAxis.show ? (i(), n("g", al, [
|
|
713
733
|
e.value.style.layout.grid.show ? (i(), n("g", ol, [
|
|
714
|
-
|
|
715
|
-
x1:
|
|
716
|
-
x2:
|
|
734
|
+
h("line", {
|
|
735
|
+
x1: L.value.right[0].x,
|
|
736
|
+
x2: L.value.right.at(-1).x,
|
|
717
737
|
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
718
738
|
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
719
739
|
stroke: e.value.style.layout.grid.stroke,
|
|
720
740
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
721
741
|
"stroke-linecap": "round"
|
|
722
742
|
}, null, 8, sl),
|
|
723
|
-
|
|
724
|
-
x1:
|
|
725
|
-
x2:
|
|
743
|
+
h("line", {
|
|
744
|
+
x1: L.value.left[0].x,
|
|
745
|
+
x2: L.value.left.at(-1).x,
|
|
726
746
|
y1: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
727
747
|
y2: s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2,
|
|
728
748
|
stroke: e.value.style.layout.grid.stroke,
|
|
729
749
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
730
750
|
"stroke-linecap": "round"
|
|
731
751
|
}, null, 8, il)
|
|
732
|
-
])) :
|
|
733
|
-
(i(!0), n(
|
|
752
|
+
])) : f("", !0),
|
|
753
|
+
(i(!0), n(S, null, I(L.value.right, (l, a) => (i(), n("g", null, [
|
|
734
754
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
735
755
|
key: 0,
|
|
736
756
|
x1: l.x,
|
|
@@ -740,9 +760,9 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
740
760
|
stroke: e.value.style.layout.grid.stroke,
|
|
741
761
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
742
762
|
"stroke-linecap": "round"
|
|
743
|
-
}, null, 8, ul)) :
|
|
763
|
+
}, null, 8, ul)) : f("", !0)
|
|
744
764
|
]))), 256)),
|
|
745
|
-
(i(!0), n(
|
|
765
|
+
(i(!0), n(S, null, I(L.value.left, (l, a) => (i(), n("g", null, [
|
|
746
766
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
747
767
|
key: 0,
|
|
748
768
|
x1: l.x,
|
|
@@ -752,79 +772,79 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
752
772
|
stroke: e.value.style.layout.grid.stroke,
|
|
753
773
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
754
774
|
"stroke-linecap": "round"
|
|
755
|
-
}, null, 8, nl)) :
|
|
775
|
+
}, null, 8, nl)) : f("", !0)
|
|
756
776
|
]))), 256)),
|
|
757
|
-
|
|
777
|
+
h("g", {
|
|
758
778
|
ref_key: "xAxisLabels",
|
|
759
779
|
ref: q
|
|
760
780
|
}, [
|
|
761
|
-
(i(!0), n(
|
|
781
|
+
(i(!0), n(S, null, I(L.value.right, (l, a) => (i(), n("text", {
|
|
762
782
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
763
783
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
764
784
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
765
785
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
766
786
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
767
787
|
transform: `translate(${l.x}, ${s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
768
|
-
},
|
|
788
|
+
}, _(u(F)(
|
|
769
789
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
770
790
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
771
|
-
u(
|
|
791
|
+
u(R)({
|
|
772
792
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
773
793
|
}),
|
|
774
794
|
{ datapoint: l, seriesIndex: a }
|
|
775
795
|
)), 9, rl))), 256)),
|
|
776
|
-
(i(!0), n(
|
|
796
|
+
(i(!0), n(S, null, I(L.value.left, (l, a) => (i(), n("text", {
|
|
777
797
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
778
798
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
779
799
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
780
800
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
781
801
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
782
802
|
transform: `translate(${l.x}, ${s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
783
|
-
},
|
|
803
|
+
}, _(u(F)(
|
|
784
804
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
785
805
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
786
|
-
u(
|
|
806
|
+
u(R)({
|
|
787
807
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
788
808
|
}),
|
|
789
809
|
{ datapoint: l, seriesIndex: a }
|
|
790
810
|
)), 9, vl))), 256))
|
|
791
811
|
], 512),
|
|
792
|
-
|
|
812
|
+
h("text", {
|
|
793
813
|
x: s.value.right,
|
|
794
814
|
y: g.value.height,
|
|
795
815
|
"text-anchor": "end",
|
|
796
816
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
797
817
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
798
818
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
799
|
-
},
|
|
800
|
-
])) :
|
|
819
|
+
}, _(e.value.style.layout.dataLabels.xAxis.translation), 9, dl)
|
|
820
|
+
])) : f("", !0)
|
|
801
821
|
]),
|
|
802
|
-
(i(!0), n(
|
|
803
|
-
|
|
822
|
+
(i(!0), n(S, null, I(re.dataset, (l, a) => (i(), n("g", null, [
|
|
823
|
+
h("rect", {
|
|
804
824
|
x: s.value.left,
|
|
805
|
-
y: s.value.top + s.value.height /
|
|
825
|
+
y: s.value.top + s.value.height / D.value * a - e.value.style.layout.bars.gap / 2,
|
|
806
826
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
807
|
-
height: s.value.height /
|
|
827
|
+
height: s.value.height / D.value <= 0 ? 1e-4 : s.value.height / D.value,
|
|
808
828
|
fill: U.value !== null && U.value === a ? u(ne)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
809
829
|
onMouseover: (r) => ot(a, l),
|
|
810
830
|
onMouseleave: (r) => at(a, l),
|
|
811
831
|
onClick: (r) => lt(a, l)
|
|
812
832
|
}, null, 40, yl)
|
|
813
833
|
]))), 256)),
|
|
814
|
-
|
|
834
|
+
d(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
815
835
|
], 14, Et)),
|
|
816
836
|
t.$slots.watermark ? (i(), n("div", hl, [
|
|
817
|
-
|
|
818
|
-
])) :
|
|
819
|
-
|
|
837
|
+
d(t.$slots, "watermark", w(k({ isPrinting: u(we) || u(ke) })), void 0, !0)
|
|
838
|
+
])) : f("", !0),
|
|
839
|
+
d(t.$slots, "legend", { legend: z.value }, void 0, !0),
|
|
820
840
|
t.$slots.source ? (i(), n("div", {
|
|
821
841
|
key: 5,
|
|
822
842
|
ref_key: "source",
|
|
823
843
|
ref: he,
|
|
824
844
|
dir: "auto"
|
|
825
845
|
}, [
|
|
826
|
-
|
|
827
|
-
], 512)) :
|
|
846
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
847
|
+
], 512)) : f("", !0),
|
|
828
848
|
ie(u(Be), {
|
|
829
849
|
show: b.value.showTooltip && j.value,
|
|
830
850
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
@@ -836,30 +856,30 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
836
856
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
837
857
|
position: e.value.style.tooltip.position,
|
|
838
858
|
offsetY: e.value.style.tooltip.offsetY,
|
|
839
|
-
parent:
|
|
859
|
+
parent: A.value,
|
|
840
860
|
content: Y.value,
|
|
841
|
-
isFullscreen:
|
|
861
|
+
isFullscreen: O.value,
|
|
842
862
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
|
|
843
863
|
smooth: e.value.style.tooltip.smooth,
|
|
844
864
|
backdropFilter: e.value.style.tooltip.backdropFilter,
|
|
845
865
|
smoothForce: e.value.style.tooltip.smoothForce,
|
|
846
866
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
847
867
|
}, {
|
|
848
|
-
"tooltip-before":
|
|
849
|
-
|
|
868
|
+
"tooltip-before": y(() => [
|
|
869
|
+
d(t.$slots, "tooltip-before", w(k({ ...te.value })), void 0, !0)
|
|
850
870
|
]),
|
|
851
|
-
"tooltip-after":
|
|
852
|
-
|
|
871
|
+
"tooltip-after": y(() => [
|
|
872
|
+
d(t.$slots, "tooltip-after", w(k({ ...te.value })), void 0, !0)
|
|
853
873
|
]),
|
|
854
874
|
_: 3
|
|
855
875
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
856
|
-
ve.value && e.value.userOptions.buttons.table ? (i(),
|
|
876
|
+
ve.value && e.value.userOptions.buttons.table ? (i(), M(ft(E.value.component), gt({ key: 6 }, E.value.props, {
|
|
857
877
|
ref_key: "tableUnit",
|
|
858
878
|
ref: N,
|
|
859
879
|
onClose: $e
|
|
860
880
|
}), Fe({
|
|
861
|
-
content:
|
|
862
|
-
(i(),
|
|
881
|
+
content: y(() => [
|
|
882
|
+
(i(), M(u(Ge), {
|
|
863
883
|
key: `table_${ge.value}`,
|
|
864
884
|
colNames: W.value.colNames,
|
|
865
885
|
head: W.value.head,
|
|
@@ -869,11 +889,11 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
869
889
|
withCloseButton: !e.value.table.useDialog,
|
|
870
890
|
onClose: $e
|
|
871
891
|
}, {
|
|
872
|
-
th:
|
|
873
|
-
ue(
|
|
892
|
+
th: y(({ th: l }) => [
|
|
893
|
+
ue(_(l), 1)
|
|
874
894
|
]),
|
|
875
|
-
td:
|
|
876
|
-
ue(
|
|
895
|
+
td: y(({ td: l }) => [
|
|
896
|
+
ue(_(l), 1)
|
|
877
897
|
]),
|
|
878
898
|
_: 1
|
|
879
899
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -882,15 +902,15 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
882
902
|
}, [
|
|
883
903
|
e.value.table.useDialog ? {
|
|
884
904
|
name: "title",
|
|
885
|
-
fn:
|
|
886
|
-
ue(
|
|
905
|
+
fn: y(() => [
|
|
906
|
+
ue(_(E.value.title), 1)
|
|
887
907
|
]),
|
|
888
908
|
key: "0"
|
|
889
909
|
} : void 0,
|
|
890
910
|
e.value.table.useDialog ? {
|
|
891
911
|
name: "actions",
|
|
892
|
-
fn:
|
|
893
|
-
|
|
912
|
+
fn: y(() => [
|
|
913
|
+
h("button", {
|
|
894
914
|
tabindex: "0",
|
|
895
915
|
class: "vue-ui-user-options-button",
|
|
896
916
|
onClick: o[0] || (o[0] = (l) => ae(e.value.userOptions.callbacks.csv))
|
|
@@ -903,11 +923,11 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
903
923
|
]),
|
|
904
924
|
key: "1"
|
|
905
925
|
} : void 0
|
|
906
|
-
]), 1040)) :
|
|
907
|
-
u(pe) ? (i(),
|
|
926
|
+
]), 1040)) : f("", !0),
|
|
927
|
+
u(pe) ? (i(), M(St, { key: 7 })) : f("", !0)
|
|
908
928
|
], 46, Bt));
|
|
909
929
|
}
|
|
910
|
-
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-
|
|
930
|
+
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-7049b7f2"]]);
|
|
911
931
|
export {
|
|
912
932
|
Sl as default
|
|
913
933
|
};
|