vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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 +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, D as r, Et as i, Pt as a, Rt as o, S as s, Vt as c, X as l, at as u, et as d, ft as f, i as ee, nt as te, r as ne, t as re, tn as ie, w as ae } from "./lib-DOpaUOQx.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-C2uy4ltq.js";
|
|
5
|
+
import { t as le } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as ue, t as de } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as fe } from "./useNestedProp-
|
|
7
|
+
import { t as fe } from "./useNestedProp-Bux0f4iY.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-W50sC9SC.js";
|
|
12
|
+
import { n as _e } from "./Title-DeqmC-vN.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-Dlz7gfx0.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-DGG65LAR.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-C0Ln0VNe.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 Ae, Teleport as je, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as Fe, guardReactiveProps as v, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as ze, onMounted as Be, openBlock as x, ref as S, renderList as Ve, renderSlot as C, resolveDynamicComponent as He, shallowRef as w, toDisplayString as Ue, toRefs as We, unref as T, useCssVars as Ge, useSlots as Ke, watch as qe, withCtx as E, withKeys as Je, withModifiers as Ye } from "vue";
|
|
@@ -262,7 +262,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
262
262
|
],
|
|
263
263
|
setup(e, { expose: ve, emit: Xe }) {
|
|
264
264
|
Ge((e) => ({ v798593f9: Ti.value }));
|
|
265
|
-
let Ze = Fe(() => import("./DataTable-
|
|
265
|
+
let Ze = Fe(() => import("./DataTable-BD1eZ0zB.js")), Qe = Fe(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), $e = Fe(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), tt = Fe(() => import("./Tooltip-DZ4a3XJQ.js")), nt = Fe(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), rt = Fe(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), it = Fe(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_treemap: at } = ce(), { isThemeValid: ot, warnInvalidTheme: st } = pe(), D = e, ct = Xe, Lt = Ke(), Rt = p(() => !!D.dataset && D.dataset.length), zt = p(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), O = S(l()), Bt = S(!1), Vt = S(""), Ht = S(!1), Ut = S(0), k = S([]), A = w(null), Wt = w(null), Gt = w(null), Kt = w(null), qt = w(null), Jt = S(0), Yt = S(0), Xt = S(0), j = S([]), Zt = S(null), Qt = S(!1), $t = S(null), en = S(null), tn = S(null), nn = S(/* @__PURE__ */ new Map()), M = S(null), rn = S({
|
|
266
266
|
x: 0,
|
|
267
267
|
y: 0
|
|
268
268
|
}), an = S("pointer"), on = S(!1), N = S(gn()), P = p(() => N.value.userOptions), F = p(() => N.value.style.chart.tooltip), I = p(() => N.value.style.chart.legend), L = p(() => N.value.style.chart.layout.labels), R = p(() => N.value.style.chart.layout), z = p(() => N.value.style.chart);
|
|
@@ -293,7 +293,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
293
293
|
let { transitionEnabled: sn } = he({
|
|
294
294
|
config: () => N.value.transitions,
|
|
295
295
|
dataset: () => D.dataset
|
|
296
|
-
}), B = p(() => N.value.userOptions.useCursorPointer), cn = p(() =>
|
|
296
|
+
}), B = p(() => N.value.userOptions.useCursorPointer), cn = p(() => ie({
|
|
297
297
|
defaultConfig: {
|
|
298
298
|
userOptions: { show: !1 },
|
|
299
299
|
style: { chart: {
|
|
@@ -345,7 +345,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
345
345
|
}
|
|
346
346
|
]
|
|
347
347
|
}],
|
|
348
|
-
skeletonConfig:
|
|
348
|
+
skeletonConfig: ie({
|
|
349
349
|
defaultConfig: N.value,
|
|
350
350
|
userConfig: cn.value
|
|
351
351
|
})
|
|
@@ -357,20 +357,20 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
357
357
|
}), t = e.theme;
|
|
358
358
|
if (!t) return e;
|
|
359
359
|
if (!ot.value(e)) return st(e), e;
|
|
360
|
-
let
|
|
360
|
+
let r = fe({
|
|
361
361
|
userConfig: ke[t] || D.config,
|
|
362
362
|
defaultConfig: e
|
|
363
|
-
}),
|
|
363
|
+
}), i = fe({
|
|
364
364
|
userConfig: D.config,
|
|
365
|
-
defaultConfig:
|
|
365
|
+
defaultConfig: r
|
|
366
366
|
});
|
|
367
367
|
return {
|
|
368
|
-
...
|
|
369
|
-
customPalette:
|
|
368
|
+
...i,
|
|
369
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || c
|
|
370
370
|
};
|
|
371
371
|
}
|
|
372
372
|
function _n(e) {
|
|
373
|
-
let t =
|
|
373
|
+
let t = d(e);
|
|
374
374
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
375
375
|
}
|
|
376
376
|
let vn = _n(D.config);
|
|
@@ -426,7 +426,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
426
426
|
vbHeight: n - r,
|
|
427
427
|
offsetY: r
|
|
428
428
|
};
|
|
429
|
-
}), U = S(
|
|
429
|
+
}), U = S(d(un.value)), W = S(U.value), On = w(/* @__PURE__ */ new Map());
|
|
430
430
|
qe([U, () => N.value], () => {
|
|
431
431
|
tn.value = null, nn.value = /* @__PURE__ */ new Map();
|
|
432
432
|
}, { deep: !0 }), qe(() => k.value, () => {
|
|
@@ -436,14 +436,14 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
436
436
|
});
|
|
437
437
|
function kn(e) {
|
|
438
438
|
Array.isArray(e) && e.forEach((e, t) => {
|
|
439
|
-
e.id ||=
|
|
440
|
-
let n = e.sourceColor || On.value.get(e.id) || wn.value[t] ||
|
|
441
|
-
n =
|
|
439
|
+
e.id ||= l(), e.sourceColor === void 0 && (e.sourceColor = s(e.color) || null);
|
|
440
|
+
let n = e.sourceColor || On.value.get(e.id) || wn.value[t] || c[t] || c[t % c.length];
|
|
441
|
+
n = s(n), On.value.set(e.id, n), e.color = n, An(e, n);
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
444
|
function An(e, t) {
|
|
445
445
|
Array.isArray(e.children) && e.children.forEach((n) => {
|
|
446
|
-
n.id ||=
|
|
446
|
+
n.id ||= l(), n.parentId = e.id, n.sourceColor === void 0 && (n.sourceColor = s(n.color) || null);
|
|
447
447
|
let r = n.sourceColor || t;
|
|
448
448
|
n.color = r, An(n, r);
|
|
449
449
|
});
|
|
@@ -472,7 +472,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
472
472
|
W.value = [n];
|
|
473
473
|
}
|
|
474
474
|
qe(() => un.value, () => {
|
|
475
|
-
U.value =
|
|
475
|
+
U.value = d(un.value), kn(U.value), Mn(), Xt.value += 1, Yt.value += 1;
|
|
476
476
|
}, {
|
|
477
477
|
deep: !0,
|
|
478
478
|
immediate: !0,
|
|
@@ -487,11 +487,11 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
487
487
|
Lt["chart-background"] && Fn.value && console.warn("VueUiTreemap does not support the #chart-background slot.");
|
|
488
488
|
});
|
|
489
489
|
function In() {
|
|
490
|
-
if (
|
|
490
|
+
if (o(D.dataset) && u({
|
|
491
491
|
componentName: "VueUiTreemap",
|
|
492
492
|
type: "dataset",
|
|
493
493
|
debug: Fn.value
|
|
494
|
-
}), kn(U.value),
|
|
494
|
+
}), kn(U.value), o(D.dataset) || (dn.value = N.value.loading), N.value.responsive) {
|
|
495
495
|
let e = ye(() => {
|
|
496
496
|
let { width: e, height: t } = be({
|
|
497
497
|
chart: A.value,
|
|
@@ -512,7 +512,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
512
512
|
});
|
|
513
513
|
let Ln = p(() => W.value.map((e, t) => ({
|
|
514
514
|
...e,
|
|
515
|
-
color:
|
|
515
|
+
color: s(e.color) || wn.value[t] || c[t] || c[t % c.length]
|
|
516
516
|
})).filter((e) => !k.value.includes(e.id))), Rn = p(() => U.value.filter((e) => !k.value.includes(e.id)).map((e) => e.value || 0).reduce((e, t) => e + t, 0)), zn = p({
|
|
517
517
|
get() {
|
|
518
518
|
let e = [...Ln.value];
|
|
@@ -527,7 +527,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
527
527
|
}
|
|
528
528
|
function Vn(e, t, n) {
|
|
529
529
|
let r = R.value.rects.colorRatio - Bn(t, n);
|
|
530
|
-
return
|
|
530
|
+
return a(e, r < 0 ? 0 : r);
|
|
531
531
|
}
|
|
532
532
|
function Hn(e) {
|
|
533
533
|
return Array.isArray(e.children) && e.children.length > 0;
|
|
@@ -540,16 +540,16 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
540
540
|
return (Number(t.value) || 0) - i;
|
|
541
541
|
});
|
|
542
542
|
}
|
|
543
|
-
function Wn(e, t, n, r,
|
|
544
|
-
return Un(e).map((e,
|
|
545
|
-
let
|
|
543
|
+
function Wn(e, t, n, r, i) {
|
|
544
|
+
return Un(e).map((e, a) => {
|
|
545
|
+
let o = e.sourceColor || s(e.color) || s(t) || wn.value[a] || c[a] || c[a % c.length], l = e.sourceColor ? e.sourceColor : Vn(o, e, r), u = Bn(e, r), d = i ?? e.parentId ?? e.id, f = Array.isArray(e.children) && e.children.length && e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) || 1;
|
|
546
546
|
return {
|
|
547
547
|
...e,
|
|
548
548
|
color: l,
|
|
549
549
|
proportion: u,
|
|
550
550
|
parentName: n,
|
|
551
551
|
rootId: d,
|
|
552
|
-
children: Array.isArray(e.children) && e.children.length ? Wn(e.children,
|
|
552
|
+
children: Array.isArray(e.children) && e.children.length ? Wn(e.children, o, e.name, f, d) : void 0
|
|
553
553
|
};
|
|
554
554
|
});
|
|
555
555
|
}
|
|
@@ -595,16 +595,16 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
595
595
|
let Yn = p(() => {
|
|
596
596
|
let e = W.value.length ? W.value : zn.value, t = e.map((e) => Number(e.value) || 0).reduce((e, t) => e + t, 0) || 1;
|
|
597
597
|
return Jn(e.map((e, n) => {
|
|
598
|
-
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children:
|
|
598
|
+
let r = e.children ? e.children.reduce((e, t) => e + (Number(t.value) || 0), 0) : e.value, { children: i, ...a } = e, o = e.sourceColor || s(e.color) || On.value.get(e.id) || wn.value[n] || c[n] || c[n % c.length], u = e.sourceColor ? e.sourceColor : Vn(o, e, t);
|
|
599
599
|
return {
|
|
600
|
-
...
|
|
601
|
-
id: e.id ||
|
|
600
|
+
...a,
|
|
601
|
+
id: e.id || l(),
|
|
602
602
|
parentId: e.parentId ?? null,
|
|
603
603
|
name: e.name,
|
|
604
604
|
value: e.value,
|
|
605
|
-
color:
|
|
605
|
+
color: u,
|
|
606
606
|
proportion: (Number(e.value) || 0) / t,
|
|
607
|
-
children: Array.isArray(e.children) && e.children.length ? Wn(e.children,
|
|
607
|
+
children: Array.isArray(e.children) && e.children.length ? Wn(e.children, o, e.name, r || 1) : void 0
|
|
608
608
|
};
|
|
609
609
|
}), {
|
|
610
610
|
x0: H.value.left,
|
|
@@ -646,15 +646,15 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
646
646
|
lineHeight: i
|
|
647
647
|
};
|
|
648
648
|
}
|
|
649
|
-
function er(e,
|
|
650
|
-
return
|
|
649
|
+
function er(e, n) {
|
|
650
|
+
return ee(L.value.formatter, e.value, t({
|
|
651
651
|
p: L.value.prefix,
|
|
652
652
|
v: e.value,
|
|
653
653
|
s: L.value.suffix,
|
|
654
654
|
r: F.value.roundingValue
|
|
655
655
|
}), {
|
|
656
656
|
datapoint: e,
|
|
657
|
-
seriesIndex:
|
|
657
|
+
seriesIndex: n
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
function tr(e, t) {
|
|
@@ -779,17 +779,17 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
779
779
|
return e;
|
|
780
780
|
}), Z = w(null), mr = p(() => U.value.map((e, t) => ({
|
|
781
781
|
...e,
|
|
782
|
-
color:
|
|
782
|
+
color: s(e.color) || wn.value[t] || c[t] || c[t % c.length],
|
|
783
783
|
shape: "square"
|
|
784
|
-
})).sort((e, t) => t.value - e.value).map((e,
|
|
785
|
-
let
|
|
784
|
+
})).sort((e, t) => t.value - e.value).map((e, n) => {
|
|
785
|
+
let r = e.value / U.value.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
786
786
|
return {
|
|
787
787
|
...e,
|
|
788
|
-
proportion:
|
|
788
|
+
proportion: r,
|
|
789
789
|
isSegregated: k.value.includes(e.id),
|
|
790
790
|
segregate: () => vr(e),
|
|
791
791
|
opacity: k.value.includes(e.id) ? .5 : 1,
|
|
792
|
-
display: `${e.name}${I.value.showPercentage || I.value.showValue ? ": " : ""}${I.value.showValue ?
|
|
792
|
+
display: `${e.name}${I.value.showPercentage || I.value.showValue ? ": " : ""}${I.value.showValue ? ee(L.value.formatter, e.value, t({
|
|
793
793
|
p: L.value.prefix,
|
|
794
794
|
v: e.value,
|
|
795
795
|
s: L.value.suffix,
|
|
@@ -830,40 +830,40 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
832
|
let Cr = S(null);
|
|
833
|
-
function wr({ datapoint: e, seriesIndex:
|
|
833
|
+
function wr({ datapoint: e, seriesIndex: n, triggerMode: r = "pointer" }) {
|
|
834
834
|
if (gr.value || r === "pointer" && Pr.value) return;
|
|
835
835
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
836
836
|
datapoint: e,
|
|
837
|
-
seriesIndex:
|
|
838
|
-
}), M.value =
|
|
837
|
+
seriesIndex: n
|
|
838
|
+
}), M.value = n, an.value = r, Z.value = e, Cr.value = {
|
|
839
839
|
datapoint: e,
|
|
840
|
-
seriesIndex:
|
|
840
|
+
seriesIndex: n,
|
|
841
841
|
config: N.value,
|
|
842
842
|
series: Ln.value
|
|
843
843
|
};
|
|
844
|
-
let
|
|
845
|
-
if (
|
|
846
|
-
seriesIndex:
|
|
844
|
+
let a = F.value.customFormat;
|
|
845
|
+
if (i(a) && f(() => a({
|
|
846
|
+
seriesIndex: n,
|
|
847
847
|
datapoint: e,
|
|
848
848
|
series: Ln.value,
|
|
849
849
|
config: N.value
|
|
850
|
-
}))) Vt.value =
|
|
851
|
-
seriesIndex:
|
|
850
|
+
}))) Vt.value = a({
|
|
851
|
+
seriesIndex: n,
|
|
852
852
|
datapoint: e,
|
|
853
853
|
series: Ln.value,
|
|
854
854
|
config: N.value
|
|
855
855
|
});
|
|
856
856
|
else {
|
|
857
|
-
let
|
|
858
|
-
|
|
857
|
+
let r = "";
|
|
858
|
+
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, r += `<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>`, r += `<b>${ee(L.value.formatter, e.value, t({
|
|
859
859
|
p: L.value.prefix,
|
|
860
860
|
v: e.value,
|
|
861
861
|
s: L.value.suffix,
|
|
862
862
|
r: F.value.roundingValue
|
|
863
863
|
}), {
|
|
864
864
|
datapoint: e,
|
|
865
|
-
seriesIndex:
|
|
866
|
-
})}</b>`, Vt.value = `<div>${
|
|
865
|
+
seriesIndex: n
|
|
866
|
+
})}</b>`, Vt.value = `<div>${r}</div>`;
|
|
867
867
|
}
|
|
868
868
|
Bt.value = !0;
|
|
869
869
|
}
|
|
@@ -876,11 +876,11 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
876
876
|
}));
|
|
877
877
|
function Tr(e = null) {
|
|
878
878
|
Le(() => {
|
|
879
|
-
let
|
|
879
|
+
let t = Q.value.head.map((e, t) => [
|
|
880
880
|
[e.name],
|
|
881
881
|
[Q.value.body[t]],
|
|
882
882
|
[isNaN(Q.value.body[t] / Rn.value) ? "-" : Q.value.body[t] / Rn.value * 100]
|
|
883
|
-
]),
|
|
883
|
+
]), n = [
|
|
884
884
|
[z.value.title.text],
|
|
885
885
|
[z.value.title.subtitle.text],
|
|
886
886
|
[
|
|
@@ -888,9 +888,9 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
888
888
|
["val"],
|
|
889
889
|
["%"]
|
|
890
890
|
]
|
|
891
|
-
].concat(
|
|
892
|
-
e ? e(
|
|
893
|
-
csvContent:
|
|
891
|
+
].concat(t), i = r(n);
|
|
892
|
+
e ? e(i) : te({
|
|
893
|
+
csvContent: i,
|
|
894
894
|
title: z.value.title.text || "vue-ui-treemap"
|
|
895
895
|
});
|
|
896
896
|
});
|
|
@@ -900,10 +900,10 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
900
900
|
N.value.table.columnNames.series,
|
|
901
901
|
N.value.table.columnNames.value,
|
|
902
902
|
N.value.table.columnNames.percentage
|
|
903
|
-
],
|
|
904
|
-
let
|
|
903
|
+
], n = Q.value.head.map((e, n) => {
|
|
904
|
+
let r = ee(L.value.formatter, Q.value.body[n], t({
|
|
905
905
|
p: L.value.prefix,
|
|
906
|
-
v: Q.value.body[
|
|
906
|
+
v: Q.value.body[n],
|
|
907
907
|
s: L.value.suffix,
|
|
908
908
|
r: N.value.table.td.roundingValue
|
|
909
909
|
}));
|
|
@@ -913,14 +913,14 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
913
913
|
name: e.name,
|
|
914
914
|
shape: "square"
|
|
915
915
|
},
|
|
916
|
-
|
|
917
|
-
isNaN(Q.value.body[
|
|
918
|
-
v: Q.value.body[
|
|
916
|
+
r,
|
|
917
|
+
isNaN(Q.value.body[n] / Rn.value) ? "-" : t({
|
|
918
|
+
v: Q.value.body[n] / Rn.value * 100,
|
|
919
919
|
s: "%",
|
|
920
920
|
r: N.value.table.td.roundingPercentage
|
|
921
921
|
})
|
|
922
922
|
];
|
|
923
|
-
}),
|
|
923
|
+
}), r = {
|
|
924
924
|
th: {
|
|
925
925
|
backgroundColor: N.value.table.th.backgroundColor,
|
|
926
926
|
color: N.value.table.th.color,
|
|
@@ -936,8 +936,8 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
936
936
|
return {
|
|
937
937
|
colNames: [N.value.table.columnNames.series, N.value.table.columnNames.value],
|
|
938
938
|
head: e,
|
|
939
|
-
body:
|
|
940
|
-
config:
|
|
939
|
+
body: n,
|
|
940
|
+
config: r
|
|
941
941
|
};
|
|
942
942
|
});
|
|
943
943
|
function Dr() {
|
|
@@ -1079,7 +1079,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
1079
1079
|
};
|
|
1080
1080
|
}
|
|
1081
1081
|
function ci(e) {
|
|
1082
|
-
return
|
|
1082
|
+
return ne(e.color ?? z.value.backgroundColor);
|
|
1083
1083
|
}
|
|
1084
1084
|
function li({ availableHeight: e, lineHeight: t, lineIndex: n }) {
|
|
1085
1085
|
if (n === 0) return Infinity;
|
|
@@ -1448,7 +1448,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
1448
1448
|
(x(), g("svg", {
|
|
1449
1449
|
ref_key: "svgRef",
|
|
1450
1450
|
ref: hn,
|
|
1451
|
-
xmlns: T(
|
|
1451
|
+
xmlns: T(re),
|
|
1452
1452
|
"aria-describedby": `chart-instructions-${O.value}`,
|
|
1453
1453
|
class: Re({
|
|
1454
1454
|
"vue-data-ui-fullscreen--on": Ht.value,
|
|
@@ -1481,7 +1481,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
1481
1481
|
1
|
|
1482
1482
|
], [
|
|
1483
1483
|
"100%",
|
|
1484
|
-
T(
|
|
1484
|
+
T(a)(e.color, R.value.rects.gradient.intensity / 100),
|
|
1485
1485
|
1
|
|
1486
1486
|
]]
|
|
1487
1487
|
}, null, 8, ["id", "stops"])])) : h("", !0)]))), 128)),
|
|
@@ -1559,7 +1559,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
1559
1559
|
shouldShow: qn(t) || sr.value,
|
|
1560
1560
|
fontSize: ir(t, n),
|
|
1561
1561
|
isZoom: sr.value,
|
|
1562
|
-
textColor: T(
|
|
1562
|
+
textColor: T(ne)(t.color)
|
|
1563
1563
|
}), void 0, !0, 0)])], 8, Ot))]))), 128))])) : h("", !0)
|
|
1564
1564
|
]),
|
|
1565
1565
|
C(e.$slots, "svg", y(v({
|
|
@@ -1655,7 +1655,7 @@ var ct = /* @__PURE__ */ e({ default: () => Lt }), lt = ["id"], ut = ["id"], dt
|
|
|
1655
1655
|
parent: A.value,
|
|
1656
1656
|
content: Vt.value,
|
|
1657
1657
|
isFullscreen: Ht.value,
|
|
1658
|
-
isCustom: T(
|
|
1658
|
+
isCustom: T(i)(F.value.customFormat),
|
|
1659
1659
|
smooth: F.value.smooth,
|
|
1660
1660
|
backdropFilter: F.value.backdropFilter,
|
|
1661
1661
|
smoothForce: F.value.smoothForce,
|