vue-data-ui 3.25.3 → 3.25.4
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-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-ZJrR3Olp.js} +2 -2
- 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-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-B_SdRSKH.js} +12 -12
- 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-DmsdiyeS.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-zoPh9a78.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/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-MvDwnq7k.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- 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
4
|
import { t as ue } from "./useConfig-CyCVHo81.js";
|
|
5
|
-
import { t as de } from "./usePrinter-
|
|
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-D4zsdacF.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-B_SdRSKH.js").then((e) => e.t)), _t = m(() => import("./PackageVersion-5SWftabm.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,7 +772,7 @@ 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,
|
|
@@ -781,12 +781,12 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
781
781
|
isCursorPointer: F.value,
|
|
782
782
|
onClose: Pn
|
|
783
783
|
}, {
|
|
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 }) => [
|
|
784
|
+
"annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
785
|
+
"annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
786
|
+
"annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
|
|
787
|
+
"annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
|
|
788
|
+
"annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
|
|
789
|
+
"annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
|
|
790
790
|
_: 3
|
|
791
791
|
}, 8, [
|
|
792
792
|
"svgRef",
|
|
@@ -795,19 +795,19 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
795
795
|
"active",
|
|
796
796
|
"isCursorPointer"
|
|
797
797
|
])) : d("", !0),
|
|
798
|
-
Yt.value ? (
|
|
798
|
+
Yt.value ? (v(), f("div", {
|
|
799
799
|
key: 2,
|
|
800
800
|
ref_key: "noTitle",
|
|
801
801
|
ref: kt,
|
|
802
802
|
class: "vue-data-ui-no-title-space",
|
|
803
803
|
style: "height:36px; width: 100%;background:transparent"
|
|
804
804
|
}, null, 512)) : d("", !0),
|
|
805
|
-
N.value.style.chart.title.text ? (
|
|
805
|
+
N.value.style.chart.title.text ? (v(), f("div", {
|
|
806
806
|
key: 3,
|
|
807
807
|
ref_key: "chartTitle",
|
|
808
808
|
ref: Et,
|
|
809
809
|
style: "width:100%;background:transparent"
|
|
810
|
-
}, [(
|
|
810
|
+
}, [(v(), u(ye, {
|
|
811
811
|
key: `title_${At.value}`,
|
|
812
812
|
config: {
|
|
813
813
|
title: {
|
|
@@ -821,7 +821,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
821
821
|
}
|
|
822
822
|
}, null, 8, ["config"]))], 512)) : d("", !0),
|
|
823
823
|
p("div", { id: `legend-top-${D.value}` }, null, 8, Ke),
|
|
824
|
-
N.value.userOptions.show && St.value && (C(Ut) || C(Vt)) ? (
|
|
824
|
+
N.value.userOptions.show && St.value && (C(Ut) || C(Vt)) ? (v(), u(C(ht), {
|
|
825
825
|
ref_key: "details",
|
|
826
826
|
ref: Ct,
|
|
827
827
|
key: `user_options${wt.value}`,
|
|
@@ -858,11 +858,11 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
858
858
|
onToggleTooltip: Mn,
|
|
859
859
|
onToggleAnnotator: Pn,
|
|
860
860
|
onCopyAlt: Gn,
|
|
861
|
-
style:
|
|
861
|
+
style: Le({ visibility: C(Ut) ? C(Vt) ? "visible" : "hidden" : "visible" })
|
|
862
862
|
}, Me({ _: 2 }, [
|
|
863
863
|
e.$slots.menuIcon ? {
|
|
864
864
|
name: "menuIcon",
|
|
865
|
-
fn: T(({ isOpen: t, color: n }) => [
|
|
865
|
+
fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", _(h({
|
|
866
866
|
isOpen: t,
|
|
867
867
|
color: n
|
|
868
868
|
})), void 0, !0)]),
|
|
@@ -870,37 +870,37 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
870
870
|
} : void 0,
|
|
871
871
|
e.$slots.optionTooltip ? {
|
|
872
872
|
name: "optionTooltip",
|
|
873
|
-
fn: T(() => [
|
|
873
|
+
fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
874
874
|
key: "1"
|
|
875
875
|
} : void 0,
|
|
876
876
|
e.$slots.optionPdf ? {
|
|
877
877
|
name: "optionPdf",
|
|
878
|
-
fn: T(() => [
|
|
878
|
+
fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
|
|
879
879
|
key: "2"
|
|
880
880
|
} : void 0,
|
|
881
881
|
e.$slots.optionCsv ? {
|
|
882
882
|
name: "optionCsv",
|
|
883
|
-
fn: T(() => [
|
|
883
|
+
fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
|
|
884
884
|
key: "3"
|
|
885
885
|
} : void 0,
|
|
886
886
|
e.$slots.optionImg ? {
|
|
887
887
|
name: "optionImg",
|
|
888
|
-
fn: T(() => [
|
|
888
|
+
fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
|
|
889
889
|
key: "4"
|
|
890
890
|
} : void 0,
|
|
891
891
|
e.$slots.optionSvg ? {
|
|
892
892
|
name: "optionSvg",
|
|
893
|
-
fn: T(() => [
|
|
893
|
+
fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
|
|
894
894
|
key: "5"
|
|
895
895
|
} : void 0,
|
|
896
896
|
e.$slots.optionTable ? {
|
|
897
897
|
name: "optionTable",
|
|
898
|
-
fn: T(() => [
|
|
898
|
+
fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
|
|
899
899
|
key: "6"
|
|
900
900
|
} : void 0,
|
|
901
901
|
e.$slots.optionFullscreen ? {
|
|
902
902
|
name: "optionFullscreen",
|
|
903
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
903
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", _(h({
|
|
904
904
|
toggleFullscreen: t,
|
|
905
905
|
isFullscreen: n
|
|
906
906
|
})), void 0, !0)]),
|
|
@@ -908,7 +908,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
908
908
|
} : void 0,
|
|
909
909
|
e.$slots.optionAnnotator ? {
|
|
910
910
|
name: "optionAnnotator",
|
|
911
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
911
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", _(h({
|
|
912
912
|
toggleAnnotator: t,
|
|
913
913
|
isAnnotator: n
|
|
914
914
|
})), void 0, !0)]),
|
|
@@ -916,21 +916,21 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
916
916
|
} : void 0,
|
|
917
917
|
e.$slots.optionAltCopy ? {
|
|
918
918
|
name: "optionAltCopy",
|
|
919
|
-
fn: T(({ altCopy: t }) => [
|
|
919
|
+
fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
|
|
920
920
|
key: "9"
|
|
921
921
|
} : void 0,
|
|
922
922
|
e.$slots["custom-menu-before"] ? {
|
|
923
923
|
name: "custom-menu-before",
|
|
924
|
-
fn: T(() => [
|
|
924
|
+
fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
925
925
|
key: "10"
|
|
926
926
|
} : void 0,
|
|
927
927
|
e.$slots["custom-menu-after"] ? {
|
|
928
928
|
name: "custom-menu-after",
|
|
929
|
-
fn: T(() => [
|
|
929
|
+
fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
930
930
|
key: "11"
|
|
931
931
|
} : void 0
|
|
932
932
|
]), 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, [(
|
|
933
|
+
p("div", qe, [(v(), f("svg", {
|
|
934
934
|
ref_key: "svgRef",
|
|
935
935
|
ref: L,
|
|
936
936
|
xmlns: C(oe),
|
|
@@ -938,26 +938,26 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
938
938
|
class: g({
|
|
939
939
|
"vue-data-ui-fullscreen--on": $.value,
|
|
940
940
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
941
|
-
resizing:
|
|
942
|
-
"vue-data-ui-no-transition": !C(P) ||
|
|
941
|
+
resizing: j.value,
|
|
942
|
+
"vue-data-ui-no-transition": !C(P) || j.value || C(I)
|
|
943
943
|
}),
|
|
944
944
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
945
|
-
style:
|
|
945
|
+
style: Le(`max-width:100%;overflow:visible;background:transparent;color:${N.value.style.chart.color}`),
|
|
946
946
|
tabindex: "0",
|
|
947
947
|
onFocus: Kn,
|
|
948
948
|
onBlur: qn,
|
|
949
949
|
onKeydown: Jn
|
|
950
950
|
}, [
|
|
951
951
|
Pe(C(_t)),
|
|
952
|
-
e.$slots["chart-background"] ? (
|
|
952
|
+
e.$slots["chart-background"] ? (v(), f("foreignObject", {
|
|
953
953
|
key: 0,
|
|
954
954
|
x: 0,
|
|
955
955
|
y: 0,
|
|
956
956
|
width: z.value.width <= 0 ? 10 : z.value.width,
|
|
957
957
|
height: z.value.height <= 0 ? 10 : z.value.height,
|
|
958
958
|
style: { pointerEvents: "none" }
|
|
959
|
-
}, [
|
|
960
|
-
(
|
|
959
|
+
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ye)) : d("", !0),
|
|
960
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
961
961
|
cx: K.value.centerX,
|
|
962
962
|
cy: K.value.centerY,
|
|
963
963
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -977,7 +977,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
977
977
|
transformOrigin: "50% 50%"
|
|
978
978
|
}
|
|
979
979
|
}, null, 10, Xe))), 256)),
|
|
980
|
-
(
|
|
980
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
981
981
|
cx: K.value.centerX,
|
|
982
982
|
cy: K.value.centerY,
|
|
983
983
|
r: e.radius < 0 ? 1e-4 : e.radius,
|
|
@@ -1007,10 +1007,10 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1007
1007
|
in: "SourceGraphic",
|
|
1008
1008
|
stdDeviation: 100 / N.value.style.chart.gradientIntensity
|
|
1009
1009
|
}, null, 8, $e)], 8, Qe)]),
|
|
1010
|
-
N.value.style.chart.useGradient ? (
|
|
1010
|
+
N.value.style.chart.useGradient ? (v(), f("g", {
|
|
1011
1011
|
key: 1,
|
|
1012
1012
|
filter: `url(#blur_${D.value})`
|
|
1013
|
-
}, [(
|
|
1013
|
+
}, [(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
1014
1014
|
cx: K.value.centerX,
|
|
1015
1015
|
cy: K.value.centerY,
|
|
1016
1016
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -1026,7 +1026,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1026
1026
|
},
|
|
1027
1027
|
class: g({ "vue-data-ui-transition": C(P) })
|
|
1028
1028
|
}, null, 10, tt))), 256))], 8, et)) : d("", !0),
|
|
1029
|
-
(
|
|
1029
|
+
(v(!0), f(c, null, b(X.value, (e, t) => (v(), f("circle", {
|
|
1030
1030
|
cx: K.value.centerX,
|
|
1031
1031
|
cy: K.value.centerY,
|
|
1032
1032
|
r: e.radius <= 0 ? 1e-4 : e.radius,
|
|
@@ -1050,7 +1050,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1050
1050
|
onMouseleave: (t) => En({ datapoint: e }),
|
|
1051
1051
|
onClick: (t) => Tn({ datapoint: e })
|
|
1052
1052
|
}, null, 40, nt))), 256)),
|
|
1053
|
-
N.value.style.chart.layout.labels.show ? (
|
|
1053
|
+
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
1054
|
key: `dl_${e.id}`,
|
|
1055
1055
|
onMouseenter: (n) => An({
|
|
1056
1056
|
datapoint: e,
|
|
@@ -1060,7 +1060,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1060
1060
|
}),
|
|
1061
1061
|
onMouseleave: (t) => En({ datapoint: e }),
|
|
1062
1062
|
onClick: (t) => Tn({ datapoint: e })
|
|
1063
|
-
}, [k.value.includes(e.id) ? d("", !0) : (
|
|
1063
|
+
}, [k.value.includes(e.id) ? d("", !0) : (v(), f("text", {
|
|
1064
1064
|
key: 0,
|
|
1065
1065
|
class: g(["vue-ui-onion-label", { "vue-data-ui-transition": C(P) }]),
|
|
1066
1066
|
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 +1068,39 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1068
1068
|
"font-size": N.value.style.chart.layout.labels.fontSize,
|
|
1069
1069
|
fill: N.value.useBlurOnHover && ![null, void 0].includes(Q.value) && Q.value === t ? e.color : N.value.style.chart.layout.labels.color,
|
|
1070
1070
|
"font-weight": N.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
1071
|
-
},
|
|
1072
|
-
|
|
1071
|
+
}, S(On(e, t)), 11, at))], 40, it))), 128))])) : d("", !0),
|
|
1072
|
+
x(e.$slots, "svg", { svg: {
|
|
1073
1073
|
...z.value,
|
|
1074
1074
|
drawingArea: K.value,
|
|
1075
1075
|
isPrintingImg: C(Gt) || C(Kt) || C(Vn),
|
|
1076
1076
|
isPrintingSvg: C(Hn)
|
|
1077
1077
|
} }, void 0, !0)
|
|
1078
|
-
], 46, Je)), e.$slots.hint ? (
|
|
1078
|
+
], 46, Je)), e.$slots.hint ? (v(), f("div", ot, [x(e.$slots, "hint", _(h({
|
|
1079
1079
|
hint: N.value.a11y.translations.keyboardNavigation,
|
|
1080
1080
|
isVisible: Lt.value
|
|
1081
1081
|
})), void 0, !0)])) : d("", !0)]),
|
|
1082
|
-
e.$slots.watermark ? (
|
|
1082
|
+
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
1083
|
p("div", { id: `legend-bottom-${D.value}` }, null, 8, ct),
|
|
1084
|
-
|
|
1084
|
+
Nt.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (v(), u(je, {
|
|
1085
1085
|
key: 6,
|
|
1086
1086
|
to: N.value.style.chart.legend.position === "top" ? `#legend-top-${D.value}` : `#legend-bottom-${D.value}`
|
|
1087
1087
|
}, [p("div", {
|
|
1088
1088
|
ref_key: "chartLegend",
|
|
1089
1089
|
ref: Dt
|
|
1090
|
-
}, [
|
|
1090
|
+
}, [x(e.$slots, "legend", { legend: J.value }, () => [N.value.style.chart.legend.show ? (v(), u(Oe, {
|
|
1091
1091
|
key: `legend_${Mt.value}`,
|
|
1092
1092
|
legendSet: J.value,
|
|
1093
1093
|
config: fn.value,
|
|
1094
1094
|
isCursorPointer: F.value,
|
|
1095
1095
|
onClickMarker: t[0] ||= ({ legend: e }) => _n(e.id)
|
|
1096
1096
|
}, {
|
|
1097
|
-
item: T(({ legend: e }) => [C(I) ? d("", !0) : (
|
|
1097
|
+
item: T(({ legend: e }) => [C(I) ? d("", !0) : (v(), f("div", {
|
|
1098
1098
|
key: 0,
|
|
1099
1099
|
"data-cy-legend-item": "",
|
|
1100
1100
|
onClick: (t) => e.segregate(),
|
|
1101
|
-
style:
|
|
1102
|
-
},
|
|
1103
|
-
legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !C(I) ? (
|
|
1101
|
+
style: Le(`opacity:${k.value.includes(e.id) ? .5 : 1}`)
|
|
1102
|
+
}, S(e.display), 13, lt))]),
|
|
1103
|
+
legendToggle: T(() => [J.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !C(I) ? (v(), u(Ce, {
|
|
1104
1104
|
key: 0,
|
|
1105
1105
|
backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1106
1106
|
color: N.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1121,12 +1121,12 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1121
1121
|
"config",
|
|
1122
1122
|
"isCursorPointer"
|
|
1123
1123
|
])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
|
|
1124
|
-
e.$slots.source ? (
|
|
1124
|
+
e.$slots.source ? (v(), f("div", {
|
|
1125
1125
|
key: 7,
|
|
1126
1126
|
ref_key: "source",
|
|
1127
1127
|
ref: Ot,
|
|
1128
1128
|
dir: "auto"
|
|
1129
|
-
}, [
|
|
1129
|
+
}, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1130
1130
|
Pe(C(dt), {
|
|
1131
1131
|
teleportTo: N.value.style.chart.tooltip.teleportTo,
|
|
1132
1132
|
show: R.value.showTooltip && O.value,
|
|
@@ -1143,17 +1143,17 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1143
1143
|
parent: A.value,
|
|
1144
1144
|
content: Tt.value,
|
|
1145
1145
|
isFullscreen: $.value,
|
|
1146
|
-
isCustom: C(
|
|
1146
|
+
isCustom: C(n)(N.value.style.chart.tooltip.customFormat),
|
|
1147
1147
|
smooth: N.value.style.chart.tooltip.smooth,
|
|
1148
1148
|
backdropFilter: N.value.style.chart.tooltip.backdropFilter,
|
|
1149
1149
|
smoothForce: N.value.style.chart.tooltip.smoothForce,
|
|
1150
1150
|
smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
|
|
1151
|
-
isA11yMode:
|
|
1152
|
-
a11yPosition:
|
|
1151
|
+
isA11yMode: It.value === "keyboard",
|
|
1152
|
+
a11yPosition: Ft.value
|
|
1153
1153
|
}, {
|
|
1154
|
-
"tooltip-before": T(() => [
|
|
1155
|
-
tooltip: T(() => [
|
|
1156
|
-
"tooltip-after": T(() => [
|
|
1154
|
+
"tooltip-before": T(() => [x(e.$slots, "tooltip-before", _(h({ ...kn.value })), void 0, !0)]),
|
|
1155
|
+
tooltip: T(() => [x(e.$slots, "tooltip", _(h({ ...kn.value })), void 0, !0)]),
|
|
1156
|
+
"tooltip-after": T(() => [x(e.$slots, "tooltip-after", _(h({ ...kn.value })), void 0, !0)]),
|
|
1157
1157
|
_: 3
|
|
1158
1158
|
}, 8, [
|
|
1159
1159
|
"teleportTo",
|
|
@@ -1179,12 +1179,12 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1179
1179
|
"isA11yMode",
|
|
1180
1180
|
"a11yPosition"
|
|
1181
1181
|
]),
|
|
1182
|
-
St.value && N.value.userOptions.buttons.table ? (
|
|
1182
|
+
St.value && N.value.userOptions.buttons.table ? (v(), u(Be(In.value.component), Fe({ key: 8 }, In.value.props, {
|
|
1183
1183
|
ref_key: "tableUnit",
|
|
1184
|
-
ref:
|
|
1184
|
+
ref: Pt,
|
|
1185
1185
|
onClose: t[3] ||= (e) => R.value.showTable = !1
|
|
1186
1186
|
}), Me({
|
|
1187
|
-
content: T(() => [(
|
|
1187
|
+
content: T(() => [(v(), u(C(mt), {
|
|
1188
1188
|
key: `table_${jt.value}`,
|
|
1189
1189
|
colNames: Z.value.colNames,
|
|
1190
1190
|
head: Z.value.head,
|
|
@@ -1195,7 +1195,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1195
1195
|
isCursorPointer: F.value,
|
|
1196
1196
|
onClose: t[2] ||= (e) => R.value.showTable = !1
|
|
1197
1197
|
}, {
|
|
1198
|
-
th: T(({ th: e }) => [Ne(
|
|
1198
|
+
th: T(({ th: e }) => [Ne(S(e), 1)]),
|
|
1199
1199
|
td: T(({ td: e }) => [p("div", { innerHTML: e }, null, 8, ut)]),
|
|
1200
1200
|
_: 1
|
|
1201
1201
|
}, 8, [
|
|
@@ -1210,7 +1210,7 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1210
1210
|
_: 2
|
|
1211
1211
|
}, [N.value.table.useDialog ? {
|
|
1212
1212
|
name: "title",
|
|
1213
|
-
fn: T(() => [Ne(
|
|
1213
|
+
fn: T(() => [Ne(S(In.value.title), 1)]),
|
|
1214
1214
|
key: "0"
|
|
1215
1215
|
} : void 0, N.value.table.useDialog ? {
|
|
1216
1216
|
name: "actions",
|
|
@@ -1218,14 +1218,14 @@ var Ue = /* @__PURE__ */ e({ default: () => dt }), We = ["id"], Ge = ["id"], Ke
|
|
|
1218
1218
|
tabindex: "0",
|
|
1219
1219
|
class: "vue-ui-user-options-button",
|
|
1220
1220
|
onClick: t[1] ||= (e) => Cn(N.value.userOptions.callbacks.csv),
|
|
1221
|
-
style:
|
|
1221
|
+
style: Le({ cursor: F.value ? "pointer" : "default" })
|
|
1222
1222
|
}, [Pe(C(ft), {
|
|
1223
1223
|
name: "fileCsv",
|
|
1224
1224
|
stroke: In.value.props.color
|
|
1225
1225
|
}, null, 8, ["stroke"])], 4)]),
|
|
1226
1226
|
key: "1"
|
|
1227
1227
|
} : void 0]), 1040)) : d("", !0),
|
|
1228
|
-
|
|
1228
|
+
x(e.$slots, "skeleton", {}, () => [C(I) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
|
|
1229
1229
|
], 46, We));
|
|
1230
1230
|
}
|
|
1231
1231
|
}, [["__scopeId", "data-v-e202bda3"]]);
|