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,24 +1,24 @@
|
|
|
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 c, Z as l, Zt as u, i as d, jt as f, lt as ee, nt as te, q as ne, r as re, t as ie, w as ae } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as ce } from "./useConfig-
|
|
5
|
-
import { t as le } from "./usePrinter-
|
|
4
|
+
import { t as ce } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as le } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-
|
|
7
|
+
import { t as fe } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as me } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as he } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as ge } from "./img-
|
|
12
|
-
import { n as _e } from "./Title-
|
|
11
|
+
import { t as ge } from "./img-DhGApYG0.js";
|
|
12
|
+
import { n as _e } from "./Title-CPHi-evi.js";
|
|
13
13
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
|
-
import { t as xe } from "./BaseIcon-
|
|
15
|
+
import { t as xe } from "./BaseIcon-t83PDe9k.js";
|
|
16
16
|
import { t as Se } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Ce } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Ce } from "./BaseLegendToggle-__JnV08B.js";
|
|
18
18
|
import { t as we } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Te } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Ee } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as De } from "./Legend-
|
|
21
|
+
import { t as De } from "./Legend-X4kF4PvW.js";
|
|
22
22
|
import { t as Oe } from "./usePanZoom-CYU3B4T3.js";
|
|
23
23
|
import { t as ke } from "./vue_ui_treemap-DoEtkRN6.js";
|
|
24
24
|
import { Fragment as p, Teleport as Ae, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as je, createTextVNode as Me, createVNode as Ne, defineAsyncComponent as Pe, guardReactiveProps as y, mergeProps as Fe, nextTick as Ie, normalizeClass as Le, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Re, onMounted as ze, openBlock as S, ref as C, renderList as Be, renderSlot as w, resolveDynamicComponent as Ve, shallowRef as T, toDisplayString as He, toRefs as Ue, unref as E, useCssVars as We, useSlots as Ge, watch as D, withCtx as O, withKeys as Ke, withModifiers as qe } from "vue";
|
|
@@ -261,8 +261,8 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
261
261
|
"copyAlt"
|
|
262
262
|
],
|
|
263
263
|
setup(e, { expose: ve, emit: Je }) {
|
|
264
|
-
We((e) => ({
|
|
265
|
-
let Ye = Pe(() => import("./DataTable-
|
|
264
|
+
We((e) => ({ f6fafe52: vi.value }));
|
|
265
|
+
let Ye = Pe(() => import("./DataTable-COIO9gi4.js")), Xe = Pe(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), Ze = Pe(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), $e = Pe(() => import("./Tooltip-hhrkQ3Lk.js")), et = Pe(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), tt = Pe(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), nt = Pe(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_treemap: rt } = ce(), { isThemeValid: it, warnInvalidTheme: at } = pe(), k = e, ot = Je, Ft = Ge(), It = m(() => !!k.dataset && k.dataset.length), Lt = m(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), A = C(ne()), Rt = C(!1), zt = C(""), j = C(!1), Bt = C(0), M = C([]), N = T(null), Vt = T(null), Ht = T(null), Ut = T(null), Wt = T(null), Gt = C(0), Kt = C(0), qt = C(0), P = C([]), Jt = C(null), Yt = C(!1), Xt = C(null), Zt = C(null), Qt = C(null), $t = C(/* @__PURE__ */ new Map()), F = C(null), en = C({
|
|
266
266
|
x: 0,
|
|
267
267
|
y: 0
|
|
268
268
|
}), tn = C("pointer"), nn = C(!1), I = C(dn());
|
|
@@ -366,7 +366,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
366
366
|
});
|
|
367
367
|
return {
|
|
368
368
|
...r,
|
|
369
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
369
|
+
customPalette: r.customPalette.length ? r.customPalette : c[t] || i
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
D(() => k.config, (e) => {
|
|
@@ -414,7 +414,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
414
414
|
vbHeight: n - r,
|
|
415
415
|
offsetY: r
|
|
416
416
|
};
|
|
417
|
-
}), H = C(
|
|
417
|
+
}), H = C(l(on.value)), U = C(H.value), xn = T(/* @__PURE__ */ new Map());
|
|
418
418
|
D([H, () => I.value], () => {
|
|
419
419
|
Qt.value = null, $t.value = /* @__PURE__ */ new Map();
|
|
420
420
|
}, { deep: !0 }), D(() => M.value, () => {
|
|
@@ -424,14 +424,14 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
424
424
|
});
|
|
425
425
|
function Sn(e) {
|
|
426
426
|
Array.isArray(e) && e.forEach((e, t) => {
|
|
427
|
-
e.id ||= ne(), e.sourceColor === void 0 && (e.sourceColor =
|
|
427
|
+
e.id ||= ne(), e.sourceColor === void 0 && (e.sourceColor = o(e.color) || null);
|
|
428
428
|
let n = e.sourceColor || xn.value.get(e.id) || _n.value[t] || i[t] || i[t % i.length];
|
|
429
|
-
n =
|
|
429
|
+
n = o(n), xn.value.set(e.id, n), e.color = n, Cn(e, n);
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
function Cn(e, t) {
|
|
433
433
|
Array.isArray(e.children) && e.children.forEach((n) => {
|
|
434
|
-
n.id ||= ne(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor =
|
|
434
|
+
n.id ||= ne(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = o(n.color) || null);
|
|
435
435
|
let r = n.sourceColor || t;
|
|
436
436
|
n.color = r, Cn(n, r);
|
|
437
437
|
});
|
|
@@ -460,7 +460,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
460
460
|
U.value = [n];
|
|
461
461
|
}
|
|
462
462
|
D(() => on.value, () => {
|
|
463
|
-
H.value =
|
|
463
|
+
H.value = l(on.value), Sn(H.value), Tn(), qt.value += 1, Kt.value += 1;
|
|
464
464
|
}, {
|
|
465
465
|
deep: !0,
|
|
466
466
|
immediate: !0,
|
|
@@ -475,11 +475,11 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
475
475
|
Ft["chart-background"] && Dn.value && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
476
476
|
});
|
|
477
477
|
function On() {
|
|
478
|
-
if (
|
|
478
|
+
if (a(k.dataset) && te({
|
|
479
479
|
componentName: "VueUiTreemap",
|
|
480
480
|
type: "dataset",
|
|
481
481
|
debug: Dn.value
|
|
482
|
-
}), Sn(H.value),
|
|
482
|
+
}), Sn(H.value), a(k.dataset) || (sn.value = I.value.loading), I.value.responsive) {
|
|
483
483
|
let e = ye(() => {
|
|
484
484
|
let { width: e, height: t } = be({
|
|
485
485
|
chart: N.value,
|
|
@@ -500,7 +500,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
500
500
|
});
|
|
501
501
|
let kn = m(() => U.value.map((e, t) => ({
|
|
502
502
|
...e,
|
|
503
|
-
color:
|
|
503
|
+
color: o(e.color) || _n.value[t] || i[t] || i[t % i.length]
|
|
504
504
|
})).filter((e) => !M.value.includes(e.id))), An = m(() => H.value.filter((e) => !M.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), jn = m({
|
|
505
505
|
get() {
|
|
506
506
|
let e = [...kn.value];
|
|
@@ -513,9 +513,9 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
513
513
|
function Mn(e, t) {
|
|
514
514
|
return e.value / t;
|
|
515
515
|
}
|
|
516
|
-
function Nn(e, t,
|
|
517
|
-
let
|
|
518
|
-
return
|
|
516
|
+
function Nn(e, t, n) {
|
|
517
|
+
let r = I.value.style.chart.layout.rects.colorRatio - Mn(t, n);
|
|
518
|
+
return f(e, r < 0 ? 0 : r);
|
|
519
519
|
}
|
|
520
520
|
function Pn(e) {
|
|
521
521
|
return Array.isArray(e.children) && e.children.length > 0;
|
|
@@ -529,8 +529,8 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
529
529
|
});
|
|
530
530
|
}
|
|
531
531
|
function In(e, t, n, r, a) {
|
|
532
|
-
return Fn(e).map((e,
|
|
533
|
-
let c = e.sourceColor ||
|
|
532
|
+
return Fn(e).map((e, s) => {
|
|
533
|
+
let c = e.sourceColor || o(e.color) || o(t) || _n.value[s] || i[s] || i[s % i.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, r), u = Mn(e, r), d = a ?? e.parentId ?? e.id, f = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
|
|
534
534
|
return {
|
|
535
535
|
...e,
|
|
536
536
|
color: l,
|
|
@@ -583,9 +583,9 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
583
583
|
let Vn = m(() => {
|
|
584
584
|
let e = U.value.length ? U.value : jn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
|
|
585
585
|
return Bn(e.map((e, n) => {
|
|
586
|
-
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...
|
|
586
|
+
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: a, ...s } = e, c = e.sourceColor || o(e.color) || xn.value.get(e.id) || _n.value[n] || i[n] || i[n % i.length], l = e.sourceColor ? e.sourceColor : Nn(c, e, t);
|
|
587
587
|
return {
|
|
588
|
-
...
|
|
588
|
+
...s,
|
|
589
589
|
id: e.id || ne(),
|
|
590
590
|
parentId: e.parentId ?? null,
|
|
591
591
|
name: e.name,
|
|
@@ -635,7 +635,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
635
635
|
};
|
|
636
636
|
}
|
|
637
637
|
function Kn(e, t) {
|
|
638
|
-
return
|
|
638
|
+
return d(I.value.style.chart.layout.labels.formatter, e.value, s({
|
|
639
639
|
p: I.value.style.chart.layout.labels.prefix,
|
|
640
640
|
v: e.value,
|
|
641
641
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -767,7 +767,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
767
767
|
return e;
|
|
768
768
|
}), Z = T(null), or = m(() => H.value.map((e, t) => ({
|
|
769
769
|
...e,
|
|
770
|
-
color:
|
|
770
|
+
color: o(e.color) || _n.value[t] || i[t] || i[t % i.length],
|
|
771
771
|
shape: "square"
|
|
772
772
|
})).sort((e, t) => t.value - e.value).map((e, t) => {
|
|
773
773
|
let n = e.value / H.value.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
@@ -777,7 +777,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
777
777
|
isSegregated: M.value.includes(e.id),
|
|
778
778
|
segregate: () => ur(e),
|
|
779
779
|
opacity: M.value.includes(e.id) ? .5 : 1,
|
|
780
|
-
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ?
|
|
780
|
+
display: `${e.name}${I.value.style.chart.legend.showPercentage || I.value.style.chart.legend.showValue ? ": " : ""}${I.value.style.chart.legend.showValue ? d(I.value.style.chart.layout.labels.formatter, e.value, s({
|
|
781
781
|
p: I.value.style.chart.layout.labels.prefix,
|
|
782
782
|
v: e.value,
|
|
783
783
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -818,24 +818,24 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
818
818
|
});
|
|
819
819
|
}
|
|
820
820
|
let hr = C(null);
|
|
821
|
-
function gr({ datapoint: e, seriesIndex: t, triggerMode:
|
|
822
|
-
if (cr.value ||
|
|
821
|
+
function gr({ datapoint: e, seriesIndex: t, triggerMode: r = "pointer" }) {
|
|
822
|
+
if (cr.value || r === "pointer" && Er.value) return;
|
|
823
823
|
I.value.events.datapointEnter && I.value.events.datapointEnter({
|
|
824
824
|
datapoint: e,
|
|
825
825
|
seriesIndex: t
|
|
826
|
-
}), F.value = t, tn.value =
|
|
826
|
+
}), F.value = t, tn.value = r, Z.value = e, hr.value = {
|
|
827
827
|
datapoint: e,
|
|
828
828
|
seriesIndex: t,
|
|
829
829
|
config: I.value,
|
|
830
830
|
series: kn.value
|
|
831
831
|
};
|
|
832
|
-
let
|
|
833
|
-
if (
|
|
832
|
+
let i = I.value.style.chart.tooltip.customFormat;
|
|
833
|
+
if (n(i) && ee(() => i({
|
|
834
834
|
seriesIndex: t,
|
|
835
835
|
datapoint: e,
|
|
836
836
|
series: kn.value,
|
|
837
837
|
config: I.value
|
|
838
|
-
}))) zt.value =
|
|
838
|
+
}))) zt.value = i({
|
|
839
839
|
seriesIndex: t,
|
|
840
840
|
datapoint: e,
|
|
841
841
|
series: kn.value,
|
|
@@ -843,7 +843,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
843
843
|
});
|
|
844
844
|
else {
|
|
845
845
|
let n = "";
|
|
846
|
-
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${
|
|
846
|
+
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${I.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, n += `<b>${d(I.value.style.chart.layout.labels.formatter, e.value, s({
|
|
847
847
|
p: I.value.style.chart.layout.labels.prefix,
|
|
848
848
|
v: e.value,
|
|
849
849
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -889,7 +889,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
889
889
|
I.value.table.columnNames.value,
|
|
890
890
|
I.value.table.columnNames.percentage
|
|
891
891
|
], t = Q.value.head.map((e, t) => {
|
|
892
|
-
let n =
|
|
892
|
+
let n = d(I.value.style.chart.layout.labels.formatter, Q.value.body[t], s({
|
|
893
893
|
p: I.value.style.chart.layout.labels.prefix,
|
|
894
894
|
v: Q.value.body[t],
|
|
895
895
|
s: I.value.style.chart.layout.labels.suffix,
|
|
@@ -902,7 +902,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
902
902
|
shape: "square"
|
|
903
903
|
},
|
|
904
904
|
n,
|
|
905
|
-
isNaN(Q.value.body[t] / An.value) ? "-" :
|
|
905
|
+
isNaN(Q.value.body[t] / An.value) ? "-" : s({
|
|
906
906
|
v: Q.value.body[t] / An.value * 100,
|
|
907
907
|
s: "%",
|
|
908
908
|
r: I.value.table.td.roundingPercentage
|
|
@@ -1238,6 +1238,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1238
1238
|
color: I.value.style.chart.color,
|
|
1239
1239
|
active: Cr.value,
|
|
1240
1240
|
isCursorPointer: L.value,
|
|
1241
|
+
palette: I.value.userOptions.annotatorPalette,
|
|
1241
1242
|
onClose: wr
|
|
1242
1243
|
}, {
|
|
1243
1244
|
"annotator-action-close": O(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1252,7 +1253,8 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1252
1253
|
"backgroundColor",
|
|
1253
1254
|
"color",
|
|
1254
1255
|
"active",
|
|
1255
|
-
"isCursorPointer"
|
|
1256
|
+
"isCursorPointer",
|
|
1257
|
+
"palette"
|
|
1256
1258
|
])) : g("", !0),
|
|
1257
1259
|
gn.value ? (S(), _("div", {
|
|
1258
1260
|
key: 2,
|
|
@@ -1467,7 +1469,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1467
1469
|
1
|
|
1468
1470
|
], [
|
|
1469
1471
|
"100%",
|
|
1470
|
-
E(
|
|
1472
|
+
E(f)(e.color, I.value.style.chart.layout.rects.gradient.intensity / 100),
|
|
1471
1473
|
1
|
|
1472
1474
|
]]
|
|
1473
1475
|
}, null, 8, ["id", "stops"])])) : g("", !0)]))), 128)),
|
|
@@ -1641,7 +1643,7 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1641
1643
|
parent: N.value,
|
|
1642
1644
|
content: zt.value,
|
|
1643
1645
|
isFullscreen: j.value,
|
|
1644
|
-
isCustom: E(
|
|
1646
|
+
isCustom: E(n)(I.value.style.chart.tooltip.customFormat),
|
|
1645
1647
|
smooth: I.value.style.chart.tooltip.smooth,
|
|
1646
1648
|
backdropFilter: I.value.style.chart.tooltip.backdropFilter,
|
|
1647
1649
|
smoothForce: I.value.style.chart.tooltip.smoothForce,
|
|
@@ -1726,6 +1728,6 @@ var ot = /* @__PURE__ */ e({ default: () => Ft }), st = ["id"], ct = ["id"], lt
|
|
|
1726
1728
|
w(e.$slots, "skeleton", {}, () => [E(R) ? (S(), h(de, { key: 0 })) : g("", !0)], !0)
|
|
1727
1729
|
], 46, st));
|
|
1728
1730
|
}
|
|
1729
|
-
}, [["__scopeId", "data-v-
|
|
1731
|
+
}, [["__scopeId", "data-v-f4ff8289"]]);
|
|
1730
1732
|
//#endregion
|
|
1731
1733
|
export { ot as n, Ft as t };
|