vue-data-ui 3.23.8 → 3.23.10
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-CF0VFcBH.js → Arrow-bwmME0jw.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-DBVHlhQZ.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-B4n7br_R.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-wRhcG_-q.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-BZjzzyQo.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-B9kUMLSz.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-DMsScfkx.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-IWPfuceW.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-DWEFXq9E.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-Crs4-xWz.js} +3 -3
- package/dist/{PackageVersion-C9lXG-wa.js → PackageVersion-DNTJUKh1.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-DJ607Hx6.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAhF1ToV.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-sXtk2ZZ2.js} +2 -2
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-BE50SZQH.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-BGLPsoA9.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-DO4-MVhc.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-HQyukyl2.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYIvdTe8.js → dom-to-png-Cg_3vpOo.js} +1 -1
- package/dist/{exposedLib-C0DPCgFj.js → exposedLib-vfRiIvq_.js} +1 -1
- package/dist/{img-Bnokohej.js → img-tU9mMt9W.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-C_lMnQRs.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-AT2PUyyh.js} +1 -1
- package/dist/{package-BieOvFq9.js → package-enC-Nivt.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-ColHHJFH.js} +1 -1
- package/dist/{render-common-C5vqxC-e.js → render-common-CqcoYfCA.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +2 -7
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CW0vJS1B.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-BFS7d6eb.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui--BufRcn0.js → vue-data-ui-DD7J3yor.js} +69 -69
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-DgrcdAgz.js +1829 -0
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-DJNjilyy.js} +3 -3
- package/dist/{vue-ui-age-pyramid-j6nm1rbi.js → vue-ui-age-pyramid-DI8b5E2H.js} +6 -6
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-7ZVfFskI.js} +6 -6
- package/dist/{vue-ui-bullet-CKQ35-dP.js → vue-ui-bullet-Dyd5F1Wa.js} +7 -7
- package/dist/{vue-ui-bump-BXp-EozA.js → vue-ui-bump-DzB3WQnq.js} +166 -166
- package/dist/{vue-ui-candlestick-DvvyheWp.js → vue-ui-candlestick--YWEtek_.js} +7 -7
- package/dist/{vue-ui-carousel-table-D_dEXiNd.js → vue-ui-carousel-table-Dn3RZU0p.js} +4 -4
- package/dist/{vue-ui-chestnut-eCwEo5D9.js → vue-ui-chestnut-BIsXeXiU.js} +5 -5
- package/dist/{vue-ui-chord-C6O2lzrg.js → vue-ui-chord-BimXqVsF.js} +8 -8
- package/dist/{vue-ui-circle-pack-D_nwf-RO.js → vue-ui-circle-pack-DKQEhL-L.js} +13 -16
- package/dist/{vue-ui-cursor-Bu9PM_P_.js → vue-ui-cursor-C-P2D5i6.js} +3 -3
- package/dist/{vue-ui-dag-DSx4o3Rk.js → vue-ui-dag-CThnMMWA.js} +7 -7
- package/dist/{vue-ui-dashboard-BM747fZF.js → vue-ui-dashboard-D0NNTRO3.js} +69 -69
- package/dist/{vue-ui-digits-BtvY8wIB.js → vue-ui-digits-9tGjGzZh.js} +3 -3
- package/dist/{vue-ui-donut-DQHLJR8y.js → vue-ui-donut-DLN9uPOi.js} +2 -2
- package/dist/vue-ui-donut-EZu8p7HF.js +2413 -0
- package/dist/{vue-ui-donut-evolution-PSmZvtzE.js → vue-ui-donut-evolution-mu-iGTIn.js} +9 -9
- package/dist/{vue-ui-dumbbell-CGquzMdY.js → vue-ui-dumbbell-Dvldi3Oo.js} +13 -16
- package/dist/{vue-ui-flow-9el51M_Y.js → vue-ui-flow-DYZBT5Cb.js} +13 -16
- package/dist/{vue-ui-funnel-D7Gy--C2.js → vue-ui-funnel--NaxO0cZ.js} +13 -16
- package/dist/{vue-ui-galaxy-Dxj9UwDo.js → vue-ui-galaxy-D6eYN8Ut.js} +291 -293
- package/dist/{vue-ui-gauge-Cn9YVMXf.js → vue-ui-gauge-DTIEl2Xb.js} +6 -6
- package/dist/{vue-ui-geo-BPOiMgSG.js → vue-ui-geo-CQqNemR6.js} +7 -7
- package/dist/{vue-ui-gizmo-DWHHzGBD.js → vue-ui-gizmo-ClunTUxX.js} +3 -3
- package/dist/{vue-ui-heatmap-BE1K40ib.js → vue-ui-heatmap-B_pSQNzO.js} +7 -7
- package/dist/{vue-ui-hill-Dr4UkjNJ.js → vue-ui-hill-Byp0Tnny.js} +6 -6
- package/dist/{vue-ui-history-plot-CxCKkOf0.js → vue-ui-history-plot-CMu8ST1E.js} +14 -17
- package/dist/{vue-ui-horizontal-bar-BkmnLr-i.js → vue-ui-horizontal-bar-BQn7WxQ-.js} +10 -10
- package/dist/{vue-ui-kpi-BBWW791i.js → vue-ui-kpi-BKw5t-rX.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BNm0MQDw.js} +2 -2
- package/dist/{vue-ui-molecule-CxkcMjno.js → vue-ui-molecule-DRwQV5hN.js} +232 -238
- package/dist/{vue-ui-mood-radar-C4CzuVdT.js → vue-ui-mood-radar-Bj3KTWYj.js} +298 -300
- package/dist/{vue-ui-nested-donuts-DSDJQExL.js → vue-ui-nested-donuts-83Wh2w6z.js} +15 -18
- package/dist/{vue-ui-onion-Cu0dBdFS.js → vue-ui-onion-C27GpneA.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-D_EwS2Xg.js → vue-ui-parallel-coordinate-plot-BklOszr1.js} +212 -212
- package/dist/{vue-ui-quadrant-jyEV4UXd.js → vue-ui-quadrant-_J-Qr7-K.js} +9 -9
- package/dist/{vue-ui-quick-chart-DiWQ1MyR.js → vue-ui-quick-chart-DcOUq4ym.js} +7 -7
- package/dist/{vue-ui-radar-BmgJ961A.js → vue-ui-radar-FlRlsoAd.js} +8 -8
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-eCxEZD8C.js} +2 -2
- package/dist/{vue-ui-relation-circle-DV54YMDh.js → vue-ui-relation-circle-DnsxHv7t.js} +6 -6
- package/dist/{vue-ui-ridgeline-izSLMS2A.js → vue-ui-ridgeline-TopTLyaE.js} +485 -485
- package/dist/vue-ui-rings-obVfb09j.js +1250 -0
- package/dist/{vue-ui-scatter-D_qfVTjs.js → vue-ui-scatter-BHSuA506.js} +9 -9
- package/dist/{vue-ui-skeleton-ORnWxVcQ.js → vue-ui-skeleton-CNOam3kC.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-YdyidjBH.js} +2 -2
- package/dist/{vue-ui-spark-trend-CnWD2enH.js → vue-ui-spark-trend-CS5GLtYL.js} +3 -3
- package/dist/{vue-ui-sparkbar-Cgbnebde.js → vue-ui-sparkbar-DDHwgP4k.js} +3 -3
- package/dist/{vue-ui-sparkgauge-Cvlb65Sh.js → vue-ui-sparkgauge-BcQu9V3h.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BiTJ8hLF.js → vue-ui-sparkhistogram-CPsA5P6c.js} +4 -4
- package/dist/{vue-ui-sparkline-D_lUtZ0M.js → vue-ui-sparkline-CnbO-GkM.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-44IKCY9x.js → vue-ui-sparkstackbar-4tsTxMe2.js} +4 -4
- package/dist/{vue-ui-stackbar-DF3p95Bo.js → vue-ui-stackbar-2_SrMFNT.js} +575 -571
- package/dist/{vue-ui-stackline-DhKuZEnZ.js → vue-ui-stackline-BNCWO_jG.js} +612 -608
- package/dist/{vue-ui-strip-plot-C-ulifjS.js → vue-ui-strip-plot-2Y1c02Ek.js} +13 -16
- package/dist/{vue-ui-table-CpnarLaC.js → vue-ui-table-DJZxHo5N.js} +5 -5
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-BacaEjQy.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Du4MfWFg.js → vue-ui-table-sparkline-B8oAU5yr.js} +4 -4
- package/dist/{vue-ui-thermometer-CrbJmWkG.js → vue-ui-thermometer-BGtxNU9T.js} +6 -6
- package/dist/{vue-ui-timer-CG_cHMLa.js → vue-ui-timer-CWZgSpP8.js} +5 -5
- package/dist/{vue-ui-tiremarks-C9op3rMU.js → vue-ui-tiremarks-LLVCPyg9.js} +6 -6
- package/dist/{vue-ui-treemap-X6xvCAx5.js → vue-ui-treemap-ehBl9JMC.js} +16 -19
- package/dist/{vue-ui-waffle-CC8t5ghD.js → vue-ui-waffle-DpBAXbhh.js} +288 -290
- package/dist/{vue-ui-wheel-qsjBqrXG.js → vue-ui-wheel-C4OHPrtC.js} +6 -6
- package/dist/{vue-ui-word-cloud-PpZeiZUt.js → vue-ui-word-cloud-CDHn3Kwa.js} +13 -16
- package/dist/{vue-ui-world-CvLyEEZQ.js → vue-ui-world-ao1xf04I.js} +13 -16
- package/dist/{vue-ui-xy-eKIptvTV.js → vue-ui-xy-DmJDCl3c.js} +2 -2
- package/dist/{vue-ui-xy-BJ96qlGZ.js → vue-ui-xy-_U3wmtCf.js} +1502 -1496
- package/dist/{vue-ui-xy-canvas-B-KxaFGF.js → vue-ui-xy-canvas-Bx-9y53V.js} +334 -330
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Dspy8rjO.js +0 -1831
- package/dist/vue-ui-donut-DtmxMF94.js +0 -2415
- package/dist/vue-ui-rings-B-vqjj5N.js +0 -1252
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, D as n, G as r, Jt as i, Kt as a, P as o, Pt as s, S as c, V as l, X as u, c as ee, i as te, jt as ne, pt as re, q as ie, r as ae, t as oe, tt as se, w as ce, wt as d } from "./lib-
|
|
2
|
+
import { $ as t, D as n, G as r, Jt as i, Kt as a, P as o, Pt as s, S as c, V as l, X as u, c as ee, i as te, jt as ne, pt as re, q as ie, r as ae, t as oe, tt as se, w as ce, wt as d } from "./lib-AT2PUyyh.js";
|
|
3
3
|
import { n as le, t as ue } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as de } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as fe } from "./useConfig-DwdGsXTx.js";
|
|
6
|
-
import { t as pe } from "./usePrinter-
|
|
6
|
+
import { t as pe } from "./usePrinter-BFS7d6eb.js";
|
|
7
7
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as ge } from "./useNestedProp-
|
|
8
|
+
import { t as ge } from "./useNestedProp-CW0vJS1B.js";
|
|
9
9
|
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as ve } from "./useChartExport-DNiwdPmb.js";
|
|
11
11
|
import { t as ye } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { n as be } from "./Title-
|
|
12
|
+
import { n as be } from "./Title-BGLPsoA9.js";
|
|
13
13
|
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
18
|
import { t as De } from "./vue_ui_bump-Vl-zYAtG.js";
|
|
19
|
-
import { t as Oe } from "./BaseDraggableDialog-
|
|
19
|
+
import { t as Oe } from "./BaseDraggableDialog-DBVHlhQZ.js";
|
|
20
20
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as v, guardReactiveProps as y, mergeProps as Me, normalizeClass as Ne, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Pe, onMounted as Fe, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as E, toRefs as Re, unref as D, watch as ze, watchEffect as Be, withCtx as O } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-bump.vue
|
|
22
|
-
var Ve = /* @__PURE__ */ e({ default: () =>
|
|
22
|
+
var Ve = /* @__PURE__ */ e({ default: () => st }), He = ["id"], Ue = ["id"], We = { style: { position: "relative" } }, Ge = [
|
|
23
23
|
"xmlns",
|
|
24
24
|
"aria-describedby",
|
|
25
25
|
"viewBox"
|
|
@@ -109,7 +109,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
109
109
|
}, ot = {
|
|
110
110
|
key: 5,
|
|
111
111
|
class: "vue-data-ui-watermark"
|
|
112
|
-
}, st =
|
|
112
|
+
}, st = /*#__PURE__*/ xe({
|
|
113
113
|
__name: "vue-ui-bump",
|
|
114
114
|
props: {
|
|
115
115
|
config: {
|
|
@@ -127,14 +127,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
127
127
|
},
|
|
128
128
|
emits: ["copyAlt"],
|
|
129
129
|
setup(e, { expose: xe, emit: Ve }) {
|
|
130
|
-
let
|
|
130
|
+
let st = v(() => import("./BaseIcon-B4n7br_R.js").then((e) => e.n)), ct = v(() => import("./vue-ui-accordion-DJNjilyy.js").then((e) => e.n)), lt = v(() => import("./DataTable-DMsScfkx.js")), ut = v(() => import("./PenAndPaper-DJ607Hx6.js").then((e) => e.t)), dt = v(() => import("./UserOptions-HQyukyl2.js").then((e) => e.n)), ft = v(() => import("./PackageVersion-DNTJUKh1.js").then((e) => e.t)), { vue_ui_bump: pt } = fe(), { isThemeValid: mt, warnInvalidTheme: ht } = _e(), k = e, gt = Ve, _t = p({
|
|
131
131
|
get() {
|
|
132
132
|
return !!k.dataset && k.dataset.length;
|
|
133
133
|
},
|
|
134
134
|
set(e) {
|
|
135
135
|
return e;
|
|
136
136
|
}
|
|
137
|
-
}), A = C(null), j = C(ie()),
|
|
137
|
+
}), A = C(null), j = C(ie()), vt = C(0), yt = C(null), bt = C(null), xt = C(null), St = C(!1), Ct = C(!1), wt = C(0), Tt = C(0), M = C(null), Et = C(null), Dt = C(!1), N = C(null), Ot = C(null), kt = C(null), At = C(null), P = C(null), jt = C(!1), F = C(It());
|
|
138
138
|
le({
|
|
139
139
|
config: () => F.value,
|
|
140
140
|
dataset: () => k.dataset,
|
|
@@ -171,7 +171,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
});
|
|
174
|
-
let I = p(() => F.value.userOptions.useCursorPointer),
|
|
174
|
+
let I = p(() => F.value.userOptions.useCursorPointer), Mt = p(() => i({
|
|
175
175
|
defaultConfig: {
|
|
176
176
|
userOptions: { show: !1 },
|
|
177
177
|
style: { chart: {
|
|
@@ -191,10 +191,10 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
191
191
|
} }
|
|
192
192
|
},
|
|
193
193
|
userConfig: F.value.skeletonConfig ?? {}
|
|
194
|
-
})), { loading:
|
|
194
|
+
})), { loading: Nt, FINAL_DATASET: Pt, manualLoading: Ft } = me({
|
|
195
195
|
...Re(k),
|
|
196
196
|
FINAL_CONFIG: F,
|
|
197
|
-
prepareConfig:
|
|
197
|
+
prepareConfig: It,
|
|
198
198
|
skeletonDataset: k.config?.skeletonDataset ?? [
|
|
199
199
|
{
|
|
200
200
|
name: "————",
|
|
@@ -247,16 +247,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
247
247
|
],
|
|
248
248
|
skeletonConfig: i({
|
|
249
249
|
defaultConfig: F.value,
|
|
250
|
-
userConfig:
|
|
250
|
+
userConfig: Mt.value
|
|
251
251
|
})
|
|
252
252
|
});
|
|
253
|
-
Fe(
|
|
254
|
-
function
|
|
253
|
+
Fe(Xt);
|
|
254
|
+
function It() {
|
|
255
255
|
let e = ge({
|
|
256
256
|
userConfig: k.config,
|
|
257
|
-
defaultConfig:
|
|
257
|
+
defaultConfig: pt
|
|
258
258
|
}), t = {}, n = e.theme;
|
|
259
|
-
if (n) if (!
|
|
259
|
+
if (n) if (!mt.value(e)) ht(e), t = e;
|
|
260
260
|
else {
|
|
261
261
|
let r = ge({
|
|
262
262
|
userConfig: De[n] || k.config,
|
|
@@ -273,31 +273,31 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
273
273
|
else t = e;
|
|
274
274
|
return t;
|
|
275
275
|
}
|
|
276
|
-
let { userOptionsVisible:
|
|
277
|
-
function
|
|
278
|
-
|
|
276
|
+
let { userOptionsVisible: Lt, setUserOptionsVisibility: Rt, keepUserOptionState: zt } = Te({ config: F.value }), { svgRef: L } = Ee({ config: F.value.style.chart.title });
|
|
277
|
+
function Bt() {
|
|
278
|
+
Dt.value = !0, Rt(!0);
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
280
|
+
function Vt() {
|
|
281
|
+
Rt(!1), Dt.value = !1;
|
|
282
282
|
}
|
|
283
283
|
let R = C({ showTable: F.value.table.show });
|
|
284
284
|
ze(F, () => {
|
|
285
285
|
R.value = { showTable: F.value.table.show };
|
|
286
286
|
}, { immediate: !0 }), ze(() => k.config, (e) => {
|
|
287
|
-
|
|
287
|
+
Nt.value || (F.value = It()), Lt.value = !F.value.userOptions.showOnChartHover, Xt(), wt.value += 1, Tt.value += 1, R.value.showTable = F.value.table.show, z.value.width = F.value.style.chart.width, z.value.height = F.value.style.chart.height, z.value.paddingRatio = {
|
|
288
288
|
top: F.value.style.chart.padding.top / F.value.style.chart.height,
|
|
289
289
|
right: F.value.style.chart.padding.right / F.value.style.chart.width,
|
|
290
290
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
291
291
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
292
292
|
};
|
|
293
293
|
}), ze(() => k.dataset, (e) => {
|
|
294
|
-
Array.isArray(e) && e.length > 0 && (
|
|
294
|
+
Array.isArray(e) && e.length > 0 && (Ft.value = !1);
|
|
295
295
|
}, { deep: !0 });
|
|
296
|
-
let { isPrinting:
|
|
296
|
+
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = pe({
|
|
297
297
|
elementId: `bump_${j.value}`,
|
|
298
298
|
fileName: F.value.style.chart.title.text || "vue-ui-bump",
|
|
299
299
|
options: F.value.userOptions.print
|
|
300
|
-
}),
|
|
300
|
+
}), Kt = p(() => F.value.userOptions.show && !F.value.style.chart.title.text), z = C({
|
|
301
301
|
width: F.value.style.chart.width,
|
|
302
302
|
height: F.value.style.chart.height,
|
|
303
303
|
paddingRatio: {
|
|
@@ -306,41 +306,41 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
306
306
|
bottom: F.value.style.chart.padding.bottom / F.value.style.chart.height,
|
|
307
307
|
left: F.value.style.chart.padding.left / F.value.style.chart.width
|
|
308
308
|
}
|
|
309
|
-
}),
|
|
310
|
-
function
|
|
309
|
+
}), qt = p(() => ce(F.value.customPalette)), B = Le(null), V = Le(null), Jt = C(null), Yt = p(() => F.value.debug);
|
|
310
|
+
function Xt() {
|
|
311
311
|
if (ne(k.dataset) ? (se({
|
|
312
312
|
componentName: "VueUiBump",
|
|
313
313
|
type: "dataset",
|
|
314
|
-
debug:
|
|
315
|
-
}),
|
|
314
|
+
debug: Yt.value
|
|
315
|
+
}), Ft.value = !0) : k.dataset.forEach((e, t) => {
|
|
316
316
|
re({
|
|
317
317
|
datasetObject: e,
|
|
318
318
|
requiredAttributes: ["name", "values"]
|
|
319
319
|
}).forEach((e) => {
|
|
320
|
-
|
|
320
|
+
_t.value = !1, se({
|
|
321
321
|
componentName: "VueUiBump",
|
|
322
322
|
type: "datasetSerieAttribute",
|
|
323
323
|
property: e,
|
|
324
324
|
index: t,
|
|
325
|
-
debug:
|
|
326
|
-
}),
|
|
325
|
+
debug: Yt.value
|
|
326
|
+
}), Ft.value = !0;
|
|
327
327
|
});
|
|
328
|
-
}), ne(k.dataset) || (
|
|
329
|
-
|
|
328
|
+
}), ne(k.dataset) || (Ft.value = F.value.loading), setTimeout(() => {
|
|
329
|
+
Ct.value = !0;
|
|
330
330
|
}, 10), F.value.responsive) {
|
|
331
331
|
let e = Se(() => {
|
|
332
|
-
|
|
332
|
+
Ct.value = !1;
|
|
333
333
|
let { width: e, height: t } = Ce({
|
|
334
334
|
chart: A.value,
|
|
335
|
-
noTitle:
|
|
336
|
-
title: F.value.style.chart.title.text ?
|
|
335
|
+
noTitle: bt.value,
|
|
336
|
+
title: F.value.style.chart.title.text ? yt.value : null,
|
|
337
337
|
legend: null,
|
|
338
338
|
slicer: null,
|
|
339
|
-
source:
|
|
339
|
+
source: xt.value
|
|
340
340
|
});
|
|
341
341
|
requestAnimationFrame(() => {
|
|
342
|
-
z.value.width = e, z.value.height = t - 12, clearTimeout(
|
|
343
|
-
|
|
342
|
+
z.value.width = e, z.value.height = t - 12, clearTimeout(Jt.value), Jt.value = setTimeout(() => {
|
|
343
|
+
Ct.value = !0;
|
|
344
344
|
}, 10);
|
|
345
345
|
});
|
|
346
346
|
});
|
|
@@ -350,16 +350,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
350
350
|
Pe(() => {
|
|
351
351
|
B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
352
352
|
});
|
|
353
|
-
let
|
|
354
|
-
let n = c(e.color) ||
|
|
353
|
+
let Zt = p(() => Pt.value.map((e, t) => {
|
|
354
|
+
let n = c(e.color) || qt.value[t] || s[t] || s[t % s.length];
|
|
355
355
|
return {
|
|
356
356
|
...e,
|
|
357
357
|
absoluteIndex: t,
|
|
358
358
|
id: ie(),
|
|
359
359
|
color: n
|
|
360
360
|
};
|
|
361
|
-
})), H = p(() => Math.max(...
|
|
362
|
-
function
|
|
361
|
+
})), H = p(() => Math.max(...Zt.value.map((e) => e.values.length)));
|
|
362
|
+
function Qt(e) {
|
|
363
363
|
let t = e.map(() => Array(H.value).fill(null));
|
|
364
364
|
for (let n = 0; n < H.value; n += 1) {
|
|
365
365
|
let r = e.map((e, r) => ({
|
|
@@ -375,34 +375,34 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
375
375
|
}
|
|
376
376
|
return t;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function $t() {
|
|
379
379
|
let e = 0;
|
|
380
|
-
return
|
|
380
|
+
return Ot.value && (e = Array.from(Ot.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
381
381
|
let n = t.getComputedTextLength();
|
|
382
382
|
return n > e ? n : e;
|
|
383
383
|
}, 0)), e;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function en() {
|
|
386
386
|
let e = 0;
|
|
387
|
-
return
|
|
387
|
+
return kt.value && (e = Array.from(kt.value.querySelectorAll("tspan")).reduce((e, t) => {
|
|
388
388
|
let n = t.getComputedTextLength();
|
|
389
389
|
return n > e ? n : e;
|
|
390
390
|
}, 0)), e;
|
|
391
391
|
}
|
|
392
|
-
let
|
|
393
|
-
|
|
392
|
+
let tn = C(0), nn = Se((e) => {
|
|
393
|
+
tn.value = e;
|
|
394
394
|
}, 100);
|
|
395
395
|
Be((e) => {
|
|
396
|
-
let t =
|
|
396
|
+
let t = At.value;
|
|
397
397
|
if (!t) return;
|
|
398
398
|
let n = new ResizeObserver((e) => {
|
|
399
|
-
|
|
399
|
+
nn(e[0].contentRect.height);
|
|
400
400
|
});
|
|
401
401
|
n.observe(t), e(() => n.disconnect());
|
|
402
402
|
}), Pe(() => {
|
|
403
|
-
|
|
403
|
+
tn.value = 0;
|
|
404
404
|
});
|
|
405
|
-
let
|
|
405
|
+
let rn = p(() => {
|
|
406
406
|
let e = F.value.style.chart.layout.timeLabels;
|
|
407
407
|
if (!e.show) return 0;
|
|
408
408
|
let t = e.fontSize, n = e.rotation, r = Math.PI / 180 * n, i = K.value || [];
|
|
@@ -416,7 +416,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
416
416
|
}, 0), s = t * 1.3 * a, c = o * t * (o === 1 ? 1 : .6), l = Math.abs(Math.sin(r)) * c + Math.abs(Math.cos(r)) * s, u = t * .3;
|
|
417
417
|
return Math.max(0, l + Math.abs(e.offsetY) + u);
|
|
418
418
|
}), U = p(() => {
|
|
419
|
-
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i =
|
|
419
|
+
let { height: e, width: t } = z.value, { right: n, left: r } = z.value.paddingRatio, i = $t(), a = en(), o = F.value.style.chart.padding.top, s = t - t * n - a, c = t * r + i, l = t - t * n - t * r - i - a, u = e - o - F.value.style.chart.padding.bottom - rn.value, ee = o + u, te = o + u, ne = Math.max(0, e);
|
|
420
420
|
return {
|
|
421
421
|
chartHeight: te,
|
|
422
422
|
chartWidth: Math.max(0, t),
|
|
@@ -426,14 +426,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
426
426
|
left: Math.max(0, c),
|
|
427
427
|
width: Math.max(0, l),
|
|
428
428
|
height: Math.max(0, u),
|
|
429
|
-
unitH: Math.max(0, u) /
|
|
429
|
+
unitH: Math.max(0, u) / Zt.value.length,
|
|
430
430
|
unitW: Math.max(0, l) / H.value,
|
|
431
431
|
svgHeight: ne
|
|
432
432
|
};
|
|
433
433
|
}), W = p(() => {
|
|
434
|
-
if (!
|
|
435
|
-
let e =
|
|
436
|
-
return
|
|
434
|
+
if (!_t.value && !Nt.value) return [];
|
|
435
|
+
let e = Qt(Zt.value);
|
|
436
|
+
return Zt.value.map((t, n) => ({
|
|
437
437
|
...t,
|
|
438
438
|
positions: e[n]
|
|
439
439
|
})).map((e) => {
|
|
@@ -471,7 +471,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
471
471
|
seriesName: e.name,
|
|
472
472
|
pointId: `${e.id}_${r}`
|
|
473
473
|
})).filter((e) => d(e.value))));
|
|
474
|
-
function
|
|
474
|
+
function an(e, t, n, r) {
|
|
475
475
|
let i = e.toSorted((e, t) => e.y - t.y);
|
|
476
476
|
for (let e = 1; e < i.length; e += 1) {
|
|
477
477
|
let n = i[e - 1], r = i[e];
|
|
@@ -491,7 +491,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
491
491
|
}
|
|
492
492
|
return i;
|
|
493
493
|
}
|
|
494
|
-
let
|
|
494
|
+
let on = p(() => {
|
|
495
495
|
let e = [], t = [];
|
|
496
496
|
W.value.forEach((n) => {
|
|
497
497
|
let r = n.coordinates.filter((e) => Number.isFinite(e.rank));
|
|
@@ -500,13 +500,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
500
500
|
let i = r[r.length - 1];
|
|
501
501
|
t.push({ ...i });
|
|
502
502
|
});
|
|
503
|
-
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o =
|
|
503
|
+
let n = F.value.style.chart.layout.nameLabels.fontSize, r = n * 1.4, i = U.value.top + n, a = U.value.bottom - n, o = an(t, r, i, a);
|
|
504
504
|
return {
|
|
505
|
-
left:
|
|
505
|
+
left: an(e, r, i, a),
|
|
506
506
|
right: o
|
|
507
507
|
};
|
|
508
508
|
});
|
|
509
|
-
function
|
|
509
|
+
function sn(e) {
|
|
510
510
|
let t = F.value.style.chart.layout.plots.labels.fontSize * .4, n = e.displayValue, r = n.length * (F.value.style.chart.layout.plots.labels.fontSize * (n.length === 1 ? 1 : .6)), i = F.value.style.chart.layout.plots.labels.fontSize, a = r + t * 2, o = i + t * 2, s = e.x - a / 2, c = e.y - o / 2, l = F.value.style.chart.layout.plots.strokeWidth;
|
|
511
511
|
return {
|
|
512
512
|
x: s - l / 2,
|
|
@@ -519,9 +519,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
519
519
|
rx: o / 2
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
let G = C([]),
|
|
522
|
+
let G = C([]), cn = 0;
|
|
523
523
|
Be(() => {
|
|
524
|
-
let e = ++
|
|
524
|
+
let e = ++cn, t = F.value.style.chart.layout.timeLabels, n = t.values, r = t.datetimeFormatter, i = H.value;
|
|
525
525
|
if (!i || !Array.isArray(n) || n.length === 0) {
|
|
526
526
|
G.value = [];
|
|
527
527
|
return;
|
|
@@ -534,16 +534,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
534
534
|
start: 0,
|
|
535
535
|
end: i
|
|
536
536
|
});
|
|
537
|
-
e ===
|
|
537
|
+
e === cn && (G.value = t);
|
|
538
538
|
})();
|
|
539
539
|
});
|
|
540
|
-
let
|
|
540
|
+
let ln = p(() => {
|
|
541
541
|
let e = F.value.style.chart.layout.timeLabels.modulo;
|
|
542
542
|
return G.value.length ? Math.min(e, [...new Set(G.value.map((e) => e.text))].length) : e;
|
|
543
543
|
}), K = p(() => {
|
|
544
544
|
let e = F.value.style.chart.layout.timeLabels, t = G.value || [], n = G.value || [], r = H.value, i = t.map((e) => e?.text ?? ""), a = n.map((e) => e?.text ?? "");
|
|
545
|
-
return ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1,
|
|
546
|
-
}),
|
|
545
|
+
return ee(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, ln.value || 1), i, a, 0, null, r);
|
|
546
|
+
}), un = p(() => z.value.width), dn = p(() => z.value.height), fn = p(() => ({
|
|
547
547
|
start: 0,
|
|
548
548
|
end: H.value
|
|
549
549
|
})), q = p(() => [...W.value].map((e) => {
|
|
@@ -553,40 +553,40 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
553
553
|
navigationRank: t?.rank ?? Infinity
|
|
554
554
|
};
|
|
555
555
|
}).sort((e, t) => e.navigationRank - t.navigationRank));
|
|
556
|
-
function
|
|
557
|
-
P.value = null,
|
|
556
|
+
function pn() {
|
|
557
|
+
P.value = null, jt.value = !0;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
560
|
-
|
|
559
|
+
function mn() {
|
|
560
|
+
gn(), jt.value = !1;
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function hn(e, t) {
|
|
563
563
|
let n = q.value.length;
|
|
564
564
|
return n ? e === null || e < 0 || e >= n ? 0 : t === "previous" ? (e - 1 + n) % n : (e + 1) % n : null;
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function gn() {
|
|
567
567
|
if (P.value !== null) {
|
|
568
568
|
let e = q.value[P.value];
|
|
569
569
|
e && $(e, e);
|
|
570
570
|
}
|
|
571
571
|
P.value = null, N.value = null;
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function _n(e) {
|
|
574
574
|
if (!L.value || Y.value || document.activeElement !== L.value || !q.value.length) return;
|
|
575
575
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
576
576
|
if (!t && !n && !r && !i) return;
|
|
577
577
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
578
|
-
|
|
578
|
+
gn();
|
|
579
579
|
return;
|
|
580
580
|
}
|
|
581
581
|
if (r) {
|
|
582
582
|
if (P.value === null) return;
|
|
583
583
|
let e = q.value[P.value];
|
|
584
584
|
if (!e) return;
|
|
585
|
-
|
|
585
|
+
jn(e, e);
|
|
586
586
|
return;
|
|
587
587
|
}
|
|
588
588
|
let a = P.value;
|
|
589
|
-
a === null ? a = 0 : t ? a =
|
|
589
|
+
a === null ? a = 0 : t ? a = hn(a, "previous") : n && (a = hn(a, "next"));
|
|
590
590
|
let o = q.value[a];
|
|
591
591
|
o && (P.value = a, Q(o, o));
|
|
592
592
|
}
|
|
@@ -597,9 +597,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
597
597
|
notice: F.value.a11y.translations.tableAvailable
|
|
598
598
|
}));
|
|
599
599
|
ye({
|
|
600
|
-
timeLabelsEls:
|
|
600
|
+
timeLabelsEls: At,
|
|
601
601
|
timeLabels: G,
|
|
602
|
-
slicer:
|
|
602
|
+
slicer: fn,
|
|
603
603
|
configRef: F,
|
|
604
604
|
rotationPath: [
|
|
605
605
|
"style",
|
|
@@ -617,30 +617,30 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
617
617
|
"enable"
|
|
618
618
|
],
|
|
619
619
|
isAutoSize: !1,
|
|
620
|
-
width:
|
|
621
|
-
height:
|
|
620
|
+
width: un,
|
|
621
|
+
height: dn,
|
|
622
622
|
rotation: F.value.style.chart.layout.timeLabels.autoRotate.angle
|
|
623
623
|
});
|
|
624
624
|
let Y = C(!1);
|
|
625
|
-
function
|
|
625
|
+
function vn() {
|
|
626
626
|
Y.value = !Y.value;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
|
|
628
|
+
function yn(e) {
|
|
629
|
+
St.value = e, vt.value += 1;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function bn() {
|
|
632
632
|
R.value.showTable = !R.value.showTable;
|
|
633
633
|
}
|
|
634
634
|
ze(() => R.value.showTable, (e) => {
|
|
635
635
|
F.value.table.show || (e && F.value.table.useDialog && M.value ? M.value.open() : "close" in M.value && M.value.close());
|
|
636
636
|
});
|
|
637
|
-
function
|
|
638
|
-
R.value.showTable = !1,
|
|
637
|
+
function xn() {
|
|
638
|
+
R.value.showTable = !1, Et.value && Et.value.setTableIconState(!1);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Sn() {
|
|
641
641
|
return W.value;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Cn(e = null) {
|
|
644
644
|
let r = [
|
|
645
645
|
[F.value.style.chart.title.text],
|
|
646
646
|
[F.value.style.chart.title.subtitle.text],
|
|
@@ -658,14 +658,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
658
658
|
let X = p(() => {
|
|
659
659
|
let e = F.value.table.useDialog && !F.value.table.show, t = R.value.showTable;
|
|
660
660
|
return {
|
|
661
|
-
component: e ? Oe :
|
|
661
|
+
component: e ? Oe : ct,
|
|
662
662
|
title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
|
|
663
663
|
props: e ? {
|
|
664
664
|
backgroundColor: F.value.table.th.backgroundColor,
|
|
665
665
|
color: F.value.table.th.color,
|
|
666
666
|
headerColor: F.value.table.th.color,
|
|
667
667
|
headerBg: F.value.table.th.backgroundColor,
|
|
668
|
-
isFullscreen:
|
|
668
|
+
isFullscreen: St.value,
|
|
669
669
|
fullscreenParent: A.value,
|
|
670
670
|
forcedWidth: Math.min(800, window.innerWidth * .8),
|
|
671
671
|
isCursorPointer: I.value
|
|
@@ -702,16 +702,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
702
702
|
breakpoint: F.value.table.responsiveBreakpoint
|
|
703
703
|
},
|
|
704
704
|
colNames: [F.value.table.columnNames.series]
|
|
705
|
-
})),
|
|
705
|
+
})), wn = p(() => F.value.style.chart.backgroundColor), Tn = p(() => F.value.style.chart.title), { isCallbackImaging: En, isCallbackSvg: Dn, generateSvg: On, onGenerateImage: kn } = ve({
|
|
706
706
|
svg: L,
|
|
707
|
-
title:
|
|
707
|
+
title: Tn,
|
|
708
708
|
legend: null,
|
|
709
709
|
legendItems: null,
|
|
710
|
-
backgroundColor:
|
|
710
|
+
backgroundColor: wn,
|
|
711
711
|
getSvgCallback: () => F.value.userOptions.callbacks.svg,
|
|
712
|
-
generateImage:
|
|
712
|
+
generateImage: Gt
|
|
713
713
|
});
|
|
714
|
-
async function
|
|
714
|
+
async function An({ scale: e = 2 } = {}) {
|
|
715
715
|
if (!A.value) return;
|
|
716
716
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await img({
|
|
717
717
|
domElement: A.value,
|
|
@@ -740,14 +740,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
740
740
|
seriesIndex: e?.pointIndex ?? null
|
|
741
741
|
});
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function jn(e, t) {
|
|
744
744
|
F.value.events.datapointClick && F.value.events.datapointClick({
|
|
745
745
|
datapoint: e,
|
|
746
746
|
seriesIndex: e?.pointIndex ?? null
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
|
-
async function
|
|
750
|
-
if (
|
|
749
|
+
async function Mn() {
|
|
750
|
+
if (gt("copyAlt", {
|
|
751
751
|
config: F.value,
|
|
752
752
|
dataset: W.value
|
|
753
753
|
}), !F.value.userOptions.callbacks.altCopy) {
|
|
@@ -760,16 +760,16 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
760
760
|
}));
|
|
761
761
|
}
|
|
762
762
|
return xe({
|
|
763
|
-
getData:
|
|
764
|
-
getImage:
|
|
765
|
-
generatePdf:
|
|
766
|
-
generateCsv:
|
|
767
|
-
generateImage:
|
|
768
|
-
generateSvg:
|
|
769
|
-
toggleTable:
|
|
770
|
-
toggleAnnotator:
|
|
771
|
-
toggleFullscreen:
|
|
772
|
-
copyAlt:
|
|
763
|
+
getData: Sn,
|
|
764
|
+
getImage: An,
|
|
765
|
+
generatePdf: Wt,
|
|
766
|
+
generateCsv: Cn,
|
|
767
|
+
generateImage: Gt,
|
|
768
|
+
generateSvg: On,
|
|
769
|
+
toggleTable: bn,
|
|
770
|
+
toggleAnnotator: vn,
|
|
771
|
+
toggleFullscreen: yn,
|
|
772
|
+
copyAlt: Mn
|
|
773
773
|
}), (e, t) => (S(), g("div", {
|
|
774
774
|
id: `bump_${j.value}`,
|
|
775
775
|
ref_key: "bumpChart",
|
|
@@ -777,11 +777,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
777
777
|
class: Ne({
|
|
778
778
|
"vue-data-ui-component": !0,
|
|
779
779
|
"vue-ui-bump": !0,
|
|
780
|
-
"vue-data-ui-wrapper-fullscreen":
|
|
780
|
+
"vue-data-ui-wrapper-fullscreen": St.value
|
|
781
781
|
}),
|
|
782
782
|
style: x(`background:${F.value.style.chart.backgroundColor};color:${F.value.style.chart.color};font-family:${F.value.style.fontFamily}; position: relative; ${F.value.responsive ? "height: 100%" : ""}`),
|
|
783
|
-
onMouseenter:
|
|
784
|
-
onMouseleave:
|
|
783
|
+
onMouseenter: Bt,
|
|
784
|
+
onMouseleave: Vt
|
|
785
785
|
}, [
|
|
786
786
|
_("p", {
|
|
787
787
|
id: `chart-instructions-${j.value}`,
|
|
@@ -801,14 +801,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
801
801
|
"caption",
|
|
802
802
|
"notice"
|
|
803
803
|
])) : h("", !0),
|
|
804
|
-
F.value.userOptions.buttons.annotator ? (S(), m(D(
|
|
804
|
+
F.value.userOptions.buttons.annotator ? (S(), m(D(ut), {
|
|
805
805
|
key: 1,
|
|
806
806
|
svgRef: D(L),
|
|
807
807
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
808
808
|
color: F.value.style.chart.color,
|
|
809
809
|
active: Y.value,
|
|
810
810
|
isCursorPointer: I.value,
|
|
811
|
-
onClose:
|
|
811
|
+
onClose: vn
|
|
812
812
|
}, {
|
|
813
813
|
"annotator-action-close": O(() => [T(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
814
814
|
"annotator-action-color": O(({ color: t }) => [T(e.$slots, "annotator-action-color", b(y({ color: t })), void 0, !0)]),
|
|
@@ -825,20 +825,20 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
825
825
|
"isCursorPointer"
|
|
826
826
|
])) : h("", !0),
|
|
827
827
|
T(e.$slots, "userConfig", {}, void 0, !0),
|
|
828
|
-
|
|
828
|
+
Kt.value ? (S(), g("div", {
|
|
829
829
|
key: 2,
|
|
830
830
|
ref_key: "noTitle",
|
|
831
|
-
ref:
|
|
831
|
+
ref: bt,
|
|
832
832
|
class: "vue-data-ui-no-title-space",
|
|
833
833
|
style: "height:36px; width: 100%;background:transparent"
|
|
834
834
|
}, null, 512)) : h("", !0),
|
|
835
835
|
F.value.style.chart.title.text ? (S(), g("div", {
|
|
836
836
|
key: 3,
|
|
837
837
|
ref_key: "chartTitle",
|
|
838
|
-
ref:
|
|
838
|
+
ref: yt,
|
|
839
839
|
style: "width:100%;background:transparent;"
|
|
840
840
|
}, [(S(), m(be, {
|
|
841
|
-
key: `title_${
|
|
841
|
+
key: `title_${wt.value}`,
|
|
842
842
|
config: {
|
|
843
843
|
title: {
|
|
844
844
|
cy: "bump-title",
|
|
@@ -850,14 +850,14 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
852
|
}, null, 8, ["config"]))], 512)) : h("", !0),
|
|
853
|
-
F.value.userOptions.show &&
|
|
853
|
+
F.value.userOptions.show && _t.value && (D(zt) || D(Lt)) ? (S(), m(D(dt), {
|
|
854
854
|
ref_key: "userOptionsRef",
|
|
855
|
-
ref:
|
|
856
|
-
key: `user_option_${
|
|
855
|
+
ref: Et,
|
|
856
|
+
key: `user_option_${vt.value}`,
|
|
857
857
|
backgroundColor: F.value.style.chart.backgroundColor,
|
|
858
858
|
color: F.value.style.chart.color,
|
|
859
|
-
isPrinting: D(
|
|
860
|
-
isImaging: D(
|
|
859
|
+
isPrinting: D(Ht),
|
|
860
|
+
isImaging: D(Ut),
|
|
861
861
|
uid: j.value,
|
|
862
862
|
hasTooltip: !1,
|
|
863
863
|
hasPdf: F.value.userOptions.buttons.pdf,
|
|
@@ -868,7 +868,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
868
868
|
hasLabel: !1,
|
|
869
869
|
hasAltCopy: F.value.userOptions.buttons.altCopy,
|
|
870
870
|
hasFullscreen: F.value.userOptions.buttons.fullscreen,
|
|
871
|
-
isFullcreen:
|
|
871
|
+
isFullcreen: St.value,
|
|
872
872
|
chartElement: A.value,
|
|
873
873
|
position: F.value.userOptions.position,
|
|
874
874
|
titles: { ...F.value.userOptions.buttonTitles },
|
|
@@ -878,15 +878,15 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
878
878
|
printScale: F.value.userOptions.print.scale,
|
|
879
879
|
tableDialog: F.value.table.useDialog,
|
|
880
880
|
isCursorPointer: I.value,
|
|
881
|
-
onToggleFullscreen:
|
|
882
|
-
onGeneratePdf: D(
|
|
883
|
-
onGenerateCsv:
|
|
884
|
-
onGenerateImage: D(
|
|
885
|
-
onGenerateSvg: D(
|
|
886
|
-
onToggleTable:
|
|
887
|
-
onToggleAnnotator:
|
|
888
|
-
onCopyAlt:
|
|
889
|
-
style: x({ visibility: D(
|
|
881
|
+
onToggleFullscreen: yn,
|
|
882
|
+
onGeneratePdf: D(Wt),
|
|
883
|
+
onGenerateCsv: Cn,
|
|
884
|
+
onGenerateImage: D(kn),
|
|
885
|
+
onGenerateSvg: D(On),
|
|
886
|
+
onToggleTable: bn,
|
|
887
|
+
onToggleAnnotator: vn,
|
|
888
|
+
onCopyAlt: Mn,
|
|
889
|
+
style: x({ visibility: D(zt) ? D(Lt) ? "visible" : "hidden" : "visible" })
|
|
890
890
|
}, ke({ _: 2 }, [
|
|
891
891
|
e.$slots.menuIcon ? {
|
|
892
892
|
name: "menuIcon",
|
|
@@ -960,7 +960,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
960
960
|
"aria-describedby": `chart-instructions-${j.value}`,
|
|
961
961
|
viewBox: `0 0 ${U.value.chartWidth <= 0 ? 10 : U.value.chartWidth} ${U.value.svgHeight <= 0 ? 10 : U.value.svgHeight}`,
|
|
962
962
|
class: Ne({
|
|
963
|
-
"vue-data-ui-loading": D(
|
|
963
|
+
"vue-data-ui-loading": D(Nt),
|
|
964
964
|
"no-transition": !F.value.useCssAnimation
|
|
965
965
|
}),
|
|
966
966
|
style: x(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color}`),
|
|
@@ -968,11 +968,11 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
968
968
|
"aria-live": "polite",
|
|
969
969
|
preserveAspectRatio: "xMidYMid",
|
|
970
970
|
tabindex: "0",
|
|
971
|
-
onFocus:
|
|
972
|
-
onBlur:
|
|
973
|
-
onKeydown:
|
|
971
|
+
onFocus: pn,
|
|
972
|
+
onBlur: mn,
|
|
973
|
+
onKeydown: _n
|
|
974
974
|
}, [
|
|
975
|
-
je(D(
|
|
975
|
+
je(D(ft)),
|
|
976
976
|
e.$slots["chart-background"] ? (S(), g("foreignObject", {
|
|
977
977
|
key: 0,
|
|
978
978
|
x: U.value.left,
|
|
@@ -1003,7 +1003,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1003
1003
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1004
1004
|
onMouseenter: (t) => Q(e, e),
|
|
1005
1005
|
onMouseleave: (t) => $(e, e),
|
|
1006
|
-
onClick: (t) =>
|
|
1006
|
+
onClick: (t) => jn(e, e)
|
|
1007
1007
|
}, null, 44, Je)], 64))), 256)),
|
|
1008
1008
|
(S(!0), g(f, null, w(W.value, (t) => (S(), g(f, null, [
|
|
1009
1009
|
F.value.style.chart.layout.plots.labels.displayedValue === "rank" ? (S(!0), g(f, { key: 0 }, w(t.coordinates, (e, n) => (S(), g("circle", {
|
|
@@ -1044,7 +1044,7 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1044
1044
|
F.value.style.chart.layout.plots.labels.displayedValue === "value" ? (S(!0), g(f, { key: 2 }, w(t.coordinates, (n) => (S(), g(f, null, [D(d)(n.value) ? (S(), g("rect", Me({
|
|
1045
1045
|
key: 0,
|
|
1046
1046
|
class: "transition-opacity"
|
|
1047
|
-
}, { ref_for: !0 },
|
|
1047
|
+
}, { ref_for: !0 }, sn(n), {
|
|
1048
1048
|
style: { opacity: N.value == null || N.value === t.id ? 1 : .1 },
|
|
1049
1049
|
onMouseenter: (n) => Q({
|
|
1050
1050
|
...e.point,
|
|
@@ -1076,8 +1076,8 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1076
1076
|
F.value.style.chart.layout.nameLabels.leftLabels.show ? (S(), g("g", {
|
|
1077
1077
|
key: 1,
|
|
1078
1078
|
ref_key: "labelsLeft",
|
|
1079
|
-
ref:
|
|
1080
|
-
}, [(S(!0), g(f, null, w(
|
|
1079
|
+
ref: Ot
|
|
1080
|
+
}, [(S(!0), g(f, null, w(on.value.left.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1081
1081
|
class: "transition-opacity",
|
|
1082
1082
|
x: U.value.left,
|
|
1083
1083
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1096,13 +1096,13 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1096
1096
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1097
1097
|
onMouseenter: (t) => Q(e, e),
|
|
1098
1098
|
onMouseleave: (t) => $(e, e),
|
|
1099
|
-
onClick: (t) =>
|
|
1099
|
+
onClick: (t) => jn(e, e)
|
|
1100
1100
|
}, null, 44, $e))), 256))], 512)) : h("", !0),
|
|
1101
1101
|
F.value.style.chart.layout.nameLabels.rightLabels.show ? (S(), g("g", {
|
|
1102
1102
|
key: 2,
|
|
1103
1103
|
ref_key: "labelsRight",
|
|
1104
|
-
ref:
|
|
1105
|
-
}, [(S(!0), g(f, null, w(
|
|
1104
|
+
ref: kt
|
|
1105
|
+
}, [(S(!0), g(f, null, w(on.value.right.filter((e) => D(d)(e.value)), (e, t) => (S(), g("text", {
|
|
1106
1106
|
class: "transition-opacity",
|
|
1107
1107
|
x: U.value.right,
|
|
1108
1108
|
y: e.y + F.value.style.chart.layout.nameLabels.fontSize / 3,
|
|
@@ -1121,12 +1121,12 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1121
1121
|
style: x({ opacity: N.value == null || N.value === e.id ? 1 : .1 }),
|
|
1122
1122
|
onMouseenter: (t) => Q(e, e),
|
|
1123
1123
|
onMouseleave: (t) => $(e, e),
|
|
1124
|
-
onClick: (t) =>
|
|
1124
|
+
onClick: (t) => jn(e, e)
|
|
1125
1125
|
}, null, 44, et))), 256))], 512)) : h("", !0),
|
|
1126
1126
|
F.value.style.chart.layout.timeLabels.show ? (S(), g("g", {
|
|
1127
1127
|
key: 3,
|
|
1128
1128
|
ref_key: "timeLabelsEls",
|
|
1129
|
-
ref:
|
|
1129
|
+
ref: At
|
|
1130
1130
|
}, [e.$slots["time-label"] ? (S(), g("g", tt, [(S(!0), g(f, null, w(K.value, (t, n) => (S(), g("g", null, [T(e.$slots, "time-label", Me({ ref_for: !0 }, {
|
|
1131
1131
|
x: U.value.unitW * n + U.value.unitW / 2 + U.value.left,
|
|
1132
1132
|
y: U.value.chartHeight + F.value.style.chart.layout.timeLabels.offsetY,
|
|
@@ -1168,20 +1168,20 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1168
1168
|
T(e.$slots, "svg", { svg: {
|
|
1169
1169
|
drawingArea: U.value,
|
|
1170
1170
|
data: W.value,
|
|
1171
|
-
isPrintingImg: D(
|
|
1172
|
-
isPrintingSvg: D(
|
|
1171
|
+
isPrintingImg: D(Ht) || D(Ut) || D(En),
|
|
1172
|
+
isPrintingSvg: D(Dn)
|
|
1173
1173
|
} }, void 0, !0)
|
|
1174
1174
|
], 46, Ge)), e.$slots.hint ? (S(), g("div", at, [T(e.$slots, "hint", b(y({
|
|
1175
1175
|
hint: F.value.a11y.translations.keyboardNavigation,
|
|
1176
|
-
isVisible:
|
|
1176
|
+
isVisible: jt.value
|
|
1177
1177
|
})), void 0, !0)])) : h("", !0)]),
|
|
1178
|
-
e.$slots.watermark ? (S(), g("div", ot, [T(e.$slots, "watermark", b(y({ isPrinting: D(
|
|
1179
|
-
|
|
1178
|
+
e.$slots.watermark ? (S(), g("div", ot, [T(e.$slots, "watermark", b(y({ isPrinting: D(Ht) || D(Ut) || D(En) || D(Dn) })), void 0, !0)])) : h("", !0),
|
|
1179
|
+
_t.value && F.value.userOptions.buttons.table ? (S(), m(Ie(X.value.component), Me({ key: 6 }, X.value.props, {
|
|
1180
1180
|
ref_key: "tableUnit",
|
|
1181
1181
|
ref: M,
|
|
1182
|
-
onClose:
|
|
1182
|
+
onClose: xn
|
|
1183
1183
|
}), ke({
|
|
1184
|
-
content: O(() => [je(D(
|
|
1184
|
+
content: O(() => [je(D(lt), {
|
|
1185
1185
|
colNames: Z.value.colNames,
|
|
1186
1186
|
head: Z.value.head,
|
|
1187
1187
|
body: Z.value.body,
|
|
@@ -1189,9 +1189,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1189
1189
|
title: F.value.table.useDialog ? "" : X.value.title,
|
|
1190
1190
|
withCloseButton: !F.value.table.useDialog,
|
|
1191
1191
|
isCursorPointer: I.value,
|
|
1192
|
-
onClose:
|
|
1192
|
+
onClose: xn
|
|
1193
1193
|
}, {
|
|
1194
|
-
th: O(({ th: e }) => [_("div",
|
|
1194
|
+
th: O(({ th: e }) => [_("div", null, E(e), 1)]),
|
|
1195
1195
|
td: O(({ td: e }) => [Ae(E(e), 1)]),
|
|
1196
1196
|
_: 1
|
|
1197
1197
|
}, 8, [
|
|
@@ -1213,9 +1213,9 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1213
1213
|
fn: O(() => [_("button", {
|
|
1214
1214
|
tabindex: "0",
|
|
1215
1215
|
class: "vue-ui-user-options-button",
|
|
1216
|
-
onClick: t[1] ||= (e) =>
|
|
1216
|
+
onClick: t[1] ||= (e) => Cn(F.value.userOptions.callbacks.csv),
|
|
1217
1217
|
style: x({ cursor: I.value ? "pointer" : "default" })
|
|
1218
|
-
}, [je(D(
|
|
1218
|
+
}, [je(D(st), {
|
|
1219
1219
|
name: "fileCsv",
|
|
1220
1220
|
stroke: X.value.props.color
|
|
1221
1221
|
}, null, 8, ["stroke"])], 4)]),
|
|
@@ -1224,12 +1224,12 @@ var Ve = /* @__PURE__ */ e({ default: () => ct }), He = ["id"], Ue = ["id"], We
|
|
|
1224
1224
|
e.$slots.source ? (S(), g("div", {
|
|
1225
1225
|
key: 7,
|
|
1226
1226
|
ref_key: "source",
|
|
1227
|
-
ref:
|
|
1227
|
+
ref: xt,
|
|
1228
1228
|
dir: "auto"
|
|
1229
1229
|
}, [T(e.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
|
|
1230
|
-
T(e.$slots, "skeleton", {}, () => [D(
|
|
1230
|
+
T(e.$slots, "skeleton", {}, () => [D(Nt) ? (S(), m(he, { key: 0 })) : h("", !0)], !0)
|
|
1231
1231
|
], 46, He));
|
|
1232
1232
|
}
|
|
1233
|
-
}, [["__scopeId", "data-v-
|
|
1233
|
+
}, [["__scopeId", "data-v-ef8e05d0"]]);
|
|
1234
1234
|
//#endregion
|
|
1235
|
-
export { Ve as n,
|
|
1235
|
+
export { Ve as n, st as t };
|