vue-data-ui 3.25.3 → 3.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.js → UserOptions-f3Q0nqrj.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-label.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.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 +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.js +0 -1619
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, Pt as a, S as o, X as s, Yt as ee, Zt as te, i as ne, lt as re, nt as ie, q as ae, t as oe, w as se } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ue } from "./useConfig-
|
|
5
|
-
import { t as de } from "./usePrinter-
|
|
4
|
+
import { t as ue } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as de } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as me } from "./useNestedProp-
|
|
7
|
+
import { t as me } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as he } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as ge } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as _e } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as ve } from "./img-
|
|
12
|
-
import { n as ye } from "./Title-
|
|
11
|
+
import { t as ve } from "./img-DhGApYG0.js";
|
|
12
|
+
import { n as ye } from "./Title-CPHi-evi.js";
|
|
13
13
|
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as xe, t as Se } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as Ce } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ce } from "./BaseLegendToggle-__JnV08B.js";
|
|
16
16
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as De } from "./labelUtils-
|
|
20
|
-
import { t as Oe } from "./Legend-
|
|
19
|
+
import { t as De } from "./labelUtils-BXX2NzRe.js";
|
|
20
|
+
import { t as Oe } from "./Legend-X4kF4PvW.js";
|
|
21
21
|
import { t as ke } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
|
|
22
22
|
import { t as Ae } from "./vue_ui_onion-1FTFFS46.js";
|
|
23
|
-
import { Fragment as c, Teleport as je, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Fe, nextTick as Ie, normalizeClass as g, normalizeProps as _, normalizeStyle as
|
|
23
|
+
import { Fragment as c, Teleport as je, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Fe, nextTick as Ie, normalizeClass as g, normalizeProps as _, normalizeStyle as Le, onBeforeUnmount as Re, onMounted as ze, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as S, toRefs as He, unref as C, watch as w, withCtx as T } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-onion.vue
|
|
25
25
|
var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke = ["id"], qe = { style: { position: "relative" } }, Je = [
|
|
26
26
|
"xmlns",
|
|
@@ -99,10 +99,10 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["selectLegend", "copyAlt"],
|
|
101
101
|
setup(e, { expose: be, emit: Ue }) {
|
|
102
|
-
let dt = m(() => import("./Tooltip-
|
|
102
|
+
let dt = m(() => import("./Tooltip-hhrkQ3Lk.js")), ft = m(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), pt = m(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), mt = m(() => import("./DataTable-COIO9gi4.js")), ht = m(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), gt = m(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), _t = m(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), vt = m(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_onion: yt } = ue(), { isThemeValid: bt, warnInvalidTheme: xt } = he(), E = e, St = l(() => !!E.dataset && E.dataset.length), D = y(ae()), Ct = y(null), wt = y(0), O = y(!1), Tt = y(""), k = y([]), A = y(null), Et = y(null), Dt = y(null), Ot = y(null), kt = y(null), At = y(0), jt = y(0), Mt = y(0), j = y(!1), Nt = y(!1), Pt = y(null), M = y(null), Ft = y({
|
|
103
103
|
x: 0,
|
|
104
104
|
y: 0
|
|
105
|
-
}),
|
|
105
|
+
}), It = y("pointer"), Lt = y(!1), N = y(Wt());
|
|
106
106
|
ce({
|
|
107
107
|
config: () => N.value,
|
|
108
108
|
dataset: () => E.dataset,
|
|
@@ -187,13 +187,13 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
187
187
|
let n = me({
|
|
188
188
|
userConfig: Ae[t] || E.config,
|
|
189
189
|
defaultConfig: e
|
|
190
|
-
}),
|
|
190
|
+
}), r = me({
|
|
191
191
|
userConfig: E.config,
|
|
192
192
|
defaultConfig: n
|
|
193
193
|
});
|
|
194
194
|
return {
|
|
195
|
-
...
|
|
196
|
-
customPalette:
|
|
195
|
+
...r,
|
|
196
|
+
customPalette: r.customPalette.length ? r.customPalette : ee[t] || i
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
w(() => E.config, (e) => {
|
|
@@ -203,7 +203,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
203
203
|
elementId: `vue-ui-onion_${D.value}`,
|
|
204
204
|
fileName: N.value.style.chart.title.text || "vue-ui-onion",
|
|
205
205
|
options: N.value.userOptions.print
|
|
206
|
-
}), Yt = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), Xt = l(() => se(N.value.customPalette)), R =
|
|
206
|
+
}), Yt = l(() => N.value.userOptions.show && !N.value.style.chart.title.text), Xt = l(() => se(N.value.customPalette)), R = y({
|
|
207
207
|
showTable: N.value.table.show,
|
|
208
208
|
showTooltip: N.value.style.chart.tooltip.show
|
|
209
209
|
});
|
|
@@ -213,7 +213,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
213
213
|
showTooltip: N.value.style.chart.tooltip.show
|
|
214
214
|
};
|
|
215
215
|
}, { immediate: !0 });
|
|
216
|
-
let z =
|
|
216
|
+
let z = y({
|
|
217
217
|
height: 512,
|
|
218
218
|
width: 512,
|
|
219
219
|
padding: {
|
|
@@ -223,9 +223,9 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
223
223
|
bottom: 64
|
|
224
224
|
},
|
|
225
225
|
minRadius: 64
|
|
226
|
-
}), B =
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
}), B = Ve(null), V = Ve(null);
|
|
227
|
+
ze(() => {
|
|
228
|
+
Nt.value = !0, an();
|
|
229
229
|
});
|
|
230
230
|
let { autoSizeLabels: Zt } = ke({
|
|
231
231
|
svgRef: L,
|
|
@@ -243,7 +243,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
function en() {
|
|
246
|
-
return typeof window > "u" || !P.value ||
|
|
246
|
+
return typeof window > "u" || !P.value || j.value || I.value || !L.value ? 0 : Array.from(L.value.querySelectorAll(".vue-ui-onion-label.vue-data-ui-transition")).reduce((e, t) => {
|
|
247
247
|
let n = window.getComputedStyle(t);
|
|
248
248
|
if (n.transitionProperty === "none") return e;
|
|
249
249
|
let r = $t(n.transitionDuration), i = $t(n.transitionDelay), a = Math.max(r.length, i.length), o = Array.from({ length: a }, (e, t) => (r[t % r.length] ?? 0) + (i[t % i.length] ?? 0)).reduce((e, t) => Math.max(e, t), 0);
|
|
@@ -280,7 +280,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
280
280
|
debug: nn.value
|
|
281
281
|
}), Bt.value = !0), a(E.dataset) || (Bt.value = N.value.loading), N.value.responsive) {
|
|
282
282
|
let e = 64 / 512, t = xe(() => {
|
|
283
|
-
rn && clearTimeout(rn),
|
|
283
|
+
rn && clearTimeout(rn), j.value = !0;
|
|
284
284
|
let { width: t, height: n } = Se({
|
|
285
285
|
chart: A.value,
|
|
286
286
|
title: N.value.style.chart.title.text ? Et.value : null,
|
|
@@ -290,7 +290,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
290
290
|
});
|
|
291
291
|
n -= 12, requestAnimationFrame(async () => {
|
|
292
292
|
z.value.width = t, z.value.height = n, z.value.padding.top = Math.max(t, n) * e, z.value.padding.right = Math.max(t, n) * e, z.value.padding.bottom = Math.max(t, n) * e, z.value.padding.left = Math.max(t, n) * e, z.value.minRadius = Math.min(t, n) * e, rn = setTimeout(() => {
|
|
293
|
-
|
|
293
|
+
j.value = !1, G();
|
|
294
294
|
}, 0);
|
|
295
295
|
});
|
|
296
296
|
});
|
|
@@ -298,7 +298,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
298
298
|
}
|
|
299
299
|
G();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
Re(() => {
|
|
302
302
|
W += 1, Qt(), B.value && (V.value && B.value.unobserve(V.value), B.value.disconnect());
|
|
303
303
|
});
|
|
304
304
|
let K = l(() => ({
|
|
@@ -330,7 +330,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
330
330
|
...e,
|
|
331
331
|
percentage: e.percentage || 0,
|
|
332
332
|
targetPercentage: e.percentage || 0,
|
|
333
|
-
color: o(e.color) || Xt.value[t] ||
|
|
333
|
+
color: o(e.color) || Xt.value[t] || i[t],
|
|
334
334
|
id: n,
|
|
335
335
|
shape: "circle",
|
|
336
336
|
opacity: k.value.includes(n) ? .5 : 1,
|
|
@@ -359,7 +359,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
359
359
|
...e,
|
|
360
360
|
display: `${e.name}${n || r ? ": " : ""}${i}`
|
|
361
361
|
};
|
|
362
|
-
})), on =
|
|
362
|
+
})), on = y(q.value), sn = l(() => N.value.useStartAnimation), cn = y(null), ln = l(() => Math.max(...q.value.map((e) => e.percentage))), un = y(!1);
|
|
363
363
|
w(() => q.value, dn, {
|
|
364
364
|
immediate: !0,
|
|
365
365
|
deep: !0
|
|
@@ -494,18 +494,18 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
494
494
|
});
|
|
495
495
|
function Cn(e = null) {
|
|
496
496
|
Ie(() => {
|
|
497
|
-
let
|
|
497
|
+
let n = [
|
|
498
498
|
[N.value.style.chart.title.text],
|
|
499
499
|
[N.value.style.chart.title.subtitle.text],
|
|
500
500
|
[""]
|
|
501
|
-
], i = Sn.value.head, a = Sn.value.body, o =
|
|
502
|
-
e ? e(
|
|
503
|
-
csvContent:
|
|
501
|
+
], i = Sn.value.head, a = Sn.value.body, o = n.concat([i]).concat(a), s = r(o);
|
|
502
|
+
e ? e(s) : t({
|
|
503
|
+
csvContent: s,
|
|
504
504
|
title: N.value.style.chart.title.text || "vue-ui-onion"
|
|
505
505
|
});
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
|
-
let Q =
|
|
508
|
+
let Q = y(void 0), $ = y(!1);
|
|
509
509
|
function wn(e) {
|
|
510
510
|
$.value = e, wt.value += 1;
|
|
511
511
|
}
|
|
@@ -516,7 +516,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
516
516
|
});
|
|
517
517
|
}
|
|
518
518
|
function En({ datapoint: e }) {
|
|
519
|
-
Q.value = void 0, O.value = !1,
|
|
519
|
+
Q.value = void 0, O.value = !1, M.value = null, It.value = "pointer", N.value.events.datapointLeave && N.value.events.datapointLeave({
|
|
520
520
|
datapoint: e,
|
|
521
521
|
seriesIndex: e.absoluteIndex
|
|
522
522
|
});
|
|
@@ -552,34 +552,34 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
552
552
|
});
|
|
553
553
|
return `${e.name}${n || r ? ": " : ""}${i}`;
|
|
554
554
|
}
|
|
555
|
-
let kn =
|
|
556
|
-
function An({ datapoint: e, seriesIndex: t, show:
|
|
555
|
+
let kn = y(null);
|
|
556
|
+
function An({ datapoint: e, seriesIndex: t, show: r = !0, triggerMode: i = "pointer" }) {
|
|
557
557
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
558
558
|
datapoint: e,
|
|
559
559
|
seriesIndex: e.absoluteIndex
|
|
560
|
-
}),
|
|
561
|
-
let
|
|
560
|
+
}), It.value = i, M.value = t;
|
|
561
|
+
let a = e.absoluteIndex;
|
|
562
562
|
Q.value = t, kn.value = {
|
|
563
563
|
datapoint: e,
|
|
564
|
-
seriesIndex:
|
|
564
|
+
seriesIndex: a,
|
|
565
565
|
series: q.value,
|
|
566
566
|
config: N.value
|
|
567
|
-
}, O.value =
|
|
568
|
-
let
|
|
569
|
-
if (ee
|
|
570
|
-
seriesIndex:
|
|
567
|
+
}, O.value = r;
|
|
568
|
+
let o = "", ee = N.value.style.chart.tooltip.customFormat;
|
|
569
|
+
if (n(ee) && re(() => ee({
|
|
570
|
+
seriesIndex: a,
|
|
571
571
|
datapoint: e,
|
|
572
572
|
series: q.value,
|
|
573
573
|
config: N.value
|
|
574
|
-
}))) Tt.value =
|
|
575
|
-
seriesIndex:
|
|
574
|
+
}))) Tt.value = ee({
|
|
575
|
+
seriesIndex: a,
|
|
576
576
|
datapoint: e,
|
|
577
577
|
series: q.value,
|
|
578
578
|
config: N.value
|
|
579
579
|
});
|
|
580
580
|
else {
|
|
581
581
|
let n = N.value.style.chart.tooltip.showPercentage, r = N.value.style.chart.tooltip.showValue;
|
|
582
|
-
|
|
582
|
+
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${e.color}"/></svg>`, o += `<b>${Dn({
|
|
583
583
|
config: N.value.style.chart.tooltip,
|
|
584
584
|
showVal: r,
|
|
585
585
|
showPercentage: n,
|
|
@@ -597,7 +597,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
597
597
|
s: "%",
|
|
598
598
|
r: N.value.style.chart.tooltip.roundingPercentage
|
|
599
599
|
})
|
|
600
|
-
})}</b></div>`, Tt.value = `<div>${
|
|
600
|
+
})}</b></div>`, Tt.value = `<div>${o}</div>`;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
function jn() {
|
|
@@ -606,7 +606,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
606
606
|
function Mn() {
|
|
607
607
|
R.value.showTooltip = !R.value.showTooltip;
|
|
608
608
|
}
|
|
609
|
-
let Nn =
|
|
609
|
+
let Nn = y(!1);
|
|
610
610
|
function Pn() {
|
|
611
611
|
Nn.value = !Nn.value;
|
|
612
612
|
}
|
|
@@ -659,7 +659,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
659
659
|
};
|
|
660
660
|
});
|
|
661
661
|
w(() => R.value.showTable, (e) => {
|
|
662
|
-
N.value.table.show || (e && N.value.table.useDialog &&
|
|
662
|
+
N.value.table.show || (e && N.value.table.useDialog && Pt.value ? Pt.value.open() : "close" in Pt.value && Pt.value.close());
|
|
663
663
|
});
|
|
664
664
|
let Ln = l(() => J.value.map((e) => ({
|
|
665
665
|
...e,
|
|
@@ -687,27 +687,27 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
687
687
|
}));
|
|
688
688
|
}
|
|
689
689
|
function Kn() {
|
|
690
|
-
|
|
690
|
+
M.value = null, Lt.value = !0;
|
|
691
691
|
}
|
|
692
692
|
function qn() {
|
|
693
|
-
|
|
693
|
+
M.value = null, It.value = "pointer", O.value = !1, Q.value = void 0, Lt.value = !1;
|
|
694
694
|
}
|
|
695
695
|
function Jn(e) {
|
|
696
696
|
if (!L.value || Nn.value || document.activeElement !== L.value || !X.value.length) return;
|
|
697
697
|
let t = ["ArrowLeft", "ArrowDown"].includes(e.key), n = ["ArrowRight", "ArrowUp"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
698
698
|
if (!t && !n && !r && !i) return;
|
|
699
699
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
700
|
-
|
|
700
|
+
M.value = null, It.value = "pointer", O.value = !1, Q.value = void 0;
|
|
701
701
|
return;
|
|
702
702
|
}
|
|
703
703
|
if (r) {
|
|
704
|
-
if (
|
|
705
|
-
let e = X.value[
|
|
704
|
+
if (M.value === null) return;
|
|
705
|
+
let e = X.value[M.value];
|
|
706
706
|
if (!e) return;
|
|
707
707
|
Tn({ datapoint: e });
|
|
708
708
|
return;
|
|
709
709
|
}
|
|
710
|
-
let a =
|
|
710
|
+
let a = M.value;
|
|
711
711
|
a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1));
|
|
712
712
|
let o = X.value[a];
|
|
713
713
|
o && (Yn(a), An({
|
|
@@ -722,7 +722,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
722
722
|
let t = X.value[e];
|
|
723
723
|
if (!t) return;
|
|
724
724
|
let n = t.radius, r = Math.PI * 7 / 4, i = K.value.centerX + n * Math.cos(r), a = K.value.centerY + n * Math.sin(r), o = L.value.getBoundingClientRect();
|
|
725
|
-
|
|
725
|
+
Ft.value = {
|
|
726
726
|
x: o.left + i / z.value.width * o.width,
|
|
727
727
|
y: o.top + a / z.value.height * o.height
|
|
728
728
|
};
|
|
@@ -745,20 +745,20 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
745
745
|
toggleAnnotator: Pn,
|
|
746
746
|
toggleFullscreen: wn,
|
|
747
747
|
copyAlt: Gn
|
|
748
|
-
}), (e, t) => (
|
|
748
|
+
}), (e, t) => (v(), f("div", {
|
|
749
749
|
class: g(`vue-data-ui-component vue-ui-onion ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
750
750
|
ref_key: "onionChart",
|
|
751
751
|
ref: A,
|
|
752
752
|
id: `vue-ui-onion_${D.value}`,
|
|
753
|
-
style:
|
|
753
|
+
style: Le(`font-family:${N.value.style.fontFamily};width:100%; ${N.value.responsive ? "height: 100%;" : ""} text-align:center;background:${N.value.style.chart.backgroundColor}`),
|
|
754
754
|
onMouseenter: t[4] ||= () => C(Ht)(!0),
|
|
755
755
|
onMouseleave: t[5] ||= () => C(Ht)(!1)
|
|
756
756
|
}, [
|
|
757
757
|
p("div", {
|
|
758
758
|
id: `chart-instructions-${D.value}`,
|
|
759
759
|
class: "sr-only"
|
|
760
|
-
}, [p("p", null,
|
|
761
|
-
Xn.value?.rows?.length ? (
|
|
760
|
+
}, [p("p", null, S(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
|
|
761
|
+
Xn.value?.rows?.length ? (v(), u(we, {
|
|
762
762
|
key: 0,
|
|
763
763
|
uid: D.value,
|
|
764
764
|
head: Xn.value.headers,
|
|
@@ -772,42 +772,44 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
772
772
|
"notice",
|
|
773
773
|
"caption"
|
|
774
774
|
])) : d("", !0),
|
|
775
|
-
N.value.userOptions.buttons.annotator ? (
|
|
775
|
+
N.value.userOptions.buttons.annotator ? (v(), u(C(gt), {
|
|
776
776
|
key: 1,
|
|
777
777
|
svgRef: C(L),
|
|
778
778
|
backgroundColor: N.value.style.chart.backgroundColor,
|
|
779
779
|
color: N.value.style.chart.color,
|
|
780
780
|
active: Nn.value,
|
|
781
781
|
isCursorPointer: F.value,
|
|
782
|
+
palette: N.value.userOptions.annotatorPalette,
|
|
782
783
|
onClose: Pn
|
|
783
784
|
}, {
|
|
784
|
-
"annotator-action-close": T(() => [
|
|
785
|
-
"annotator-action-color": T(({ color: t }) => [
|
|
786
|
-
"annotator-action-draw": T(({ mode: t }) => [
|
|
787
|
-
"annotator-action-undo": T(({ disabled: t }) => [
|
|
788
|
-
"annotator-action-redo": T(({ disabled: t }) => [
|
|
789
|
-
"annotator-action-delete": T(({ disabled: t }) => [
|
|
785
|
+
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
786
|
+
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
787
|
+
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
788
|
+
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
789
|
+
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
790
|
+
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
790
791
|
_: 3
|
|
791
792
|
}, 8, [
|
|
792
793
|
"svgRef",
|
|
793
794
|
"backgroundColor",
|
|
794
795
|
"color",
|
|
795
796
|
"active",
|
|
796
|
-
"isCursorPointer"
|
|
797
|
+
"isCursorPointer",
|
|
798
|
+
"palette"
|
|
797
799
|
])) : d("", !0),
|
|
798
|
-
Yt.value ? (
|
|
800
|
+
Yt.value ? (v(), f("div", {
|
|
799
801
|
key: 2,
|
|
800
802
|
ref_key: "noTitle",
|
|
801
803
|
ref: kt,
|
|
802
804
|
class: "vue-data-ui-no-title-space",
|
|
803
805
|
style: "height:36px; width: 100%;background:transparent"
|
|
804
806
|
}, null, 512)) : d("", !0),
|
|
805
|
-
N.value.style.chart.title.text ? (
|
|
807
|
+
N.value.style.chart.title.text ? (v(), f("div", {
|
|
806
808
|
key: 3,
|
|
807
809
|
ref_key: "chartTitle",
|
|
808
810
|
ref: Et,
|
|
809
811
|
style: "width:100%;background:transparent"
|
|
810
|
-
}, [(
|
|
812
|
+
}, [(v(), u(ye, {
|
|
811
813
|
key: `title_${At.value}`,
|
|
812
814
|
config: {
|
|
813
815
|
title: {
|
|
@@ -821,7 +823,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
821
823
|
}
|
|
822
824
|
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
823
825
|
p("div", { id: `legend-top-${D.value}` }, null, 8, Ke),
|
|
824
|
-
N.value.userOptions.show && St.value && (C(Ut) || C(Vt)) ? (
|
|
826
|
+
N.value.userOptions.show && St.value && (C(Ut) || C(Vt)) ? (v(), u(C(ht), {
|
|
825
827
|
ref_key: "details",
|
|
826
828
|
ref: Ct,
|
|
827
829
|
key: `user_options${wt.value}`,
|
|
@@ -858,11 +860,11 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
858
860
|
onToggleTooltip: Mn,
|
|
859
861
|
onToggleAnnotator: Pn,
|
|
860
862
|
onCopyAlt: Gn,
|
|
861
|
-
style:
|
|
863
|
+
style: Le({ visibility: C(Ut) ? C(Vt) ? "visible" : "hidden" : "visible" })
|
|
862
864
|
}, Me({ _: 2 }, [
|
|
863
865
|
e.$slots.menuIcon ? {
|
|
864
866
|
name: "menuIcon",
|
|
865
|
-
fn: T(({ isOpen: t, color: n }) => [
|
|
867
|
+
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
|
|
866
868
|
isOpen: t,
|
|
867
869
|
color: n
|
|
868
870
|
})), void 0, !0)]),
|
|
@@ -870,37 +872,37 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
870
872
|
} : void 0,
|
|
871
873
|
e.$slots.optionTooltip ? {
|
|
872
874
|
name: "optionTooltip",
|
|
873
|
-
fn: T(() => [
|
|
875
|
+
fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
874
876
|
key: "1"
|
|
875
877
|
} : void 0,
|
|
876
878
|
e.$slots.optionPdf ? {
|
|
877
879
|
name: "optionPdf",
|
|
878
|
-
fn: T(() => [
|
|
880
|
+
fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
879
881
|
key: "2"
|
|
880
882
|
} : void 0,
|
|
881
883
|
e.$slots.optionCsv ? {
|
|
882
884
|
name: "optionCsv",
|
|
883
|
-
fn: T(() => [
|
|
885
|
+
fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
884
886
|
key: "3"
|
|
885
887
|
} : void 0,
|
|
886
888
|
e.$slots.optionImg ? {
|
|
887
889
|
name: "optionImg",
|
|
888
|
-
fn: T(() => [
|
|
890
|
+
fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
889
891
|
key: "4"
|
|
890
892
|
} : void 0,
|
|
891
893
|
e.$slots.optionSvg ? {
|
|
892
894
|
name: "optionSvg",
|
|
893
|
-
fn: T(() => [
|
|
895
|
+
fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
894
896
|
key: "5"
|
|
895
897
|
} : void 0,
|
|
896
898
|
e.$slots.optionTable ? {
|
|
897
899
|
name: "optionTable",
|
|
898
|
-
fn: T(() => [
|
|
900
|
+
fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
899
901
|
key: "6"
|
|
900
902
|
} : void 0,
|
|
901
903
|
e.$slots.optionFullscreen ? {
|
|
902
904
|
name: "optionFullscreen",
|
|
903
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
905
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
|
|
904
906
|
toggleFullscreen: t,
|
|
905
907
|
isFullscreen: n
|
|
906
908
|
})), void 0, !0)]),
|
|
@@ -908,7 +910,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
908
910
|
} : void 0,
|
|
909
911
|
e.$slots.optionAnnotator ? {
|
|
910
912
|
name: "optionAnnotator",
|
|
911
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
913
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
|
|
912
914
|
toggleAnnotator: t,
|
|
913
915
|
isAnnotator: n
|
|
914
916
|
})), void 0, !0)]),
|
|
@@ -916,21 +918,21 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
916
918
|
} : void 0,
|
|
917
919
|
e.$slots.optionAltCopy ? {
|
|
918
920
|
name: "optionAltCopy",
|
|
919
|
-
fn: T(({ altCopy: t }) => [
|
|
921
|
+
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
920
922
|
key: "9"
|
|
921
923
|
} : void 0,
|
|
922
924
|
e.$slots["custom-menu-before"] ? {
|
|
923
925
|
name: "custom-menu-before",
|
|
924
|
-
fn: T(() => [
|
|
926
|
+
fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
925
927
|
key: "10"
|
|
926
928
|
} : void 0,
|
|
927
929
|
e.$slots["custom-menu-after"] ? {
|
|
928
930
|
name: "custom-menu-after",
|
|
929
|
-
fn: T(() => [
|
|
931
|
+
fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
930
932
|
key: "11"
|
|
931
933
|
} : void 0
|
|
932
934
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
|
|
933
|
-
p("div", qe, [(
|
|
935
|
+
p("div", qe, [(v(), f("svg", {
|
|
934
936
|
ref_key: "svgRef",
|
|
935
937
|
ref: L,
|
|
936
938
|
xmlns: C(oe),
|
|
@@ -938,26 +940,26 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
938
940
|
class: g({
|
|
939
941
|
"vue-data-ui-fullscreen--on": $.value,
|
|
940
942
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
941
|
-
resizing:
|
|
942
|
-
"vue-data-ui-no-transition": !C(P) ||
|
|
943
|
+
resizing: j.value,
|
|
944
|
+
"vue-data-ui-no-transition": !C(P) || j.value || C(I)
|
|
943
945
|
}),
|
|
944
946
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
945
|
-
style:
|
|
947
|
+
style: Le(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
|
|
946
948
|
tabindex: "0",
|
|
947
949
|
onFocus: Kn,
|
|
948
950
|
onBlur: qn,
|
|
949
951
|
onKeydown: Jn
|
|
950
952
|
}, [
|
|
951
953
|
Pe(C(_t)),
|
|
952
|
-
e.$slots["chart-background"] ? (
|
|
954
|
+
e.$slots["chart-background"] ? (v(), f("foreignObject", {
|
|
953
955
|
key: 0,
|
|
954
956
|
x: 0,
|
|
955
957
|
y: 0,
|
|
956
958
|
width: z.value.width <= 0 ? 10 : z.value.width,
|
|
957
959
|
height: z.value.height <= 0 ? 10 : z.value.height,
|
|
958
960
|
style: { pointerEvents: "none" }
|
|
959
|
-
}, [
|
|
960
|
-
(
|
|
961
|
+
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : d("", !0),
|
|
962
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
961
963
|
cx: K.value.centerX,
|
|
962
964
|
cy: K.value.centerY,
|
|
963
965
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -977,7 +979,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
977
979
|
transformOrigin: "50% 50%"
|
|
978
980
|
}
|
|
979
981
|
}, null, 10, Xe))), 256)),
|
|
980
|
-
(
|
|
982
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
981
983
|
cx: K.value.centerX,
|
|
982
984
|
cy: K.value.centerY,
|
|
983
985
|
r: e.radius < 0 ? 1e-4 : e.radius,
|
|
@@ -1007,10 +1009,10 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1007
1009
|
in: "SourceGraphic",
|
|
1008
1010
|
stdDeviation: 100 / N.value.style.chart.gradientIntensity
|
|
1009
1011
|
}, null, 8, $e)], 8, Qe)]),
|
|
1010
|
-
N.value.style.chart.useGradient ? (
|
|
1012
|
+
N.value.style.chart.useGradient ? (v(), f("g", {
|
|
1011
1013
|
key: 1,
|
|
1012
1014
|
filter: `url(#blur_${D.value})`
|
|
1013
|
-
}, [(
|
|
1015
|
+
}, [(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
1014
1016
|
cx: K.value.centerX,
|
|
1015
1017
|
cy: K.value.centerY,
|
|
1016
1018
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -1026,7 +1028,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1026
1028
|
},
|
|
1027
1029
|
class: g({ "vue-data-ui-transition": C(P) })
|
|
1028
1030
|
}, null, 10, tt))), 256))], 8, et)) : d("", !0),
|
|
1029
|
-
(
|
|
1031
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
1030
1032
|
cx: K.value.centerX,
|
|
1031
1033
|
cy: K.value.centerY,
|
|
1032
1034
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -1050,7 +1052,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1050
1052
|
onMouseleave: (t) => En({ datapoint: e }),
|
|
1051
1053
|
onClick: (t) => Tn({ datapoint: e })
|
|
1052
1054
|
}, null, 40, nt))), 256)),
|
|
1053
|
-
N.value.style.chart.layout.labels.show ? (
|
|
1055
|
+
N.value.style.chart.layout.labels.show ? (v(), f("g", rt, [(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("g", {
|
|
1054
1056
|
key: `dl_${e.id}`,
|
|
1055
1057
|
onMouseenter: (n) => An({
|
|
1056
1058
|
datapoint: e,
|
|
@@ -1060,7 +1062,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1060
1062
|
}),
|
|
1061
1063
|
onMouseleave: (t) => En({ datapoint: e }),
|
|
1062
1064
|
onClick: (t) => Tn({ datapoint: e })
|
|
1063
|
-
}, [k.value.includes(e.id) ? d("", !0) : (
|
|
1065
|
+
}, [k.value.includes(e.id) ? d("", !0) : (v(), f("text", {
|
|
1064
1066
|
key: 0,
|
|
1065
1067
|
class: g(["vue-ui-onion-label", { "vue-data-ui-transition": C(P) }]),
|
|
1066
1068
|
transform: `translate(${z.value.width / 2 - Y.value.gutter * .8 + N.value.style.chart.layout.labels.offsetX},${e.labelY + N.value.style.chart.layout.labels.offsetY})`,
|
|
@@ -1068,39 +1070,39 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1068
1070
|
"font-size": N.value.style.chart.layout.labels.fontSize,
|
|
1069
1071
|
fill: N.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value === t ? e.color : N.value.style.chart.layout.labels.color,
|
|
1070
1072
|
"font-weight": N.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
1071
|
-
},
|
|
1072
|
-
|
|
1073
|
+
}, S(On(e, t)), 11, at))], 40, it))), 128))])) : d("", !0),
|
|
1074
|
+
x(e.$slots, "svg", { svg: {
|
|
1073
1075
|
...z.value,
|
|
1074
1076
|
drawingArea: K.value,
|
|
1075
1077
|
isPrintingImg: C(Gt) || C(Kt) || C(Vn),
|
|
1076
1078
|
isPrintingSvg: C(Hn)
|
|
1077
1079
|
} }, void 0, !0)
|
|
1078
|
-
], 46, Je)), e.$slots.hint ? (
|
|
1080
|
+
], 46, Je)), e.$slots.hint ? (v(), f("div", ot, [x(e.$slots, "hint", _(h({
|
|
1079
1081
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1080
1082
|
isVisible: Lt.value
|
|
1081
1083
|
})), void 0, !0)])) : d("", !0)]),
|
|
1082
|
-
e.$slots.watermark ? (
|
|
1084
|
+
e.$slots.watermark ? (v(), f("div", st, [x(e.$slots, "watermark", _(h({ isPrinting: C(Gt) || C(Kt) || C(Vn) || C(Hn) })), void 0, !0)])) : d("", !0),
|
|
1083
1085
|
p("div", { id: `legend-bottom-${D.value}` }, null, 8, ct),
|
|
1084
|
-
|
|
1086
|
+
Nt.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(je, {
|
|
1085
1087
|
key: 6,
|
|
1086
1088
|
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1087
1089
|
}, [p("div", {
|
|
1088
1090
|
ref_key: "chartLegend",
|
|
1089
1091
|
ref: Dt
|
|
1090
|
-
}, [
|
|
1092
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (v(), u(Oe, {
|
|
1091
1093
|
key: `legend_${Mt.value}`,
|
|
1092
1094
|
legendSet: J.value,
|
|
1093
1095
|
config: fn.value,
|
|
1094
1096
|
isCursorPointer: F.value,
|
|
1095
1097
|
onClickMarker: t[0] ||= ({ legend: e }) => _n(e.id)
|
|
1096
1098
|
}, {
|
|
1097
|
-
item: T(({ legend: e }) => [C(I) ? d("", !0) : (
|
|
1099
|
+
item: T(({ legend: e }) => [C(I) ? d("", !0) : (v(), f("div", {
|
|
1098
1100
|
key: 0,
|
|
1099
1101
|
"data-cy-legend-item": "",
|
|
1100
1102
|
onClick: (t) => e.segregate(),
|
|
1101
|
-
style:
|
|
1102
|
-
},
|
|
1103
|
-
legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !C(I) ? (
|
|
1103
|
+
style: Le(`opacity:${k.value.includes(e.id) ? .5 : 1}`)
|
|
1104
|
+
}, S(e.display), 13, lt))]),
|
|
1105
|
+
legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !C(I) ? (v(), u(Ce, {
|
|
1104
1106
|
key: 0,
|
|
1105
1107
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1106
1108
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1121,12 +1123,12 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1121
1123
|
"config",
|
|
1122
1124
|
"isCursorPointer"
|
|
1123
1125
|
])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
1124
|
-
e.$slots.source ? (
|
|
1126
|
+
e.$slots.source ? (v(), f("div", {
|
|
1125
1127
|
key: 7,
|
|
1126
1128
|
ref_key: "source",
|
|
1127
1129
|
ref: Ot,
|
|
1128
1130
|
dir: "auto"
|
|
1129
|
-
}, [
|
|
1131
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1130
1132
|
Pe(C(dt), {
|
|
1131
1133
|
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1132
1134
|
show: R.value.showTooltip && O.value,
|
|
@@ -1143,17 +1145,17 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1143
1145
|
parent: A.value,
|
|
1144
1146
|
content: Tt.value,
|
|
1145
1147
|
isFullscreen: $.value,
|
|
1146
|
-
isCustom: C(
|
|
1148
|
+
isCustom: C(n)(N.value.style.chart.tooltip.customFormat),
|
|
1147
1149
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1148
1150
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1149
1151
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1150
1152
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1151
|
-
isA11yMode:
|
|
1152
|
-
a11yPosition:
|
|
1153
|
+
isA11yMode: It.value === "keyboard",
|
|
1154
|
+
a11yPosition: Ft.value
|
|
1153
1155
|
}, {
|
|
1154
|
-
"tooltip-before": T(() => [
|
|
1155
|
-
tooltip: T(() => [
|
|
1156
|
-
"tooltip-after": T(() => [
|
|
1156
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(h({ ...kn.value })), void 0, !0)]),
|
|
1157
|
+
tooltip: T(() => [x(e.$slots, "tooltip", _(h({ ...kn.value })), void 0, !0)]),
|
|
1158
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(h({ ...kn.value })), void 0, !0)]),
|
|
1157
1159
|
_: 3
|
|
1158
1160
|
}, 8, [
|
|
1159
1161
|
"teleportTo",
|
|
@@ -1179,12 +1181,12 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1179
1181
|
"isA11yMode",
|
|
1180
1182
|
"a11yPosition"
|
|
1181
1183
|
]),
|
|
1182
|
-
St.value && N.value.userOptions.buttons.table ? (
|
|
1184
|
+
St.value && N.value.userOptions.buttons.table ? (v(), u(Be(In.value.component), Fe({ key: 8 }, In.value.props, {
|
|
1183
1185
|
ref_key: "tableUnit",
|
|
1184
|
-
ref:
|
|
1186
|
+
ref: Pt,
|
|
1185
1187
|
onClose: t[3] ||= (e) => R.value.showTable = !1
|
|
1186
1188
|
}), Me({
|
|
1187
|
-
content: T(() => [(
|
|
1189
|
+
content: T(() => [(v(), u(C(mt), {
|
|
1188
1190
|
key: `table_${jt.value}`,
|
|
1189
1191
|
colNames: Z.value.colNames,
|
|
1190
1192
|
head: Z.value.head,
|
|
@@ -1195,7 +1197,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1195
1197
|
isCursorPointer: F.value,
|
|
1196
1198
|
onClose: t[2] ||= (e) => R.value.showTable = !1
|
|
1197
1199
|
}, {
|
|
1198
|
-
th: T(({ th: e }) => [Ne(
|
|
1200
|
+
th: T(({ th: e }) => [Ne(S(e), 1)]),
|
|
1199
1201
|
td: T(({ td: e }) => [p("div", { innerHTML: e }, null, 8, ut)]),
|
|
1200
1202
|
_: 1
|
|
1201
1203
|
}, 8, [
|
|
@@ -1210,7 +1212,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1210
1212
|
_: 2
|
|
1211
1213
|
}, [N.value.table.useDialog ? {
|
|
1212
1214
|
name: "title",
|
|
1213
|
-
fn: T(() => [Ne(
|
|
1215
|
+
fn: T(() => [Ne(S(In.value.title), 1)]),
|
|
1214
1216
|
key: "0"
|
|
1215
1217
|
} : void 0, N.value.table.useDialog ? {
|
|
1216
1218
|
name: "actions",
|
|
@@ -1218,16 +1220,16 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1218
1220
|
tabindex: "0",
|
|
1219
1221
|
class: "vue-ui-user-options-button",
|
|
1220
1222
|
onClick: t[1] ||= (e) => Cn(N.value.userOptions.callbacks.csv),
|
|
1221
|
-
style:
|
|
1223
|
+
style: Le({ cursor: F.value ? "pointer" : "default" })
|
|
1222
1224
|
}, [Pe(C(ft), {
|
|
1223
1225
|
name: "fileCsv",
|
|
1224
1226
|
stroke: In.value.props.color
|
|
1225
1227
|
}, null, 8, ["stroke"])], 4)]),
|
|
1226
1228
|
key: "1"
|
|
1227
1229
|
} : void 0]), 1040)) : d("", !0),
|
|
1228
|
-
|
|
1230
|
+
x(e.$slots, "skeleton", {}, () => [C(I) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
|
|
1229
1231
|
], 46, We));
|
|
1230
1232
|
}
|
|
1231
|
-
}, [["__scopeId", "data-v-
|
|
1233
|
+
}, [["__scopeId", "data-v-fd9555ce"]]);
|
|
1232
1234
|
//#endregion
|
|
1233
1235
|
export { Ue as n, dt as t };
|