vue-data-ui 3.2.8 → 3.3.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/dist/{Arrow-Bb0bGghy.js → Arrow-DLi6NnGD.js} +1 -1
- package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-CVGErydD.js} +2 -2
- package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-eZbszQrv.js} +4 -3
- package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-BoPM4Ejg.js} +2 -2
- package/dist/{DataTable-BvjacRbw.js → DataTable-yAMEyP6y.js} +2 -2
- package/dist/{Legend-BpoFJ8fc.js → Legend-By4rru90.js} +2 -2
- package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
- package/dist/{PackageVersion-C40g0Rfc.js → PackageVersion-BfykJm_B.js} +1 -1
- package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-Bo-lMUik.js} +3 -3
- package/dist/{Shape-C_C_OmqR.js → Shape-BceHSLHf.js} +1 -1
- package/dist/{Slicer-BA2GhOmY.js → Slicer-Znzt0gSE.js} +2 -2
- package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip--YwqrrgZ.js} +1 -1
- package/dist/{Title-DG2nloSB.js → Title-Camz1Lce.js} +1 -1
- package/dist/{Tooltip-BOXz8skU.js → Tooltip-VOcQEHa4.js} +1 -1
- package/dist/{UserOptions-DsTgvAok.js → UserOptions-CSja1SGU.js} +168 -126
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-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-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BgvOdfyW.js → dom-to-png-DxyZSvDx.js} +1 -1
- package/dist/{img-DjWwQXVS.js → img-J2dLIr8Y.js} +1 -1
- package/dist/{lib-BEpWEyMm.js → lib-CEjkWSLj.js} +462 -446
- package/dist/{pdf-YD0ShN36.js → pdf-anN8VbM7.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +8 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
- package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-Ce3PwN8T.js} +291 -246
- package/dist/{usePrinter-w23K-ezx.js → usePrinter-DJ1iH-F_.js} +2 -2
- package/dist/useSvgExport-DrjCWun4.js +750 -0
- package/dist/vue-data-ui-j8Dnx_Ui.js +326 -0
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-Cf7zHemQ.js → vue-ui-3d-bar-Cml_eeEU.js} +358 -342
- package/dist/{vue-ui-accordion-CDIzGCG1.js → vue-ui-accordion-VTP418mC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-T09D0LHr.js → vue-ui-age-pyramid-MULKSv5c.js} +228 -212
- package/dist/{vue-ui-annotator-3bUg-1Zy.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
- package/dist/{vue-ui-bullet-DKgdFa2v.js → vue-ui-bullet-BHO5zu9m.js} +197 -179
- package/dist/{vue-ui-candlestick-g6PO_L_7.js → vue-ui-candlestick-B7EjAlSi.js} +278 -262
- package/dist/{vue-ui-carousel-table-Ch2xooE8.js → vue-ui-carousel-table-DXnYj0Gc.js} +4 -4
- package/dist/{vue-ui-chestnut-B-nzp0b6.js → vue-ui-chestnut-B1Usqda-.js} +425 -379
- package/dist/{vue-ui-chord-BqS8DoTd.js → vue-ui-chord-DgXH82Hg.js} +317 -299
- package/dist/{vue-ui-circle-pack-B1axDP9l.js → vue-ui-circle-pack-BQfaZFFz.js} +249 -233
- package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
- package/dist/{vue-ui-dashboard-TXcw45j_.js → vue-ui-dashboard-C6xHAPp8.js} +67 -67
- package/dist/{vue-ui-digits-pW7YVqxy.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
- package/dist/{vue-ui-donut-evolution-BoVslTri.js → vue-ui-donut-evolution-D_CKlaay.js} +406 -384
- package/dist/{vue-ui-donut-BFpWEe2s.js → vue-ui-donut-swJu7UL2.js} +662 -645
- package/dist/{vue-ui-dumbbell-CRHvtmq9.js → vue-ui-dumbbell-siD31WFG.js} +295 -274
- package/dist/vue-ui-flow-BZCnqIs-.js +931 -0
- package/dist/{vue-ui-funnel-CKUlzitM.js → vue-ui-funnel-DmgcIRzW.js} +174 -158
- package/dist/{vue-ui-galaxy-DZqCAK9c.js → vue-ui-galaxy-C-zegxf9.js} +265 -252
- package/dist/{vue-ui-gauge-D3bPFF59.js → vue-ui-gauge-D6C8eUvP.js} +256 -240
- package/dist/{vue-ui-gizmo-oVLp367W.js → vue-ui-gizmo-iSYUVKlt.js} +3 -3
- package/dist/{vue-ui-heatmap-C1RctcPx.js → vue-ui-heatmap-RHDxexNf.js} +386 -365
- package/dist/{vue-ui-history-plot-CoQYOlF4.js → vue-ui-history-plot-4nwAd1qA.js} +307 -289
- package/dist/{vue-ui-kpi-BZX-tqIm.js → vue-ui-kpi-Dphnwumo.js} +3 -3
- package/dist/{vue-ui-mini-loader-hMqB-KQI.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
- package/dist/{vue-ui-molecule-D0Kr_w-v.js → vue-ui-molecule-BhisFSGQ.js} +176 -160
- package/dist/vue-ui-mood-radar-B8yHPdrV.js +876 -0
- package/dist/{vue-ui-nested-donuts-94Gu95Z9.js → vue-ui-nested-donuts-Bfp0oVSK.js} +541 -518
- package/dist/{vue-ui-onion-Dy_aTvGI.js → vue-ui-onion-f1B0W_oT.js} +318 -289
- package/dist/{vue-ui-parallel-coordinate-plot-D_oo5lQW.js → vue-ui-parallel-coordinate-plot-DcY-0R-7.js} +252 -233
- package/dist/{vue-ui-quadrant-CRYpRl_q.js → vue-ui-quadrant-DuzopA33.js} +294 -276
- package/dist/{vue-ui-quick-chart-B1s047tz.js → vue-ui-quick-chart-45Tm1UnC.js} +723 -685
- package/dist/{vue-ui-radar-DA7EuchK.js → vue-ui-radar-DDS405TF.js} +307 -282
- package/dist/{vue-ui-rating-z2bsnprP.js → vue-ui-rating-eKlTJch9.js} +2 -2
- package/dist/{vue-ui-relation-circle-DZ8IiUNu.js → vue-ui-relation-circle-BqXHJEvi.js} +146 -131
- package/dist/{vue-ui-ridgeline-5IWuJgs6.js → vue-ui-ridgeline-Lx7YOCRg.js} +320 -299
- package/dist/{vue-ui-rings-gY2f8mVf.js → vue-ui-rings-crjrV65X.js} +323 -310
- package/dist/{vue-ui-scatter-OLidvHlx.js → vue-ui-scatter-Bk4liS2c.js} +390 -372
- package/dist/{vue-ui-skeleton-BaysGsg0.js → vue-ui-skeleton-Pu9gPf97.js} +3 -3
- package/dist/{vue-ui-smiley-Dn2IR0oC.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
- package/dist/{vue-ui-spark-trend-gp5B9uF7.js → vue-ui-spark-trend-BmaybxJn.js} +3 -3
- package/dist/{vue-ui-sparkbar-8t63RYc7.js → vue-ui-sparkbar-DvhcXniz.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BWSykUpn.js → vue-ui-sparkgauge-D4Brfset.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BEjxKMG5.js → vue-ui-sparkhistogram-D5_lR__d.js} +4 -4
- package/dist/{vue-ui-sparkline-bFF-ZCCH.js → vue-ui-sparkline-DxNG5QQg.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-HtAlEtzK.js → vue-ui-sparkstackbar-BTFzo3fq.js} +3 -3
- package/dist/{vue-ui-stackbar-CUIWPgfk.js → vue-ui-stackbar-B8glHsE6.js} +355 -337
- package/dist/{vue-ui-strip-plot-DwS52yGc.js → vue-ui-strip-plot-C5Bro8-W.js} +368 -352
- package/dist/{vue-ui-table-BYqPx7k4.js → vue-ui-table-Ddu9yx2S.js} +5 -5
- package/dist/{vue-ui-table-heatmap-CRfjUoa1.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Bvf0ZBOi.js → vue-ui-table-sparkline-D3tgrV_k.js} +4 -4
- package/dist/{vue-ui-thermometer-BB7cHec0.js → vue-ui-thermometer-BxQIZoXd.js} +148 -133
- package/dist/{vue-ui-timer-BVDKvC4v.js → vue-ui-timer-BwFlr_19.js} +5 -5
- package/dist/vue-ui-tiremarks-KwISwJS6.js +423 -0
- package/dist/{vue-ui-treemap-nGgRTw0l.js → vue-ui-treemap-C6PLDL2Y.js} +403 -373
- package/dist/{vue-ui-vertical-bar-BJOm2JQh.js → vue-ui-vertical-bar-CTmRo06n.js} +295 -260
- package/dist/{vue-ui-waffle-aCMPaHbw.js → vue-ui-waffle-BwOLL9aa.js} +396 -377
- package/dist/{vue-ui-wheel-D_q23eOk.js → vue-ui-wheel-KI9mkz8y.js} +196 -180
- package/dist/{vue-ui-word-cloud-C7TMR4Zq.js → vue-ui-word-cloud-DTyjx6X4.js} +233 -217
- package/dist/{vue-ui-world-DtMYYQ6T.js → vue-ui-world-C3QXAlC7.js} +344 -326
- package/dist/{vue-ui-xy-Dputm9QT.js → vue-ui-xy-b-CN-G4J.js} +1601 -1707
- package/dist/{vue-ui-xy-canvas-BCeQoXNM.js → vue-ui-xy-canvas-CdkE1NHd.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-data-ui-BcRg499t.js +0 -325
- package/dist/vue-ui-flow-CKGjSZoj.js +0 -909
- package/dist/vue-ui-mood-radar-C6UCofDb.js +0 -853
- package/dist/vue-ui-tiremarks-CBVuu_Zi.js +0 -407
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { defineAsyncComponent as T, computed as
|
|
2
|
-
import { c as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import { defineAsyncComponent as T, computed as y, 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 D, createCommentVNode as h, renderSlot as c, createVNode as ie, createSlots as Fe, withCtx as f, normalizeProps as P, guardReactiveProps as M, createElementVNode as d, Fragment as L, renderList as z, toDisplayString as C, 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, q as p, X as wt, s as ne, i as De, a as O, d as I, x as kt, y as Ct, z as _t, A as At } from "./lib-CEjkWSLj.js";
|
|
3
|
+
import { t as Pe, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Lt, a as Me } from "./useNestedProp-Ce3PwN8T.js";
|
|
5
|
+
import { u as $t, B as St } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as zt } from "./usePrinter-DJ1iH-F_.js";
|
|
7
|
+
import { u as Ot } from "./useSvgExport-DrjCWun4.js";
|
|
8
|
+
import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
|
+
import { u as Ft } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
|
+
import { u as Rt } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
+
import Dt from "./img-J2dLIr8Y.js";
|
|
12
|
+
import Pt from "./Title-Camz1Lce.js";
|
|
13
|
+
import { t as Mt } from "./themes-Dw-dDudK.js";
|
|
14
|
+
import { _ as Nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
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"], Jt = ["x", "y", "width", "height", "fill", "rx"], Kt = ["x", "y", "width", "height", "fill", "rx"], Qt = { 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 = {
|
|
15
16
|
key: 4,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
|
-
},
|
|
18
|
+
}, cl = {
|
|
18
19
|
__name: "vue-ui-age-pyramid",
|
|
19
20
|
props: {
|
|
20
21
|
config: {
|
|
@@ -30,11 +31,11 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
...
|
|
34
|
+
setup(re, { expose: Ne }) {
|
|
35
|
+
const Be = T(() => import("./Tooltip-VOcQEHa4.js")), Ee = T(() => import("./BaseIcon-eZbszQrv.js")), Ue = T(() => import("./vue-ui-accordion-VTP418mC.js")), Ge = T(() => import("./DataTable-yAMEyP6y.js")), He = T(() => import("./PenAndPaper-Bo-lMUik.js")), We = T(() => import("./UserOptions-CSja1SGU.js")), Ve = T(() => import("./PackageVersion-BfykJm_B.js")), Xe = T(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_age_pyramid: je } = Lt(), x = re, ve = y(() => !!x.dataset && x.dataset.length), w = v(bt()), j = v(!1), Y = v(""), U = v(null), de = v(0), k = v(null), ye = v(null), he = v(null), ce = v(null), fe = v(0), ge = v(0), q = v(null), N = v(null), J = v(null), e = v(ee()), { loading: pe, FINAL_DATASET: G, manualLoading: K } = $t({
|
|
36
|
+
...yt(x),
|
|
36
37
|
FINAL_CONFIG: e,
|
|
37
|
-
prepareConfig:
|
|
38
|
+
prepareConfig: ee,
|
|
38
39
|
skeletonDataset: [
|
|
39
40
|
["_", 9, 2, 2],
|
|
40
41
|
["_", 8, 3, 3],
|
|
@@ -47,7 +48,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
47
48
|
["_", 1, 89, 89],
|
|
48
49
|
["_", 0, 144, 144]
|
|
49
50
|
],
|
|
50
|
-
skeletonConfig:
|
|
51
|
+
skeletonConfig: xt({
|
|
51
52
|
defaultConfig: e.value,
|
|
52
53
|
userConfig: {
|
|
53
54
|
userOptions: { show: !1 },
|
|
@@ -80,57 +81,57 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
})
|
|
83
|
-
}), { userOptionsVisible: Q, setUserOptionsVisibility:
|
|
84
|
-
function
|
|
85
|
-
const t =
|
|
84
|
+
}), { userOptionsVisible: Q, setUserOptionsVisibility: be, keepUserOptionState: xe } = It({ config: e.value }), { svgRef: Z } = Ft({ config: e.value.style.title });
|
|
85
|
+
function ee() {
|
|
86
|
+
const t = Me({
|
|
86
87
|
userConfig: x.config,
|
|
87
|
-
defaultConfig:
|
|
88
|
+
defaultConfig: je
|
|
88
89
|
});
|
|
89
90
|
return t.theme ? {
|
|
90
|
-
...
|
|
91
|
-
userConfig:
|
|
91
|
+
...Me({
|
|
92
|
+
userConfig: Mt.vue_ui_age_pyramid[t.theme] || x.config,
|
|
92
93
|
defaultConfig: t
|
|
93
94
|
})
|
|
94
95
|
} : t;
|
|
95
96
|
}
|
|
96
97
|
X(() => x.config, (t) => {
|
|
97
|
-
|
|
98
|
+
pe.value || (e.value = ee()), Q.value = !e.value.userOptions.showOnChartHover, me(), fe.value += 1, ge.value += 1, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.tooltip.show;
|
|
98
99
|
}, { deep: !0 }), X(() => x.dataset, (t) => {
|
|
99
100
|
Array.isArray(t) && t.length > 0 && (K.value = !1);
|
|
100
101
|
}, { deep: !0 });
|
|
101
|
-
const
|
|
102
|
-
|
|
102
|
+
const _ = ze(null), F = ze(null);
|
|
103
|
+
ht(() => {
|
|
103
104
|
me();
|
|
104
105
|
});
|
|
105
|
-
const
|
|
106
|
+
const Ye = y(() => !!e.value.debug);
|
|
106
107
|
function me() {
|
|
107
|
-
if (
|
|
108
|
+
if (Re(x.dataset) && (mt({
|
|
108
109
|
componentName: "VueUiAgePyramid",
|
|
109
110
|
type: "dataset",
|
|
110
|
-
debug:
|
|
111
|
-
}), K.value = !0),
|
|
112
|
-
const t =
|
|
113
|
-
const { width: o, height: l } =
|
|
111
|
+
debug: Ye.value
|
|
112
|
+
}), K.value = !0), Re(x.dataset) || (K.value = e.value.loading), e.value.responsive) {
|
|
113
|
+
const t = Pe(() => {
|
|
114
|
+
const { width: o, height: l } = Tt({
|
|
114
115
|
chart: k.value,
|
|
115
|
-
title: e.value.style.title.text ?
|
|
116
|
-
source:
|
|
117
|
-
noTitle:
|
|
116
|
+
title: e.value.style.title.text ? ye.value : null,
|
|
117
|
+
source: he.value,
|
|
118
|
+
noTitle: ce.value
|
|
118
119
|
});
|
|
119
120
|
requestAnimationFrame(() => {
|
|
120
|
-
|
|
121
|
+
g.value.width = o, g.value.height = l;
|
|
121
122
|
});
|
|
122
123
|
});
|
|
123
|
-
|
|
124
|
+
_.value && (F.value && _.value.unobserve(F.value), _.value.disconnect()), _.value = new ResizeObserver(t), F.value = k.value.parentNode, _.value.observe(F.value);
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
Oe(() => {
|
|
128
|
+
_.value && (F.value && _.value.unobserve(F.value), _.value.disconnect());
|
|
128
129
|
});
|
|
129
|
-
const { isPrinting: we, isImaging: ke, generatePdf:
|
|
130
|
+
const { isPrinting: we, isImaging: ke, generatePdf: Ce, generateImage: _e } = zt({
|
|
130
131
|
elementId: `vue-ui-age-pyramid_${w.value}`,
|
|
131
132
|
fileName: e.value.style.title.text || "vue-ui-age-pyramid",
|
|
132
133
|
options: e.value.userOptions.print
|
|
133
|
-
}),
|
|
134
|
+
}), qe = y(() => e.value.userOptions.show && !e.value.style.title.text), b = v({
|
|
134
135
|
showTable: e.value.table.show,
|
|
135
136
|
showTooltip: e.value.style.tooltip.show
|
|
136
137
|
});
|
|
@@ -140,31 +141,31 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
140
141
|
showTooltip: e.value.style.tooltip.show
|
|
141
142
|
};
|
|
142
143
|
}, { immediate: !0 });
|
|
143
|
-
const
|
|
144
|
+
const g = v({
|
|
144
145
|
height: e.value.style.height,
|
|
145
146
|
width: e.value.style.width
|
|
146
|
-
}),
|
|
147
|
+
}), Je = y(() => g.value.width), Ke = y(() => g.value.height), H = v(0), Qe = Pe((t) => {
|
|
147
148
|
H.value = t;
|
|
148
149
|
}, 100);
|
|
149
|
-
|
|
150
|
+
ct((t) => {
|
|
150
151
|
const o = q.value;
|
|
151
152
|
if (!o) return;
|
|
152
153
|
const l = new ResizeObserver((a) => {
|
|
153
|
-
|
|
154
|
+
Qe(a[0].contentRect.height);
|
|
154
155
|
});
|
|
155
156
|
l.observe(o), t(() => l.disconnect());
|
|
156
|
-
}),
|
|
157
|
+
}), Oe(() => {
|
|
157
158
|
H.value = 0;
|
|
158
159
|
});
|
|
159
|
-
const s =
|
|
160
|
-
const t =
|
|
160
|
+
const s = y(() => {
|
|
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;
|
|
161
162
|
return {
|
|
162
163
|
top: e.value.style.layout.padding.top + e.value.style.layout.dataLabels.sideTitles.fontSize + e.value.style.layout.dataLabels.sideTitles.offsetY + 12,
|
|
163
164
|
left: o,
|
|
164
165
|
right: l,
|
|
165
|
-
bottom:
|
|
166
|
+
bottom: g.value.height - e.value.style.layout.padding.bottom - H.value,
|
|
166
167
|
width: t,
|
|
167
|
-
height:
|
|
168
|
+
height: g.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - H.value - e.value.style.layout.dataLabels.sideTitles.fontSize - e.value.style.layout.dataLabels.sideTitles.offsetY - 12,
|
|
168
169
|
centerX: e.value.style.layout.padding.left + t / 2,
|
|
169
170
|
leftChart: {
|
|
170
171
|
width: t / 2 - e.value.style.layout.centerSlit.width,
|
|
@@ -175,8 +176,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
175
176
|
left: o + t / 2 + e.value.style.layout.centerSlit.width
|
|
176
177
|
}
|
|
177
178
|
};
|
|
178
|
-
}),
|
|
179
|
-
const t =
|
|
179
|
+
}), Ze = y(() => G.value.map((t) => e.value.style.layout.dataLabels.yAxis.display === "age" ? t[1] : t[0])), A = y(() => {
|
|
180
|
+
const t = et(B.value / 5), o = [], l = [];
|
|
180
181
|
for (let a = 0; a <= 5; a += 1) {
|
|
181
182
|
const r = t * a, m = t * (a - 5);
|
|
182
183
|
o.push({
|
|
@@ -192,13 +193,13 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
192
193
|
left: l
|
|
193
194
|
};
|
|
194
195
|
});
|
|
195
|
-
function
|
|
196
|
+
function et(t) {
|
|
196
197
|
if (t === 0) return 0;
|
|
197
198
|
const l = 10 ** Math.floor(Math.log10(Math.abs(t)));
|
|
198
199
|
let a;
|
|
199
200
|
return t < 0, a = Math.round(t / l) * l, a;
|
|
200
201
|
}
|
|
201
|
-
const B =
|
|
202
|
+
const B = y(() => Math.max(...G.value.flatMap((t) => t.slice(-2).map((o) => p(o))))), R = y(() => G.value.length), tt = y(() => G.value.map((t) => ({
|
|
202
203
|
segment: t[0],
|
|
203
204
|
age: t[1],
|
|
204
205
|
left: {
|
|
@@ -209,7 +210,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
209
210
|
value: t[3],
|
|
210
211
|
proportionToMax: t[3] / B.value
|
|
211
212
|
}
|
|
212
|
-
}))), $ =
|
|
213
|
+
}))), $ = y(() => tt.value.map((t, o) => {
|
|
213
214
|
const l = s.value.top + s.value.height / R.value * o, a = s.value.height / R.value - e.value.style.layout.bars.gap;
|
|
214
215
|
return {
|
|
215
216
|
segment: t.segment,
|
|
@@ -231,26 +232,26 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
231
232
|
height: a
|
|
232
233
|
}
|
|
233
234
|
};
|
|
234
|
-
})),
|
|
235
|
-
function
|
|
235
|
+
})), te = v(null);
|
|
236
|
+
function le(t) {
|
|
236
237
|
const [o, l, a, r] = t;
|
|
237
238
|
return { segment: o, index: l, left: a, right: r };
|
|
238
239
|
}
|
|
239
|
-
function tt(t, o) {
|
|
240
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: te(o), seriesIndex: t });
|
|
241
|
-
}
|
|
242
240
|
function lt(t, o) {
|
|
243
|
-
e.value.events.
|
|
241
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: le(o), seriesIndex: t });
|
|
244
242
|
}
|
|
245
243
|
function at(t, o) {
|
|
246
|
-
e.value.events.
|
|
244
|
+
e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: le(o), seriesIndex: t }), U.value = null, j.value = !1;
|
|
245
|
+
}
|
|
246
|
+
function ot(t, o) {
|
|
247
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: le(o), seriesIndex: t }), U.value = t, te.value = {
|
|
247
248
|
datapoint: o,
|
|
248
249
|
seriesIndex: t,
|
|
249
250
|
series: $.value,
|
|
250
251
|
config: e.value
|
|
251
252
|
};
|
|
252
253
|
const l = e.value.style.tooltip.customFormat;
|
|
253
|
-
if (
|
|
254
|
+
if (_t(l) && At(() => l({
|
|
254
255
|
seriesIndex: t,
|
|
255
256
|
datapoint: {
|
|
256
257
|
segment: o[0],
|
|
@@ -299,19 +300,19 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
299
300
|
}
|
|
300
301
|
j.value = !0;
|
|
301
302
|
}
|
|
302
|
-
function
|
|
303
|
-
|
|
303
|
+
function ae(t = null) {
|
|
304
|
+
pt(() => {
|
|
304
305
|
const o = [e.value.translations.year, e.value.translations.age, e.value.translations.female, e.value.translations.male, e.value.translations.total], l = x.dataset.map((m) => [
|
|
305
306
|
m[0],
|
|
306
307
|
m[1],
|
|
307
308
|
m[2],
|
|
308
309
|
m[3],
|
|
309
310
|
m[2] ?? 0 + m[3] ?? 0
|
|
310
|
-
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r =
|
|
311
|
-
t ? t(r) :
|
|
311
|
+
]), a = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = kt(a);
|
|
312
|
+
t ? t(r) : Ct({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
312
313
|
});
|
|
313
314
|
}
|
|
314
|
-
const W =
|
|
315
|
+
const W = y(() => {
|
|
315
316
|
const t = [
|
|
316
317
|
e.value.translations.year,
|
|
317
318
|
e.value.translations.age,
|
|
@@ -340,7 +341,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
340
341
|
return { head: t, body: o, config: l, colNames: t };
|
|
341
342
|
}), S = v(!1);
|
|
342
343
|
function Ae(t) {
|
|
343
|
-
S.value = t,
|
|
344
|
+
S.value = t, de.value += 1;
|
|
344
345
|
}
|
|
345
346
|
function Te() {
|
|
346
347
|
b.value.showTable = !b.value.showTable;
|
|
@@ -349,12 +350,12 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
349
350
|
b.value.showTooltip = !b.value.showTooltip;
|
|
350
351
|
}
|
|
351
352
|
const V = v(!1);
|
|
352
|
-
function
|
|
353
|
+
function oe() {
|
|
353
354
|
V.value = !V.value;
|
|
354
355
|
}
|
|
355
|
-
async function
|
|
356
|
+
async function st({ scale: t = 2 } = {}) {
|
|
356
357
|
if (!k.value) return;
|
|
357
|
-
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await
|
|
358
|
+
const { width: o, height: l } = k.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: m } = await Dt({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
358
359
|
return {
|
|
359
360
|
imageUri: r,
|
|
360
361
|
base64: m,
|
|
@@ -364,24 +365,24 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
364
365
|
aspectRatio: a
|
|
365
366
|
};
|
|
366
367
|
}
|
|
367
|
-
const
|
|
368
|
-
|
|
368
|
+
const it = v([]), ut = v({ start: 0, end: $.value.length });
|
|
369
|
+
Rt({
|
|
369
370
|
timeLabelsEls: q,
|
|
370
|
-
timeLabels:
|
|
371
|
-
slicer:
|
|
371
|
+
timeLabels: it,
|
|
372
|
+
slicer: ut,
|
|
372
373
|
configRef: e,
|
|
373
374
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
374
375
|
autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
|
|
375
376
|
isAutoSize: !1,
|
|
376
|
-
width:
|
|
377
|
-
height:
|
|
377
|
+
width: Je,
|
|
378
|
+
height: Ke,
|
|
378
379
|
targetClass: ".vue-ui-age-pyramid-x-axis-label",
|
|
379
380
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle
|
|
380
381
|
});
|
|
381
|
-
const E =
|
|
382
|
+
const E = y(() => {
|
|
382
383
|
const t = e.value.table.useDialog && !e.value.table.show, o = b.value.showTable;
|
|
383
384
|
return {
|
|
384
|
-
component: t ?
|
|
385
|
+
component: t ? Xe : Ue,
|
|
385
386
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
|
|
386
387
|
props: t ? {
|
|
387
388
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -414,47 +415,60 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
414
415
|
function $e() {
|
|
415
416
|
b.value.showTable = !1, J.value && J.value.setTableIconState(!1);
|
|
416
417
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
418
|
+
const nt = y(() => e.value.style.backgroundColor), rt = y(() => e.value.style.title), { exportSvg: vt, getSvg: dt } = Ot({
|
|
419
|
+
svg: Z,
|
|
420
|
+
title: rt,
|
|
421
|
+
backgroundColor: nt
|
|
422
|
+
});
|
|
423
|
+
async function Se({ isCb: t }) {
|
|
424
|
+
if (t) {
|
|
425
|
+
const { blob: o, url: l, text: a, dataUrl: r } = await dt();
|
|
426
|
+
e.value.userOptions.callbacks.svg({ blob: o, url: l, text: a, dataUrl: r });
|
|
427
|
+
} else
|
|
428
|
+
vt();
|
|
429
|
+
}
|
|
430
|
+
return Ne({
|
|
431
|
+
getImage: st,
|
|
432
|
+
generatePdf: Ce,
|
|
433
|
+
generateCsv: ae,
|
|
434
|
+
generateImage: _e,
|
|
435
|
+
generateSvg: Se,
|
|
422
436
|
toggleTable: Te,
|
|
423
437
|
toggleTooltip: Le,
|
|
424
|
-
toggleAnnotator:
|
|
438
|
+
toggleAnnotator: oe,
|
|
425
439
|
toggleFullscreen: Ae
|
|
426
440
|
}), (t, o) => (i(), n("div", {
|
|
427
|
-
class:
|
|
441
|
+
class: Ie(`vue-data-ui-component vue-ui-age-pyramid ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
428
442
|
ref_key: "agePyramid",
|
|
429
443
|
ref: k,
|
|
430
444
|
id: `vue-ui-age-pyramid_${w.value}`,
|
|
431
|
-
style:
|
|
432
|
-
onMouseenter: o[1] || (o[1] = () => u(
|
|
433
|
-
onMouseleave: o[2] || (o[2] = () => u(
|
|
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
|
+
onMouseenter: o[1] || (o[1] = () => u(be)(!0)),
|
|
447
|
+
onMouseleave: o[2] || (o[2] = () => u(be)(!1))
|
|
434
448
|
}, [
|
|
435
|
-
e.value.userOptions.buttons.annotator ? (i(), D(u(
|
|
449
|
+
e.value.userOptions.buttons.annotator ? (i(), D(u(He), {
|
|
436
450
|
key: 0,
|
|
437
|
-
svgRef: u(
|
|
451
|
+
svgRef: u(Z),
|
|
438
452
|
backgroundColor: e.value.style.backgroundColor,
|
|
439
453
|
color: e.value.style.color,
|
|
440
454
|
active: V.value,
|
|
441
|
-
onClose:
|
|
442
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
443
|
-
|
|
455
|
+
onClose: oe
|
|
456
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
|
|
457
|
+
qe.value ? (i(), n("div", {
|
|
444
458
|
key: 1,
|
|
445
459
|
ref_key: "noTitle",
|
|
446
|
-
ref:
|
|
460
|
+
ref: ce,
|
|
447
461
|
class: "vue-data-ui-no-title-space",
|
|
448
462
|
style: "height:36px; width: 100%;background:transparent"
|
|
449
|
-
}, null, 512)) :
|
|
463
|
+
}, null, 512)) : h("", !0),
|
|
450
464
|
e.value.style.title.text ? (i(), n("div", {
|
|
451
465
|
key: 2,
|
|
452
466
|
ref_key: "chartTitle",
|
|
453
|
-
ref:
|
|
467
|
+
ref: ye,
|
|
454
468
|
style: "width:100%;background:transparent"
|
|
455
469
|
}, [
|
|
456
|
-
(i(), D(
|
|
457
|
-
key: `title_${
|
|
470
|
+
(i(), D(Pt, {
|
|
471
|
+
key: `title_${fe.value}`,
|
|
458
472
|
config: {
|
|
459
473
|
title: {
|
|
460
474
|
cy: "pyramid-div-title",
|
|
@@ -466,11 +480,11 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
466
480
|
}
|
|
467
481
|
}
|
|
468
482
|
}, null, 8, ["config"]))
|
|
469
|
-
], 512)) :
|
|
470
|
-
e.value.userOptions.show &&
|
|
483
|
+
], 512)) : h("", !0),
|
|
484
|
+
e.value.userOptions.show && ve.value && (u(xe) || u(Q)) ? (i(), D(u(We), {
|
|
471
485
|
ref_key: "userOptionsRef",
|
|
472
486
|
ref: J,
|
|
473
|
-
key: `user_options_${
|
|
487
|
+
key: `user_options_${de.value}`,
|
|
474
488
|
backgroundColor: e.value.style.backgroundColor,
|
|
475
489
|
color: e.value.style.color,
|
|
476
490
|
isImaging: u(ke),
|
|
@@ -480,6 +494,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
480
494
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
481
495
|
hasXls: e.value.userOptions.buttons.csv,
|
|
482
496
|
hasImg: e.value.userOptions.buttons.img,
|
|
497
|
+
hasSvg: e.value.userOptions.buttons.svg,
|
|
483
498
|
hasTable: e.value.userOptions.buttons.table,
|
|
484
499
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
485
500
|
isFullscreen: S.value,
|
|
@@ -493,82 +508,83 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
493
508
|
printScale: e.value.userOptions.print.scale,
|
|
494
509
|
tableDialog: e.value.table.useDialog,
|
|
495
510
|
onToggleFullscreen: Ae,
|
|
496
|
-
onGeneratePdf: u(
|
|
497
|
-
onGenerateCsv:
|
|
498
|
-
onGenerateImage: u(
|
|
511
|
+
onGeneratePdf: u(Ce),
|
|
512
|
+
onGenerateCsv: ae,
|
|
513
|
+
onGenerateImage: u(_e),
|
|
514
|
+
onGenerateSvg: Se,
|
|
499
515
|
onToggleTable: Te,
|
|
500
516
|
onToggleTooltip: Le,
|
|
501
|
-
onToggleAnnotator:
|
|
502
|
-
style:
|
|
503
|
-
visibility: u(
|
|
517
|
+
onToggleAnnotator: oe,
|
|
518
|
+
style: se({
|
|
519
|
+
visibility: u(xe) ? u(Q) ? "visible" : "hidden" : "visible"
|
|
504
520
|
})
|
|
505
|
-
},
|
|
521
|
+
}, Fe({ _: 2 }, [
|
|
506
522
|
t.$slots.menuIcon ? {
|
|
507
523
|
name: "menuIcon",
|
|
508
|
-
fn:
|
|
509
|
-
|
|
524
|
+
fn: f(({ isOpen: l, color: a }) => [
|
|
525
|
+
c(t.$slots, "menuIcon", P(M({ isOpen: l, color: a })), void 0, !0)
|
|
510
526
|
]),
|
|
511
527
|
key: "0"
|
|
512
528
|
} : void 0,
|
|
513
529
|
t.$slots.optionTooltip ? {
|
|
514
530
|
name: "optionTooltip",
|
|
515
|
-
fn:
|
|
516
|
-
|
|
531
|
+
fn: f(() => [
|
|
532
|
+
c(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
517
533
|
]),
|
|
518
534
|
key: "1"
|
|
519
535
|
} : void 0,
|
|
520
536
|
t.$slots.optionPdf ? {
|
|
521
537
|
name: "optionPdf",
|
|
522
|
-
fn:
|
|
523
|
-
|
|
538
|
+
fn: f(() => [
|
|
539
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
524
540
|
]),
|
|
525
541
|
key: "2"
|
|
526
542
|
} : void 0,
|
|
527
543
|
t.$slots.optionCsv ? {
|
|
528
544
|
name: "optionCsv",
|
|
529
|
-
fn:
|
|
530
|
-
|
|
545
|
+
fn: f(() => [
|
|
546
|
+
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
531
547
|
]),
|
|
532
548
|
key: "3"
|
|
533
549
|
} : void 0,
|
|
534
550
|
t.$slots.optionImg ? {
|
|
535
551
|
name: "optionImg",
|
|
536
|
-
fn:
|
|
537
|
-
|
|
552
|
+
fn: f(() => [
|
|
553
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
538
554
|
]),
|
|
539
555
|
key: "4"
|
|
540
556
|
} : void 0,
|
|
541
557
|
t.$slots.optionTable ? {
|
|
542
558
|
name: "optionTable",
|
|
543
|
-
fn:
|
|
544
|
-
|
|
559
|
+
fn: f(() => [
|
|
560
|
+
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
545
561
|
]),
|
|
546
562
|
key: "5"
|
|
547
563
|
} : void 0,
|
|
548
564
|
t.$slots.optionFullscreen ? {
|
|
549
565
|
name: "optionFullscreen",
|
|
550
|
-
fn:
|
|
551
|
-
|
|
566
|
+
fn: f(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
567
|
+
c(t.$slots, "optionFullscreen", P(M({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
552
568
|
]),
|
|
553
569
|
key: "6"
|
|
554
570
|
} : void 0,
|
|
555
571
|
t.$slots.optionAnnotator ? {
|
|
556
572
|
name: "optionAnnotator",
|
|
557
|
-
fn:
|
|
558
|
-
|
|
573
|
+
fn: f(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
574
|
+
c(t.$slots, "optionAnnotator", P(M({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
559
575
|
]),
|
|
560
576
|
key: "7"
|
|
561
577
|
} : void 0
|
|
562
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
578
|
+
]), 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"])) : h("", !0),
|
|
563
579
|
(i(), n("svg", {
|
|
564
580
|
ref_key: "svgRef",
|
|
565
|
-
ref:
|
|
566
|
-
xmlns: u(
|
|
567
|
-
class:
|
|
568
|
-
viewBox: `0 0 ${
|
|
569
|
-
style:
|
|
581
|
+
ref: Z,
|
|
582
|
+
xmlns: u(wt),
|
|
583
|
+
class: Ie({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
584
|
+
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${g.value.height <= 0 ? 10 : g.value.height}`,
|
|
585
|
+
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
570
586
|
}, [
|
|
571
|
-
|
|
587
|
+
ie(u(Ve)),
|
|
572
588
|
t.$slots["chart-background"] ? (i(), n("foreignObject", {
|
|
573
589
|
key: 0,
|
|
574
590
|
x: s.value.left,
|
|
@@ -579,8 +595,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
579
595
|
pointerEvents: "none"
|
|
580
596
|
}
|
|
581
597
|
}, [
|
|
582
|
-
|
|
583
|
-
], 8,
|
|
598
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
599
|
+
], 8, Ut)) : h("", !0),
|
|
584
600
|
d("defs", null, [
|
|
585
601
|
d("linearGradient", {
|
|
586
602
|
id: `age_pyramid_left_${w.value}`,
|
|
@@ -592,12 +608,12 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
592
608
|
d("stop", {
|
|
593
609
|
offset: "0%",
|
|
594
610
|
"stop-color": e.value.style.layout.bars.left.color
|
|
595
|
-
}, null, 8,
|
|
611
|
+
}, null, 8, Ht),
|
|
596
612
|
d("stop", {
|
|
597
613
|
offset: "100%",
|
|
598
|
-
"stop-color": u(
|
|
599
|
-
}, null, 8,
|
|
600
|
-
], 8,
|
|
614
|
+
"stop-color": u(ne)(u(De)(e.value.style.layout.bars.left.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
615
|
+
}, null, 8, Wt)
|
|
616
|
+
], 8, Gt),
|
|
601
617
|
d("linearGradient", {
|
|
602
618
|
id: `age_pyramid_right_${w.value}`,
|
|
603
619
|
x1: "0%",
|
|
@@ -607,13 +623,13 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
607
623
|
}, [
|
|
608
624
|
d("stop", {
|
|
609
625
|
offset: "0%",
|
|
610
|
-
"stop-color": u(
|
|
611
|
-
}, null, 8,
|
|
626
|
+
"stop-color": u(ne)(u(De)(e.value.style.layout.bars.right.color, e.value.style.layout.bars.gradient.shiftHue), 100 - e.value.style.layout.bars.gradient.intensity)
|
|
627
|
+
}, null, 8, Xt),
|
|
612
628
|
d("stop", {
|
|
613
629
|
offset: "100%",
|
|
614
630
|
"stop-color": e.value.style.layout.bars.right.color
|
|
615
|
-
}, null, 8,
|
|
616
|
-
], 8,
|
|
631
|
+
}, null, 8, jt)
|
|
632
|
+
], 8, Vt)
|
|
617
633
|
]),
|
|
618
634
|
(i(!0), n(L, null, z($.value, (l, a) => (i(), n("g", null, [
|
|
619
635
|
d("rect", {
|
|
@@ -623,7 +639,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
623
639
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
624
640
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
625
641
|
rx: e.value.style.layout.bars.borderRadius
|
|
626
|
-
}, null, 8,
|
|
642
|
+
}, null, 8, Yt),
|
|
627
643
|
d("rect", {
|
|
628
644
|
x: l.left.x,
|
|
629
645
|
y: l.left.y,
|
|
@@ -631,7 +647,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
631
647
|
height: l.left.height <= 0 ? 1e-4 : l.left.height,
|
|
632
648
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${w.value})` : l.left.color,
|
|
633
649
|
rx: e.value.style.layout.bars.borderRadius
|
|
634
|
-
}, null, 8,
|
|
650
|
+
}, null, 8, qt),
|
|
635
651
|
d("rect", {
|
|
636
652
|
x: l.right.x,
|
|
637
653
|
y: l.right.y,
|
|
@@ -639,7 +655,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
639
655
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
640
656
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
641
657
|
rx: e.value.style.layout.bars.borderRadius
|
|
642
|
-
}, null, 8,
|
|
658
|
+
}, null, 8, Jt),
|
|
643
659
|
d("rect", {
|
|
644
660
|
x: l.right.x,
|
|
645
661
|
y: l.right.y,
|
|
@@ -647,10 +663,10 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
647
663
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
648
664
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${w.value})` : l.right.color,
|
|
649
665
|
rx: e.value.style.layout.bars.borderRadius
|
|
650
|
-
}, null, 8,
|
|
666
|
+
}, null, 8, Kt)
|
|
651
667
|
]))), 256)),
|
|
652
668
|
d("g", null, [
|
|
653
|
-
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g",
|
|
669
|
+
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g", Qt, [
|
|
654
670
|
d("text", {
|
|
655
671
|
x: s.value.left,
|
|
656
672
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
@@ -658,7 +674,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
658
674
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
659
675
|
"text-anchor": "start",
|
|
660
676
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
661
|
-
},
|
|
677
|
+
}, C(e.value.translations.female), 9, Zt),
|
|
662
678
|
d("text", {
|
|
663
679
|
x: s.value.right,
|
|
664
680
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
@@ -666,10 +682,10 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
666
682
|
"font-size": e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
667
683
|
"text-anchor": "end",
|
|
668
684
|
"font-weight": e.value.style.layout.dataLabels.sideTitles.bold ? "bold" : "normal"
|
|
669
|
-
},
|
|
670
|
-
])) :
|
|
671
|
-
e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g",
|
|
672
|
-
(i(!0), n(L, null, z(
|
|
685
|
+
}, C(e.value.translations.male), 9, el)
|
|
686
|
+
])) : h("", !0),
|
|
687
|
+
e.value.style.layout.dataLabels.yAxis.show ? (i(), n("g", tl, [
|
|
688
|
+
(i(!0), n(L, null, z(Ze.value, (l, a) => (i(), n(L, null, [
|
|
673
689
|
a % e.value.style.layout.dataLabels.yAxis.showEvery === 0 ? (i(), n("text", {
|
|
674
690
|
key: 0,
|
|
675
691
|
x: s.value.centerX,
|
|
@@ -678,16 +694,16 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
678
694
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
679
695
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
680
696
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
|
|
681
|
-
},
|
|
697
|
+
}, C(u(O)(
|
|
682
698
|
e.value.style.layout.dataLabels.yAxis.formatter,
|
|
683
699
|
l,
|
|
684
700
|
u(I)({ v: l }),
|
|
685
701
|
{ datapoint: l, seriesIndex: a }
|
|
686
|
-
)), 9,
|
|
702
|
+
)), 9, ll)) : h("", !0)
|
|
687
703
|
], 64))), 256))
|
|
688
|
-
])) :
|
|
689
|
-
e.value.style.layout.dataLabels.xAxis.show ? (i(), n("g",
|
|
690
|
-
e.value.style.layout.grid.show ? (i(), n("g",
|
|
704
|
+
])) : h("", !0),
|
|
705
|
+
e.value.style.layout.dataLabels.xAxis.show ? (i(), n("g", al, [
|
|
706
|
+
e.value.style.layout.grid.show ? (i(), n("g", ol, [
|
|
691
707
|
d("line", {
|
|
692
708
|
x1: A.value.right[0].x,
|
|
693
709
|
x2: A.value.right.at(-1).x,
|
|
@@ -696,7 +712,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
696
712
|
stroke: e.value.style.layout.grid.stroke,
|
|
697
713
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
698
714
|
"stroke-linecap": "round"
|
|
699
|
-
}, null, 8,
|
|
715
|
+
}, null, 8, sl),
|
|
700
716
|
d("line", {
|
|
701
717
|
x1: A.value.left[0].x,
|
|
702
718
|
x2: A.value.left.at(-1).x,
|
|
@@ -705,8 +721,8 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
705
721
|
stroke: e.value.style.layout.grid.stroke,
|
|
706
722
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
707
723
|
"stroke-linecap": "round"
|
|
708
|
-
}, null, 8,
|
|
709
|
-
])) :
|
|
724
|
+
}, null, 8, il)
|
|
725
|
+
])) : h("", !0),
|
|
710
726
|
(i(!0), n(L, null, z(A.value.right, (l, a) => (i(), n("g", null, [
|
|
711
727
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
712
728
|
key: 0,
|
|
@@ -717,7 +733,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
717
733
|
stroke: e.value.style.layout.grid.stroke,
|
|
718
734
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
719
735
|
"stroke-linecap": "round"
|
|
720
|
-
}, null, 8,
|
|
736
|
+
}, null, 8, ul)) : h("", !0)
|
|
721
737
|
]))), 256)),
|
|
722
738
|
(i(!0), n(L, null, z(A.value.left, (l, a) => (i(), n("g", null, [
|
|
723
739
|
e.value.style.layout.grid.show ? (i(), n("line", {
|
|
@@ -729,7 +745,7 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
729
745
|
stroke: e.value.style.layout.grid.stroke,
|
|
730
746
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
731
747
|
"stroke-linecap": "round"
|
|
732
|
-
}, null, 8,
|
|
748
|
+
}, null, 8, nl)) : h("", !0)
|
|
733
749
|
]))), 256)),
|
|
734
750
|
d("g", {
|
|
735
751
|
ref_key: "xAxisLabels",
|
|
@@ -742,14 +758,14 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
742
758
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
743
759
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
744
760
|
transform: `translate(${l.x}, ${s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
745
|
-
},
|
|
761
|
+
}, C(u(O)(
|
|
746
762
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
747
763
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
748
764
|
u(I)({
|
|
749
765
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
750
766
|
}),
|
|
751
767
|
{ datapoint: l, seriesIndex: a }
|
|
752
|
-
)), 9,
|
|
768
|
+
)), 9, rl))), 256)),
|
|
753
769
|
(i(!0), n(L, null, z(A.value.left, (l, a) => (i(), n("text", {
|
|
754
770
|
class: "vue-ui-age-pyramid-x-axis-label",
|
|
755
771
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
@@ -757,52 +773,52 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
757
773
|
"text-anchor": e.value.style.layout.dataLabels.xAxis.rotation > 0 ? "start" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "end" : "middle",
|
|
758
774
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
759
775
|
transform: `translate(${l.x}, ${s.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize * 2}) rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
760
|
-
},
|
|
776
|
+
}, C(u(O)(
|
|
761
777
|
e.value.style.layout.dataLabels.xAxis.formatter,
|
|
762
778
|
l.value / e.value.style.layout.dataLabels.xAxis.scale,
|
|
763
779
|
u(I)({
|
|
764
780
|
v: l.value / e.value.style.layout.dataLabels.xAxis.scale
|
|
765
781
|
}),
|
|
766
782
|
{ datapoint: l, seriesIndex: a }
|
|
767
|
-
)), 9,
|
|
783
|
+
)), 9, vl))), 256))
|
|
768
784
|
], 512),
|
|
769
785
|
d("text", {
|
|
770
786
|
x: s.value.right,
|
|
771
|
-
y:
|
|
787
|
+
y: g.value.height,
|
|
772
788
|
"text-anchor": "end",
|
|
773
789
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
774
790
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
775
791
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
|
|
776
|
-
},
|
|
777
|
-
])) :
|
|
792
|
+
}, C(e.value.style.layout.dataLabels.xAxis.translation), 9, dl)
|
|
793
|
+
])) : h("", !0)
|
|
778
794
|
]),
|
|
779
|
-
(i(!0), n(L, null, z(
|
|
795
|
+
(i(!0), n(L, null, z(re.dataset, (l, a) => (i(), n("g", null, [
|
|
780
796
|
d("rect", {
|
|
781
797
|
x: s.value.left,
|
|
782
798
|
y: s.value.top + s.value.height / R.value * a - e.value.style.layout.bars.gap / 2,
|
|
783
799
|
width: s.value.width <= 0 ? 1e-4 : s.value.width,
|
|
784
800
|
height: s.value.height / R.value <= 0 ? 1e-4 : s.value.height / R.value,
|
|
785
|
-
fill: U.value !== null && U.value === a ? u(
|
|
786
|
-
onMouseover: (r) =>
|
|
787
|
-
onMouseleave: (r) =>
|
|
788
|
-
onClick: (r) =>
|
|
789
|
-
}, null, 40,
|
|
801
|
+
fill: U.value !== null && U.value === a ? u(ne)(e.value.style.highlighter.color, e.value.style.highlighter.opacity) : "transparent",
|
|
802
|
+
onMouseover: (r) => ot(a, l),
|
|
803
|
+
onMouseleave: (r) => at(a, l),
|
|
804
|
+
onClick: (r) => lt(a, l)
|
|
805
|
+
}, null, 40, yl)
|
|
790
806
|
]))), 256)),
|
|
791
|
-
|
|
792
|
-
], 14,
|
|
793
|
-
t.$slots.watermark ? (i(), n("div",
|
|
794
|
-
|
|
795
|
-
])) :
|
|
796
|
-
|
|
807
|
+
c(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
808
|
+
], 14, Et)),
|
|
809
|
+
t.$slots.watermark ? (i(), n("div", hl, [
|
|
810
|
+
c(t.$slots, "watermark", P(M({ isPrinting: u(we) || u(ke) })), void 0, !0)
|
|
811
|
+
])) : h("", !0),
|
|
812
|
+
c(t.$slots, "legend", { legend: $.value }, void 0, !0),
|
|
797
813
|
t.$slots.source ? (i(), n("div", {
|
|
798
814
|
key: 5,
|
|
799
815
|
ref_key: "source",
|
|
800
|
-
ref:
|
|
816
|
+
ref: he,
|
|
801
817
|
dir: "auto"
|
|
802
818
|
}, [
|
|
803
|
-
|
|
804
|
-
], 512)) :
|
|
805
|
-
|
|
819
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
820
|
+
], 512)) : h("", !0),
|
|
821
|
+
ie(u(Be), {
|
|
806
822
|
show: b.value.showTooltip && j.value,
|
|
807
823
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
808
824
|
color: e.value.style.tooltip.color,
|
|
@@ -822,22 +838,22 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
822
838
|
smoothForce: e.value.style.tooltip.smoothForce,
|
|
823
839
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
824
840
|
}, {
|
|
825
|
-
"tooltip-before":
|
|
826
|
-
|
|
841
|
+
"tooltip-before": f(() => [
|
|
842
|
+
c(t.$slots, "tooltip-before", P(M({ ...te.value })), void 0, !0)
|
|
827
843
|
]),
|
|
828
|
-
"tooltip-after":
|
|
829
|
-
|
|
844
|
+
"tooltip-after": f(() => [
|
|
845
|
+
c(t.$slots, "tooltip-after", P(M({ ...te.value })), void 0, !0)
|
|
830
846
|
]),
|
|
831
847
|
_: 3
|
|
832
848
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
833
|
-
|
|
849
|
+
ve.value && e.value.userOptions.buttons.table ? (i(), D(ft(E.value.component), gt({ key: 6 }, E.value.props, {
|
|
834
850
|
ref_key: "tableUnit",
|
|
835
851
|
ref: N,
|
|
836
852
|
onClose: $e
|
|
837
|
-
}),
|
|
838
|
-
content:
|
|
839
|
-
(i(), D(u(
|
|
840
|
-
key: `table_${
|
|
853
|
+
}), Fe({
|
|
854
|
+
content: f(() => [
|
|
855
|
+
(i(), D(u(Ge), {
|
|
856
|
+
key: `table_${ge.value}`,
|
|
841
857
|
colNames: W.value.colNames,
|
|
842
858
|
head: W.value.head,
|
|
843
859
|
body: W.value.body,
|
|
@@ -846,11 +862,11 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
846
862
|
withCloseButton: !e.value.table.useDialog,
|
|
847
863
|
onClose: $e
|
|
848
864
|
}, {
|
|
849
|
-
th:
|
|
850
|
-
|
|
865
|
+
th: f(({ th: l }) => [
|
|
866
|
+
ue(C(l), 1)
|
|
851
867
|
]),
|
|
852
|
-
td:
|
|
853
|
-
|
|
868
|
+
td: f(({ td: l }) => [
|
|
869
|
+
ue(C(l), 1)
|
|
854
870
|
]),
|
|
855
871
|
_: 1
|
|
856
872
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -859,20 +875,20 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
859
875
|
}, [
|
|
860
876
|
e.value.table.useDialog ? {
|
|
861
877
|
name: "title",
|
|
862
|
-
fn:
|
|
863
|
-
|
|
878
|
+
fn: f(() => [
|
|
879
|
+
ue(C(E.value.title), 1)
|
|
864
880
|
]),
|
|
865
881
|
key: "0"
|
|
866
882
|
} : void 0,
|
|
867
883
|
e.value.table.useDialog ? {
|
|
868
884
|
name: "actions",
|
|
869
|
-
fn:
|
|
885
|
+
fn: f(() => [
|
|
870
886
|
d("button", {
|
|
871
887
|
tabindex: "0",
|
|
872
888
|
class: "vue-ui-user-options-button",
|
|
873
|
-
onClick: o[0] || (o[0] = (l) =>
|
|
889
|
+
onClick: o[0] || (o[0] = (l) => ae(e.value.userOptions.callbacks.csv))
|
|
874
890
|
}, [
|
|
875
|
-
|
|
891
|
+
ie(u(Ee), {
|
|
876
892
|
name: "excel",
|
|
877
893
|
stroke: E.value.props.color
|
|
878
894
|
}, null, 8, ["stroke"])
|
|
@@ -880,11 +896,11 @@ const Ft = ["id"], Rt = ["xmlns", "viewBox"], Dt = ["x", "y", "width", "height"]
|
|
|
880
896
|
]),
|
|
881
897
|
key: "1"
|
|
882
898
|
} : void 0
|
|
883
|
-
]), 1040)) :
|
|
884
|
-
u(
|
|
885
|
-
], 46,
|
|
899
|
+
]), 1040)) : h("", !0),
|
|
900
|
+
u(pe) ? (i(), D(St, { key: 7 })) : h("", !0)
|
|
901
|
+
], 46, Bt));
|
|
886
902
|
}
|
|
887
|
-
},
|
|
903
|
+
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-060928e4"]]);
|
|
888
904
|
export {
|
|
889
|
-
|
|
905
|
+
Sl as default
|
|
890
906
|
};
|