vue-data-ui 3.3.3 → 3.4.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-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,18 +1,18 @@
|
|
|
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
|
|
2
|
-
import { c as bt, t as xt, o as Re, f as mt,
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as Lt, a as Me } from "./useNestedProp-
|
|
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 P, createCommentVNode as h, renderSlot as c, createVNode as ie, createSlots as Fe, withCtx as f, normalizeProps as D, 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, x as p, X as wt, s as ne, i as Pe, a as O, d as I, P as kt, Q as Ct, G as _t, H as At } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { t as De, u as Tt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Lt, a as Me } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as $t, B as St } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as zt } from "./usePrinter-
|
|
6
|
+
import { u as zt } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as Ot } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
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
|
-
import
|
|
12
|
-
import
|
|
11
|
+
import Pt from "./img-CFY3JivG.js";
|
|
12
|
+
import Dt from "./Title-CFmv95In.js";
|
|
13
13
|
import { t as Mt } from "./themes-Dw-dDudK.js";
|
|
14
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"],
|
|
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 = {
|
|
16
16
|
key: 4,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, cl = {
|
|
@@ -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 = T(() => import("./Tooltip-
|
|
35
|
+
const Be = T(() => import("./Tooltip-Cs4v8OnI.js")), Ee = T(() => import("./BaseIcon-B5KaGWWC.js")), Ue = T(() => import("./vue-ui-accordion-BKkTS12x.js")), Ge = T(() => import("./DataTable-DOx3zgih.js")), He = T(() => import("./PenAndPaper-Dj2diYr0.js")), We = T(() => import("./UserOptions-C0YT60JN.js")), Ve = T(() => import("./PackageVersion-VpPtLYhK.js")), Xe = T(() => import("./BaseDraggableDialog-CbuLbfrc.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), 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,
|
|
@@ -81,7 +81,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
})
|
|
84
|
-
}), { userOptionsVisible:
|
|
84
|
+
}), { userOptionsVisible: K, setUserOptionsVisibility: be, keepUserOptionState: xe } = It({ config: e.value }), { svgRef: Z } = Ft({ config: e.value.style.title });
|
|
85
85
|
function ee() {
|
|
86
86
|
const t = Me({
|
|
87
87
|
userConfig: x.config,
|
|
@@ -95,9 +95,9 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
95
95
|
} : t;
|
|
96
96
|
}
|
|
97
97
|
X(() => x.config, (t) => {
|
|
98
|
-
pe.value || (e.value = ee()),
|
|
98
|
+
pe.value || (e.value = ee()), K.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;
|
|
99
99
|
}, { deep: !0 }), X(() => x.dataset, (t) => {
|
|
100
|
-
Array.isArray(t) && t.length > 0 && (
|
|
100
|
+
Array.isArray(t) && t.length > 0 && (J.value = !1);
|
|
101
101
|
}, { deep: !0 });
|
|
102
102
|
const _ = ze(null), F = ze(null);
|
|
103
103
|
ht(() => {
|
|
@@ -109,8 +109,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
109
109
|
componentName: "VueUiAgePyramid",
|
|
110
110
|
type: "dataset",
|
|
111
111
|
debug: Ye.value
|
|
112
|
-
}),
|
|
113
|
-
const t =
|
|
112
|
+
}), J.value = !0), Re(x.dataset) || (J.value = e.value.loading), e.value.responsive) {
|
|
113
|
+
const t = De(() => {
|
|
114
114
|
const { width: o, height: l } = Tt({
|
|
115
115
|
chart: k.value,
|
|
116
116
|
title: e.value.style.title.text ? ye.value : null,
|
|
@@ -144,14 +144,14 @@ 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
|
-
}),
|
|
147
|
+
}), Qe = y(() => g.value.width), Je = y(() => g.value.height), H = v(0), Ke = De((t) => {
|
|
148
148
|
H.value = t;
|
|
149
149
|
}, 100);
|
|
150
150
|
ct((t) => {
|
|
151
151
|
const o = q.value;
|
|
152
152
|
if (!o) return;
|
|
153
153
|
const l = new ResizeObserver((a) => {
|
|
154
|
-
|
|
154
|
+
Ke(a[0].contentRect.height);
|
|
155
155
|
});
|
|
156
156
|
l.observe(o), t(() => l.disconnect());
|
|
157
157
|
}), Oe(() => {
|
|
@@ -355,7 +355,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
355
355
|
}
|
|
356
356
|
async function st({ scale: t = 2 } = {}) {
|
|
357
357
|
if (!k.value) return;
|
|
358
|
-
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 Pt({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
359
359
|
return {
|
|
360
360
|
imageUri: r,
|
|
361
361
|
base64: m,
|
|
@@ -374,8 +374,8 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
374
374
|
rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
|
|
375
375
|
autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
|
|
376
376
|
isAutoSize: !1,
|
|
377
|
-
width:
|
|
378
|
-
height:
|
|
377
|
+
width: Qe,
|
|
378
|
+
height: Je,
|
|
379
379
|
targetClass: ".vue-ui-age-pyramid-x-axis-label",
|
|
380
380
|
rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle
|
|
381
381
|
});
|
|
@@ -413,7 +413,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
413
413
|
e.value.table.show || (t && e.value.table.useDialog && N.value ? N.value.open() : "close" in N.value && N.value.close());
|
|
414
414
|
});
|
|
415
415
|
function $e() {
|
|
416
|
-
b.value.showTable = !1,
|
|
416
|
+
b.value.showTable = !1, Q.value && Q.value.setTableIconState(!1);
|
|
417
417
|
}
|
|
418
418
|
const nt = y(() => e.value.style.backgroundColor), rt = y(() => e.value.style.title), { exportSvg: vt, getSvg: dt } = Ot({
|
|
419
419
|
svg: Z,
|
|
@@ -446,7 +446,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
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(), P(u(He), {
|
|
450
450
|
key: 0,
|
|
451
451
|
svgRef: u(Z),
|
|
452
452
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -467,7 +467,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
467
467
|
ref: ye,
|
|
468
468
|
style: "width:100%;background:transparent"
|
|
469
469
|
}, [
|
|
470
|
-
(i(),
|
|
470
|
+
(i(), P(Dt, {
|
|
471
471
|
key: `title_${fe.value}`,
|
|
472
472
|
config: {
|
|
473
473
|
title: {
|
|
@@ -481,9 +481,9 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
481
481
|
}
|
|
482
482
|
}, null, 8, ["config"]))
|
|
483
483
|
], 512)) : h("", !0),
|
|
484
|
-
e.value.userOptions.show && ve.value && (u(xe) || u(
|
|
484
|
+
e.value.userOptions.show && ve.value && (u(xe) || u(K)) ? (i(), P(u(We), {
|
|
485
485
|
ref_key: "userOptionsRef",
|
|
486
|
-
ref:
|
|
486
|
+
ref: Q,
|
|
487
487
|
key: `user_options_${de.value}`,
|
|
488
488
|
backgroundColor: e.value.style.backgroundColor,
|
|
489
489
|
color: e.value.style.color,
|
|
@@ -516,13 +516,13 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
516
516
|
onToggleTooltip: Le,
|
|
517
517
|
onToggleAnnotator: oe,
|
|
518
518
|
style: se({
|
|
519
|
-
visibility: u(xe) ? u(
|
|
519
|
+
visibility: u(xe) ? u(K) ? "visible" : "hidden" : "visible"
|
|
520
520
|
})
|
|
521
521
|
}, Fe({ _: 2 }, [
|
|
522
522
|
t.$slots.menuIcon ? {
|
|
523
523
|
name: "menuIcon",
|
|
524
524
|
fn: f(({ isOpen: l, color: a }) => [
|
|
525
|
-
c(t.$slots, "menuIcon",
|
|
525
|
+
c(t.$slots, "menuIcon", D(M({ isOpen: l, color: a })), void 0, !0)
|
|
526
526
|
]),
|
|
527
527
|
key: "0"
|
|
528
528
|
} : void 0,
|
|
@@ -564,14 +564,14 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
564
564
|
t.$slots.optionFullscreen ? {
|
|
565
565
|
name: "optionFullscreen",
|
|
566
566
|
fn: f(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
567
|
-
c(t.$slots, "optionFullscreen",
|
|
567
|
+
c(t.$slots, "optionFullscreen", D(M({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
568
568
|
]),
|
|
569
569
|
key: "6"
|
|
570
570
|
} : void 0,
|
|
571
571
|
t.$slots.optionAnnotator ? {
|
|
572
572
|
name: "optionAnnotator",
|
|
573
573
|
fn: f(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
574
|
-
c(t.$slots, "optionAnnotator",
|
|
574
|
+
c(t.$slots, "optionAnnotator", D(M({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
575
575
|
]),
|
|
576
576
|
key: "7"
|
|
577
577
|
} : void 0
|
|
@@ -611,7 +611,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
611
611
|
}, null, 8, Ht),
|
|
612
612
|
d("stop", {
|
|
613
613
|
offset: "100%",
|
|
614
|
-
"stop-color": u(ne)(u(
|
|
614
|
+
"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)
|
|
615
615
|
}, null, 8, Wt)
|
|
616
616
|
], 8, Gt),
|
|
617
617
|
d("linearGradient", {
|
|
@@ -623,7 +623,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
623
623
|
}, [
|
|
624
624
|
d("stop", {
|
|
625
625
|
offset: "0%",
|
|
626
|
-
"stop-color": u(ne)(u(
|
|
626
|
+
"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)
|
|
627
627
|
}, null, 8, Xt),
|
|
628
628
|
d("stop", {
|
|
629
629
|
offset: "100%",
|
|
@@ -655,7 +655,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
655
655
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
656
656
|
fill: e.value.style.layout.bars.gradient.underlayer,
|
|
657
657
|
rx: e.value.style.layout.bars.borderRadius
|
|
658
|
-
}, null, 8,
|
|
658
|
+
}, null, 8, Qt),
|
|
659
659
|
d("rect", {
|
|
660
660
|
x: l.right.x,
|
|
661
661
|
y: l.right.y,
|
|
@@ -663,10 +663,10 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
663
663
|
height: l.right.height <= 0 ? 1e-4 : l.right.height,
|
|
664
664
|
fill: e.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${w.value})` : l.right.color,
|
|
665
665
|
rx: e.value.style.layout.bars.borderRadius
|
|
666
|
-
}, null, 8,
|
|
666
|
+
}, null, 8, Jt)
|
|
667
667
|
]))), 256)),
|
|
668
668
|
d("g", null, [
|
|
669
|
-
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g",
|
|
669
|
+
e.value.style.layout.dataLabels.sideTitles.show ? (i(), n("g", Kt, [
|
|
670
670
|
d("text", {
|
|
671
671
|
x: s.value.left,
|
|
672
672
|
y: e.value.style.layout.dataLabels.sideTitles.fontSize,
|
|
@@ -807,7 +807,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
807
807
|
c(t.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
808
808
|
], 14, Et)),
|
|
809
809
|
t.$slots.watermark ? (i(), n("div", hl, [
|
|
810
|
-
c(t.$slots, "watermark",
|
|
810
|
+
c(t.$slots, "watermark", D(M({ isPrinting: u(we) || u(ke) })), void 0, !0)
|
|
811
811
|
])) : h("", !0),
|
|
812
812
|
c(t.$slots, "legend", { legend: $.value }, void 0, !0),
|
|
813
813
|
t.$slots.source ? (i(), n("div", {
|
|
@@ -839,20 +839,20 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
839
839
|
smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
|
|
840
840
|
}, {
|
|
841
841
|
"tooltip-before": f(() => [
|
|
842
|
-
c(t.$slots, "tooltip-before",
|
|
842
|
+
c(t.$slots, "tooltip-before", D(M({ ...te.value })), void 0, !0)
|
|
843
843
|
]),
|
|
844
844
|
"tooltip-after": f(() => [
|
|
845
|
-
c(t.$slots, "tooltip-after",
|
|
845
|
+
c(t.$slots, "tooltip-after", D(M({ ...te.value })), void 0, !0)
|
|
846
846
|
]),
|
|
847
847
|
_: 3
|
|
848
848
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
849
|
-
ve.value && e.value.userOptions.buttons.table ? (i(),
|
|
849
|
+
ve.value && e.value.userOptions.buttons.table ? (i(), P(ft(E.value.component), gt({ key: 6 }, E.value.props, {
|
|
850
850
|
ref_key: "tableUnit",
|
|
851
851
|
ref: N,
|
|
852
852
|
onClose: $e
|
|
853
853
|
}), Fe({
|
|
854
854
|
content: f(() => [
|
|
855
|
-
(i(),
|
|
855
|
+
(i(), P(u(Ge), {
|
|
856
856
|
key: `table_${ge.value}`,
|
|
857
857
|
colNames: W.value.colNames,
|
|
858
858
|
head: W.value.head,
|
|
@@ -897,7 +897,7 @@ const Bt = ["id"], Et = ["xmlns", "viewBox"], Ut = ["x", "y", "width", "height"]
|
|
|
897
897
|
key: "1"
|
|
898
898
|
} : void 0
|
|
899
899
|
]), 1040)) : h("", !0),
|
|
900
|
-
u(pe) ? (i(),
|
|
900
|
+
u(pe) ? (i(), P(St, { key: 7 })) : h("", !0)
|
|
901
901
|
], 46, Bt));
|
|
902
902
|
}
|
|
903
903
|
}, Sl = /* @__PURE__ */ Nt(cl, [["__scopeId", "data-v-060928e4"]]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as L, ref as R, watch as E, onMounted as H, onBeforeUnmount as U, createBlock as x, openBlock as c, Teleport as K, createElementBlock as p, createCommentVNode as a, normalizeStyle as b, normalizeClass as g, createElementVNode as n, renderSlot as B, resolveComponent as v, createVNode as T, withCtx as N, createTextVNode as F, toDisplayString as f, withDirectives as M, vModelCheckbox as G, vModelText as D, withModifiers as A, Fragment as X, renderList as Y } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Q } from "./useNestedProp-
|
|
4
|
-
import { d as $ } from "./dom-to-png-
|
|
5
|
-
import { u as ee } from "./usePrinter-
|
|
6
|
-
import te from "./BaseIcon-
|
|
7
|
-
import oe from "./vue-ui-accordion-
|
|
2
|
+
import { ai as V, t as q, c as J, av as Z } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as Q } from "./useNestedProp-B7CiTRDS.js";
|
|
4
|
+
import { d as $ } from "./dom-to-png-xQ7LXrxp.js";
|
|
5
|
+
import { u as ee } from "./usePrinter-C1GiglOH.js";
|
|
6
|
+
import te from "./BaseIcon-B5KaGWWC.js";
|
|
7
|
+
import oe from "./vue-ui-accordion-BKkTS12x.js";
|
|
8
8
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
import { C as se } from "./ColorPicker-
|
|
9
|
+
import { C as se } from "./ColorPicker-BMztHpBp.js";
|
|
10
10
|
function ie(e) {
|
|
11
11
|
const o = (y) => e.isMacLike ? y.metaKey : y.ctrlKey, l = (y) => {
|
|
12
12
|
const S = y;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineAsyncComponent as G, ref as v, computed as c, onMounted as ze, toRefs as Ne, watch as ce, onBeforeUnmount as Ee, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as V, normalizeClass as he, createBlock as x, createCommentVNode as u, createElementVNode as _, createSlots as Ue, withCtx as C, renderSlot as m, normalizeProps as F, guardReactiveProps as T, createVNode as We, Fragment as j, renderList as q, toDisplayString as H, Teleport as De } from "vue";
|
|
2
|
-
import { u as Ge, a as de } from "./useNestedProp-
|
|
3
|
-
import { c as Ve, t as je,
|
|
2
|
+
import { u as Ge, a as de } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import { c as Ve, t as je, S as qe, m as Xe, h as Ye, a as M, d as R, X as Je, o as ge, f as fe, g as Ke } from "./lib-BcBZIm6u.js";
|
|
4
4
|
import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as et } from "./usePrinter-
|
|
5
|
+
import { u as et } from "./usePrinter-C1GiglOH.js";
|
|
6
6
|
import { u as tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
8
|
import { t as lt } from "./themes-Dw-dDudK.js";
|
|
9
|
-
import st from "./Legend-
|
|
10
|
-
import ot from "./Title-
|
|
11
|
-
import rt from "./img-
|
|
9
|
+
import st from "./Legend-C8u37J42.js";
|
|
10
|
+
import ot from "./Title-CFmv95In.js";
|
|
11
|
+
import rt from "./img-CFY3JivG.js";
|
|
12
12
|
import { u as nt, B as ut } from "./BaseScanner-BgWxam9d.js";
|
|
13
13
|
import { u as it } from "./useSvgExport-DrjCWun4.js";
|
|
14
14
|
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -41,7 +41,7 @@ const ct = ["id"], ht = {
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
setup(me, { expose: ye }) {
|
|
44
|
-
const pe = G(() => import("./PackageVersion-
|
|
44
|
+
const pe = G(() => import("./PackageVersion-VpPtLYhK.js")), be = G(() => import("./PenAndPaper-Dj2diYr0.js")), ke = G(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_bullet: we } = Ge(), O = me, y = v(null), X = v(null), Y = v(0), J = v(null), K = v(null), xe = v(0), A = v(null), S = v(null), Q = v(!1), b = c({
|
|
45
45
|
get: () => i.value.hasOwnProperty("value"),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), L = c(() => i.value.segments ? Array.isArray(i.value.segments) ? i.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
|